MCPcopy Index your code
hub / github.com/RustPython/RustPython / traverse

Method traverse

crates/vm/src/frame.rs:485–488  ·  view source on GitHub ↗
(&self, tracer_fn: &mut TraverseFn<'_>)

Source from the content-addressed store, hash-verified

483
484unsafe impl Traverse for LocalsPlus {
485 fn traverse(&self, tracer_fn: &mut TraverseFn<'_>) {
486 self.fastlocals().traverse(tracer_fn);
487 self.stack_as_slice().traverse(tracer_fn);
488 }
489}
490
491/// Lazy locals dict for frames. For NEWLOCALS frames, the dict is

Callers

nothing calls this directly

Calls 3

fastlocalsMethod · 0.80
stack_as_sliceMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected