org.jruby.compiler.ir.operands
Class Fixnum

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.Fixnum

public class Fixnum
extends Constant


Field Summary
 java.lang.Long _value
           
 
Fields inherited from class org.jruby.compiler.ir.operands.Operand
EMPTY_ARRAY
 
Constructor Summary
Fixnum(java.math.BigInteger val)
           
Fixnum(java.lang.Long 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.Long _value
Constructor Detail

Fixnum

public Fixnum(java.lang.Long val)

Fixnum

public Fixnum(java.math.BigInteger 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.