API reference

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

method scope

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

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

Push/pop a scope around a block of work.

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

Parameters

Returns

Result of this operation: push/pop a scope around a block of work.; Type: Iterator[None]

Search documentation

Type to search.