class documentation

class MultiNodeVisitor(visitors.Visitor): (source)

View In Hierarchy

A visitor that visits Data, V and Y nodes and uses the *args feature.

Method VisitData Visit Data nodes, change them to XY nodes, and set x and y.
Method VisitV Visit V nodes, change them to X nodes with V nodes as children.
Method VisitY Visit Y nodes, and change them to X nodes with the same attributes.

Inherited from Visitor:

Method __init__ Undocumented
Method Enter Undocumented
Method Leave Undocumented
Method Visit Undocumented
Class Variable old_node Undocumented
Class Variable unchecked_node_names Undocumented
Class Variable visits_all_node_types Undocumented
Instance Variable enter_functions Undocumented
Instance Variable leave_functions Undocumented
Instance Variable visit_class_names Undocumented
Instance Variable visit_functions Undocumented
Class Variable _visitor_functions_cache Undocumented
def VisitData(self, _, r): (source)

Visit Data nodes, change them to XY nodes, and set x and y.

def VisitV(self, _, r): (source)

Visit V nodes, change them to X nodes with V nodes as children.

def VisitY(self, y): (source)

Visit Y nodes, and change them to X nodes with the same attributes.