API reference

python:irx:irx.builder.lowering.generators.GeneratorVisitorMixin._allocate_generator_frame

method _allocate_generator_frame

_allocate_generator_frame(frame_type: ir.IdentifiedStructType, node: astx.AST) -> ir.Value

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

Allocate one generator frame or fail before dereferencing null.

Parameters

Returns

Type: ir.Value

Search documentation

Type to search.