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
  2. Check that all (UpperIdent) references are defined

Constants§

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

Type Aliases§

SymbolTable