Peek at the first token
(&mut self)
| 254 | |
| 255 | // Peek at the first token |
| 256 | pub(crate) fn peek(&mut self) -> Result<Option<&Token<'source>>, LexerDiagnostic> { |
| 257 | self.lexer.peek_n(&mut self.context.lexer(), 0) |
| 258 | } |
| 259 | |
| 260 | // Peek at the second token |
| 261 | pub(crate) fn peek2(&mut self) -> Result<Option<&Token<'source>>, LexerDiagnostic> { |