org.apache.commons.jexl.parser
Class ASTExpressionExpression

java.lang.Object
  extended byorg.apache.commons.jexl.parser.SimpleNode
      extended byorg.apache.commons.jexl.parser.ASTExpressionExpression
All Implemented Interfaces:
Node

public class ASTExpressionExpression
extends SimpleNode

represents equality between integers - use .equals() for strings

Version:
$Id: ASTExpressionExpression.java,v 1.3 2004/02/28 13:45:20 yoavs Exp $
Author:
Geir Magnusson Jr.

Field Summary
 
Fields inherited from class org.apache.commons.jexl.parser.SimpleNode
children, id, parent, parser
 
Constructor Summary
ASTExpressionExpression(int id)
           
ASTExpressionExpression(Parser p, int id)
           
 
Method Summary
 java.lang.Object jjtAccept(ParserVisitor visitor, java.lang.Object data)
          Accept the visitor.
 java.lang.Object value(JexlContext context)
          Returns the value of the node.
 
Methods inherited from class org.apache.commons.jexl.parser.SimpleNode
childrenAccept, dump, execute, 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
 

Constructor Detail

ASTExpressionExpression

public ASTExpressionExpression(int id)

ASTExpressionExpression

public ASTExpressionExpression(Parser p,
                               int id)
Method Detail

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

value

public java.lang.Object value(JexlContext context)
                       throws java.lang.Exception
Description copied from class: SimpleNode
Returns the value of the node.

Overrides:
value in class SimpleNode
Throws:
java.lang.Exception