Class | InspectBuilder |
class for building nodes from living object |
Function | attach_const_node |
create a Const node and register it in the locals of the given node with the specified name |
Function | attach_dummy_node |
create a dummy node and register it in the locals of the given node with the specified name |
Function | attach_import_node |
create a ImportFrom node and register it in the locals of the given node with the specified name |
Function | build_class |
create and initialize an astroid ClassDef node |
Function | build_from_import |
create and initialize an astroid ImportFrom import statement |
Function | build_function |
create and initialize an astroid FunctionDef node |
Function | build_module |
create and initialize an astroid Module node |
Function | object_build_class |
create astroid for a living class object |
Function | object_build_datadescriptor |
create astroid for a living data descriptor object |
Function | object_build_function |
create astroid for a living function object |
Function | object_build_methoddescriptor |
create astroid for a living method descriptor object |
Function | register_arguments |
add given arguments to local |
Constant | TYPE_ELLIPSIS |
Undocumented |
Constant | TYPE_NONE |
Undocumented |
Constant | TYPE_NOTIMPLEMENTED |
Undocumented |
Function | _add_dunder_class |
Add a __class__ member to the given func node, if we can determine it. |
Function | _astroid_bootstrapping |
astroid bootstrapping the builtins module |
Function | _attach_local_node |
Undocumented |
Function | _base_class_object_build |
create astroid for a living class object, with a given set of base names (e.g. ancestors) |
Function | _build_from_function |
Undocumented |
Function | _has_underlying_object |
Undocumented |
Function | _io_discrepancy |
Undocumented |
Function | _safe_has_attribute |
Undocumented |
Function | _set_proxied |
Undocumented |
Constant | _BUILTINS |
Undocumented |
Constant | _CONST_PROXY |
Undocumented |
Constant | _CONSTANTS |
Undocumented |
Variable | _marker |
Undocumented |
Parameters | |
name | Undocumented |
args:Optional[ | Undocumented |
posonlyargs:Optional[ | Undocumented |
defaults | Undocumented |
doc | Undocumented |
kwonlyargs:Optional[ | Undocumented |
Returns | |
nodes.FunctionDef | Undocumented |
Parameters | |
name:str | Undocumented |
doc:Optional[ | Undocumented |
Returns | |
nodes.Module | Undocumented |
add given arguments to local
args is a list that may contains nested lists (i.e. def func(a, (b, c, d)): ...)