class documentation

class ParsedEpytextDocstring(ParsedDocstring):

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method __str__ Undocumented
Method to​_node Translate this docstring to a docutils.nodes.document.
Constant SYMBOL​_TO​_CODEPOINT Undocumented
Property has​_body Does this docstring have a non-empty body?
Method ​_to​_node Undocumented
Instance Variable ​_document Undocumented
Instance Variable ​_stan Undocumented
Instance Variable ​_tree Undocumented

Inherited from ParsedDocstring:

Method to​_stan Translate this docstring to a Stan tree.
Instance Variable fields A list of Fields, each of which encodes a single field. The field's bodies are encoded as ParsedDocstrings.
def __init__(self, body, fields):

Undocumented

Parameters
body:Optional[Element]Undocumented
fields:Sequence[Field]Undocumented
def __str__(self):

Undocumented

Returns
strUndocumented
def to_node(self):
Translate this docstring to a docutils.nodes.document.
Returns
nodes.documentThe docstring presented as a docutils.nodes.document.
SYMBOL_TO_CODEPOINT: dict[str, int] =

Undocumented

Value
{'<-': 8592,
 '->': 8594,
 '^': 8593,
 'v': 8595,
 'alpha': 945,
 'beta': 946,
 'gamma': 947,
...
@property
has_body: bool =

Does this docstring have a non-empty body?

The body is the part of the docstring that remains after the fields have been split off.

def _to_node(self, tree):

Undocumented

Parameters
tree:ElementUndocumented
Returns
Iterable[nodes.Node]Undocumented
_document =

Undocumented

_stan: Optional[Tag] =
_tree =

Undocumented