Expand description
Pre-expansion semantic analysis helpers. Pre-expansion semantic analysis scaffolding for frontend programs.
Structsยง
- Builder
Binding Info - Runtime binding visible inside a typed expression builder.
- Meta
Call Info - Staged semantic facts for a meta call expression.
- Meta
Match Info - Staged semantic facts for a meta match statement.
- Semantic
Analyzer ๐ - Staged
Semantic Info - Pre-expansion semantic information keyed by stable frontend node ids.
Enumsยง
- Builtin
Meta Call Kind - Known builtin meta call categories.
- Meta
ArgKind - Broad meta-value kind used for staged builtin argument expectations.
- Meta
Pattern Kind - Broad pattern category used by staged meta-match facts.
- Meta
Type - Compile-time type/category associated with a meta expression.
- Resolved
Name - Resolved meaning of an identifier before expansion.
- Semantic
Issue - Pre-expansion semantic issue discovered before meta expansion.
Functionsยง
- analyze_
program - Analyze a parsed frontend program and collect reusable pre-expansion metadata.
- converge_
meta_ ๐types - format_
meta_ ๐type - infer_
meta_ ๐expr_ type - infer_
meta_ ๐expr_ type_ with_ env_ shallow - infer_
meta_ ๐type_ from_ type_ expr - infer_
runtime_ ๐expr_ type - iter_
all_ ๐expr_ types - looks_
like_ ๐type_ name - meta_
call_ ๐info - meta_
pattern_ ๐kind - meta_
value_ ๐fits_ type - resolve_
meta_ ๐name - resolve_
runtime_ ๐name