org.apache.commons.jexl.parser
public class ASTIdentifier extends SimpleNode
Version: $Id: ASTIdentifier.java 398199 2006-04-29 16:30:05Z dion $
| Field Summary | |
|---|---|
| protected String | val the name of the variable. |
| Constructor Summary | |
|---|---|
| ASTIdentifier(int id)
Create the node given an id.
| |
| ASTIdentifier(Parser p, int id)
Create a node with the given parser and id.
| |
| Method Summary | |
|---|---|
| Object | execute(Object obj, JexlContext jc)
returns the value of itself applied to the object. |
| String | getIdentifierString()
Gets the name of the variable. |
| Object | jjtAccept(ParserVisitor visitor, Object data) |
| Object | value(JexlContext jc) |
Parameters: id node id.
Parameters: p a parser. id node id.
Parameters: obj the object to evaluate against. jc the JexlContext.
Returns: the resulting value.
Throws: Exception on any error.
See Also: ASTArrayAccess
Returns: the variable name.