Returns the kind of the current token.
(&self)
| 39 | |
| 40 | /// Returns the kind of the current token. |
| 41 | pub(crate) const fn current_kind(&self) -> TokenKind { |
| 42 | self.lexer.current_kind() |
| 43 | } |
| 44 | |
| 45 | /// Returns the last consumed non-trivia token kind. |
| 46 | pub(crate) fn previous_kind(&self) -> Option<TokenKind> { |
no outgoing calls
no test coverage detected