| Modifier and Type | Class and Description |
|---|---|
static class |
InfixOpNode.InfixOperator |
EMPTY_CHILDREN| Constructor and Description |
|---|
InfixOpNode(org.antlr.v4.runtime.ParserRuleContext ctx,
BaseNode left,
String op,
BaseNode right) |
| Modifier and Type | Method and Description |
|---|---|
Object |
evaluate(EvaluationContext ctx) |
ASTNode[] |
getChildrenNode() |
BaseNode |
getLeft() |
InfixOpNode.InfixOperator |
getOperator() |
Type |
getResultType() |
BaseNode |
getRight() |
boolean |
isBoolean() |
void |
setLeft(BaseNode left) |
void |
setOperator(InfixOpNode.InfixOperator operator) |
void |
setRight(BaseNode right) |
astEvent, astEvent, getEndChar, getEndColumn, getEndLine, getStartChar, getStartColumn, getStartLine, getText, setEndChar, setEndColumn, setEndLine, setStartChar, setStartColumn, setStartLine, setText, toStringpublic InfixOpNode.InfixOperator getOperator()
public void setOperator(InfixOpNode.InfixOperator operator)
public boolean isBoolean()
public BaseNode getLeft()
public void setLeft(BaseNode left)
public BaseNode getRight()
public void setRight(BaseNode right)
public Type getResultType()
getResultType in interface ASTNodegetResultType in class BaseNodepublic Object evaluate(EvaluationContext ctx)
public ASTNode[] getChildrenNode()
getChildrenNode in interface ASTNodegetChildrenNode in class BaseNodeCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.