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, getEndChar, getEndColumn, getEndLine, getParserRuleContext, getStartChar, getStartColumn, getStartLine, getText, setCtx, setEndChar, setEndColumn, setEndLine, setStartChar, setStartColumn, setStartLine, setText, toString
public 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 ASTNode
getResultType
in class BaseNode
public ASTNode[] getChildrenNode()
getChildrenNode
in interface ASTNode
getChildrenNode
in class BaseNode
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.