DefaultVisitor2

This class provides default methods for traversing nodes and their subnodes.

class DefaultVisitor2 : Visitor2 {}

Inherited Members

From Visitor2

dispatch
void dispatch(Node n)

Calls the appropriate visit() method for a node.

dispatch
void dispatch(Node n, NodeKind k)

Allows calling the visit() method with a null node.

unhandled
void unhandled(Node n)

Called by visit() methods that were not overridden.

Meta