class ParsedRstDocstring(ParsedDocstring):
Known subclasses: pydoctor.epydoc.markup._pyval_repr.ColorizedPyvalRepr
_document
instance variable.Method | __init__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | to_node |
Translate this docstring to a docutils.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
:
Method | to_stan |
Translate this docstring to a Stan tree. |
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 |
pydoctor.epydoc.markup._pyval_repr.ColorizedPyvalRepr
Undocumented
Parameters | |
document:nodes.document | Undocumented |
fields:Sequence[ | Undocumented |
docutils.nodes.document
.Returns | |
nodes.document | The docstring presented as a docutils.nodes.document . |