Home | Trees | Indices | Help |
|
---|
|
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|||
Value Representation | |||
---|---|---|---|
ColorizedPyvalRepr |
|
||
ColorizedPyvalRepr |
|
|
|||
Value Representation | |||
---|---|---|---|
REPR_MAXLINES = 5 The maximum number of lines of text that should be generated by pyval_repr(). |
|||
REPR_LINELEN = 75 The maximum number of characters for lines of text that should be generated by pyval_repr(). |
|||
SUMMARY_REPR_LINELEN = 75 The maximum number of characters for the single-line text representation generated by summary_pyval_repr(). |
|||
REPR_MIN_SCORE = 0 The minimum score that a value representation based on pyval should have in order to be used instead of parse_repr as the canonical representation for this ValueDoc 's value.
|
|
|||
DottedName |
canonical_name = _Sentinel('UNKNOWN') A dotted name that serves as a unique identifier for this ValueDoc 's value.
|
||
toktree = _Sentinel('UNKNOWN') This is currently used to extract values from __all__, etc, in the docparser module; maybe I should specialize process_assignment and extract it there? Although, for __all__, it's not clear where I'd put the value, since I just use it to set private/public/imported attribs on other vars (that might not exist yet at the time.) |
|||
Value Representation | |||
---|---|---|---|
Python object |
pyval = _Sentinel('UNKNOWN') A pointer to the actual Python object described by this ValueDoc .
|
||
unicode
|
parse_repr = _Sentinel('UNKNOWN') A text representation of this value, extracted from parsing its source code. |
||
Context | |||
ModuleDoc |
defining_module = _Sentinel('UNKNOWN') The documentation for the module that defines this value. |
||
Information about Imported Variables | |||
DottedName |
proxy_for = True If proxy_for is not None, then this value was
imported from another file.
|
||
Docstrings | |||
Inherited from |
|||
Information Extracted from Docstrings | |||
Inherited from |
|||
Source Information | |||
Inherited from |
|
|||
Inherited from |
|
repr(x)
|
pyval attribute contains an un-pickleable
value.
|
ValueDoc . This representation may include data from
introspection or parsing, and is authorative as 'the best way to
represent a Python value.' Any lines that go beyond REPR_LINELEN characters will be wrapped; and if the
representation as a whole takes more than REPR_MAXLINES lines, then it will be truncated (with an
ellipsis marker). This function will never return UNKNOWN or
None .
|
ValueDoc . This representation may include
data from introspection or parsing, and is authorative as 'the best way
to summarize a Python value.' If the representation takes more then SUMMARY_REPR_LINELEN characters, then it will be
truncated (with an ellipsis marker). This function will never return UNKNOWN or
None .
|
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:
|
|
REPR_MAXLINESThe maximum number of lines of text that should be generated by pyval_repr(). If the string representation does not fit in this number of lines, an ellpsis marker (...) will be placed at the end of the formatted representation.
|
REPR_LINELENThe maximum number of characters for lines of text that should be generated by pyval_repr(). Any lines that exceed this number of characters will be line-wrappped; The symbol will be used to indicate that the line was wrapped.
|
SUMMARY_REPR_LINELENThe maximum number of characters for the single-line text representation generated by summary_pyval_repr(). If the value's representation does not fit in this number of characters, an ellipsis marker (...) will be placed at the end of the formatted representation.
|
REPR_MIN_SCOREThe minimum score that a value representation based on pyval should have in order to be used instead of parse_repr as the canonical representation for thisValueDoc 's value.
See Also: epydoc.markup.pyval_repr
|
|
canonical_nameA dotted name that serves as a unique identifier for this
ValueDoc s are created. However, this is sometimes not
possible. If a canonical name can not be chosen when the
ValueDoc is created, then one will be assigned by assign_canonical_names().
|
pyvalA pointer to the actual Python object described by thisValueDoc . This is used to display the value (e.g., when
describing a variable.) Use pyval_repr() to generate a plaintext string
representation of this value.
|
parse_reprA text representation of this value, extracted from parsing its source code. This representation may not accurately reflect the actual value (e.g., if the value was modified after the initial assignment).
|
defining_moduleThe documentation for the module that defines this value. This is used, e.g., to lookup the appropriate markup language for docstrings. For aModuleDoc , defining_module should be
self .
|
proxy_forIfproxy_for is not None, then this value was imported
from another file. proxy_for is the dotted name of the
variable that this value was imported from. If that variable is
documented, then its value may contain more complete API
documentation about this value. The proxy_for attribute is
used by the source code parser to link imported values to their source
values (in particular, for base classes). When possible, these proxy
ValueDoc s are replaced by the imported value's
ValueDoc by link_imports().
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Thu Mar 1 04:24:12 2007 | http://epydoc.sourceforge.net |