EMPTY_CHILDREN| Constructor and Description |
|---|
InstanceOfNode(org.antlr.v4.runtime.ParserRuleContext ctx,
BaseNode expression,
TypeNode type) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(Visitor<T> v) |
Object |
evaluate(EvaluationContext ctx) |
ASTNode[] |
getChildrenNode() |
BaseNode |
getExpression() |
Type |
getResultType() |
TypeNode |
getType() |
void |
setExpression(BaseNode expression) |
void |
setType(TypeNode type) |
astEvent, astEvent, copyLocationAttributesFrom, getEndChar, getEndColumn, getEndLine, getStartChar, getStartColumn, getStartLine, getText, setEndChar, setEndColumn, setEndLine, setStartChar, setStartColumn, setStartLine, setText, toStringpublic BaseNode getExpression()
public void setExpression(BaseNode expression)
public TypeNode getType()
public void setType(TypeNode type)
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–2021 JBoss by Red Hat. All rights reserved.