com.espertech.esper.epl.expression.visitor
Interface ExprNodeVisitor

All Known Implementing Classes:
ExprNodeContextPropertiesVisitor, ExprNodeDeclaredVisitor, ExprNodeIdentifierAndStreamRefVisitor, ExprNodeIdentifierCollectVisitor, ExprNodeIdentifierVisitor, ExprNodeStreamSelectVisitor, ExprNodeStreamUseCollectVisitor, ExprNodeSubselectDeclaredDotVisitor, ExprNodeSummaryVisitor, ExprNodeTableAccessFinderVisitor, ExprNodeVariableVisitor, ExprNodeViewResourceVisitor

public interface ExprNodeVisitor

Visitor interface for use with expression node trees.


Method Summary
 boolean isVisit(ExprNode exprNode)
          Allows visitor to indicate whether to visit a given node.
 void visit(ExprNode exprNode)
          Visit the given expression node.
 

Method Detail

isVisit

boolean isVisit(ExprNode exprNode)
Allows visitor to indicate whether to visit a given node. Implicitly if a visitor doesn't visit a node it would also not visit any descendent child nodes of that node.

Parameters:
exprNode - is the node in questions
Returns:
true if the visitor wants to visit the child node (next call is visit), or false to skip child

visit

void visit(ExprNode exprNode)
Visit the given expression node.

Parameters:
exprNode - is the expression node to visit

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com