public class TemporaryCurrentScopeVariable extends TemporaryLocalVariable
Modifier and Type | Field and Description |
---|---|
static TemporaryCurrentScopeVariable[] |
CURRENT_SCOPE_VARIABLE |
offset, PREFIX
EMPTY_ARRAY
Constructor and Description |
---|
TemporaryCurrentScopeVariable(int offset) |
Modifier and Type | Method and Description |
---|---|
Variable |
clone(SimpleCloneInfo ii) |
String |
getName() |
TemporaryVariableType |
getType()
Differentiates between different types of TemporaryVariables (useful for switch and persistence).
|
static TemporaryCurrentScopeVariable |
ScopeVariableFor(int depth) |
getOffset, getPrefix, retrieve, visit
compareTo, equals, hashCode, toString
addUsedVariables, canCopyPropagate, cloneForInlining, getSimplifiedOperand, getValue, isSelf
getOperandType, hasKnownValue
public static final TemporaryCurrentScopeVariable[] CURRENT_SCOPE_VARIABLE
public static TemporaryCurrentScopeVariable ScopeVariableFor(int depth)
public TemporaryVariableType getType()
TemporaryVariable
getType
in class TemporaryLocalVariable
public String getName()
getName
in class TemporaryVariable
public Variable clone(SimpleCloneInfo ii)
clone
in class TemporaryLocalVariable
Copyright © 2001-2015 JRuby. All Rights Reserved.