class documentation

class _AstuceModuleVisitor(ast.NodeTransformer): (source)

View In Hierarchy

Obviously inspired by astroid rebuilder

Method __init__ Undocumented
Method visit Undocumented
Method visit_arg Undocumented
Method visit_AsyncFunctionDef Undocumented
Method visit_Attribute Undocumented
Method visit_ClassDef Undocumented
Method visit_Expr Undocumented
Method visit_FunctionDef Undocumented
Method visit_Import Undocumented
Method visit_ImportFrom Undocumented
Method visit_Module Undocumented
Method visit_Name Undocumented
Instance Variable parent Undocumented
Instance Variable parser Undocumented
Method _get_end_of_frame_sentinel Undocumented
def __init__(self, parser): (source)

Undocumented

Parameters
parser:ParserUndocumented
def visit(self, node): (source)

Undocumented

Parameters
node:ASTNodeUndocumented
Returns
Optional[_typing.ASTNode]Undocumented
def visit_arg(self, node): (source)

Undocumented

Parameters
node:_typing.argUndocumented
Returns
_typing.argUndocumented
def visit_AsyncFunctionDef(self, node): (source)

Undocumented

Parameters
node:_typing.AsyncFunctionDefUndocumented
Returns
_typing.AsyncFunctionDefUndocumented
def visit_Attribute(self, node): (source)

Undocumented

Parameters
node:_typing.AttributeUndocumented
Returns
_typing.AttributeUndocumented
def visit_ClassDef(self, node): (source)

Undocumented

Parameters
node:_typing.ClassDefUndocumented
Returns
_typing.ClassDefUndocumented
def visit_Expr(self, node): (source)

Undocumented

Parameters
node:_typing.ExprUndocumented
Returns
Union[_typing.Expr, _typing.AugAssign]Undocumented
def visit_FunctionDef(self, node): (source)

Undocumented

Parameters
node:_typing.FunctionDefUndocumented
Returns
_typing.FunctionDefUndocumented
def visit_Import(self, node): (source)

Undocumented

Parameters
node:_typing.ImportUndocumented
Returns
_typing.ImportUndocumented
def visit_ImportFrom(self, node): (source)

Undocumented

Parameters
node:_typing.ImportFromUndocumented
Returns
_typing.ImportFromUndocumented
def visit_Module(self, node): (source)

Undocumented

Parameters
node:_typing.ModuleUndocumented
Returns
_typing.ModuleUndocumented
def visit_Name(self, node): (source)

Undocumented

Parameters
node:_typing.NameUndocumented
Returns
_typing.NameUndocumented
parent = (source)

Undocumented

parser = (source)

Undocumented

def _get_end_of_frame_sentinel(self): (source)

Undocumented

Returns
ast.stmtUndocumented