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, frozenString
Fields 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 ChilledString
boolean
retrieve
(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) toString()
void
Methods inherited from class org.jruby.ir.operands.MutableString
addUsedVariables, cloneForInlining, encode, getByteList, getCodeRange, getString, hashCode, hasKnownValue
Methods inherited from class org.jruby.ir.operands.Operand
canCopyPropagate, getSimplifiedOperand, getValue, isFalseyImmediate, isTruthyImmediate
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.jruby.ir.operands.Stringable
getString
Methods 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:
getOperandType
in classMutableString
-
equals
- Overrides:
equals
in classMutableString
-
retrieve
public Object retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) - Overrides:
retrieve
in classMutableString
-
toString
- Overrides:
toString
in classMutableString
-
visit
- Overrides:
visit
in classMutableString
-
decode
-