Class LeftParenExpNode
- java.lang.Object
-
- org.linuxforhealth.fhir.database.utils.query.node.LeftParenExpNode
-
-
Constructor Summary
Constructors Constructor Description LeftParenExpNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isLeftParen()
Is this expression node a left-parenvoid
popOperands(java.util.Stack<ExpNode> stack)
Read the operands from the stackint
precedence()
Precedence of this expression node.<T> T
visit(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
isOperand, isOperator, isRightParen
-
-
-
-
Method Detail
-
visit
public <T> T visit(ExpNodeVisitor<T> visitor)
Description copied from interface:ExpNode
Generic evaluation visitor
-
precedence
public int precedence()
Description copied from interface:ExpNode
Precedence of this expression node. Used to parse the expression into the correct tree. We use 0 to represent the highest precedence- Specified by:
precedence
in interfaceExpNode
- Returns:
-
popOperands
public void popOperands(java.util.Stack<ExpNode> stack)
Description copied from interface:ExpNode
Read the operands from the stack- Specified by:
popOperands
in interfaceExpNode
-
isLeftParen
public boolean isLeftParen()
Description copied from interface:ExpNode
Is this expression node a left-paren- Specified by:
isLeftParen
in interfaceExpNode
- Returns:
-
-