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.Constant
cachedValue
 
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)
           
 IRClass getTargetClass()
           
 java.lang.Object retrieve(InterpreterContext interp)
           
 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, cloneForInlining, getSimplifiedOperand, getValue, isNonAtomicValue, store
 
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 IRClass getTargetClass()
Overrides:
getTargetClass in class Operand

computeValue

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

retrieve

public java.lang.Object retrieve(InterpreterContext interp)
Overrides:
retrieve in class Operand


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