class TreeRebuilder: (source)
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 |
Undocumented
Parameters | |
manager:AstroidManager | Undocumented |
parser_module:Optional[ | Undocumented |
Undocumented
Parameters | |
node:Union[ | Undocumented |
parent:Union[ | Undocumented |
Returns | |
Optional[ | Undocumented |
Parameters | |
node:ast.AnnAssign | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.AnnAssign | Undocumented |
Parameters | |
node:ast.arg | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.AssignName | Undocumented |
Parameters | |
node:ast.arguments | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.Arguments | Undocumented |
Parameters | |
node:ast.Assert | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.Assert | Undocumented |
Parameters | |
node:ast.Assign | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.Assign | Undocumented |
visit a node and return a AssignName node
Note: Method not called by 'visit'
Parameters | |
node:ast.AST | Undocumented |
parent:NodeNG | Undocumented |
node_name:Optional[ | Undocumented |
Returns | |
Optional[ | Undocumented |
Undocumented
Parameters | |
node:ast.AsyncFor | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.AsyncFor | Undocumented |
Undocumented
Parameters | |
node:ast.AsyncFunctionDef | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.AsyncFunctionDef | Undocumented |
Undocumented
Parameters | |
node:ast.AsyncWith | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.AsyncWith | Undocumented |
Parameters | |
node:ast.Attribute | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
Union[ | Undocumented |
Parameters | |
node:ast.AugAssign | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.AugAssign | Undocumented |
Undocumented
Parameters | |
node:ast.Await | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.Await | Undocumented |
Parameters | |
node:ast.BinOp | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.BinOp | Undocumented |
Parameters | |
node:ast.BoolOp | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.BoolOp | Undocumented |
Parameters | |
node:ast.Break | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.Break | Undocumented |
Parameters | |
node:ast.Call | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.Call | Undocumented |
Parameters | |
node:ast.ClassDef | Undocumented |
parent:NodeNG | Undocumented |
newstyle:bool | Undocumented |
Returns | |
nodes.ClassDef | Undocumented |
Parameters | |
node:ast.Compare | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.Compare | Undocumented |
Parameters | |
node:ast.comprehension | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.Comprehension | Undocumented |
Parameters | |
node:ast.Constant | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.Const | Undocumented |
Parameters | |
node:ast.Continue | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.Continue | Undocumented |
visit a Decorators node by returning a fresh instance of it
Note: Method not called by 'visit'
Parameters | |
node:Union[ | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
Optional[ | Undocumented |
Parameters | |
node:ast.Delete | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.Delete | Undocumented |
Parameters | |
node:ast.Dict | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.Dict | Undocumented |
Parameters | |
node:ast.DictComp | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.DictComp | Undocumented |
Parameters | |
node:ast.Ellipsis | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.Const | Undocumented |
Parameters | |
node:ast.ExceptHandler | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.ExceptHandler | Undocumented |
Parameters | |
node:ast.Expr | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.Expr | Undocumented |
Parameters | |
node:ast.ExtSlice | Undocumented |
parent:nodes.Subscript | Undocumented |
Returns | |
nodes.Tuple | Undocumented |
Undocumented
Parameters | |
node:ast.FormattedValue | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.FormattedValue | Undocumented |
Undocumented
Parameters | |
node:ast.FunctionDef | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.FunctionDef | Undocumented |
Parameters | |
node:ast.GeneratorExp | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.GeneratorExp | Undocumented |
Parameters | |
node:ast.Global | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.Global | Undocumented |
Parameters | |
node:ast.IfExp | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.IfExp | Undocumented |
Parameters | |
node:ast.Import | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.Import | Undocumented |
Parameters | |
node:ast.ImportFrom | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.ImportFrom | Undocumented |
Parameters | |
node:ast.Index | Undocumented |
parent:nodes.Subscript | Undocumented |
Returns | |
NodeNG | Undocumented |
Undocumented
Parameters | |
node:ast.JoinedStr | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.JoinedStr | Undocumented |
Parameters | |
node:ast.keyword | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.Keyword | Undocumented |
Parameters | |
node:ast.Lambda | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.Lambda | Undocumented |
Parameters | |
node:ast.List | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.List | Undocumented |
Parameters | |
node:ast.ListComp | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.ListComp | Undocumented |
Undocumented
Parameters | |
node:ast.Match | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.Match | Undocumented |
Undocumented
Parameters | |
node:ast.MatchAs | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.MatchAs | Undocumented |
Undocumented
Parameters | |
node:ast.match_case | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.MatchCase | Undocumented |
Undocumented
Parameters | |
node:ast.MatchClass | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.MatchClass | Undocumented |
Undocumented
Parameters | |
node:ast.MatchMapping | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.MatchMapping | Undocumented |
Undocumented
Parameters | |
node:ast.MatchOr | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.MatchOr | Undocumented |
Undocumented
Parameters | |
node:ast.MatchSequence | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.MatchSequence | Undocumented |
Undocumented
Parameters | |
node:ast.MatchSingleton | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.MatchSingleton | Undocumented |
Undocumented
Parameters | |
node:ast.MatchStar | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.MatchStar | Undocumented |
Undocumented
Parameters | |
node:ast.MatchValue | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.MatchValue | Undocumented |
visit a Module node by returning a fresh instance of it
Note: Method not called by 'visit'
Parameters | |
node:ast.Module | Undocumented |
modname:str | Undocumented |
modpath:str | Undocumented |
package:bool | Undocumented |
Returns | |
nodes.Module | Undocumented |
Parameters | |
node:ast.Name | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
Union[ | Undocumented |
Undocumented
Parameters | |
node:ast.NameConstant | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.Const | Undocumented |
Undocumented
Parameters | |
node:ast.NamedExpr | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.NamedExpr | Undocumented |
Parameters | |
node:ast.Nonlocal | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.Nonlocal | Undocumented |
Parameters | |
node:ast.Num | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.Const | Undocumented |
Parameters | |
node:ast.Pass | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.Pass | Undocumented |
Parameters | |
node:ast.Raise | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.Raise | Undocumented |
Parameters | |
node:ast.Return | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.Return | Undocumented |
Parameters | |
node:ast.SetComp | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.SetComp | Undocumented |
Parameters | |
node:ast.Slice | Undocumented |
parent:nodes.Subscript | Undocumented |
Returns | |
nodes.Slice | Undocumented |
Parameters | |
node:ast.Starred | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.Starred | Undocumented |
Parameters | |
node:Union[ | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.Const | Undocumented |
Parameters | |
node:ast.Subscript | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.Subscript | Undocumented |
Undocumented
Parameters | |
node:ast.Try | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
Union[ | Undocumented |
Parameters | |
node:ast.Try | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.TryExcept | Undocumented |
Parameters | |
node:ast.Try | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.TryFinally | Undocumented |
Parameters | |
node:ast.Tuple | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.Tuple | Undocumented |
Parameters | |
node:ast.UnaryOp | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.UnaryOp | Undocumented |
Parameters | |
node:ast.While | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
nodes.While | Undocumented |
Undocumented
Parameters | |
node:Union[ | Undocumented |
Returns | |
Context | Undocumented |
Parameters | |
node:Union[ | Undocumented |
Undocumented
Parameters | |
node:ast.Dict | Undocumented |
parent:NodeNG | Undocumented |
newnode:nodes.Dict | Undocumented |
Returns | |
Generator[ | Undocumented |
Parameters | |
cls:Type[ | Undocumented |
node:Union[ | Undocumented |
parent:NodeNG | Undocumented |
Returns | |
T_Function | Undocumented |