org.apache.commons.jexl.parser
public class ASTBlock extends SimpleNode
Constructor Summary | |
---|---|
ASTBlock(int id)
Create the node given an id.
| |
ASTBlock(Parser p, int id)
Create a node with the given parser and id.
|
Method Summary | |
---|---|
Object | jjtAccept(ParserVisitor visitor, Object data) |
Object | value(JexlContext context) |
Parameters: id node id.
Parameters: p a parser. id node id.
Parameters: context the JexlContext to execute against.
Returns: the value of the block. Execute all statements inside and return the value of the last.
Throws: Exception on any error.