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.4 2004/02/28 13:45:20 yoavs Exp $
Methods inherited from class org.apache.commons.jexl.parser.SimpleNode |
childrenAccept, dump, interpret, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setValue, toString, toString |
ASTIntegerLiteral
public ASTIntegerLiteral(int id)
ASTIntegerLiteral
public ASTIntegerLiteral(Parser p,
int id)
jjtAccept
public Object jjtAccept(ParserVisitor visitor,
Object data)
- Accept the visitor.
- Overrides:
jjtAccept
in class SimpleNode
execute
public Object execute(Object o,
JexlContext ctx)
throws 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
value
public Object value(JexlContext jc)
throws Exception
- Description copied from class:
SimpleNode
- Returns the value of the node.
- Overrides:
value
in class SimpleNode
Copyright © 2003-2004 The Apache Software Foundation. All Rights Reserved.