| Modifier and Type | Field and Description |
|---|---|
| protected JexlNode[] | children
The array of children nodes. |
| protected final int | id
The node type id. |
| protected JexlNode | parent
The parent node. |
| protected volatile Object | value
volatile value so it can be used as a last evaluation cache. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | SimpleNode(Parser
the parser instance p, int the node type identifier i)Creates a SimpleNode instance. |
| Modifier and Type | Method and Description |
|---|---|
| public Object | Returns: result of visitthe visitor visitor, Object contextual data data)Accept the visitor on all this node's children. |
| public void | |
| public Object | Returns: result of visitthe visitor visitor, Object contextual data data)Implements org. |
| public void | jjtAddChild(Node
the child node n, int the child offset i)Implements org. |
| public void | jjtClose()
Implements org. |
| public JexlNode | Returns: the child nodethe child offset i)Implements org. |
| public int | Returns: the number of childrenImplements org. |
| public JexlNode | Returns: the parent nodeImplements org. |
| public Object | |
| public void | jjtOpen()
Implements org. |
| public void | jjtSetParent(Node
the parent n)Implements org. |
| public void | |
| public String | |
| public String |
| children | back to summary |
|---|---|
| protected JexlNode[] children The array of children nodes. | |
| id | back to summary |
|---|---|
| protected final int id The node type id. | |
| parent | back to summary |
|---|---|
| protected JexlNode parent The parent node. | |
| value | back to summary |
|---|---|
| protected volatile Object value volatile value so it can be used as a last evaluation cache. | |
| SimpleNode | back to summary |
|---|---|
| public SimpleNode(int i) Creates a SimpleNode instance.
| |
| SimpleNode | back to summary |
|---|---|
| public SimpleNode(Parser p, int i) Creates a SimpleNode instance.
| |
| childrenAccept | back to summary |
|---|---|
| public Object childrenAccept(ParserVisitor visitor, Object data) Accept the visitor on all this node's children.
| |
| dump | back to summary |
|---|---|
| public void dump(String prefix) | |
| jjtAccept | back to summary |
|---|---|
| public Object jjtAccept(ParserVisitor visitor, Object data) Implements org. Accept the visitor.
| |
| jjtAddChild | back to summary |
|---|---|
| public void jjtAddChild(Node n, int i) Implements org. Adds a child node.
| |
| jjtClose | back to summary |
|---|---|
| public void jjtClose() Implements org. Doc from org. This method is called after all the child nodes have been added. | |
| jjtGetChild | back to summary |
|---|---|
| public JexlNode jjtGetChild(int i) Implements org. Gets a child of this node.
| |
| jjtGetNumChildren | back to summary |
|---|---|
| public int jjtGetNumChildren() Implements org. Gets this node number of children.
| |
| jjtGetParent | back to summary |
|---|---|
| public JexlNode jjtGetParent() Implements org. Gets this node's parent.
| |
| jjtGetValue | back to summary |
|---|---|
| public Object jjtGetValue() Gets this node value.
| |
| jjtOpen | back to summary |
|---|---|
| public void jjtOpen() Implements org. Doc from org. This method is called after the node has been made the current node. It indicates that child nodes can now be added to it. | |
| jjtSetParent | back to summary |
|---|---|
| public void jjtSetParent(Node n) Implements org. Sets this node's parent.
| |
| jjtSetValue | back to summary |
|---|---|
| public void jjtSetValue(Object value) Sets this node value. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| toString | back to summary |
|---|---|
| public String toString(String prefix) | |