org.jruby.compiler.ir.operands
Class Variable

java.lang.Object
  extended by org.jruby.compiler.ir.operands.Operand
      extended by org.jruby.compiler.ir.operands.Variable
All Implemented Interfaces:
java.lang.Comparable
Direct Known Subclasses:
GlobalVariable, LocalVariable, TemporaryVariable

public abstract class Variable
extends Operand
implements java.lang.Comparable


Field Summary
 
Fields inherited from class org.jruby.compiler.ir.operands.Operand
EMPTY_ARRAY
 
Constructor Summary
Variable()
           
 
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)
           
abstract  java.lang.String getName()
           
 Operand getSimplifiedOperand(java.util.Map<Operand,Operand> valueMap)
           
 Operand getValue(java.util.Map<Operand,Operand> valueMap)
           
 
Methods inherited from class org.jruby.compiler.ir.operands.Operand
fetchCompileTimeArrayElement, getTargetClass, isConstant, isNonAtomicValue, retrieve, store
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

Variable

public Variable()
Method Detail

getName

public abstract java.lang.String getName()

getSimplifiedOperand

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

getValue

public Operand getValue(java.util.Map<Operand,Operand> valueMap)
Overrides:
getValue 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


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