Class ExprNodePreviousVisitorWParent
java.lang.Object
com.espertech.esper.common.internal.epl.expression.visitor.ExprNodePreviousVisitorWParent
- All Implemented Interfaces:
ExprNodeVisitorWithParent
Visitor for getting a list of "prev" functions.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the pair of previous nodes and their parent expression.boolean
Allows visitor to indicate whether to visit a given node.void
Visit the given expression node.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.espertech.esper.common.internal.epl.expression.visitor.ExprNodeVisitorWithParent
isWalkDeclExprParam
-
Constructor Details
-
ExprNodePreviousVisitorWParent
public ExprNodePreviousVisitorWParent()
-
-
Method Details
-
isVisit
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 interfaceExprNodeVisitorWithParent
- 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
Description copied from interface:ExprNodeVisitorWithParent
Visit the given expression node.- Specified by:
visit
in interfaceExprNodeVisitorWithParent
- Parameters:
exprNode
- is the expression node to visitparentExprNode
- parent to visit
-
getPrevious
Returns the pair of previous nodes and their parent expression.- Returns:
- nodes
-