API reference
python:irx:irx.builder.lowering.GeneratorVisitorMixin._lower_generator_factory
method _lower_generator_factory
_lower_generator_factory(generator: ResolvedGeneratorFunction) -> ir.Function
Source: packages/irx/src/irx/builder/lowering/generators.py:631
Declared as: python:irx:irx.builder.lowering.generators.GeneratorVisitorMixin._lower_generator_factory
Emit the public generator factory function.
Parameters
- generator — Generator.; Type: ResolvedGeneratorFunction
Returns
Result of this operation: emit the public generator factory function.; Type: ir.Function