EMPTY_CHILDREN| Constructor and Description |
|---|
IfExpressionNode(org.antlr.v4.runtime.ParserRuleContext ctx,
BaseNode condition,
BaseNode thenExpression,
BaseNode elseExpression) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(Visitor<T> v) |
Object |
evaluate(EvaluationContext ctx) |
ASTNode[] |
getChildrenNode() |
BaseNode |
getCondition() |
BaseNode |
getElseExpression() |
Type |
getResultType() |
BaseNode |
getThenExpression() |
void |
setCondition(BaseNode condition) |
void |
setElseExpression(BaseNode elseExpression) |
void |
setThenExpression(BaseNode thenExpression) |
astEvent, astEvent, copyLocationAttributesFrom, getEndChar, getEndColumn, getEndLine, getStartChar, getStartColumn, getStartLine, getText, setEndChar, setEndColumn, setEndLine, setStartChar, setStartColumn, setStartLine, setText, toStringpublic BaseNode getCondition()
public void setCondition(BaseNode condition)
public BaseNode getThenExpression()
public void setThenExpression(BaseNode thenExpression)
public BaseNode getElseExpression()
public void setElseExpression(BaseNode elseExpression)
public Object evaluate(EvaluationContext ctx)
public Type getResultType()
getResultType in interface ASTNodegetResultType in class BaseNodepublic ASTNode[] getChildrenNode()
getChildrenNode in interface ASTNodegetChildrenNode in class BaseNodeCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.