class documentation

class TreeRebuilder: (source)

View In Hierarchy

Rebuilds the _ast tree to become an Astroid tree
Method __init__ Undocumented
Method check​_function​_type​_comment Undocumented
Method check​_type​_comment Undocumented
Method visit Undocumented
Method visit​_annassign visit an AnnAssign node by returning a fresh instance of it
Method visit​_arg visit an arg node by returning a fresh AssName instance
Method visit​_arguments visit an Arguments node by returning a fresh instance of it
Method visit​_assert visit a Assert node by returning a fresh instance of it
Method visit​_assign visit a Assign node by returning a fresh instance of it
Method visit​_assignname visit a node and return a AssignName node
Method visit​_asyncfor Undocumented
Method visit​_asyncfunctiondef Undocumented
Method visit​_asyncwith Undocumented
Method visit​_attribute visit an Attribute node by returning a fresh instance of it
Method visit​_augassign visit a AugAssign node by returning a fresh instance of it
Method visit​_await Undocumented
Method visit​_binop visit a BinOp node by returning a fresh instance of it
Method visit​_boolop visit a BoolOp node by returning a fresh instance of it
Method visit​_break visit a Break node by returning a fresh instance of it
Method visit​_call visit a CallFunc node by returning a fresh instance of it
Method visit​_classdef visit a ClassDef node to become astroid
Method visit​_compare visit a Compare node by returning a fresh instance of it
Method visit​_comprehension visit a Comprehension node by returning a fresh instance of it
Method visit​_constant visit a Constant node by returning a fresh instance of Const
Method visit​_continue visit a Continue node by returning a fresh instance of it
Method visit​_decorators visit a Decorators node by returning a fresh instance of it
Method visit​_delete visit a Delete node by returning a fresh instance of it
Method visit​_dict visit a Dict node by returning a fresh instance of it
Method visit​_dictcomp visit a DictComp node by returning a fresh instance of it
Method visit​_ellipsis visit an Ellipsis node by returning a fresh instance of Const
Method visit​_excepthandler visit an ExceptHandler node by returning a fresh instance of it
Method visit​_expr visit a Expr node by returning a fresh instance of it
Method visit​_extslice visit an ExtSlice node by returning a fresh instance of Tuple
Method visit​_for Undocumented
Method visit​_formattedvalue Undocumented
Method visit​_functiondef Undocumented
Method visit​_generatorexp visit a GeneratorExp node by returning a fresh instance of it
Method visit​_global visit a Global node to become astroid
Method visit​_if visit an If node by returning a fresh instance of it
Method visit​_ifexp visit a IfExp node by returning a fresh instance of it
Method visit​_import visit a Import node by returning a fresh instance of it
Method visit​_importfrom visit an ImportFrom node by returning a fresh instance of it
Method visit​_index visit a Index node by returning a fresh instance of NodeNG
Method visit​_joinedstr Undocumented
Method visit​_keyword visit a Keyword node by returning a fresh instance of it
Method visit​_lambda visit a Lambda node by returning a fresh instance of it
Method visit​_list visit a List node by returning a fresh instance of it
Method visit​_listcomp visit a ListComp node by returning a fresh instance of it
Method visit​_match Undocumented
Method visit​_matchas Undocumented
Method visit​_matchcase Undocumented
Method visit​_matchclass Undocumented
Method visit​_matchmapping Undocumented
Method visit​_matchor Undocumented
Method visit​_matchsequence Undocumented
Method visit​_matchsingleton Undocumented
Method visit​_matchstar Undocumented
Method visit​_matchvalue Undocumented
Method visit​_module visit a Module node by returning a fresh instance of it
Method visit​_name visit a Name node by returning a fresh instance of it
Method visit​_nameconstant Undocumented
Method visit​_namedexpr Undocumented
Method visit​_nonlocal visit a Nonlocal node and return a new instance of it
Method visit​_num visit a Num node by returning a fresh instance of Const
Method visit​_pass visit a Pass node by returning a fresh instance of it
Method visit​_raise visit a Raise node by returning a fresh instance of it
Method visit​_return visit a Return node by returning a fresh instance of it
Method visit​_set visit a Set node by returning a fresh instance of it
Method visit​_setcomp visit a SetComp node by returning a fresh instance of it
Method visit​_slice visit a Slice node by returning a fresh instance of it
Method visit​_starred visit a Starred node and return a new instance of it
Method visit​_str visit a String/Bytes node by returning a fresh instance of Const
Method visit​_subscript visit a Subscript node by returning a fresh instance of it
Method visit​_try Undocumented
Method visit​_tryexcept visit a TryExcept node by returning a fresh instance of it
Method visit​_tryfinally visit a TryFinally node by returning a fresh instance of it
Method visit​_tuple visit a Tuple node by returning a fresh instance of it
Method visit​_unaryop visit a UnaryOp node by returning a fresh instance of it
Method visit​_while visit a While node by returning a fresh instance of it
Method visit​_with Undocumented
Method visit​_yield visit a Yield node by returning a fresh instance of it
Method visit​_yieldfrom Undocumented
Method _get​_context Undocumented
Method _get​_doc Undocumented
Method _save​_assignment save assignment situation since node.parent is not available yet
Method _visit​_dict​_items Undocumented
Method _visit​_for visit a For node by returning a fresh instance of it
Method _visit​_functiondef visit an FunctionDef node to become astroid
Method _visit​_with Undocumented
Instance Variable _delayed​_assattr Undocumented
Instance Variable _global​_names Undocumented
Instance Variable _import​_from​_nodes Undocumented
Instance Variable _manager Undocumented
Instance Variable _module Undocumented
Instance Variable _parser​_module Undocumented
Instance Variable _visit​_meths Undocumented
def __init__(self, manager, parser_module=None): (source)

Undocumented

Parameters
manager:AstroidManagerUndocumented
parser​_module:Optional[ParserModule]Undocumented
def check_function_type_comment(self, node, parent): (source)

Undocumented

Parameters
node:Union[ast.FunctionDef, ast.AsyncFunctionDef]Undocumented
parent:NodeNGUndocumented
Returns
Optional[Tuple[Optional[NodeNG], List[NodeNG]]]Undocumented
def check_type_comment(self, node, parent): (source)

Undocumented

Parameters
node:Union[ast.Assign, ast.arg, ast.For, ast.AsyncFor, ast.With, ast.AsyncWith]Undocumented
parent:Union[nodes.Assign, nodes.Arguments, nodes.For, nodes.AsyncFor, nodes.With, nodes.AsyncWith]Undocumented
Returns
Optional[NodeNG]Undocumented
def visit(self, node, parent): (source)

Undocumented

Parameters
node:Optional[ast.AST]Undocumented
parent:NodeNGUndocumented
Returns
Optional[NodeNG]Undocumented
def visit_annassign(self, node, parent): (source)
visit an AnnAssign node by returning a fresh instance of it
Parameters
node:ast.AnnAssignUndocumented
parent:NodeNGUndocumented
Returns
nodes.AnnAssignUndocumented
def visit_arg(self, node, parent): (source)
visit an arg node by returning a fresh AssName instance
Parameters
node:ast.argUndocumented
parent:NodeNGUndocumented
Returns
nodes.AssignNameUndocumented
def visit_arguments(self, node, parent): (source)
visit an Arguments node by returning a fresh instance of it
Parameters
node:ast.argumentsUndocumented
parent:NodeNGUndocumented
Returns
nodes.ArgumentsUndocumented
def visit_assert(self, node, parent): (source)
visit a Assert node by returning a fresh instance of it
Parameters
node:ast.AssertUndocumented
parent:NodeNGUndocumented
Returns
nodes.AssertUndocumented
def visit_assign(self, node, parent): (source)
visit a Assign node by returning a fresh instance of it
Parameters
node:ast.AssignUndocumented
parent:NodeNGUndocumented
Returns
nodes.AssignUndocumented
def visit_assignname(self, node, parent, node_name): (source)

visit a node and return a AssignName node

Note: Method not called by 'visit'

Parameters
node:ast.ASTUndocumented
parent:NodeNGUndocumented
node​_name:Optional[str]Undocumented
Returns
Optional[nodes.AssignName]Undocumented
def visit_asyncfor(self, node, parent): (source)

Undocumented

Parameters
node:ast.AsyncForUndocumented
parent:NodeNGUndocumented
Returns
nodes.AsyncForUndocumented
def visit_asyncfunctiondef(self, node, parent): (source)

Undocumented

Parameters
node:ast.AsyncFunctionDefUndocumented
parent:NodeNGUndocumented
Returns
nodes.AsyncFunctionDefUndocumented
def visit_asyncwith(self, node, parent): (source)

Undocumented

Parameters
node:ast.AsyncWithUndocumented
parent:NodeNGUndocumented
Returns
nodes.AsyncWithUndocumented
def visit_attribute(self, node, parent): (source)
visit an Attribute node by returning a fresh instance of it
Parameters
node:ast.AttributeUndocumented
parent:NodeNGUndocumented
Returns
Union[nodes.Attribute, nodes.AssignAttr, nodes.DelAttr]Undocumented
def visit_augassign(self, node, parent): (source)
visit a AugAssign node by returning a fresh instance of it
Parameters
node:ast.AugAssignUndocumented
parent:NodeNGUndocumented
Returns
nodes.AugAssignUndocumented
def visit_await(self, node, parent): (source)

Undocumented

Parameters
node:ast.AwaitUndocumented
parent:NodeNGUndocumented
Returns
nodes.AwaitUndocumented
def visit_binop(self, node, parent): (source)
visit a BinOp node by returning a fresh instance of it
Parameters
node:ast.BinOpUndocumented
parent:NodeNGUndocumented
Returns
nodes.BinOpUndocumented
def visit_boolop(self, node, parent): (source)
visit a BoolOp node by returning a fresh instance of it
Parameters
node:ast.BoolOpUndocumented
parent:NodeNGUndocumented
Returns
nodes.BoolOpUndocumented
def visit_break(self, node, parent): (source)
visit a Break node by returning a fresh instance of it
Parameters
node:ast.BreakUndocumented
parent:NodeNGUndocumented
Returns
nodes.BreakUndocumented
def visit_call(self, node, parent): (source)
visit a CallFunc node by returning a fresh instance of it
Parameters
node:ast.CallUndocumented
parent:NodeNGUndocumented
Returns
nodes.CallUndocumented
def visit_classdef(self, node, parent, newstyle=True): (source)
visit a ClassDef node to become astroid
Parameters
node:ast.ClassDefUndocumented
parent:NodeNGUndocumented
newstyle:boolUndocumented
Returns
nodes.ClassDefUndocumented
def visit_compare(self, node, parent): (source)
visit a Compare node by returning a fresh instance of it
Parameters
node:ast.CompareUndocumented
parent:NodeNGUndocumented
Returns
nodes.CompareUndocumented
def visit_comprehension(self, node, parent): (source)
visit a Comprehension node by returning a fresh instance of it
Parameters
node:ast.comprehensionUndocumented
parent:NodeNGUndocumented
Returns
nodes.ComprehensionUndocumented
def visit_constant(self, node, parent): (source)
visit a Constant node by returning a fresh instance of Const
Parameters
node:ast.ConstantUndocumented
parent:NodeNGUndocumented
Returns
nodes.ConstUndocumented
def visit_continue(self, node, parent): (source)
visit a Continue node by returning a fresh instance of it
Parameters
node:ast.ContinueUndocumented
parent:NodeNGUndocumented
Returns
nodes.ContinueUndocumented
def visit_decorators(self, node, parent): (source)

visit a Decorators node by returning a fresh instance of it

Note: Method not called by 'visit'

Parameters
node:Union[ast.ClassDef, ast.FunctionDef, ast.AsyncFunctionDef]Undocumented
parent:NodeNGUndocumented
Returns
Optional[nodes.Decorators]Undocumented
def visit_delete(self, node, parent): (source)
visit a Delete node by returning a fresh instance of it
Parameters
node:ast.DeleteUndocumented
parent:NodeNGUndocumented
Returns
nodes.DeleteUndocumented
def visit_dict(self, node, parent): (source)
visit a Dict node by returning a fresh instance of it
Parameters
node:ast.DictUndocumented
parent:NodeNGUndocumented
Returns
nodes.DictUndocumented
def visit_dictcomp(self, node, parent): (source)
visit a DictComp node by returning a fresh instance of it
Parameters
node:ast.DictCompUndocumented
parent:NodeNGUndocumented
Returns
nodes.DictCompUndocumented
def visit_ellipsis(self, node, parent): (source)
visit an Ellipsis node by returning a fresh instance of Const
Parameters
node:ast.EllipsisUndocumented
parent:NodeNGUndocumented
Returns
nodes.ConstUndocumented
def visit_excepthandler(self, node, parent): (source)
visit an ExceptHandler node by returning a fresh instance of it
Parameters
node:ast.ExceptHandlerUndocumented
parent:NodeNGUndocumented
Returns
nodes.ExceptHandlerUndocumented
def visit_expr(self, node, parent): (source)
visit a Expr node by returning a fresh instance of it
Parameters
node:ast.ExprUndocumented
parent:NodeNGUndocumented
Returns
nodes.ExprUndocumented
def visit_extslice(self, node, parent): (source)
visit an ExtSlice node by returning a fresh instance of Tuple
Parameters
node:ast.ExtSliceUndocumented
parent:nodes.SubscriptUndocumented
Returns
nodes.TupleUndocumented
def visit_for(self, node, parent): (source)

Undocumented

Parameters
node:ast.ForUndocumented
parent:NodeNGUndocumented
Returns
nodes.ForUndocumented
def visit_formattedvalue(self, node, parent): (source)

Undocumented

Parameters
node:ast.FormattedValueUndocumented
parent:NodeNGUndocumented
Returns
nodes.FormattedValueUndocumented
def visit_functiondef(self, node, parent): (source)

Undocumented

Parameters
node:ast.FunctionDefUndocumented
parent:NodeNGUndocumented
Returns
nodes.FunctionDefUndocumented
def visit_generatorexp(self, node, parent): (source)
visit a GeneratorExp node by returning a fresh instance of it
Parameters
node:ast.GeneratorExpUndocumented
parent:NodeNGUndocumented
Returns
nodes.GeneratorExpUndocumented
def visit_global(self, node, parent): (source)
visit a Global node to become astroid
Parameters
node:ast.GlobalUndocumented
parent:NodeNGUndocumented
Returns
nodes.GlobalUndocumented
def visit_if(self, node, parent): (source)
visit an If node by returning a fresh instance of it
Parameters
node:ast.IfUndocumented
parent:NodeNGUndocumented
Returns
nodes.IfUndocumented
def visit_ifexp(self, node, parent): (source)
visit a IfExp node by returning a fresh instance of it
Parameters
node:ast.IfExpUndocumented
parent:NodeNGUndocumented
Returns
nodes.IfExpUndocumented
def visit_import(self, node, parent): (source)
visit a Import node by returning a fresh instance of it
Parameters
node:ast.ImportUndocumented
parent:NodeNGUndocumented
Returns
nodes.ImportUndocumented
def visit_importfrom(self, node, parent): (source)
visit an ImportFrom node by returning a fresh instance of it
Parameters
node:ast.ImportFromUndocumented
parent:NodeNGUndocumented
Returns
nodes.ImportFromUndocumented
def visit_index(self, node, parent): (source)
visit a Index node by returning a fresh instance of NodeNG
Parameters
node:ast.IndexUndocumented
parent:nodes.SubscriptUndocumented
Returns
NodeNGUndocumented
def visit_joinedstr(self, node, parent): (source)

Undocumented

Parameters
node:ast.JoinedStrUndocumented
parent:NodeNGUndocumented
Returns
nodes.JoinedStrUndocumented
def visit_keyword(self, node, parent): (source)
visit a Keyword node by returning a fresh instance of it
Parameters
node:ast.keywordUndocumented
parent:NodeNGUndocumented
Returns
nodes.KeywordUndocumented
def visit_lambda(self, node, parent): (source)
visit a Lambda node by returning a fresh instance of it
Parameters
node:ast.LambdaUndocumented
parent:NodeNGUndocumented
Returns
nodes.LambdaUndocumented
def visit_list(self, node, parent): (source)
visit a List node by returning a fresh instance of it
Parameters
node:ast.ListUndocumented
parent:NodeNGUndocumented
Returns
nodes.ListUndocumented
def visit_listcomp(self, node, parent): (source)
visit a ListComp node by returning a fresh instance of it
Parameters
node:ast.ListCompUndocumented
parent:NodeNGUndocumented
Returns
nodes.ListCompUndocumented
def visit_match(self, node, parent): (source)

Undocumented

Parameters
node:ast.MatchUndocumented
parent:NodeNGUndocumented
Returns
nodes.MatchUndocumented
def visit_matchas(self, node, parent): (source)

Undocumented

Parameters
node:ast.MatchAsUndocumented
parent:NodeNGUndocumented
Returns
nodes.MatchAsUndocumented
def visit_matchcase(self, node, parent): (source)

Undocumented

Parameters
node:ast.match_caseUndocumented
parent:NodeNGUndocumented
Returns
nodes.MatchCaseUndocumented
def visit_matchclass(self, node, parent): (source)

Undocumented

Parameters
node:ast.MatchClassUndocumented
parent:NodeNGUndocumented
Returns
nodes.MatchClassUndocumented
def visit_matchmapping(self, node, parent): (source)

Undocumented

Parameters
node:ast.MatchMappingUndocumented
parent:NodeNGUndocumented
Returns
nodes.MatchMappingUndocumented
def visit_matchor(self, node, parent): (source)

Undocumented

Parameters
node:ast.MatchOrUndocumented
parent:NodeNGUndocumented
Returns
nodes.MatchOrUndocumented
def visit_matchsequence(self, node, parent): (source)

Undocumented

Parameters
node:ast.MatchSequenceUndocumented
parent:NodeNGUndocumented
Returns
nodes.MatchSequenceUndocumented
def visit_matchsingleton(self, node, parent): (source)

Undocumented

Parameters
node:ast.MatchSingletonUndocumented
parent:NodeNGUndocumented
Returns
nodes.MatchSingletonUndocumented
def visit_matchstar(self, node, parent): (source)

Undocumented

Parameters
node:ast.MatchStarUndocumented
parent:NodeNGUndocumented
Returns
nodes.MatchStarUndocumented
def visit_matchvalue(self, node, parent): (source)

Undocumented

Parameters
node:ast.MatchValueUndocumented
parent:NodeNGUndocumented
Returns
nodes.MatchValueUndocumented
def visit_module(self, node, modname, modpath, package): (source)

visit a Module node by returning a fresh instance of it

Note: Method not called by 'visit'

Parameters
node:ast.ModuleUndocumented
modname:strUndocumented
modpath:strUndocumented
package:boolUndocumented
Returns
nodes.ModuleUndocumented
def visit_name(self, node, parent): (source)
visit a Name node by returning a fresh instance of it
Parameters
node:ast.NameUndocumented
parent:NodeNGUndocumented
Returns
Union[nodes.Name, nodes.AssignName, nodes.DelName]Undocumented
def visit_nameconstant(self, node, parent): (source)

Undocumented

Parameters
node:ast.NameConstantUndocumented
parent:NodeNGUndocumented
Returns
nodes.ConstUndocumented
def visit_namedexpr(self, node, parent): (source)

Undocumented

Parameters
node:ast.NamedExprUndocumented
parent:NodeNGUndocumented
Returns
nodes.NamedExprUndocumented
def visit_nonlocal(self, node, parent): (source)
visit a Nonlocal node and return a new instance of it
Parameters
node:ast.NonlocalUndocumented
parent:NodeNGUndocumented
Returns
nodes.NonlocalUndocumented
def visit_num(self, node, parent): (source)
visit a Num node by returning a fresh instance of Const
Parameters
node:ast.NumUndocumented
parent:NodeNGUndocumented
Returns
nodes.ConstUndocumented
def visit_pass(self, node, parent): (source)
visit a Pass node by returning a fresh instance of it
Parameters
node:ast.PassUndocumented
parent:NodeNGUndocumented
Returns
nodes.PassUndocumented
def visit_raise(self, node, parent): (source)
visit a Raise node by returning a fresh instance of it
Parameters
node:ast.RaiseUndocumented
parent:NodeNGUndocumented
Returns
nodes.RaiseUndocumented
def visit_return(self, node, parent): (source)
visit a Return node by returning a fresh instance of it
Parameters
node:ast.ReturnUndocumented
parent:NodeNGUndocumented
Returns
nodes.ReturnUndocumented
def visit_set(self, node, parent): (source)
visit a Set node by returning a fresh instance of it
Parameters
node:ast.SetUndocumented
parent:NodeNGUndocumented
Returns
nodes.SetUndocumented
def visit_setcomp(self, node, parent): (source)
visit a SetComp node by returning a fresh instance of it
Parameters
node:ast.SetCompUndocumented
parent:NodeNGUndocumented
Returns
nodes.SetCompUndocumented
def visit_slice(self, node, parent): (source)
visit a Slice node by returning a fresh instance of it
Parameters
node:ast.SliceUndocumented
parent:nodes.SubscriptUndocumented
Returns
nodes.SliceUndocumented
def visit_starred(self, node, parent): (source)
visit a Starred node and return a new instance of it
Parameters
node:ast.StarredUndocumented
parent:NodeNGUndocumented
Returns
nodes.StarredUndocumented
def visit_str(self, node, parent): (source)
visit a String/Bytes node by returning a fresh instance of Const
Parameters
node:Union[ast.Str, ast.Bytes]Undocumented
parent:NodeNGUndocumented
Returns
nodes.ConstUndocumented
def visit_subscript(self, node, parent): (source)
visit a Subscript node by returning a fresh instance of it
Parameters
node:ast.SubscriptUndocumented
parent:NodeNGUndocumented
Returns
nodes.SubscriptUndocumented
def visit_try(self, node, parent): (source)

Undocumented

Parameters
node:ast.TryUndocumented
parent:NodeNGUndocumented
Returns
Union[nodes.TryExcept, nodes.TryFinally, None]Undocumented
def visit_tryexcept(self, node, parent): (source)
visit a TryExcept node by returning a fresh instance of it
Parameters
node:ast.TryUndocumented
parent:NodeNGUndocumented
Returns
nodes.TryExceptUndocumented
def visit_tryfinally(self, node, parent): (source)
visit a TryFinally node by returning a fresh instance of it
Parameters
node:ast.TryUndocumented
parent:NodeNGUndocumented
Returns
nodes.TryFinallyUndocumented
def visit_tuple(self, node, parent): (source)
visit a Tuple node by returning a fresh instance of it
Parameters
node:ast.TupleUndocumented
parent:NodeNGUndocumented
Returns
nodes.TupleUndocumented
def visit_unaryop(self, node, parent): (source)
visit a UnaryOp node by returning a fresh instance of it
Parameters
node:ast.UnaryOpUndocumented
parent:NodeNGUndocumented
Returns
nodes.UnaryOpUndocumented
def visit_while(self, node, parent): (source)
visit a While node by returning a fresh instance of it
Parameters
node:ast.WhileUndocumented
parent:NodeNGUndocumented
Returns
nodes.WhileUndocumented
def visit_with(self, node, parent): (source)

Undocumented

Parameters
node:ast.WithUndocumented
parent:NodeNGUndocumented
Returns
NodeNGUndocumented
def visit_yield(self, node, parent): (source)
visit a Yield node by returning a fresh instance of it
Parameters
node:ast.YieldUndocumented
parent:NodeNGUndocumented
Returns
NodeNGUndocumented
def visit_yieldfrom(self, node, parent): (source)

Undocumented

Parameters
node:ast.YieldFromUndocumented
parent:NodeNGUndocumented
Returns
NodeNGUndocumented
def _get_context(self, node): (source)

Undocumented

Parameters
node:Union[ast.Attribute, ast.List, ast.Name, ast.Subscript, ast.Starred, ast.Tuple]Undocumented
Returns
ContextUndocumented
def _get_doc(self, node): (source)

Undocumented

Parameters
node:T_DocUndocumented
Returns
Tuple[T_Doc, Optional[str]]Undocumented
def _save_assignment(self, node): (source)
save assignment situation since node.parent is not available yet
Parameters
node:Union[nodes.AssignName, nodes.DelName]Undocumented
def _visit_dict_items(self, node, parent, newnode): (source)

Undocumented

Parameters
node:ast.DictUndocumented
parent:NodeNGUndocumented
newnode:nodes.DictUndocumented
Returns
Generator[Tuple[NodeNG, NodeNG], None, None]Undocumented
def _visit_for(self, cls, node, parent): (source)
visit a For node by returning a fresh instance of it
Parameters
cls:Type[T_For]Undocumented
node:Union[ast.For, ast.AsyncFor]Undocumented
parent:NodeNGUndocumented
Returns
T_ForUndocumented
def _visit_functiondef(self, cls, node, parent): (source)
visit an FunctionDef node to become astroid
Parameters
cls:Type[T_Function]Undocumented
node:Union[ast.FunctionDef, ast.AsyncFunctionDef]Undocumented
parent:NodeNGUndocumented
Returns
T_FunctionUndocumented
def _visit_with(self, cls, node, parent): (source)

Undocumented

Parameters
cls:Type[T_With]Undocumented
node:Union[ast.With, ast.AsyncWith]Undocumented
parent:NodeNGUndocumented
Returns
T_WithUndocumented
_delayed_assattr: List[nodes.AssignAttr] = (source)

Undocumented

_global_names: List[Dict[str, List[nodes.Global]]] = (source)

Undocumented

_import_from_nodes: List[nodes.ImportFrom] = (source)

Undocumented

_manager = (source)

Undocumented

_module = (source)

Undocumented

_parser_module = (source)

Undocumented

_visit_meths: Dict[Type[ast.AST], Callable[[ast.AST, NodeNG], NodeNG]] = (source)

Undocumented