API reference
python:irx:irx.analysis.context.SemanticContext.__init__
method __init__
__init__(scopes: ScopeStack = ScopeStack(), diagnostics: DiagnosticBag = DiagnosticBag(), functions: dict[tuple[ModuleKey, str], SemanticFunction] = dict(), structs: dict[tuple[ModuleKey, str], SemanticStruct] = dict(), classes: dict[tuple[ModuleKey, str], SemanticClass] = dict(), current_function: SemanticFunction | None = None, current_class: SemanticClass | None = None, current_module_key: ModuleKey | None = None, check_constant_expressions: bool = True, loop_depth: int = 0, exception_region_depth: int = 0, native_feature_names: tuple[str, ...] = (), native_bindings: dict[int, tuple[str, ...]] = dict(), native_table_io: dict[int, TableIOOperation] = dict(), exception_declarations: tuple[astx.ClassDefStmt, ...] = (), runtime_exception_types: dict[str, ResolvedExceptionType] = dict(), _symbol_counter: int = 0, _method_slot_counter: int = 0) -> None
Generated from the class declaration.
Source: packages/irx/src/irx/analysis/context.py:31