public class ClosureLocalVariable extends LocalVariable
hcode, isOuterScopeVar, name, offset, scopeDepthEMPTY_ARRAY| Constructor and Description |
|---|
ClosureLocalVariable(RubySymbol name,
int scopeDepth,
int location) |
ClosureLocalVariable(RubySymbol name,
int scopeDepth,
int location,
boolean isOuterScopeVar) |
| 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(java.lang.Object arg0) |
void |
encode(IRWriterEncoder e) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
toString() |
void |
visit(IRVisitor visitor) |
decode, getId, getLocation, getName, getOffset, getOperandType, getScopeDepth, hashCode, isOuterScopeVar, isSameDepth, retrieveaddUsedVariables, canCopyPropagate, cloneForInlining, getSimplifiedOperand, getValue, isSelfhasKnownValue, isFalseyImmediate, isTruthyImmediatepublic ClosureLocalVariable(RubySymbol name, int scopeDepth, int location)
public ClosureLocalVariable(RubySymbol name, int scopeDepth, int location, boolean isOuterScopeVar)
public boolean equals(java.lang.Object obj)
equals in class LocalVariablepublic int compareTo(java.lang.Object arg0)
compareTo in interface java.lang.ComparablecompareTo in class LocalVariablepublic Variable clone(SimpleCloneInfo ii)
clone in class LocalVariablepublic LocalVariable cloneForDepth(int n)
DepthCloneablecloneForDepth in interface DepthCloneablecloneForDepth in class LocalVariablepublic void visit(IRVisitor visitor)
visit in class LocalVariablepublic void encode(IRWriterEncoder e)
encode in class LocalVariablepublic java.lang.String toString()
toString in class LocalVariableCopyright © 2001-2020 JRuby. All Rights Reserved.