com.waveset.expression
Class ExNodeVisitor

java.lang.Object
  extended bycom.waveset.expression.ExNodeVisitor

public abstract class ExNodeVisitor
extends java.lang.Object

Visitor for traversing ExNodes.


Constructor Summary
ExNodeVisitor()
           
 
Method Summary
protected  void visitExFunction_ListMutator(ExFunction.ListMutator node)
          Called when an ExFunction.ListMutator is encountered
 void visitExNode(ExNode node)
          Called to visit an ExNode.
protected  void visitExReference(ExReference node)
          Called when an ExReference is encountered
protected  void visitExSet(ExSet node)
          Called when an ExSet is encountered
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExNodeVisitor

public ExNodeVisitor()
Method Detail

visitExNode

public void visitExNode(ExNode node)
Called to visit an ExNode. This method is also responsible for visiting each of the children nodes, so if you override this method, you'll probably want the overriding method to call super.visitExNode either before or after your overriding code depending on whether you want post-order or pre-order traversal of the tree.


visitExReference

protected void visitExReference(ExReference node)
Called when an ExReference is encountered


visitExSet

protected void visitExSet(ExSet node)
Called when an ExSet is encountered


visitExFunction_ListMutator

protected void visitExFunction_ListMutator(ExFunction.ListMutator node)
Called when an ExFunction.ListMutator is encountered