org.jruby.ast
Class FloatNode

java.lang.Object
  extended byorg.jruby.ast.AbstractNode
      extended byorg.jruby.ast.FloatNode
All Implemented Interfaces:
ILiteralNode, INode, java.io.Serializable

public class FloatNode
extends AbstractNode
implements ILiteralNode

Represents a float literal.

Version:
$Revision: 1.3 $
Author:
jpetersen
See Also:
Serialized Form

Constructor Summary
FloatNode(ISourcePosition position, double value)
           
 
Method Summary
 void accept(INodeVisitor iVisitor)
           
 double getValue()
          Gets the value.
 
Methods inherited from class org.jruby.ast.AbstractNode
getPosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FloatNode

public FloatNode(ISourcePosition position,
                 double value)
Method Detail

accept

public void accept(INodeVisitor iVisitor)
Specified by:
accept in interface INode

getValue

public double getValue()
Gets the value.

Returns:
Returns a double


Copyright © 2002 Jan Arne Petersen. All Rights Reserved.