public class ClosureLocalVariable extends LocalVariable
Modifier and Type | Field and Description |
---|---|
IRClosure |
definingScope |
hcode, name, offset, scopeDepth
EMPTY_ARRAY
Constructor and Description |
---|
ClosureLocalVariable(IRClosure scope,
String name,
int scopeDepth,
int location) |
Modifier and Type | Method and Description |
---|---|
Variable |
clone(SimpleCloneInfo ii) |
LocalVariable |
cloneForDepth(int n)
How deep is this operand from where it is defined?
|
int |
compareTo(Object arg0) |
boolean |
equals(Object obj) |
String |
toString() |
void |
visit(IRVisitor visitor) |
getLocation, getName, getOffset, getScopeDepth, hashCode, isSameDepth, retrieve
addUsedVariables, canCopyPropagate, cloneForInlining, getSimplifiedOperand, getValue, isSelf
getOperandType, hasKnownValue
public final IRClosure definingScope
public boolean equals(Object obj)
equals
in class LocalVariable
public int compareTo(Object arg0)
compareTo
in interface Comparable
compareTo
in class LocalVariable
public Variable clone(SimpleCloneInfo ii)
clone
in class LocalVariable
public LocalVariable cloneForDepth(int n)
DepthCloneable
cloneForDepth
in interface DepthCloneable
cloneForDepth
in class LocalVariable
public void visit(IRVisitor visitor)
visit
in class LocalVariable
public String toString()
toString
in class LocalVariable
Copyright © 2001-2015 JRuby. All Rights Reserved.