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