org.jruby.compiler.ir.operands
Class Hash

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

public class Hash
extends Operand


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

Field Detail

_pairs

public final java.util.List<KeyValuePair> _pairs
Constructor Detail

Hash

public Hash(java.util.List<KeyValuePair> pairs)
Method Detail

isBlank

public boolean isBlank()

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

getTargetClass

public IR_Class getTargetClass()
Overrides:
getTargetClass 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


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