Modifier and Type | Class and Description |
---|---|
static class |
InfixOpNode.InfixOperator |
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) |
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, toString
public 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 ASTNode
getResultType
in class BaseNode
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.