Skip to main content

module_match_pattern_catalog

Function module_match_pattern_catalog 

Source
pub fn module_match_pattern_catalog(program: &[SNode]) -> MatchPatternCatalog
Expand description

Build the final enum catalog visible from module-owned callable bodies.

This mirrors the module scope shared by type checking and lowering. Nested block enums stay lexical to their body and are registered by the analysis as it walks that body.