class documentation
class ISystemBuilder(abc.ABC): (source)
Known subclasses: pydoctor.model.SystemBuilder
Constructor: ISystemBuilder(system)
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.
Raises | |
SystemBuildingError | If there is an error while adding the module/package. |
@abc.abstractmethod
def addModuleString(self, text:
def addModuleString(self, text:
str
, modname: str
, parent_name: str | None
= None, is_package: bool
= False):
(source)
¶
overridden in
pydoctor.model.SystemBuilder
Add a module from text to the system.