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

Method back_peek

crates/sre_engine/src/string.rs:76–78  ·  view source on GitHub ↗
(cursor: &StringCursor)

Source from the content-addressed store, hash-verified

74
75 #[inline]
76 fn back_peek(cursor: &StringCursor) -> u32 {
77 unsafe { *cursor.ptr.offset(-1) as u32 }
78 }
79
80 #[inline]
81 fn back_skip(cursor: &mut StringCursor, n: usize) {

Callers

nothing calls this directly

Calls 2

next_code_point_reverseFunction · 0.70
offsetMethod · 0.45

Tested by

no test coverage detected