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 JexlNode
JexlNode.Literal<T> -
Field Summary
Fields inherited from class SimpleNode
children, id, parent, value -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the literal value.protected booleanisConstant(boolean literal) jjtAccept(ParserVisitor visitor, Object data) Accept the visitor.Methods inherited from class JexlNode
debugInfo, debugString, isConstantMethods inherited from class 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:
getLiteralin interfaceJexlNode.Literal<String>- Returns:
- the string literal
-
isConstant
- Overrides:
isConstantin classJexlNode
-
jjtAccept
Accept the visitor.- Specified by:
jjtAcceptin interfaceNode- Overrides:
jjtAcceptin classSimpleNode- Parameters:
visitor- the visitordata- contextual data- Returns:
- result of visit
-