public class FrozenString extends StringLiteral
bytelist, coderange, EMPTY_STRING, stringEMPTY_ARRAY| Constructor and Description |
|---|
FrozenString(org.jruby.util.ByteList byteList,
int cr)
Used by persistence and by .freeze optimization
|
FrozenString(String s)
IRBuild.buildGetDefinition returns a frozen string and this is for all intern'd Java strings.
|
| Modifier and Type | Method and Description |
|---|---|
static FrozenString |
decode(IRReaderDecoder d) |
boolean |
equals(Object other) |
Object |
retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
Object[] temp) |
String |
toString() |
void |
visit(IRVisitor visitor) |
addUsedVariables, cloneForInlining, encode, getByteList, getCodeRange, getString, hashCode, hasKnownValuecanCopyPropagate, getOperandType, getSimplifiedOperand, getValuepublic FrozenString(org.jruby.util.ByteList byteList,
int cr)
public FrozenString(String s)
public Object retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp)
retrieve in class StringLiteralpublic boolean equals(Object other)
equals in class StringLiteralpublic String toString()
toString in class StringLiteralpublic void visit(IRVisitor visitor)
visit in class StringLiteralpublic static FrozenString decode(IRReaderDecoder d)
Copyright © 2001-2015 JRuby. All Rights Reserved.