class documentation

class NodeWithVisit(Node): (source)

View In Hierarchy

A node with its own VisitNode function.

Method VisitNode Allow a visitor to modify our children. Returns modified node.
Class Variable x Undocumented
Class Variable y Undocumented

Inherited from Node:

Method __ge__ Undocumented
Method __gt__ Larger than other node? Define so we can have deterministic ordering.
Method __iter__ Undocumented
Method __le__ Undocumented
Method __lt__ Smaller than other node? Define so we can have deterministic ordering.
Method IterChildren Undocumented
Method PopulateLookupCache Undocumented
Method Replace Undocumented
Method Visit Visitor interface for transforming a tree of nodes to a new tree.
Class Variable __slots__ Undocumented
Method _ToTuple Returns a tuple of the fields of self as a sort key.
Class Variable _name2item Undocumented
def VisitNode(self, visitor): (source)

Allow a visitor to modify our children. Returns modified node.

Undocumented

Undocumented