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

Function read_string

crates/compile/src/decompile.rs:154–163  ·  view source on GitHub ↗

Read a string from the blob store.

(
  addr: &Address,
  stt: &CompileState,
)

Source from the content-addressed store, hash-verified

152 },
153 ED::Lam(_, t, b, _, _) | ED::ForallE(_, t, b, _, _) => {
154 stack.push((t.clone(), false));
155 stack.push((b.clone(), false));
156 },
157 ED::LetE(_, t, v, b, _, _) => {
158 stack.push((t.clone(), false));
159 stack.push((v.clone(), false));
160 stack.push((b.clone(), false));
161 },
162 ED::Mdata(_, inner, _) => stack.push((inner.clone(), false)),
163 ED::Proj(_, _, s, _) => stack.push((s.clone(), false)),
164 ED::Bvar(..)
165 | ED::Fvar(..)
166 | ED::Mvar(..)

Callers 5

decompile_data_valueFunction · 0.85
deserialize_substringFunction · 0.85
deserialize_preresolvedFunction · 0.85
deserialize_syntax_innerFunction · 0.85
decompile_exprFunction · 0.85

Calls 2

read_blobFunction · 0.85
cloneMethod · 0.45

Tested by

no test coverage detected