Yielder preserves an independent execution context for a running/suspended method.

There are no class methods for Yielder, as the only way to create a new yielder is by calling a yielder method.

Instance Traits

Begin
Executes the execution context up to the next 'yield'. This enables a yielder to be used a a context within a 'do' block.
done?
Returns true if the yielder is finished (once it performs a return). Otherwise it returns false.
End
Executes the execution context up to the next 'yield' or return. This enables a yielder to be used a a context within a 'do' block.
frames
The number of frames the context holds currently
method
[frame]
The method executing at the specified frame.
stack
[frame,index]
The value on the stack at the specified position on the specified frame.
stacksize
[frame]
The number of values on the stack for the specified frame.
Reset
Resets an context to its initial state. This depends on the values of the initial parameters remaining unchanged.