Package org.jruby.ir.operands
Class ChilledString
java.lang.Object
org.jruby.ir.operands.Operand
org.jruby.ir.operands.MutableString
org.jruby.ir.operands.ChilledString
- All Implemented Interfaces:
Stringable,StringLiteral
-
Field Summary
Fields inherited from class org.jruby.ir.operands.MutableString
EMPTY_STRING, frozenStringFields inherited from class org.jruby.ir.operands.Operand
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionChilledString(FrozenString frozenString) ChilledString(ByteList bytelist, int coderange, String file, int line) Used by persistence and by .freeze optimization -
Method Summary
Modifier and TypeMethodDescriptionstatic ChilledStringbooleanretrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) toString()voidMethods inherited from class org.jruby.ir.operands.MutableString
addUsedVariables, cloneForInlining, encode, getByteList, getCodeRange, getString, hashCode, hasKnownValueMethods inherited from class org.jruby.ir.operands.Operand
canCopyPropagate, getSimplifiedOperand, getValue, isFalseyImmediate, isTruthyImmediateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jruby.ir.operands.Stringable
getStringMethods inherited from interface org.jruby.ir.operands.StringLiteral
getByteList, getCodeRange
-
Constructor Details
-
ChilledString
Used by persistence and by .freeze optimization -
ChilledString
-
-
Method Details
-
getOperandType
- Overrides:
getOperandTypein classMutableString
-
equals
- Overrides:
equalsin classMutableString
-
retrieve
public Object retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) - Overrides:
retrievein classMutableString
-
toString
- Overrides:
toStringin classMutableString
-
visit
- Overrides:
visitin classMutableString
-
decode
-