public class ClosureLocalVariable extends LocalVariable
hcode, name, offset, scopeDepth
EMPTY_ARRAY
Constructor and Description |
---|
ClosureLocalVariable(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) |
void |
encode(IRWriterEncoder e) |
boolean |
equals(Object obj) |
boolean |
isDefinedLocally() |
String |
toString() |
void |
visit(IRVisitor visitor) |
decode, getLocation, getName, getOffset, getScopeDepth, hashCode, isSameDepth, retrieve
addUsedVariables, canCopyPropagate, cloneForInlining, getSimplifiedOperand, getValue, isSelf
getOperandType, hasKnownValue
public ClosureLocalVariable(String name, int scopeDepth, int location)
public boolean equals(Object obj)
equals
in class LocalVariable
public int compareTo(Object arg0)
compareTo
in interface Comparable
compareTo
in class LocalVariable
public boolean isDefinedLocally()
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 void encode(IRWriterEncoder e)
encode
in class LocalVariable
public String toString()
toString
in class LocalVariable
Copyright © 2001-2015 JRuby. All Rights Reserved.