Package org.kie.dmn.feel.lang.ast
Class InstanceOfNode
- java.lang.Object
-
- org.kie.dmn.feel.lang.ast.BaseNode
-
- org.kie.dmn.feel.lang.ast.InstanceOfNode
-
-
Field Summary
-
Fields inherited from class org.kie.dmn.feel.lang.ast.BaseNode
EMPTY_CHILDREN
-
-
Constructor Summary
Constructors Constructor Description InstanceOfNode(org.antlr.v4.runtime.ParserRuleContext ctx, BaseNode expression, TypeNode type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Taccept(Visitor<T> v)Objectevaluate(EvaluationContext ctx)ASTNode[]getChildrenNode()BaseNodegetExpression()TypegetResultType()TypeNodegetType()voidsetExpression(BaseNode expression)voidsetType(TypeNode type)-
Methods inherited from class org.kie.dmn.feel.lang.ast.BaseNode
astEvent, astEvent, copyLocationAttributesFrom, getEndChar, getEndColumn, getEndLine, getStartChar, getStartColumn, getStartLine, getText, setEndChar, setEndColumn, setEndLine, setStartChar, setStartColumn, setStartLine, setText, toString
-
-
-
-
Method Detail
-
getExpression
public BaseNode getExpression()
-
setExpression
public void setExpression(BaseNode expression)
-
getType
public TypeNode getType()
-
setType
public void setType(TypeNode type)
-
evaluate
public Object evaluate(EvaluationContext ctx)
-
getResultType
public Type getResultType()
- Specified by:
getResultTypein interfaceASTNode- Overrides:
getResultTypein classBaseNode
-
getChildrenNode
public ASTNode[] getChildrenNode()
- Specified by:
getChildrenNodein interfaceASTNode- Overrides:
getChildrenNodein classBaseNode
-
-