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

Method next_at

crates/sre_engine/src/engine.rs:1181–1189  ·  view source on GitHub ↗
(&mut self, code_position: usize, jump: Jump)

Source from the content-addressed store, hash-verified

1179
1180 #[must_use]
1181 const fn next_at(&mut self, code_position: usize, jump: Jump) -> Self {
1182 self.jump = jump;
1183 Self {
1184 code_position,
1185 jump: Jump::OpCode,
1186 count: -1,
1187 ..*self
1188 }
1189 }
1190}
1191
1192fn at<S: StrDrive>(req: &Request<'_, S>, ctx: &MatchContext, at_code: SreAtCode) -> bool {

Callers 2

_matchFunction · 0.80
next_offsetMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected