API reference
python:astx:astx.symbol_table.ScopeNodeBase.__init__
method __init__
__init__(name: str, parent: Optional[ScopeNodeBase] = None) -> None
Source: packages/astx/src/astx/symbol_table.py:39
Initialize ScopeNodeBase.
Parameters
-
name — Name identifying the declaration or operation.; Type: str
-
parent — Parent node or enclosing scope.; Type: Optional[ScopeNodeBase]
Returns
Type: None