class documentation

class SourceSplitVisitor(ast.NodeVisitor): (source)

View In Hierarchy

ast NodeVisitor class for retrieving assignments

Method __init__ Undocumented
Method visit_Assign When visit Assign, add information to the assignment dictionary
Method visit_FunctionDef Undocumented
Instance Variable assign_dict Undocumented
def __init__(self): (source)

Undocumented

def visit_Assign(self, node): (source)

When visit Assign, add information to the assignment dictionary

Parameters
nodeUndocumented
ast_node_lsta list of statements to be visited.
def_recordsa list of dictionary, each of whose entry is a
function/class definition.
scopethe scope that is currently being visited. When it is "mod",
it is visiting under the entire module.
def visit_FunctionDef(self, node): (source)

Undocumented

assign_dict: dict = (source)

Undocumented