org.jruby.compiler.ir.operands
Class CompoundString

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

public class CompoundString
extends Operand


Field Summary
 java.util.List<Operand> _pieces
           
 
Fields inherited from class org.jruby.compiler.ir.operands.Operand
EMPTY_ARRAY
 
Constructor Summary
CompoundString(java.util.List<Operand> pieces)
           
 
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)
           
 boolean isConstant()
           
 boolean isNonAtomicValue()
           
 java.lang.String toString()
           
 
Methods inherited from class org.jruby.compiler.ir.operands.Operand
fetchCompileTimeArrayElement, getTargetClass, getValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_pieces

public final java.util.List<Operand> _pieces
Constructor Detail

CompoundString

public CompoundString(java.util.List<Operand> pieces)
Method Detail

isConstant

public boolean isConstant()
Overrides:
isConstant in class Operand

toString

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

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


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