Class ExprNodeIdentVisitorWParent

java.lang.Object
com.espertech.esper.common.internal.epl.expression.visitor.ExprNodeIdentVisitorWParent
All Implemented Interfaces:
ExprNodeVisitorWithParent

public class ExprNodeIdentVisitorWParent extends Object implements ExprNodeVisitorWithParent
Visitor for getting a list of identifier nodes with their parent node, which can be null if there is no parent node.
  • Constructor Details

    • ExprNodeIdentVisitorWParent

      public ExprNodeIdentVisitorWParent()
  • Method Details

    • isVisit

      public boolean isVisit(ExprNode exprNode)
      Description copied from interface: ExprNodeVisitorWithParent
      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.
      Specified by:
      isVisit in interface ExprNodeVisitorWithParent
      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

      public void visit(ExprNode exprNode, ExprNode parentExprNode)
      Description copied from interface: ExprNodeVisitorWithParent
      Visit the given expression node.
      Specified by:
      visit in interface ExprNodeVisitorWithParent
      Parameters:
      exprNode - is the expression node to visit
      parentExprNode - parent to visit
    • getIdentNodes

      public List<Pair<ExprNode,ExprIdentNode>> getIdentNodes()