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

Method skip_code

crates/sre_engine/src/engine.rs:1110–1112  ·  view source on GitHub ↗
(&mut self, skip: usize)

Source from the content-addressed store, hash-verified

1108 }
1109
1110 const fn skip_code(&mut self, skip: usize) {
1111 self.code_position += skip;
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);

Callers 3

_matchFunction · 0.80
search_info_literalFunction · 0.80
skip_code_fromMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected