Documentor

Module: analyzer.py API

No description.


Global Functions:

Function: get_python_files(path) [at ln:38]

def get_python_files(path):
Return a dict structure containing the info inside a folder.

Class: Analyzer(object)

class Analyzer(object):
Explore recursively the project folder and scan the info of each file.

Function: __init__(project, output, projectname) [at ln:53]

def __init__(project, output, projectname):

No description.


Function: _parse_assign(symbol) [at ln:154]

def _parse_assign(symbol):
Parse assign and extract the info from the node.

Function: _parse_class(symbol) [at ln:165]

def _parse_class(symbol):
Parse class and extract the info from the node.

Function: _parse_function(symbol) [at ln:194]

def _parse_function(symbol):
Parse function and extract the info from the node.

Function: _parse_imports(module) [at ln:248]

def _parse_imports(module):
Parse imports and extract the info from the node.

Function: expand_attribute(attribute) [at ln:134]

def expand_attribute(attribute):
Expand the node to obtain the expanded representation.

Function: obtain_symbols(source, filename=str) [at ln:100]

def obtain_symbols(source, filename=str):
Parse a module code to obtain: Classes, Functions and Assigns.

Function: parse_file(filepath, relpath) [at ln:79]

def parse_file(filepath, relpath):
Parse the file and create a representation with all the info about:
- Imports
- Classes
- Functions
- Attributes
- Decorators
- etc

Function: parse_folder(folderpath, relpath) [at ln:66]

def parse_folder(folderpath, relpath):
Parse the folders and files contained inside folderpath.

Function: scan() [at ln:59]

def scan():
Initialize the scan process.
Contents © 2013 Documentor - Powered by Nikola and Documentor