org.jruby.compiler.ir.operands
Class Range

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

public class Range
extends Operand


Field Summary
 
Fields inherited from class org.jruby.compiler.ir.operands.Operand
EMPTY_ARRAY
 
Constructor Summary
Range(Operand begin, Operand end, boolean exclusive)
           
 
Method Summary
 void addUsedVariables(java.util.List<Variable> l)
          Append the list of variables used in this operand to the input list
 Operand cloneForInlining(InlinerInfo ii)
           
 Operand fetchCompileTimeArrayElement(int argIndex, boolean getSubArray)
           
 Operand getSimplifiedOperand(java.util.Map<Operand,Operand> valueMap)
           
 IRClass getTargetClass()
           
 boolean isConstant()
           
 boolean isNonAtomicValue()
           
 java.lang.Object retrieve(InterpreterContext interp)
           
 java.lang.String toString()
           
 
Methods inherited from class org.jruby.compiler.ir.operands.Operand
getValue, store
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Range

public Range(Operand begin,
             Operand end,
             boolean exclusive)
Method Detail

toString

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

isConstant

public boolean isConstant()
Overrides:
isConstant in class Operand

fetchCompileTimeArrayElement

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

getTargetClass

public IRClass getTargetClass()
Overrides:
getTargetClass in class Operand

isNonAtomicValue

public boolean isNonAtomicValue()
Overrides:
isNonAtomicValue in class Operand

getSimplifiedOperand

public Operand getSimplifiedOperand(java.util.Map<Operand,Operand> valueMap)
Overrides:
getSimplifiedOperand in class Operand

addUsedVariables

public void addUsedVariables(java.util.List<Variable> l)
Append the list of variables used in this operand to the input list

Overrides:
addUsedVariables in class Operand

cloneForInlining

public Operand cloneForInlining(InlinerInfo ii)
Overrides:
cloneForInlining in class Operand

retrieve

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


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