public class TemporaryVariable extends Variable
| Modifier and Type | Field and Description |
|---|---|
int |
offset |
BLOCK, CURRENT_MODULE, CURRENT_SCOPEEMPTY_ARRAY| Constructor and Description |
|---|
TemporaryVariable(int offset) |
TemporaryVariable(String name,
int offset) |
| Modifier and Type | Method and Description |
|---|---|
Variable |
cloneForCloningClosure(InlinerInfo ii) |
int |
compareTo(Object other) |
boolean |
equals(Object obj) |
String |
getName() |
protected String |
getPrefix() |
int |
hashCode() |
Object |
retrieve(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
Object[] temp) |
String |
toString() |
void |
visit(IRVisitor visitor) |
addUsedVariables, canCopyPropagate, cloneForInlining, getSimplifiedOperand, getValue, isImplicitBlockArgfetchCompileTimeArrayElement, hasKnownValuepublic TemporaryVariable(int offset)
public TemporaryVariable(String name, int offset)
public int compareTo(Object other)
protected String getPrefix()
public Variable cloneForCloningClosure(InlinerInfo ii)
cloneForCloningClosure in class Variablepublic Object retrieve(ThreadContext context, IRubyObject self, DynamicScope currDynScope, Object[] temp)
Copyright © 2001–2024 JRuby. All rights reserved.