class documentation
class ColorizedPyvalRepr(ParsedRstDocstring): (source)
Constructor: ColorizedPyvalRepr(document, is_complete, warnings)
Method | __init__ |
Undocumented |
Method | to |
Translate this docstring to a Stan tree. |
Instance Variable | is |
True if this colorized repr completely describes the object. |
Instance Variable | warnings |
List of warnings |
Inherited from ParsedRstDocstring
:
Method | __repr__ |
Undocumented |
Method | to |
Translate this docstring to a nodes.document . |
Property | has |
Does this docstring have a non-empty body? |
Instance Variable | _document |
A ReStructuredText document, encoding the docstring. |
Inherited from ParsedDocstring
(via ParsedRstDocstring
):
Method | get |
Returns the summary of this docstring. |
Method | get |
The table of contents of the docstring if titles are defined or None. |
Method | to |
Translate this docstring to a string. The default implementation depends on to_node . |
Instance Variable | fields |
A list of Field s, each of which encodes a single field. The field's bodies are encoded as ParsedDocstrings. |
Instance Variable | _stan |
Undocumented |
Translate this docstring to a Stan tree.
Parameters | |
docstringDocstringLinker | An HTML translator for crossreference links into and out of the docstring. |
Returns | |
Tag | The docstring presented as a stan tree. |
Raises | |
Exception | If 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() . |