public final class ASTMapLiteral extends JexlNode implements JexlNode.Literal<java.lang.Object>
JexlNode.Literal<T>
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
constant
Whether this array is constant or not.
|
(package private) java.util.Map<?,?> |
map
The type literal value.
|
children, id, parent, value
Constructor and Description |
---|
ASTMapLiteral(int id) |
ASTMapLiteral(Parser p,
int id) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getLiteral()
Gets the literal value.
|
java.lang.Object |
jjtAccept(ParserVisitor visitor,
java.lang.Object data)
Accept the visitor.
|
void |
jjtClose()
This method is called after all the child nodes have been
added.
|
void |
setLiteral(java.lang.Object literal)
Sets the literal value only if the descendants of this node compose a constant
|
debugInfo, debugString, isConstant, isConstant
childrenAccept, dump, getId, jjtAddChild, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetParent, jjtSetValue, toString, toString
java.util.Map<?,?> map
boolean constant
ASTMapLiteral(int id)
ASTMapLiteral(Parser p, int id)
public void jjtClose()
jjtClose
in interface Node
jjtClose
in class SimpleNode
public java.lang.Object getLiteral()
getLiteral
in interface JexlNode.Literal<java.lang.Object>
public void setLiteral(java.lang.Object literal)
literal
- the literal array valuejava.lang.IllegalArgumentException
- if literal is not an array or nullpublic java.lang.Object jjtAccept(ParserVisitor visitor, java.lang.Object data)
jjtAccept
in interface Node
jjtAccept
in class SimpleNode
visitor
- the visitordata
- contextual data