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

Function serialize_syntax

crates/compile/src/compile.rs:1486–1490  ·  view source on GitHub ↗

Serialize a Lean Syntax to bytes.

(syn: &LeanSyntax, stt: &CompileState)

Source from the content-addressed store, hash-verified

1484 entries,
1485 n_canonical,
1486 n_collapsed,
1487 orig_head_collapsed: false,
1488 });
1489 for arg in collapsed_args.iter().rev() {
1490 stack.push(Frame::Compile(arg.clone()));
1491 }
1492 for arg in sorted_canon.iter().rev() {
1493 stack.push(Frame::Compile(arg.clone()));

Callers 1

compile_data_valueFunction · 0.85

Calls 1

serialize_syntax_innerFunction · 0.85

Tested by

no test coverage detected