API reference

python:irx:irx.analysis.scopes.ScopeStack.push

method push

push(kind: str) -> Scope

Source: packages/irx/src/irx/analysis/scopes.py:69

Push a scope.

Create and activate a new lexical scope of the requested kind.

Parameters

Returns

Type: Scope

Search documentation

Type to search.