class documentation

class TextNode(Node):

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method __repr__ Undocumented
Method render Return the node rendered as a string.
Method render​_annotated Return the given value.
Class Variable child​_nodelists Undocumented
Instance Variable s Undocumented

Inherited from Node:

Method __iter__ Undocumented
Method get​_nodes​_by​_type Return a list of all nodes (within this node and its nodelist) of the given type
Class Variable must​_be​_first Undocumented
Class Variable token Undocumented
def __init__(self, s):

Undocumented

def __repr__(self):

Undocumented

def render(self, context):
Return the node rendered as a string.
def render_annotated(self, context):

Return the given value.

The default implementation of this method handles exceptions raised during rendering, which is not necessary for text nodes.

child_nodelists: tuple =
s =

Undocumented