Top Description Methods
org.jruby.ir.operands

public Interface DepthCloneable

Known Direct Implementers
org.jruby.ir.operands.LocalVariable, org.jruby.ir.operands.TemporaryLocalReplacementVariable, org.jruby.ir.operands.Splat

For Operands which can be accessed from nested scopes we sometimes need to adjust them for different depths.

Method Summary

Modifier and TypeMethod and Description
public Operand
cloneForDepth(int n)

How deep is this operand from where it is defined?

Method Detail

cloneForDepthback to summary
public Operand cloneForDepth(int n)

How deep is this operand from where it is defined?