Class LiteralExpNode
- java.lang.Object
-
- com.ibm.fhir.database.utils.query.node.LiteralExpNode
-
- All Implemented Interfaces:
ExpNode
- Direct Known Subclasses:
DoubleExpNode,LongExpNode,StringExpNode
public abstract class LiteralExpNode extends java.lang.Object implements ExpNode
Base of literal values in the expression tree
-
-
Constructor Summary
Constructors Constructor Description LiteralExpNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisOperand()Is this expression node an operandvoidpopOperands(java.util.Stack<ExpNode> stack)Read the operands from the stackintprecedence()Precedence of this expression node.-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.ibm.fhir.database.utils.query.node.ExpNode
isLeftParen, isOperator, isRightParen, visit
-
-
-
-
Method Detail
-
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
-
-