org.apache.commons.jexl.parser
Class ASTAddNode
java.lang.Object
|
+--org.apache.commons.jexl.parser.SimpleNode
|
+--org.apache.commons.jexl.parser.ASTAddNode
- All Implemented Interfaces:
- Node
- public class ASTAddNode
- extends SimpleNode
Addition : either integer addition or string concatenation
- Version:
- $Id: ASTAddNode.java,v 1.7 2004/08/24 02:22:12 dion Exp $
Methods inherited from class org.apache.commons.jexl.parser.SimpleNode |
childrenAccept, dump, execute, interpret, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setValue, toString, toString |
ASTAddNode
public ASTAddNode(int id)
ASTAddNode
public ASTAddNode(Parser p,
int id)
jjtAccept
public Object jjtAccept(ParserVisitor visitor,
Object data)
- Accept the visitor.
- Overrides:
jjtAccept
in class SimpleNode
value
public Object value(JexlContext context)
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.