API reference
python:irx:irx.analysis.handlers.base.SemanticVisitorMixinTypingBase._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:243
Declare one loop or comprehension target.
Parameters
-
target — Type: astx.AST
-
element_type — Type: astx.DataType
-
kind — Type: str
-
iteration_kind — Type: IterationKind
Returns
Type: SemanticSymbol | None