Package org.apache.commons.jexl3.parser
Class ASTArrayLiteral
java.lang.Object
org.apache.commons.jexl3.parser.SimpleNode
org.apache.commons.jexl3.parser.JexlNode
org.apache.commons.jexl3.parser.ASTArrayLiteral
- All Implemented Interfaces:
Node
An array literal.
-
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 array 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 array is constant or not.
-
-
Constructor Details
-
ASTArrayLiteral
ASTArrayLiteral(int id) -
ASTArrayLiteral
ASTArrayLiteral(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
-