Class RightParenExpNode
- java.lang.Object
-
- org.linuxforhealth.fhir.database.utils.query.node.RightParenExpNode
-
-
Constructor Summary
Constructors Constructor Description RightParenExpNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisRightParen()Is this expression node a right-parenvoidpopOperands(java.util.Stack<ExpNode> stack)Read the operands from the stackintprecedence()Precedence of this expression node.<T> Tvisit(ExpNodeVisitor<T> visitor)Generic evaluation visitor-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.linuxforhealth.fhir.database.utils.query.node.ExpNode
isLeftParen, isOperand, isOperator
-
-
-
-
Method Detail
-
visit
public <T> T visit(ExpNodeVisitor<T> visitor)
Description copied from interface:ExpNodeGeneric evaluation visitor
-
precedence
public int precedence()
Description copied from interface:ExpNodePrecedence of this expression node. Used to parse the expression into the correct tree. We use 0 to represent the highest precedence- Specified by:
precedencein interfaceExpNode- Returns:
-
popOperands
public void popOperands(java.util.Stack<ExpNode> stack)
Description copied from interface:ExpNodeRead the operands from the stack- Specified by:
popOperandsin interfaceExpNode
-
isRightParen
public boolean isRightParen()
Description copied from interface:ExpNodeIs this expression node a right-paren- Specified by:
isRightParenin interfaceExpNode- Returns:
-
-