class documentation

class PathGraphingAstVisitor(Mccabe_PathGraphingAstVisitor): (source)

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method default Undocumented
Method dispatch Undocumented
Method visitFunctionDef Undocumented
Method visitSimpleStatement Undocumented
Method visitWith Undocumented
Instance Variable graph Undocumented
Instance Variable node Undocumented
Instance Variable tail Undocumented
Method _append_node Undocumented
Method _subgraph Create the subgraphs representing any `if` and `for` statements.
Method _subgraph_parse Parse the body and any `else` block of `if` and `for` statements.
Instance Variable _bottom_counter Undocumented
def __init__(self): (source)

Undocumented

def default(self, node: nodes.NodeNG, *args: Any): (source)

Undocumented

def dispatch(self, node: nodes.NodeNG, *args: Any) -> Any: (source)

Undocumented

def visitFunctionDef(self, node: nodes.FunctionDef): (source)

Undocumented

def visitSimpleStatement(self, node: _StatementNodes): (source)

Undocumented

def visitWith(self, node: nodes.With): (source)

Undocumented

Undocumented

Undocumented

Undocumented

def _append_node(self, node: _AppendableNodeT) -> _AppendableNodeT|None: (source)

Undocumented

def _subgraph(self, node: _SubGraphNodes, name: str, extra_blocks: Sequence[nodes.ExceptHandler] = ()): (source)

Create the subgraphs representing any `if` and `for` statements.

def _subgraph_parse(self, node: _SubGraphNodes, pathnode: _SubGraphNodes, extra_blocks: Sequence[nodes.ExceptHandler]): (source)

Parse the body and any `else` block of `if` and `for` statements.

_bottom_counter: int = (source)

Undocumented