(&mut self, req: &Request<'_, S>, start: usize)
| 124 | |
| 125 | impl State { |
| 126 | pub fn reset<S: StrDrive>(&mut self, req: &Request<'_, S>, start: usize) { |
| 127 | self.marks.clear(); |
| 128 | self.repeat_stack.clear(); |
| 129 | self.start = start; |
| 130 | req.string.adjust_cursor(&mut self.cursor, start); |
| 131 | } |
| 132 | |
| 133 | pub fn py_match<S: StrDrive>(&mut self, req: &Request<'_, S>) -> bool { |
| 134 | self.start = req.start; |
no test coverage detected