Consume the next token and return its source text as a String. */
(&mut self)
| 349 | |
| 350 | /* Consume the next token and return its source text as a String. */ |
| 351 | pub(super) fn advance_text(&mut self) -> String { |
| 352 | let t = self.advance(); |
| 353 | self.lexeme(&t).to_string() |
| 354 | } |
| 355 | |
| 356 | /* Skips Newline/Nl/Comment; maps Endmarker->None; latches saw_newline for ternary detection. */ |
| 357 | pub(super) fn peek(&mut self) -> Option<TokenType> { |
no test coverage detected