class documentation
class ISystemBuilder(abc.ABC): (source)
Known subclasses: pydoctor.model.SystemBuilder
Interface class for building a system.
Method | __init__ |
Create the builder. |
Method | add |
Add a module or package from file system path to the pydoctor system. If the path points to a directory, adds all submodules recursively. |
Method | add |
Add a module from text to the system. |
Method | build |
Build the modules. |
overridden in
pydoctor.model.SystemBuilder
Add a module or package from file system path to the pydoctor system. If the path points to a directory, adds all submodules recursively.
Parameters | |
path:Path | Undocumented |
parentOptional[ | Undocumented |
Raises | |
SystemBuildingError | If there is an error while adding the module/package. |
@abc.abstractmethod
def addModuleString(self, text, modname, parent_name=None, is_package=False): (source) ¶
def addModuleString(self, text, modname, parent_name=None, is_package=False): (source) ¶