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

Method module_prefix

src/compilation_pipeline.rs:348–356  ·  view source on GitHub ↗

The symbol prefix a module's own definitions are mangled with in a closure build: its file stem (for path imports) or registry key, sanitized to an identifier.

(key: &str, source_path: Option<&Path>)

Source from the content-addressed store, hash-verified

346 let mut out = match compiler.compile(source) {
347 Ok(out) => out,
348 Err(diags) => {
349 return PipelineResult {
350 diagnostics: diags,
351 lex: None,
352 parse: None,
353 ir: None,
354 asm: None,
355 binary: None,
356 failure: None,
357 };
358 }
359 };

Callers

nothing calls this directly

Calls 1

collectMethod · 0.80

Tested by

no test coverage detected