API reference
python:irx:irx.analysis.scopes.ScopeStack.push
method push
push(kind: str) -> Scope
Source: packages/irx/src/irx/analysis/scopes.py:64
Push a scope.
Create and activate a new lexical scope of the requested kind.
Parameters
- kind — Kind of value or operation.; Type: str
Returns
Result of this operation: push a scope.; Type: Scope