(&mut self, pred: impl Fn(u8) -> bool)
| 40 | /* All inner scan loops use BYTE_CLASS indexed loads, zero branches per byte. */ |
| 41 | #[inline] |
| 42 | fn scan_while(&mut self, pred: impl Fn(u8) -> bool) { |
| 43 | while self.pos < self.src.len() && pred(self.src[self.pos]) { |
| 44 | self.pos += 1; |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | pub fn skip_whitespace(&mut self) { |
| 49 | loop { |
no test coverage detected