class for building nodes from living object
this is actually a really minimal representation, including only Module, FunctionDef and ClassDef nodes and some others as guessed.
Method | __init__ |
Undocumented |
Method | imported_member |
verify this is not an imported class or handle it |
Method | inspect_build |
build astroid from a living module (i.e. using inspect) this is used when there is no python source code available (either because it's a built-in module or because the .py is not available) |
Method | object_build |
recursive method which create a partial ast from real objects (only function, class, and method are handled) |
Instance Variable | _done |
Undocumented |
Instance Variable | _manager |
Undocumented |
Instance Variable | _module |
Undocumented |
Parameters | |
module:types.ModuleType | Undocumented |
modname:Optional[ | Undocumented |
path:Optional[ | Undocumented |
Returns | |
nodes.Module | Undocumented |