public class TemporaryLocalVariable extends TemporaryVariable
| Modifier and Type | Field and Description |
|---|---|
int |
offset |
static java.lang.String |
PREFIX |
EMPTY_ARRAY| Constructor and Description |
|---|
TemporaryLocalVariable(int offset) |
| Modifier and Type | Method and Description |
|---|---|
Variable |
clone(SimpleCloneInfo ii) |
static TemporaryLocalVariable |
decode(IRReaderDecoder d) |
void |
encode(IRWriterEncoder e) |
java.lang.String |
getId() |
int |
getOffset() |
java.lang.String |
getPrefix() |
TemporaryVariableType |
getType()
Differentiates between different types of TemporaryVariables (useful for switch and persistence).
|
java.lang.Object |
retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
java.lang.Object[] temp) |
void |
visit(IRVisitor visitor) |
compareTo, equals, getOperandType, hashCode, toStringaddUsedVariables, canCopyPropagate, cloneForInlining, getSimplifiedOperand, getValue, isSelfhasKnownValue, isFalseyImmediate, isTruthyImmediatepublic static final java.lang.String PREFIX
public final int offset
public int getOffset()
public TemporaryVariableType getType()
TemporaryVariablegetType in class TemporaryVariablepublic java.lang.String getPrefix()
public Variable clone(SimpleCloneInfo ii)
public java.lang.Object retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, java.lang.Object[] temp)
public void encode(IRWriterEncoder e)
public static TemporaryLocalVariable decode(IRReaderDecoder d)
public void visit(IRVisitor visitor)
visit in class TemporaryVariableCopyright © 2001-2022 JRuby. All Rights Reserved.