API reference

python:irx:irx.analysis.handlers.base.SemanticAnalyzerCore._declare_iteration_target

method _declare_iteration_target

_declare_iteration_target(target: astx.AST, element_type: astx.DataType, *, kind: str, iteration_kind: IterationKind) -> SemanticSymbol | None

Source: packages/irx/src/irx/analysis/handlers/base.py:1153

Declare one loop or comprehension target.

Normalize identifier and inline-declaration targets into a lexical symbol with the iterable element type.

Parameters

Returns

Type: SemanticSymbol | None

Search documentation

Type to search.