Package org.kie.dmn.feel.lang.ast
Class AtLiteralNode
- java.lang.Object
-
- org.kie.dmn.feel.lang.ast.BaseNode
-
- org.kie.dmn.feel.lang.ast.AtLiteralNode
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAtLiteralNode.TypeAndFn
-
Field Summary
-
Fields inherited from class org.kie.dmn.feel.lang.ast.BaseNode
EMPTY_CHILDREN
-
-
Constructor Summary
Constructors Constructor Description AtLiteralNode(org.antlr.v4.runtime.ParserRuleContext ctx, StringNode stringLiteral)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Taccept(Visitor<T> v)Objectevaluate(EvaluationContext ctx)static AtLiteralNode.TypeAndFnfromAtValue(String value)TypegetResultType()StringNodegetStringLiteral()-
Methods inherited from class org.kie.dmn.feel.lang.ast.BaseNode
astEvent, astEvent, copyLocationAttributesFrom, getChildrenNode, getEndChar, getEndColumn, getEndLine, getStartChar, getStartColumn, getStartLine, getText, setEndChar, setEndColumn, setEndLine, setStartChar, setStartColumn, setStartLine, setText, toString
-
-
-
-
Constructor Detail
-
AtLiteralNode
public AtLiteralNode(org.antlr.v4.runtime.ParserRuleContext ctx, StringNode stringLiteral)
-
-
Method Detail
-
getStringLiteral
public StringNode getStringLiteral()
-
evaluate
public Object evaluate(EvaluationContext ctx)
-
getResultType
public Type getResultType()
- Specified by:
getResultTypein interfaceASTNode- Overrides:
getResultTypein classBaseNode
-
accept
public <T> T accept(Visitor<T> v)
-
fromAtValue
public static AtLiteralNode.TypeAndFn fromAtValue(String value)
-
-