Core pydoctor objects.
The two core objects are Documentable
and System
. Instances of (subclasses of) Documentable
represent the documentable 'things' in the system being documented. An instance of System
represents the whole system being documented -- a System is a bad of Documentables, in some sense.
Class |
|
No class docstring; 1/3 class variable documented |
Class |
|
Undocumented |
Class |
|
No class docstring; 4/4 properties, 0/7 instance variable, 0/3 class variable, 4/6 methods documented |
Class |
|
Undocumented |
Class |
|
An object that can be documented. |
Class |
|
Enum containing values indicating the possible object types. |
Class |
|
Undocumented |
Class |
|
No summary |
Class |
|
Undocumented |
Class |
|
Interface class for building a system. |
Class |
|
Simple int wrapper for linenumbers coming from ast analysis. |
Class |
|
Simple int wrapper for linenumbers coming from docstrings. |
Class |
|
No class docstring; 1/3 property, 4/5 instance variables, 1/4 method documented |
Class |
|
Undocumented |
Class |
|
Enum containing values indicating how private an object should be. |
Class |
|
Undocumented |
Class |
|
A collection of related documentable objects. |
Class |
|
This class is only an adapter for some System methods related to module building. |
Exception |
|
Raised when there is a (handled) fatal error while adding modules to the builder. |
Function | compute |
Compute the method resolution order for this class. This function will also set the _finalbaseobjects and _finalbases attributes on this class and all it's superclasses. |
Function | default |
Undocumented |
Function | get |
Look for python language powered constructors or classmethod constructors. A constructor MUST be a method accessible in the locals of the class. |
Function | get |
Fetch the docstring for a documentable. Treat empty docstring as undocumented. |
Function | import |
Undocumented |
Function | is |
Whether is class should be considered as an exception and be marked with the special kind DocumentableKind.EXCEPTION . |
Function | prepend |
Get a new system builder class, that extends the original builder such that it will always use a "fake" package to be the only root object of the system and add new modules under it. |
Type Variable | T |
Undocumented |
Variable | func |
Undocumented |
Function | _find |
Find the a non-default python-powered dunder constructor. Returns None if neither __new__ or __init__ are defined. |
Function | _inherits |
If any of the inherited members of a class variable is an instance variable, then the subclass' class variable become an instance variable as well. |
Constant | _STD |
Undocumented |
Variable | _default |
Undocumented |
Compute the method resolution order for this class. This function will also set the _finalbaseobjects and _finalbases attributes on this class and all it's superclasses.
Look for python language powered constructors or classmethod constructors. A constructor MUST be a method accessible in the locals of the class.
Fetch the docstring for a documentable. Treat empty docstring as undocumented.
:returns:
- (docstring, source) if the object is documented.
- (None, None) if the object has no docstring (even inherited).
- (None, source) if the object has an empty docstring.
str
, path: Path
) -> types.ModuleType
:
(source)
¶
Undocumented
Whether is class should be considered as an exception and be marked with the special kind DocumentableKind.EXCEPTION
.
type[ ISystemBuilder]
, package: str
) -> type[ ISystemBuilder]
:
(source)
¶
Get a new system builder class, that extends the original builder such that it will always use a "fake" package to be the only root object of the system and add new modules under it.
Find the a non-default python-powered dunder constructor. Returns None if neither __new__ or __init__ are defined.
Note | |
__new__ takes precedence orver __init__. More infos: https://docs.python.org/3/reference/datamodel.html#object.__new__ |
If any of the inherited members of a class variable is an instance variable, then the subclass' class variable become an instance variable as well.