class documentation

class Parser: (source)

View In Hierarchy

Python source code parser to pick up variable comments. This is a better wrapper for ``VariableCommentPicker``.

Method __init__ Undocumented
Method parse Parse the source code.
Method parse_comments Parse the code and pick up comments.
Method parse_definition Parse the location of definitions from the code.
Instance Variable annotations Undocumented
Instance Variable code Undocumented
Instance Variable comments Undocumented
Instance Variable definitions Undocumented
Instance Variable deforders Undocumented
Instance Variable encoding Undocumented
Instance Variable finals Undocumented
Instance Variable overloads Undocumented
def __init__(self, code, encoding='utf-8'): (source)

Undocumented

Parameters
code:strUndocumented
encoding:strUndocumented
def parse(self): (source)

Parse the source code.

def parse_comments(self): (source)

Parse the code and pick up comments.

def parse_definition(self): (source)

Parse the location of definitions from the code.

annotations = (source)

Undocumented

Undocumented

comments = (source)

Undocumented

definitions = (source)

Undocumented

deforders = (source)

Undocumented

encoding = (source)

Undocumented

Undocumented

overloads = (source)

Undocumented