| Home | Trees | Index | Help |
|
|---|
|
|
Note:
The only time a VariableDoc will have its own
docstring is if that variable was created using an assignment
statement, and that assignment statement had a docstring-comment or
was followed by a pseudo-docstring.
|
|||
|
__init__(self,
**kwargs)
Construct a new APIDoc object.
|
|||
|
__repr__(self)
repr(x)... |
|||
| _get_canonical_name(self) | |||
| _get_defining_module(self) | |||
|
apidoc_links(self,
**filters)
Return a list of all APIDocs that are directly linked
from this APIDoc (i.e., are contained or pointed to by
one or more of this APIDoc's attributes.)
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
| Basic Variable Information | |||
|---|---|---|---|
| name | The name of this variable in its containing namespace. | ||
| container | API documentation for the namespace that contains this variable. | ||
| value | The API documentation for this variable's value. | ||
| Information Extracted from Docstrings | |||
| type_descr | A description of the variable's expected type, extracted from its docstring. | ||
|
Inherited from |
|||
| Information about Imported Variables | |||
| imported_from | The fully qualified dotted name of the variable that this variable's value was imported from. | ||
| is_imported | Was this variable's value imported from another module?
(Exception: variables that are explicitly included in __all__ have
is_imported set to False, even if they are
in fact imported.) |
||
| Information about Variables in Classes | |||
| is_instvar | If true, then this variable is an instance variable; if false, then this variable is a class variable. | ||
| overrides | The API documentation for the variable that is overridden by this variable. | ||
| Flags | |||
| is_alias | Is this variable an alias for another variable with the same value? If so, then this variable will be dispreferred when assigning canonical names. | ||
| is_public | Is this variable part of its container's public API? | ||
| Docstrings | |||
|
Inherited from |
|||
| Source Information | |||
|
Inherited from |
|||
|
|||
| canonical_name | A read-only property that can be used to get the variable's canonical name. | ||
| defining_module | A read-only property that can be used to get the variable's defining module. | ||
|
|||
APIDoc object. Keyword arguments may be
used to initialize the new APIDoc's attributes.
|
repr(x)
|
|
|
Return a list of all filters can be used to selectively
exclude certain categories of attribute value. For example, using
includes=False will exclude variables that were imported
from other modules; and subclasses=False will exclude
subclasses. The filter categories currently supported by epydoc are:
|
|
|||
nameThe name of this variable in its containing namespace.
|
containerAPI documentation for the namespace that contains this variable.
|
valueThe API documentation for this variable's value.
|
type_descrA description of the variable's expected type, extracted from its docstring.
|
imported_fromThe fully qualified dotted name of the variable that this variable's value was imported from. This attribute should only be defined ifis_instvar is true.
|
is_importedWas this variable's value imported from another module? (Exception: variables that are explicitly included in __all__ haveis_imported set to False, even if they are in
fact imported.)
|
is_instvarIf true, then this variable is an instance variable; if false, then this variable is a class variable. This attribute should only be defined if the containing namespace is a class
|
overridesThe API documentation for the variable that is overridden by this variable. This attribute should only be defined if the containing namespace is a class.
|
is_aliasIs this variable an alias for another variable with the same value? If so, then this variable will be dispreferred when assigning canonical names.
|
is_publicIs this variable part of its container's public API?
|
|
|||
canonical_nameA read-only property that can be used to get the variable's canonical name. This is formed by taking the varaible's container's cannonical name, and adding the variable's name to it.
|
defining_moduleA read-only property that can be used to get the variable's defining module. This is defined as the defining module of the variable's container.
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 3.0alpha2 on Tue Apr 11 17:33:55 2006 | http://epydoc.sf.net |