class documentation

class ColorizedPyvalRepr(ParsedRstDocstring): (source)

View In Hierarchy

Method __init__ Undocumented
Method to_stan Translate this docstring to a Stan tree.
Instance Variable is_complete True if this colorized repr completely describes the object.
Instance Variable warnings List of warnings

Inherited from ParsedRstDocstring:

Method __repr__ Undocumented
Method to_node Translate this docstring to a nodes.document.
Property has_body Does this docstring have a non-empty body?
Instance Variable _document A ReStructuredText document, encoding the docstring.

Inherited from ParsedDocstring (via ParsedRstDocstring):

Method get_summary Returns the summary of this docstring.
Method get_toc The table of contents of the docstring if titles are defined or None.
Instance Variable fields A list of Fields, each of which encodes a single field. The field's bodies are encoded as ParsedDocstrings.
Instance Variable _compact Undocumented
Instance Variable _stan Undocumented
Instance Variable _summary Undocumented
def __init__(self, document, is_complete, warnings): (source)

Undocumented

Parameters
document:nodes.documentUndocumented
is_complete:boolUndocumented
warnings:List[str]Undocumented
def to_stan(self, docstring_linker, compact=False): (source)

Translate this docstring to a Stan tree.

Parameters
docstring_linker:DocstringLinkerAn HTML translator for crossreference links into and out of the docstring.
compact:boolUndocumented
Returns
TagThe docstring presented as a stan tree.
Raises
ExceptionIf something went wrong. Callers should generally catch Exception when calling to_stan().
Note
The default implementation relies on functionalities provided by node2stan.node2stan and ParsedDocstring.to_node().
is_complete = (source)

True if this colorized repr completely describes the object.

warnings = (source)

List of warnings