Package org.jruby.ir.operands
Interface DepthCloneable
- All Known Implementing Classes:
ClosureLocalVariable
,LocalVariable
,Splat
,TemporaryLocalReplacementVariable
public interface DepthCloneable
For Operands which can be accessed from nested scopes we sometimes need to adjust them
for different depths.
-
Method Summary
Modifier and TypeMethodDescriptioncloneForDepth
(int n) How deep is this operand from where it is defined?
-
Method Details
-
cloneForDepth
How deep is this operand from where it is defined?
-