class documentation

class TextNode(Node): (source)

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 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): (source)

Undocumented

def __repr__(self): (source)

Undocumented

def render(self, context): (source)

Return the node rendered as a string.

def render_annotated(self, context): (source)

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

Undocumented