org.apache.commons.jexl.parser

Class ASTForeachStatement

public class ASTForeachStatement extends SimpleNode

ForEach statement. Syntax: foreach (var in iterable) Statement()

Since: 1.1

Constructor Summary
ASTForeachStatement(int id)
Create the node given an id.
ASTForeachStatement(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

ASTForeachStatement

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

Parameters: id node id.

ASTForeachStatement

public ASTForeachStatement(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.