API reference
python:astx:astx.symbol_table.ScopeNodeBase
class ScopeNodeBase
ScopeNodeBase(name: str, parent: Optional[ScopeNodeBase] = None)
Source: packages/astx/src/astx/symbol_table.py:20
ScopeNodeBase is the base used for the nodes (levels) in the scope.
Attributes
-
name — Type: str
-
parent — Type: Optional[ScopeNodeBase]
-
default_parent — Type: Optional[ScopeNodeBase]
-
named_expr — Type: dict[str, NamedExpr]
Methods
- __init__ — Initialize ScopeNodeBase.