Constructor and Description |
---|
InstanceOfNode(org.antlr.v4.runtime.ParserRuleContext ctx,
BaseNode expression,
TypeNode type) |
Modifier and Type | Method and Description |
---|---|
Object |
evaluate(EvaluationContext ctx) |
BaseNode |
getExpression() |
Type |
getResultType() |
TypeNode |
getType() |
void |
setExpression(BaseNode expression) |
void |
setType(TypeNode type) |
astEvent, astEvent, getEndChar, getEndColumn, getEndLine, getStartChar, getStartColumn, getStartLine, getText, 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
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.