API reference

python:irx:irx.analysis.context.SemanticContext.scope

method scope

scope(kind: str) -> Iterator[None]

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

Push/pop a scope around a block of work.

Temporarily add a lexical scope frame while analyzing a block of statements.

Parameters

Returns

Type: Iterator[None]

Search documentation

Type to search.