Skip to main content

Module analysis

Module analysis 

Source
Expand description

Shared semantic analysis pipeline for Shape LSP.

This module centralizes semantic diagnostics so the language server and the shape-test fluent harness use the same logic.

Functionsยง

analyze_program_semantics
Run semantic diagnostics for a parsed Shape program.
validate_imports_and_register_items
Validate import statements and register imported items in the compiler.