org.apache.commons.jexl.parser

Class ASTFloatLiteral

public class ASTFloatLiteral extends SimpleNode

represents a float point number.

Version: $Id: ASTFloatLiteral.java 398194 2006-04-29 16:14:58Z dion $

Field Summary
protected Floatval
the value of the literal.
Constructor Summary
ASTFloatLiteral(int id)
Create the node given an id.
ASTFloatLiteral(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

val

protected Float val
the value of the literal.

Constructor Detail

ASTFloatLiteral

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

Parameters: id node id.

ASTFloatLiteral

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