Skip to content

iterator

iterator

IteratorProxy

IteratorProxy(interleaver: Interleaver)

interleaver instance-attribute

interleaver = interleaver

__getitem__

__getitem__(iteration: Union[int, slice])

IteratorTracer

IteratorTracer(iteration: Union[int, slice], interleaver: Interleaver)

Bases: Tracer

interleaver instance-attribute

interleaver = interleaver

iteration instance-attribute

iteration = iteration

compile

compile()

Compile the captured source code as a callable function.

Wraps the captured code in a function definition that accepts the necessary context parameters for execution.

RETURNS DESCRIPTION

A callable function that executes the captured code block

execute

execute(fn: Callable)