Package org.kie.dmn.feel.lang.ast
Class ContextNode
- java.lang.Object
-
- org.kie.dmn.feel.lang.ast.BaseNode
-
- org.kie.dmn.feel.lang.ast.ContextNode
-
-
Field Summary
-
Fields inherited from class org.kie.dmn.feel.lang.ast.BaseNode
EMPTY_CHILDREN
-
-
Constructor Summary
Constructors Constructor Description ContextNode(org.antlr.v4.runtime.ParserRuleContext ctx)ContextNode(org.antlr.v4.runtime.ParserRuleContext ctx, ListNode list)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Taccept(Visitor<T> v)Objectevaluate(EvaluationContext ctx)ASTNode[]getChildrenNode()List<ContextEntryNode>getEntries()TypegetResultType()voidsetEntries(List<ContextEntryNode> entries)-
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
-
-
-
-
Constructor Detail
-
ContextNode
public ContextNode(org.antlr.v4.runtime.ParserRuleContext ctx)
-
ContextNode
public ContextNode(org.antlr.v4.runtime.ParserRuleContext ctx, ListNode list)
-
-
Method Detail
-
getEntries
public List<ContextEntryNode> getEntries()
-
setEntries
public void setEntries(List<ContextEntryNode> entries)
-
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
-
-