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:
JexlCache.Reference,Node
- Direct Known Subclasses:
ASTArrayLiteral,ASTMapLiteral,ASTSetLiteral
public class ExtensibleNode extends JexlNode
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, JexlNode.JxltHandle
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanconstantWhether this array/set/map is constant or not.private booleanextendedWhether this array/set/map is extended or not.-
Fields inherited from class org.apache.commons.jexl3.parser.SimpleNode
id
-
-
Constructor Summary
Constructors Constructor Description ExtensibleNode(int id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanisConstant(boolean literal)booleanisExtended()voidjjtClose()This method is called after all the child nodes have been added.voidsetExtended(boolean e)java.lang.StringtoString()-
Methods inherited from class org.apache.commons.jexl3.parser.JexlNode
clearCache, getCache, getColumn, getLine, isConstant, isGlobalVar, isLeftValue, isSafeLhs, isStrictOperator, jexlInfo, jexlInfo, jjtSetFirstToken, jjtSetLastToken, setCache
-
Methods inherited from class org.apache.commons.jexl3.parser.SimpleNode
childrenAccept, dump, dumpOut, getId, jjtAccept, jjtAddChild, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetChildren, jjtSetParent, jjtSetValue, toString
-
-
-
-
Method Detail
-
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
public java.lang.String toString()
- Overrides:
toStringin classSimpleNode
-
-