API reference

python:irx:irx.analysis.resolved_nodes.ResolvedYield

class ResolvedYield

ResolvedYield(generator: ResolvedGeneratorFunction, expected_type: astx.DataType, value_type: astx.DataType | None, site_index: int, implicit_conversion: ImplicitConversion | None = None)

Source: packages/irx/src/irx/analysis/resolved_nodes.py:1372

Resolved yield-site semantics.

Capture how one yield statement or expression maps to its enclosing generator function and yielded element type.

Attributes

Methods

Attributes

Search documentation

Type to search.