API reference
python:irx:irx.builder.lowering.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
Declared as: python:irx:irx.builder.lowering.generators.GeneratorVisitorMixin._allocate_generator_frame
Allocate one generator frame or fail before dereferencing null.
Parameters
-
frame_type — Type: ir.IdentifiedStructType
-
node — Type: astx.AST
Returns
Type: ir.Value