Module symbol_table

Module symbol_table 

Source
Expand description

Symbol table: name resolution and reference checking.

Two-pass approach:

  1. Collect all Name = expr definitions from all sources
  2. Check that all (UpperIdent) references are defined

Structs§

SymbolTable
Registry of named definitions in a query.

Constants§

UNNAMED_DEF
Sentinel name for unnamed definitions (bare expressions at root level). Code generators can emit whatever name they want for this.

Functions§

resolve_names