class documentation

class Parser:

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'):

Undocumented

Parameters
code:strUndocumented
encoding:strUndocumented
def parse(self):
Parse the source code.
def parse_comments(self):
Parse the code and pick up comments.
def parse_definition(self):
Parse the location of definitions from the code.
annotations =

Undocumented

code =

Undocumented

comments =

Undocumented

definitions =

Undocumented

deforders =

Undocumented

encoding =

Undocumented

finals =

Undocumented

overloads =

Undocumented