Package org.apache.commons.jexl2.parser
Class ASTStringLiteral
java.lang.Object
org.apache.commons.jexl2.parser.SimpleNode
org.apache.commons.jexl2.parser.JexlNode
org.apache.commons.jexl2.parser.ASTStringLiteral
- All Implemented Interfaces:
JexlInfo
,JexlNode.Literal<String>
,Node
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.commons.jexl2.parser.JexlNode
JexlNode.Literal<T>
-
Field Summary
Fields inherited from class org.apache.commons.jexl2.parser.SimpleNode
children, id, parent, value
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the literal value.protected boolean
isConstant
(boolean literal) jjtAccept
(ParserVisitor visitor, Object data) Accept the visitor.Methods inherited from class org.apache.commons.jexl2.parser.JexlNode
debugInfo, debugString, isConstant
Methods inherited from class org.apache.commons.jexl2.parser.SimpleNode
childrenAccept, dump, getId, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetParent, jjtSetValue, toString, toString
-
Constructor Details
-
ASTStringLiteral
-
ASTStringLiteral
-
-
Method Details
-
getLiteral
Gets the literal value.- Specified by:
getLiteral
in interfaceJexlNode.Literal<String>
- Returns:
- the string literal
-
isConstant
- Overrides:
isConstant
in classJexlNode
-
jjtAccept
Accept the visitor.- Specified by:
jjtAccept
in interfaceNode
- Overrides:
jjtAccept
in classSimpleNode
- Parameters:
visitor
- the visitordata
- contextual data- Returns:
- result of visit
-