module documentation
Traverse module/packages directories, build and transform astroid
AST into ApiObject
instances.
Notes | |
Implementation is largely adapted from pydoctor's AST builder, adapted to work with astroid . | |
The builder is responsible to asseble the tree of objects, but do set all attributes.
It only sets the strict minumum attributes required to process the rest of the attributes.
The strict minimum beeing represented by the classes in _model module. |
Class |
|
Coordinate the process of parsing and analysing the ast trees. |
Class |
|
No class docstring; 0/1 instance variable, 0/1 class variable, 8/26 methods documented |
Class |
|
Raised when trying to re-processed a module that is not totally processed yet. |
Class |
|
Undocumented |
Function | import |
Actually imports and execute a module from a location and module full name. |
Function | is |
Detect if the optional C{new_value} expression override the one already stored in the L{_model.Variable.value} attribute. |
Class | _ |
Undocumented |
Variable | _string |
True iff the 'lineno' attribute of an AST string node points to the last line in the string, rather than the first line. |
Actually imports and execute a module from a location and module full name.
Parameters | |
path:Path | Undocumented |
modulestr | Undocumented |
Returns | |
types.ModuleType | the imported module. |
Detect if the optional C{new_value} expression override the one already stored in the L{_model.Variable.value} attribute.
Parameters | |
obj:_model.Variable | Undocumented |
newOptional[ | Undocumented |
Returns | |
bool | Undocumented |
_string_lineno_is_end =
(source)
True iff the 'lineno' attribute of an AST string node points to the last line in the string, rather than the first line.