NodeRecord
Handsdown API Index / Handsdown / AST Parser / Node Records / NodeRecord
Auto-generated documentation for handsdown.ast_parser.node_records.node_record module.
NodeRecord
Show source in node_record.py:13
Base class for all node records.
Signature
NodeRecord().class_name
Show source in node_record.py:156
Record class name.
Signature
NodeRecord().get_documented_attribute_strings
Show source in node_record.py:138
Render each of attribute_records
to a Markdown string.
Includes name
, docstring
and value
of an ArgumentRecord
.
Returns
A list of rendered strings.
Signature
NodeRecord().line_number
Show source in node_record.py:32
Return node line number in source.
Returns
A line number startign with 1.
Signature
NodeRecord().line_number
Show source in node_record.py:47
Signature
NodeRecord().parse
Show source in node_record.py:84
Get all information from a node.
Executes only once if called multiple times.
Signature
NodeRecord().related_names
Show source in node_record.py:68
Get a set of referenced object names in node
.
Returns an empty set, should be overriden by a child class.
Returns
A set of referenced object name.
Signature
NodeRecord().render
Show source in node_record.py:108
Render node to a string.
Returns
A string representation of node
.