API reference

python:irx:irx.analysis.context.SemanticContext.in_module

method in_module

in_module(module_key: ModuleKey) -> Iterator[None]

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

Temporarily set the current module key.

Switch the active module identity so registrations and diagnostics are attributed to the right module.

Parameters

Returns

Result of this operation: temporarily set the current module key.; Type: Iterator[None]

Search documentation

Type to search.