MCPcopy Create free account
hub / github.com/argumentcomputer/ix / CompiledMutualBlock

Class CompiledMutualBlock

crates/compile/src/compile.rs:2320–2329  ·  view source on GitHub ↗

Result of compiling a mutual block.

Source from the content-addressed store, hash-verified

2318 serialize_source_info(info, stt, bytes);
2319 bytes.extend_from_slice(store_string(val, stt).as_bytes());
2320 },
2321 LeanSyntax::Ident(info, raw_val, val, preresolved) => {
2322 bytes.push(3);
2323 serialize_source_info(info, stt, bytes);
2324 serialize_substring(raw_val, stt, bytes);
2325 bytes.extend_from_slice(compile_name(val, stt).as_bytes());
2326 Tag0::new(preresolved.len() as u64).put(bytes);
2327 for pr in preresolved {
2328 serialize_preresolved(pr, stt, bytes);
2329 }
2330 },
2331 }
2332}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected