org.apache.commons.jexl.parser

Class ASTStringLiteral

public class ASTStringLiteral extends SimpleNode

represents a quoted string.

Version: $Id: ASTStringLiteral.java 398324 2006-04-30 12:20:24Z dion $

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

Field Detail

literal

protected String literal
the parsed literal.

Constructor Detail

ASTStringLiteral

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

Parameters: id node id.

ASTStringLiteral

public ASTStringLiteral(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-2010 The Apache Software Foundation. All Rights Reserved.