Package org.apache.commons.jexl3.parser
Class ASTSetLiteral
java.lang.Object
org.apache.commons.jexl3.parser.SimpleNode
org.apache.commons.jexl3.parser.JexlNode
org.apache.commons.jexl3.parser.ASTSetLiteral
- 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 booleanWhether this set is constant or not.private static final longFields inherited from class org.apache.commons.jexl3.parser.SimpleNode
id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisConstant(boolean literal) jjtAccept(ParserVisitor visitor, Object data) Accept the visitor.voidjjtClose()This method is called after all the child nodes have been added.toString()Methods inherited from class org.apache.commons.jexl3.parser.JexlNode
clearCache, getColumn, getLine, isConstant, isGlobalVar, isLeftValue, isSafeLhs, isStrictOperator, jexlInfo, jjtSetFirstToken, jjtSetLastTokenMethods inherited from class org.apache.commons.jexl3.parser.SimpleNode
childrenAccept, dump, dumpOut, getId, jjtAddChild, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetChildren, jjtSetParent, jjtSetValue, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
constant
private boolean constantWhether this set is constant or not.
-
-
Constructor Details
-
ASTSetLiteral
ASTSetLiteral(int id) -
ASTSetLiteral
ASTSetLiteral(Parser p, int id)
-
-
Method Details
-
toString
- Overrides:
toStringin classSimpleNode
-
isConstant
protected boolean isConstant(boolean literal) - Overrides:
isConstantin classJexlNode
-
jjtClose
public void jjtClose()Description copied from interface:NodeThis method is called after all the child nodes have been added.- Specified by:
jjtClosein interfaceNode- Overrides:
jjtClosein classSimpleNode
-
jjtAccept
Description copied from class:SimpleNodeAccept the visitor.- Specified by:
jjtAcceptin interfaceNode- Overrides:
jjtAcceptin classSimpleNode- Parameters:
visitor- the visitordata- contextual data- Returns:
- result of visit
-