API reference
python:astx:astx.symbol_table.SymbolTable
class SymbolTable
SymbolTable()
Source: packages/astx/src/astx/symbol_table.py:190
Symbol Table for ASTx.
Attributes
- scopes — Type: Scope
Methods
-
__init__ — Initialize the symbol table.
-
define — Define a new named expression inside the scoped stack.
-
lookup — Get a named expression from the scope stack.
-
update — Update the expression on the SymbolTable.
Attributes
- scopes —