org.jruby.compiler.ir.operands
Class Array

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

public class Array
extends Operand


Field Summary
 Operand[] _elts
           
 
Fields inherited from class org.jruby.compiler.ir.operands.Operand
EMPTY_ARRAY
 
Constructor Summary
Array()
           
Array(java.util.List<Operand> elts)
           
Array(Operand[] elts)
           
 
Method Summary
 void addUsedVariables(java.util.List<Variable> l)
          Append the list of variables used in this operand to the input list
 Operand fetchCompileTimeArrayElement(int argIndex, boolean getSubArray)
           
 Operand getSimplifiedOperand(java.util.Map<Operand,Operand> valueMap)
           
 IR_Class getTargetClass()
           
 boolean isBlank()
           
 boolean isConstant()
           
 boolean isNonAtomicValue()
           
 Operand toArray()
           
 java.lang.String toString()
           
 
Methods inherited from class org.jruby.compiler.ir.operands.Operand
getValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_elts

public final Operand[] _elts
Constructor Detail

Array

public Array()

Array

public Array(java.util.List<Operand> elts)

Array

public Array(Operand[] elts)
Method Detail

isBlank

public boolean isBlank()

toString

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

isConstant

public boolean isConstant()
Overrides:
isConstant 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

fetchCompileTimeArrayElement

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

getTargetClass

public IR_Class getTargetClass()
Overrides:
getTargetClass in class Operand

toArray

public Operand toArray()

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


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