(&self, f: &mut std::fmt::Formatter<'_>)
| 37 | |
| 38 | // --- Pipeline --- |
| 39 | |
| 40 | /// Resolves an `import("name")` module binding to HLL source, over the host module |
| 41 | /// registry or filesystem. `None` means the name is unknown. |
| 42 | pub type ModuleResolver = Box<dyn Fn(&str) -> Option<String>>; |
| 43 | |
| 44 | struct ResolvedModules { |
| 45 | prelude: Option<String>, |
| 46 | aliases: std::collections::HashMap<String, hll_to_ir::imports::ModuleAlias>, |
| 47 | } |
| 48 | |
| 49 | struct ResolvedModuleSource { |
| 50 | key: String, |
| 51 | source: String, |
| 52 | source_path: Option<PathBuf>, |
| 53 | is_stdlib: bool, |
| 54 | } |
| 55 | |
| 56 | pub struct CompilationPipeline { |
| 57 | run_semantic_analysis: bool, |
| 58 | target_mode: TargetMode, |
nothing calls this directly
no outgoing calls
no test coverage detected