(&self)
| 231 | |
| 232 | #[inline(always)] |
| 233 | pub fn at_end(&self) -> bool { |
| 234 | self.buffer[self.buffer_index] == Kind::Eof |
| 235 | } |
| 236 | |
| 237 | pub fn rewind(&mut self, checkpoint: ParserCheckpoint<I>) { |
| 238 | let ParserCheckpoint { iter, errors_pos, trivia_pos, buffer, buffer_index, skip, stop, state, .. } = checkpoint; |
no outgoing calls