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
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
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
constant
Whether this array/set/map is constant or not.private boolean
extended
Whether 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 boolean
isConstant(boolean literal)
boolean
isExtended()
void
jjtClose()
This method is called after all the child nodes have been added.void
setExtended(boolean e)
java.lang.String
toString()
-
Methods inherited from class org.apache.commons.jexl3.parser.JexlNode
clearCache, getColumn, getLine, isConstant, isGlobalVar, isLeftValue, isSafeLhs, isStrictOperator, jexlInfo, jjtSetFirstToken, jjtSetLastToken
-
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:
isConstant
in classJexlNode
-
isExtended
public boolean isExtended()
-
jjtClose
public void jjtClose()
Description copied from interface:Node
This method is called after all the child nodes have been added.- Specified by:
jjtClose
in interfaceNode
- Overrides:
jjtClose
in classSimpleNode
-
setExtended
public void setExtended(boolean e)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classSimpleNode
-
-