org.jruby.compiler.ir.operands
Class StringLiteral

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

public class StringLiteral
extends Constant


Field Summary
 org.jruby.util.ByteList _bl_value
           
 java.lang.String _str_value
           
 
Fields inherited from class org.jruby.compiler.ir.operands.Constant
cachedValue
 
Fields inherited from class org.jruby.compiler.ir.operands.Operand
EMPTY_ARRAY
 
Constructor Summary
StringLiteral(org.jruby.util.ByteList val)
           
StringLiteral(java.lang.String s)
           
 
Method Summary
 IRClass getTargetClass()
           
 java.lang.Object retrieve(InterpreterContext interp)
           
 java.lang.String toString()
           
 
Methods inherited from class org.jruby.compiler.ir.operands.Constant
isConstant
 
Methods inherited from class org.jruby.compiler.ir.operands.Operand
addUsedVariables, cloneForInlining, fetchCompileTimeArrayElement, getSimplifiedOperand, getValue, isNonAtomicValue, store
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_bl_value

public final org.jruby.util.ByteList _bl_value

_str_value

public final java.lang.String _str_value
Constructor Detail

StringLiteral

public StringLiteral(org.jruby.util.ByteList val)

StringLiteral

public StringLiteral(java.lang.String s)
Method Detail

toString

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

getTargetClass

public IRClass getTargetClass()
Overrides:
getTargetClass in class Operand

retrieve

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


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