Package org.kie.dmn.feel.lang.ast
Class UnaryTestListNode
- java.lang.Object
-
- org.kie.dmn.feel.lang.ast.BaseNode
-
- org.kie.dmn.feel.lang.ast.UnaryTestListNode
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUnaryTestListNode.State
-
Field Summary
-
Fields inherited from class org.kie.dmn.feel.lang.ast.BaseNode
EMPTY_CHILDREN
-
-
Constructor Summary
Constructors Constructor Description UnaryTestListNode(List<BaseNode> elements, UnaryTestListNode.State state)UnaryTestListNode(org.antlr.v4.runtime.ParserRuleContext ctx)UnaryTestListNode(org.antlr.v4.runtime.ParserRuleContext ctx, List<BaseNode> elements, UnaryTestListNode.State state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Taccept(Visitor<T> v)Listevaluate(EvaluationContext ctx)ASTNode[]getChildrenNode()List<BaseNode>getElements()TypegetResultType()UnaryTestListNode.StategetState()booleanisNegated()voidsetElements(List<BaseNode> elements)-
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
-
UnaryTestListNode
public UnaryTestListNode(org.antlr.v4.runtime.ParserRuleContext ctx)
-
UnaryTestListNode
public UnaryTestListNode(org.antlr.v4.runtime.ParserRuleContext ctx, List<BaseNode> elements, UnaryTestListNode.State state)
-
UnaryTestListNode
public UnaryTestListNode(List<BaseNode> elements, UnaryTestListNode.State state)
-
-
Method Detail
-
isNegated
public boolean isNegated()
-
getState
public UnaryTestListNode.State getState()
-
evaluate
public List 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
-
-