org.apache.commons.jexl3.parser
Class ASTStringLiteral
java.lang.Object
org.apache.commons.jexl3.parser.SimpleNode
org.apache.commons.jexl3.parser.JexlNode
org.apache.commons.jexl3.parser.ASTStringLiteral
- All Implemented Interfaces:
- JexlNode.Constant<String>, Node
public final class ASTStringLiteral
- extends JexlNode
- implements JexlNode.Constant<String>
Fields inherited from class org.apache.commons.jexl3.parser.SimpleNode |
id |
Methods inherited from class org.apache.commons.jexl3.parser.SimpleNode |
childrenAccept, dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetParent, jjtSetValue, toString |
toString
public String toString()
- Overrides:
toString
in class SimpleNode
getLiteral
public String getLiteral()
- Gets the literal value.
- Specified by:
getLiteral
in interface JexlNode.Constant<String>
- Returns:
- the string literal
isConstant
protected boolean isConstant(boolean literal)
- Overrides:
isConstant
in class JexlNode
jjtAccept
public Object jjtAccept(ParserVisitor visitor,
Object data)
- Description copied from class:
SimpleNode
- Accept the visitor.
- Specified by:
jjtAccept
in interface Node
- Overrides:
jjtAccept
in class SimpleNode
- Parameters:
visitor
- the visitordata
- contextual data
- Returns:
- result of visit
Copyright © 2001–2017 The Apache Software Foundation. All rights reserved.