Class UnaryExpNode
- java.lang.Object
-
- org.linuxforhealth.fhir.database.utils.query.node.OperatorNode
-
- org.linuxforhealth.fhir.database.utils.query.node.UnaryExpNode
-
- All Implemented Interfaces:
ExpNode
- Direct Known Subclasses:
ExistsExpNode
,IsNotNullExpNode
,IsNullExpNode
,NotExistsExpNode
,NotExpNode
,ParenExpNode
public abstract class UnaryExpNode extends OperatorNode
A unary expression
-
-
Constructor Summary
Constructors Modifier Constructor Description UnaryExpNode()
Default public constructor (postponed initialization of the expr value)protected
UnaryExpNode(ExpNode expr)
Protected constructor for immediate initialization by a subclass
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpNode
getExpr()
void
popOperands(java.util.Stack<ExpNode> stack)
Read the operands from the stackvoid
setExpr(ExpNode expr)
java.lang.String
toString()
-
Methods inherited from class org.linuxforhealth.fhir.database.utils.query.node.OperatorNode
isOperator
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.linuxforhealth.fhir.database.utils.query.node.ExpNode
isLeftParen, isOperand, isRightParen, precedence, visit
-
-
-
-
Constructor Detail
-
UnaryExpNode
public UnaryExpNode()
Default public constructor (postponed initialization of the expr value)
-
UnaryExpNode
protected UnaryExpNode(ExpNode expr)
Protected constructor for immediate initialization by a subclass- Parameters:
expr
-
-
-
Method Detail
-
getExpr
public ExpNode getExpr()
- Returns:
- the expr
-
setExpr
public void setExpr(ExpNode expr)
- Parameters:
expr
- the expr to set
-
popOperands
public void popOperands(java.util.Stack<ExpNode> stack)
Description copied from interface:ExpNode
Read the operands from the stack
-
toString
public java.lang.String toString()
- Overrides:
toString
in classOperatorNode
-
-