MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / repr_d

Method repr_d

compiler/src/modules/vm/ops.rs:346–349  ·  view source on GitHub ↗
(&self, v: Val, seen: &mut Vec<u32>)

Source from the content-addressed store, hash-verified

344 pub fn repr(&self, v: Val) -> String { self.repr_d(v, &mut Vec::new()) }
345
346 fn repr_d(&self, v: Val, seen: &mut Vec<u32>) -> String {
347 if v.is_heap() && let HeapObj::Str(s) = self.heap.get(v) { return repr_str(s); }
348 self.display_d(v, seen)
349 }
350
351 pub fn lt_vals(&self, a: Val, b: Val) -> Result<bool, VmErr> {
352 self.lt_vals_d(a, b, 0)

Callers 3

append_reprsMethod · 0.80
display_dMethod · 0.80
reprMethod · 0.80

Calls 4

repr_strFunction · 0.85
is_heapMethod · 0.80
display_dMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected