1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//! Semantic frontend: declarations, modules, types, methods, body analysis,
//! and typed IR.
//!
//! The compiler currently assembles these passes in order:
//!
//! 1. [`DeclarationIndex`] collects symbols and direct dependencies;
//! 2. [`ModuleGraph`] resolves modules, aliases, visibility, and the prelude;
//! 3. [`TypeLowerer`] creates canonical [`SemanticType`] values;
//! 4. [`FunctionRegistry`] assigns global function identities/signatures;
//! 5. [`ExtensionEnvironment`] and [`MethodTable`] resolve visible behavior;
//! 6. [`BodyAnalyzer`] creates a [`TypedBody`] for codegen.
//!
//! Pass objects must come from matching parsed files and module paths. Most IDs
//! are dense, owner-local indexes and are not stable across a rebuild. The API is
//! experimental; see [`crate::guides::compiler_api`] and
//! [`crate::guides::architecture`] before building custom compiler tooling.
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;