Modifier and Type | Class and Description |
---|---|
static class |
UnaryTestNode.UnaryOperator |
EMPTY_CHILDREN
Constructor and Description |
---|
UnaryTestNode(org.antlr.v4.runtime.ParserRuleContext ctx,
String op,
BaseNode value) |
UnaryTestNode(String op,
BaseNode value) |
UnaryTestNode(UnaryTestNode.UnaryOperator op,
BaseNode value) |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(Visitor<T> v) |
UnaryTest |
evaluate(EvaluationContext ctx) |
ASTNode[] |
getChildrenNode() |
UnaryTestNode.UnaryOperator |
getOperator() |
BaseNode |
getValue() |
void |
setOperator(UnaryTestNode.UnaryOperator operator) |
void |
setValue(BaseNode value) |
astEvent, astEvent, getEndChar, getEndColumn, getEndLine, getParserRuleContext, getResultType, getStartChar, getStartColumn, getStartLine, getText, setCtx, setEndChar, setEndColumn, setEndLine, setStartChar, setStartColumn, setStartLine, setText, toString
public UnaryTestNode(UnaryTestNode.UnaryOperator op, BaseNode value)
public UnaryTestNode.UnaryOperator getOperator()
public void setOperator(UnaryTestNode.UnaryOperator operator)
public BaseNode getValue()
public void setValue(BaseNode value)
public UnaryTest evaluate(EvaluationContext ctx)
public ASTNode[] getChildrenNode()
getChildrenNode
in interface ASTNode
getChildrenNode
in class BaseNode
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.