API reference
python:irx:irx.builder.lowering.generators.GeneratorVisitorMixin._semantic_generator_function
method _semantic_generator_function
_semantic_generator_function(node: astx.FunctionDef) -> ResolvedGeneratorFunction | None
Source: packages/irx/src/irx/builder/lowering/generators.py:109
Return generator metadata attached to one function definition.
Parameters
- node — Type: astx.FunctionDef
Returns
Type: ResolvedGeneratorFunction | None