DefaultVisitor

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

class DefaultVisitor : Visitor {}

Inherited Members

From Visitor

dispatch
Node dispatch(Node n)

Calls the appropriate visit() method for a node.

dispatch
Node dispatch(Node n, NodeKind k)

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

unhandled
Node unhandled(Node n)

Called by visit() methods that were not overridden.

Meta