Package org.jruby.ast
Interface IScopedNode
- All Known Implementing Classes:
DAsgnNode
,DVarNode
,LocalAsgnNode
,LocalVarNode
public interface IScopedNode
A marker interface for scoped variables (which have an offset and depth).
-
Method Summary
-
Method Details
-
getDepth
int getDepth()How many scopes down we should look for this variable -
getIndex
int getIndex()Which index (or slot) this variable is located at in the scope it is stored in.
-