API reference
python:irx:irx.builder.lowering.GeneratorVisitorMixin._declare_generator_resume
method _declare_generator_resume
_declare_generator_resume(generator: ResolvedGeneratorFunction) -> ir.Function
Source: packages/irx/src/irx/builder/lowering/generators.py:312
Declared as: python:irx:irx.builder.lowering.generators.GeneratorVisitorMixin._declare_generator_resume
Declare or return the internal resume function.
Parameters
- generator — Generator.; Type: ResolvedGeneratorFunction
Returns
Result of this operation: declare or return the internal resume function.; Type: ir.Function