Consume the whole line following the current lookahead token. Return the text of the line tail.
(&mut self)
| 473 | // Consume the whole line following the current lookahead token. |
| 474 | // Return the text of the line tail. |
| 475 | fn consume_line(&mut self) -> &'a str { |
| 476 | let rest = self.lex.rest_of_line(); |
| 477 | self.consume(); |
| 478 | rest |
| 479 | } |
| 480 | |
| 481 | // Get the current lookahead token, after making sure there is one. |
| 482 | fn token(&mut self) -> Option<Token<'a>> { |
no test coverage detected