Package org.apache.commons.jexl3.parser
Class ASTJxltLiteral
java.lang.Object
org.apache.commons.jexl3.parser.SimpleNode
org.apache.commons.jexl3.parser.JexlNode
org.apache.commons.jexl3.parser.ASTJxltLiteral
- All Implemented Interfaces:
Node
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.commons.jexl3.parser.JexlNode
JexlNode.Constant<T>, JexlNode.Funcall, JexlNode.Info
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate JxltEngine.Expression
The expression (parsed).private String
The actual literal value.private static final long
Serial uid.Fields inherited from class org.apache.commons.jexl3.parser.SimpleNode
id
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the literal value.jjtAccept
(ParserVisitor visitor, Object data) Accepts the visitor.void
(package private) void
setLiteral
(String literal) toString()
Methods inherited from class org.apache.commons.jexl3.parser.JexlNode
clearCache, getColumn, getLine, isConstant, isConstant, isGlobalVar, isLeftValue, isSafeLhs, isStrictOperator, jexlInfo, jjtSetFirstToken, jjtSetLastToken
Methods inherited from class org.apache.commons.jexl3.parser.SimpleNode
childrenAccept, dump, dumpOut, getId, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetChildren, jjtSetParent, jjtSetValue, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerial uid.- See Also:
-
literal
The actual literal value. -
jxltExpression
The expression (parsed).
-
-
Constructor Details
-
ASTJxltLiteral
ASTJxltLiteral(int id)
-
-
Method Details
-
getExpression
-
getLiteral
Gets the literal value.- Returns:
- the string literal
-
jjtAccept
Description copied from class:SimpleNode
Accepts the visitor.- Specified by:
jjtAccept
in interfaceNode
- Overrides:
jjtAccept
in classSimpleNode
- Parameters:
visitor
- the visitordata
- contextual data- Returns:
- result of visit
-
setExpression
-
setLiteral
-
toString
- Overrides:
toString
in classSimpleNode
-