API reference

python:irx:irx.analysis.resolved_nodes.ResolvedGeneratorFunction

class ResolvedGeneratorFunction

ResolvedGeneratorFunction(function: 'SemanticFunction', yield_type: astx.DataType, yield_nodes: tuple[astx.AST, ...] = ())

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

Resolved generator-function semantics.

Describe one function body that suspends at yield sites and returns a first-class generator object from call sites.

Attributes

Methods

Attributes

Search documentation

Type to search.