Skip to main content

Module find_context_identifiers

Module find_context_identifiers 

Source
Expand description

Rust equivalent of the TypeScript FindContextIdentifiers pass.

Determines which bindings need StoreContext/LoadContext semantics by walking the AST with scope tracking to find variables that cross function boundaries.

Functionsยง

find_context_identifiers
Find context identifiers for a function: variables that are captured across function boundaries and need StoreContext/LoadContext semantics.