MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / fmt

Method fmt

src/compilation_pipeline.rs:39–55  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

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.
42pub type ModuleResolver = Box<dyn Fn(&str) -> Option<String>>;
43
44struct ResolvedModules {
45 prelude: Option<String>,
46 aliases: std::collections::HashMap<String, hll_to_ir::imports::ModuleAlias>,
47}
48
49struct ResolvedModuleSource {
50 key: String,
51 source: String,
52 source_path: Option<PathBuf>,
53 is_stdlib: bool,
54}
55
56pub struct CompilationPipeline {
57 run_semantic_analysis: bool,
58 target_mode: TargetMode,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected