Expand description
Semantic analysis module for Shape
This module performs type checking, symbol resolution, and validation of the parsed AST before execution.
Modules§
- symbol_
table - Symbol table for tracking identifiers and their types
- types
- Type system for Shape
- validator
- Semantic validation rules for Shape
Structs§
- Semantic
Analyzer - The main semantic analyzer
- Type
Warning - A warning generated during type checking (not an error)
Functions§
- type_
annotation_ to_ type - Convert a TypeAnnotation from the AST to a semantic Type
- type_
annotation_ to_ type_ with_ aliases - Convert a TypeAnnotation to a semantic Type, resolving type aliases via symbol table