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

Method skip_code_from

crates/sre_engine/src/engine.rs:1114–1116  ·  view source on GitHub ↗
(&mut self, req: &Request<'_, S>, peek: usize)

Source from the content-addressed store, hash-verified

1112 }
1113
1114 fn skip_code_from<S>(&mut self, req: &Request<'_, S>, peek: usize) {
1115 self.skip_code(self.peek_code(req, peek) as usize + 1);
1116 }
1117
1118 const fn at_beginning(&self) -> bool {
1119 // self.ctx().string_position == self.state().start

Callers 4

searchMethod · 0.80
_matchFunction · 0.80
search_info_literalFunction · 0.80
search_info_charsetFunction · 0.80

Calls 2

skip_codeMethod · 0.80
peek_codeMethod · 0.80

Tested by

no test coverage detected