org.apache.commons.jexl.parser
Class ASTUnaryMinusNode

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

public class ASTUnaryMinusNode
extends SimpleNode

-

Version:
$Id: ASTUnaryMinusNode.java,v 1.3 2004/02/28 13:45:20 yoavs Exp $

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

ASTUnaryMinusNode

public ASTUnaryMinusNode(int id)

ASTUnaryMinusNode

public ASTUnaryMinusNode(Parser p,
                         int id)
Method Detail

jjtAccept

public Object jjtAccept(ParserVisitor visitor,
                        Object data)
Accept the visitor.

Specified by:
jjtAccept in interface Node
Overrides:
jjtAccept 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
Throws:
Exception


Copyright © 2003-2005 The Apache Software Foundation. All Rights Reserved.