class documentation
class Collector(BaseCollector[_model.Module, _model.ApiObject]): (source)
Known subclasses: pydocspec.astbuilder.BuilderVisitor, pydocspec.converter._ConverterVisitor
Base class to organize a tree of pydocspec objects.
Maintains a stack of objects and incrementally build one Module instance.
| See Also | |
pydocspec.TreeRoot.add_object |
| Method | __init__ |
Undocumented |
| Method | add |
See TreeRoot.add_object. |
| Instance Variable | module |
Undocumented |
| Instance Variable | root |
The root of the tree. |
overridden in
pydocspec.astbuilder.BuilderVisitorUndocumented
| Parameters | |
root:_model.TreeRoot | Undocumented |
module:Optional[ | Undocumented |
See TreeRoot.add_object.
| Parameters | |
ob:_model.ApiObject | Undocumented |
push:bool | Undocumented |
parent:Optional[ | Undocumented |
root =
(source)
The root of the tree.
Can be used to access the root.factory attribute and create new instances.