API reference

python:astx:astx.symbol_table.Scope.add

method add

add(name: str, parent: Optional[ScopeNodeBase] = None, change_current: bool = True) -> ScopeNodeBase

Source: packages/astx/src/astx/symbol_table.py:118

Add a new node in the scope.

Parameters

Returns

Type: ScopeNodeBase

Search documentation

Type to search.