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

Method repr

compiler/src/modules/vm/ops.rs:344–344  ·  view source on GitHub ↗
(&self, v: Val)

Source from the content-addressed store, hash-verified

342 }
343
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); }

Callers 6

str_percent_formatMethod · 0.80
repr_opMethod · 0.80
repr_deepMethod · 0.80
repr_container_bodyMethod · 0.80
formatFunction · 0.80
get_item_builtinMethod · 0.80

Calls 1

repr_dMethod · 0.80

Tested by

no test coverage detected