public class SimpleCloneInfo extends CloneInfo
labelRenameMap, scope, variableRenameMap| Constructor and Description |
|---|
SimpleCloneInfo(IRScope scope,
boolean isEnsureBlock) |
| Modifier and Type | Method and Description |
|---|---|
protected Label |
getRenamedLabelSimple(Label l) |
protected Variable |
getRenamedSelfVariable(Variable self)
How do we rename %self?
|
Variable |
getRenamedVariable(Variable variable)
Return a new instance of a variable for the newly cloned scope.
|
protected Variable |
getRenamedVariableSimple(Variable v)
How are typical variables renamed if they were not yet found in the variable renaming map?
|
boolean |
isEnsureBlockCloneMode() |
void |
renameLabel(Label l) |
cloneForCloningClosure, getRenamedLabel, getScopepublic SimpleCloneInfo(IRScope scope, boolean isEnsureBlock)
public boolean isEnsureBlockCloneMode()
public Variable getRenamedVariable(Variable variable)
CloneInfogetRenamedVariable in class CloneInfovariable - to be renamedprotected Label getRenamedLabelSimple(Label l)
getRenamedLabelSimple in class CloneInfoprotected Variable getRenamedSelfVariable(Variable self)
CloneInfogetRenamedSelfVariable in class CloneInfoself - to be renamedprotected Variable getRenamedVariableSimple(Variable v)
CloneInfogetRenamedVariableSimple in class CloneInfov - to be renamedpublic void renameLabel(Label l)
Copyright © 2001-2016 JRuby. All Rights Reserved.