org.apache.commons.jexl.parser
Class ASTEQNode

java.lang.Object
  |
  +--org.apache.commons.jexl.parser.SimpleNode
        |
        +--org.apache.commons.jexl.parser.ASTEQNode
All Implemented Interfaces:
Node

public class ASTEQNode
extends SimpleNode

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

Version:
$Id: ASTEQNode.java,v 1.7 2004/08/22 01:53:27 dion Exp $

Fields inherited from class org.apache.commons.jexl.parser.SimpleNode
children, id, parent, parser
 
Constructor Summary
ASTEQNode(int id)
           
ASTEQNode(Parser p, int id)
           
 
Method Summary
 Object jjtAccept(ParserVisitor visitor, Object data)
          Accept the visitor.
 Object value(JexlContext pc)
          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

ASTEQNode

public ASTEQNode(int id)

ASTEQNode

public ASTEQNode(Parser p,
                 int id)
Method Detail

jjtAccept

public Object jjtAccept(ParserVisitor visitor,
                        Object data)
Accept the visitor.
Overrides:
jjtAccept in class SimpleNode

value

public Object value(JexlContext pc)
             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.