API reference

python:irx:irx.analysis.context.SemanticContext.list_iteration

method list_iteration

list_iteration(owner_symbol_id: str | None) -> Iterator[None]

Source: packages/irx/src/irx/analysis/context.py:90

Protect list storage borrowed for iteration.

Track resolved identity, not spelling. Restore the previous set even on failed analysis or nested iteration of the same owner. Temporary lists and non-list iterables have no named owner to protect. This guards replacement, not in-place append or ownership-moving returns.

Parameters

Returns

Result of this operation: protect list storage borrowed for iteration.; Type: Iterator[None]

Search documentation

Type to search.