API reference

python:irx:irx.builder.lowering.GeneratorVisitorMixin._generator_frame_layout

method _generator_frame_layout

_generator_frame_layout(generator: ResolvedGeneratorFunction) -> tuple[ir.IdentifiedStructType, dict[str, int]]

Source: packages/irx/src/irx/builder/lowering/generators.py:259

Declared as: python:irx:irx.builder.lowering.generators.GeneratorVisitorMixin._generator_frame_layout

Return the frame type and symbol-slot map for one generator.

Parameters

Returns

Type: tuple[ir.IdentifiedStructType, dict[str, int]]

Search documentation

Type to search.