module documentation
Undocumented
Class |
|
The base class for representing "API Objects". Any API object is any addressable entity in code, be that a variable/constant, function, class or module. |
Class |
|
Represents a #Function argument. |
Class |
|
Represents a class definition. |
Class |
|
A list of well-known properties and behaviour that can be attributed to a class. |
Class |
|
Represents a decorator on a #Class or #Function. |
Class |
|
Represents a docstring for an #APIObject, i.e. it's content and location. This class is a subclass of `str` for backwards compatibility reasons. Use the #content property to access the docstring content over the #Docstring value directory. |
Class |
|
Represents a function definition. This can be in a #Module for plain functions or in a #Class for methods. The #decorations need to be introspected to understand if the function has a special purpose (e... |
Class |
|
A list of well-known properties and behaviour that can be attributed to a function. |
Class |
|
Base class for API objects that can have members, e.g. #Class and #Module. |
Class |
|
Represents an imported name. It can be used to properly find the full name target of a link written with a local name. |
Class |
|
Represents the location of an #ApiObject by a filename and line number. |
Class |
|
Represents a module, basically a named container for code/API objects. Modules may be nested in other modules. Be aware that for historical reasons, some loaders lile #docspec_python by default do not return nested modules, even if nesting would be appropriate (and instead the #Module... |
Class |
|
Represents a variable assignment (e.g. for global variables (often used as constants) or class members). |
Class |
|
A list of well-known properties and behaviour that can be attributed to a variable/constant. |
Function | dump |
Dumps a module to the specified target or returns it as plain structured data. |
Function | filter |
No summary |
Function | get |
Generic function to retrieve a member from an API object. This will always return #None for objects that don't support members (eg. #Function and #Variable). |
Function | load |
No summary |
Function | load |
Loads a stream of modules from the specified *source*. Similar to #load_module(), the *source* can be a filename, file-like object or a list of plain structured data to deserialize from. |
Function | visit |
Visits all *objects*, applying *func* in the specified *order*. |
Variable | __author__ |
Undocumented |
Variable | __version__ |
Undocumented |
Variable | _ |
Undocumented |
Variable | _ |
Undocumented |
Variable | _ |
Undocumented |
Variable | _ |
Undocumented |
Dumps a module to the specified target or returns it as plain structured data.
Parameters | |
module:Module | Undocumented |
target:t.Optional[ | Undocumented |
dumper:t.Callable[ | Undocumented |
Returns | |
t.Optional[ | Undocumented |
Parameters | |
objects:t.MutableSequence[ | Undocumented |
predicate:t.Callable[ | Undocumented |
order:str | Undocumented |
Returns | |
t.MutableSequence[ | Undocumented |
Generic function to retrieve a member from an API object. This will always return #None for objects that don't support members (eg. #Function and #Variable).
Parameters | |
obj:ApiObject | Undocumented |
name:str | Undocumented |
Returns | |
t.Optional[ | Undocumented |
Loads a stream of modules from the specified *source*. Similar to #load_module(), the *source* can be a filename, file-like object or a list of plain structured data to deserialize from.
Parameters | |
source:t.Union[ | Undocumented |
filename:t.Optional[ | Undocumented |
loader:t.Callable[ | Undocumented |
Returns | |
t.Iterable[ | Undocumented |
Visits all *objects*, applying *func* in the specified *order*.
Parameters | |
objects:t.Sequence[ | Undocumented |
func:t.Callable[ | Undocumented |
order:str | Undocumented |