org.apache.commons.jexl.parser
public class ASTIntegerLiteral extends SimpleNode
Version: $Id: ASTIntegerLiteral.java 398202 2006-04-29 16:40:34Z dion $
| Field Summary | |
|---|---|
| protected Integer | val literal value. |
| Constructor Summary | |
|---|---|
| ASTIntegerLiteral(int id)
Create the node given an id.
| |
| ASTIntegerLiteral(Parser p, int id)
Create a node with the given parser and id.
| |
| Method Summary | |
|---|---|
| Object | execute(Object obj, JexlContext ctx)
Part of reference resolution - wierd... in JSTL EL you can have foo.2
which is equiv to foo[2] it appears...
|
| 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. ctx the JexlContext.
Returns: the resulting value.
Throws: Exception on any error.
See Also: ASTArrayAccess