API reference
python:astx:astx.symbol_table.ScopeNode
class ScopeNode
Source: packages/astx/src/astx/symbol_table.py:55
Scope node organize the scope in different levels in the stack.
Attributes
-
name — Name identifying this declaration.; Type: str
-
parent — Parent node in the syntax tree.; Type: Optional[ScopeNodeBase]
-
default_parent — Default parent.; Type: Optional[ScopeNodeBase]
-
named_expr — Named expr.; Type: dict[str, NamedExpr]