API reference
python:irx:irx.analysis.resolved_nodes.ResolvedIteration
class ResolvedIteration
ResolvedIteration(iterable_node: astx.AST, iterable_type: astx.DataType, element_type: astx.DataType, kind: IterationKind, is_reiterable: bool = True, order: IterationOrder = IterationOrder.UNSPECIFIED, target_symbol: SemanticSymbol | None = None, sequence_access: ResolvedSequenceAccess | None = None, extras: dict[str, Any] = dict())
Source: packages/irx/src/irx/analysis/resolved_nodes.py:1976
Resolved iterable capability.
Attach the semantic iteration plan that a for-in loop or comprehension should consume during backend lowering.
Attributes
-
iterable_node — Type: astx.AST
-
iterable_type — Type: astx.DataType
-
element_type — Type: astx.DataType
-
kind — Type: IterationKind
-
is_reiterable — Type: bool
-
order — Type: IterationOrder
-
target_symbol — Type: SemanticSymbol | None
-
sequence_access — Type: ResolvedSequenceAccess | None
-
extras — Type: dict[str, Any]
Methods
- __init__ —