org.apache.commons.jexl.parser
Class ASTIntegerLiteral
java.lang.Object
org.apache.commons.jexl.parser.SimpleNode
org.apache.commons.jexl.parser.ASTIntegerLiteral
- All Implemented Interfaces:
- Node
- public class ASTIntegerLiteral
- extends SimpleNode
represents an integer
- Version:
- $Id: ASTIntegerLiteral.java,v 1.3 2003/10/09 21:28:55 rdonkin Exp $
- Author:
- Geir Magnusson Jr.
Field Summary |
(package private) java.lang.Integer |
val
|
Methods inherited from class org.apache.commons.jexl.parser.SimpleNode |
childrenAccept, dump, interpret, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setValue, toString, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
val
java.lang.Integer val
ASTIntegerLiteral
public ASTIntegerLiteral(int id)
ASTIntegerLiteral
public ASTIntegerLiteral(Parser p,
int id)
jjtAccept
public java.lang.Object jjtAccept(ParserVisitor visitor,
java.lang.Object data)
- Accept the visitor.
- Specified by:
jjtAccept
in interface Node
- Overrides:
jjtAccept
in class SimpleNode
execute
public java.lang.Object execute(java.lang.Object o,
JexlContext ctx)
throws java.lang.Exception
- Part of reference resolution - wierd... in JSTL EL you can
have
foo.2
which is equiv to
foo[2]
it appears...
- Overrides:
execute
in class SimpleNode
- Throws:
java.lang.Exception
value
public java.lang.Object value(JexlContext jc)
throws java.lang.Exception
- Description copied from class:
SimpleNode
- Returns the value of the node.
- Overrides:
value
in class SimpleNode
- Throws:
java.lang.Exception