Package org.apache.commons.jexl3.parser
Class ExtensibleNode
java.lang.Object
org.apache.commons.jexl3.parser.SimpleNode
org.apache.commons.jexl3.parser.JexlNode
org.apache.commons.jexl3.parser.ExtensibleNode
- All Implemented Interfaces:
Node
- Direct Known Subclasses:
ASTArrayLiteral,ASTMapLiteral,ASTSetLiteral
Base node for array/set/map literals.
Captures constness and extensibility (...)
-
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 TypeFieldDescriptionprotected booleanWhether this array/set/map is constant or not.private booleanWhether this array/set/map is extended or not.Fields inherited from class org.apache.commons.jexl3.parser.SimpleNode
id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisConstant(boolean literal) booleanvoidjjtClose()This method is called after all the child nodes have been added.voidsetExtended(boolean e) 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, jjtAccept, jjtAddChild, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetChildren, jjtSetParent, jjtSetValue, toString
-
Field Details
-
constant
protected boolean constantWhether this array/set/map is constant or not. -
extended
private boolean extendedWhether this array/set/map is extended or not.
-
-
Constructor Details
-
ExtensibleNode
public ExtensibleNode(int id)
-
-
Method Details
-
isConstant
protected boolean isConstant(boolean literal) - Overrides:
isConstantin classJexlNode
-
isExtended
public boolean isExtended() -
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
-
setExtended
public void setExtended(boolean e) -
toString
- Overrides:
toStringin classSimpleNode
-