org.apache.commons.jexl.parser

Class ASTIfStatement

public class ASTIfStatement extends SimpleNode

if ( expression ) statement [else statement].

Since: 1.1

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

Constructor Detail

ASTIfStatement

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

Parameters: id node id.

ASTIfStatement

public ASTIfStatement(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 jc)
{@inheritDoc }
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.