org.apache.commons.jexl.parser

Class ASTAddNode

public class ASTAddNode extends SimpleNode

Addition : either integer addition or string concatenation.

Version: $Id: ASTAddNode.java 398180 2006-04-29 15:40:35Z dion $

Constructor Summary
ASTAddNode(int id)
Create the node given an id.
ASTAddNode(Parser p, int id)
Create a node with the given parser and id.
Method Summary
ObjectjjtAccept(ParserVisitor visitor, Object data)
Objectvalue(JexlContext context)

Constructor Detail

ASTAddNode

public ASTAddNode(int id)
Create the node given an id.

Parameters: id node id.

ASTAddNode

public ASTAddNode(Parser p, int id)
Create a node with the given parser and id.

Parameters: p a parser. id node id.

Method Detail

jjtAccept

public Object jjtAccept(ParserVisitor visitor, Object data)
{@inheritDoc }

value

public Object value(JexlContext context)
{@inheritDoc }
Copyright © 2003-2010 The Apache Software Foundation. All Rights Reserved.