API reference
python:irx:irx.analysis.scopes.Scope
class Scope
Scope(kind: str, symbols: dict[str, SemanticSymbol] = dict())
Source: packages/irx/src/irx/analysis/scopes.py:18
One lexical scope.
Hold the local symbol table for one lexical region such as a module or function body.
Attributes
-
kind — Type: str
-
symbols — Type: dict[str, SemanticSymbol]
Methods
- __init__ —