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

Method stack_len

crates/vm/src/frame.rs:285–287  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

283 /// Current stack depth.
284 #[inline(always)]
285 fn stack_len(&self) -> usize {
286 self.stack_top as usize
287 }
288
289 /// Whether the stack is empty.
290 #[inline(always)]

Callers 9

fmtMethod · 0.80
execute_instructionMethod · 0.80
unwind_blocksMethod · 0.80
specialize_callMethod · 0.80
specialize_call_kwMethod · 0.80
pop_multipleMethod · 0.80
nth_valueMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected