Skip to main content

Module resolve

Module resolve 

Source
Expand description

Symbol resolution — safe ID extraction from AST nodes.

Every function uses .get() on Cell<Option<_>>. Never panics.

Functions§

get_binding_symbol
Get symbol ID from a binding identifier (declaration site).
get_declarator_symbol
Get symbol ID from a variable declarator.
get_function_symbol
Get symbol ID from a named function.
get_reference_symbol
Resolve an identifier reference to its declared symbol.