public class TemporaryVariable extends Variable
Modifier and Type | Field and Description |
---|---|
int |
offset |
BLOCK, CURRENT_MODULE, CURRENT_SCOPE
EMPTY_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, isImplicitBlockArg
fetchCompileTimeArrayElement, hasKnownValue
public 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 Variable
public Object retrieve(ThreadContext context, IRubyObject self, DynamicScope currDynScope, Object[] temp)
Copyright © 2001-2014 JRuby. All Rights Reserved.