org.jruby.compiler.ir.operands
Class Float

java.lang.Object
  extended by org.jruby.compiler.ir.operands.Operand
      extended by org.jruby.compiler.ir.operands.Constant
          extended by org.jruby.compiler.ir.operands.Float

public class Float
extends Constant


Field Summary
 java.lang.Double _value
           
 
Fields inherited from class org.jruby.compiler.ir.operands.Operand
EMPTY_ARRAY
 
Constructor Summary
Float(java.lang.Double val)
           
 
Method Summary
 Constant computeValue(java.lang.String methodName, Constant arg)
           
 Operand fetchCompileTimeArrayElement(int argIndex, boolean getSubArray)
           
 IR_Class getTargetClass()
           
 java.lang.String toString()
           
 
Methods inherited from class org.jruby.compiler.ir.operands.Constant
isConstant
 
Methods inherited from class org.jruby.compiler.ir.operands.Operand
addUsedVariables, getSimplifiedOperand, getValue, isNonAtomicValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_value

public final java.lang.Double _value
Constructor Detail

Float

public Float(java.lang.Double val)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

fetchCompileTimeArrayElement

public Operand fetchCompileTimeArrayElement(int argIndex,
                                            boolean getSubArray)
Overrides:
fetchCompileTimeArrayElement in class Operand

getTargetClass

public IR_Class getTargetClass()
Overrides:
getTargetClass in class Operand

computeValue

public Constant computeValue(java.lang.String methodName,
                             Constant arg)


Copyright © 2002-2009 JRuby Team. All Rights Reserved.