| Modifier and Type | Field and Description |
|---|---|
| public static final MethodHandle | |
| private IRubyObject[] |
| Access | Constructor and Description |
|---|---|
| public |
| CONSTRUCTOR | back to summary |
|---|---|
| public static final MethodHandle CONSTRUCTOR | |
| variableValues | back to summary |
|---|---|
| private IRubyObject[] variableValues | |
| ManyVarsDynamicScope | back to summary |
|---|---|
| public ManyVarsDynamicScope(StaticScope staticScope, DynamicScope parent) | |
| allocate | back to summary |
|---|---|
| private void allocate() | |
| checkOffset | back to summary |
|---|---|
| private static boolean checkOffset(IRubyObject[] variableValues, int offset) | |
| cloneScope | back to summary |
|---|---|
| public DynamicScope cloneScope() Overrides org. Deprecated
| |
| failGet | back to summary |
|---|---|
| private static String failGet(ManyVarsDynamicScope scope, int offset) | |
| failGet | back to summary |
|---|---|
| private static String failGet(ManyVarsDynamicScope scope, int offset, int depth) | |
| failSet | back to summary |
|---|---|
| private static String failSet(ManyVarsDynamicScope scope, IRubyObject value, int offset) | |
| getValue | back to summary |
|---|---|
| public IRubyObject getValue(int offset, int depth) Implements abstract org. Get value from current scope or one of its captured scopes. FIXME: block variables are not getting primed to nil so we need to null check those until we prime them properly. Also add assert back in.
| |
| getValueDepthZero | back to summary |
|---|---|
| public IRubyObject getValueDepthZero(int offset) Overrides org. Doc from org. Variation of getValue for depth 0 | |
| getValueDepthZeroOrNil | back to summary |
|---|---|
| public IRubyObject getValueDepthZeroOrNil(int offset, IRubyObject nil) Overrides org. Doc from org. getValueOrNil for depth 0 | |
| getValueOneDepthZero | back to summary |
|---|---|
| public IRubyObject getValueOneDepthZero() Overrides org. Doc from org. getValue for index 1, depth 0 | |
| getValueOneDepthZeroOrNil | back to summary |
|---|---|
| public IRubyObject getValueOneDepthZeroOrNil(IRubyObject nil) Overrides org. Doc from org. getValueOrNil for index 1, depth 0 | |
| getValueOrNil | back to summary |
|---|---|
| public IRubyObject getValueOrNil(int offset, int depth, IRubyObject nil) Overrides org. Variation of getValue that checks for nulls, returning and setting the given value (presumably nil) | |
| getValues | back to summary |
|---|---|
| public IRubyObject[] getValues() Overrides org. | |
| getValueThreeDepthZero | back to summary |
|---|---|
| public IRubyObject getValueThreeDepthZero() Overrides org. Doc from org. getValue for index 3, depth 0 | |
| getValueThreeDepthZeroOrNil | back to summary |
|---|---|
| public IRubyObject getValueThreeDepthZeroOrNil(IRubyObject nil) Overrides org. Doc from org. getValueOrNil for index 3, depth 0 | |
| getValueTwoDepthZero | back to summary |
|---|---|
| public IRubyObject getValueTwoDepthZero() Overrides org. Doc from org. getValue for index 2, depth 0 | |
| getValueTwoDepthZeroOrNil | back to summary |
|---|---|
| public IRubyObject getValueTwoDepthZeroOrNil(IRubyObject nil) Overrides org. Doc from org. getValueOrNil for index 2, depth 0 | |
| getValueZeroDepthZero | back to summary |
|---|---|
| public IRubyObject getValueZeroDepthZero() Overrides org. Doc from org. getValue for index 0, depth 0 | |
| getValueZeroDepthZeroOrNil | back to summary |
|---|---|
| public IRubyObject getValueZeroDepthZeroOrNil(IRubyObject nil) Overrides org. Doc from org. getValueOrNil for index 0, depth 0 | |
| growIfNeeded | back to summary |
|---|---|
| public void growIfNeeded() Overrides org. Make a larger dynamic scope if the static scope grew. Eval's with bindings require us to possibly change the size of the dynamic scope if things like 'eval "b = 2", binding' happens. | |
| setValueDepthZeroVoid | back to summary |
|---|---|
| public void setValueDepthZeroVoid(IRubyObject value, int offset) Overrides org. Doc from org. setValue for depth zero
| |
| setValueEightDepthZeroVoid | back to summary |
|---|---|
| public void setValueEightDepthZeroVoid(IRubyObject value) Overrides org. Doc from org. Set value eight in this scope. | |
| setValueFiveDepthZeroVoid | back to summary |
|---|---|
| public void setValueFiveDepthZeroVoid(IRubyObject value) Overrides org. Doc from org. Set value five in this scope. | |
| setValueFourDepthZeroVoid | back to summary |
|---|---|
| public void setValueFourDepthZeroVoid(IRubyObject value) Overrides org. Doc from org. Set value four in this scope. | |
| setValueNineDepthZeroVoid | back to summary |
|---|---|
| public void setValueNineDepthZeroVoid(IRubyObject value) Overrides org. Doc from org. Set value nine in this scope. | |
| setValueOneDepthZeroVoid | back to summary |
|---|---|
| public void setValueOneDepthZeroVoid(IRubyObject value) Overrides org. Doc from org. Set value one in this scope. | |
| setValueSevenDepthZeroVoid | back to summary |
|---|---|
| public void setValueSevenDepthZeroVoid(IRubyObject value) Overrides org. Doc from org. Set value seven in this scope. | |
| setValueSixDepthZeroVoid | back to summary |
|---|---|
| public void setValueSixDepthZeroVoid(IRubyObject value) Overrides org. Doc from org. Set value six in this scope. | |
| setValueThreeDepthZeroVoid | back to summary |
|---|---|
| public void setValueThreeDepthZeroVoid(IRubyObject value) Overrides org. Doc from org. Set value three in this scope. | |
| setValueTwoDepthZeroVoid | back to summary |
|---|---|
| public void setValueTwoDepthZeroVoid(IRubyObject value) Overrides org. Doc from org. Set value two in this scope. | |
| setValueVoid | back to summary |
|---|---|
| public void setValueVoid(IRubyObject value, int offset, int depth) Implements abstract org. Set value in current dynamic scope or one of its captured scopes.
| |
| setValueZeroDepthZeroVoid | back to summary |
|---|---|
| public void setValueZeroDepthZeroVoid(IRubyObject value) Overrides org. Doc from org. Set value zero in this scope; | |
| setVariableValues | back to summary |
|---|---|
| public void setVariableValues(IRubyObject[] variableValues) | |