(&self)
| 322 | /// Returns `true` if the token is an identifier ([`TokenKind::Name`] token). |
| 323 | #[inline] |
| 324 | pub fn is_identifier(&self) -> bool { |
| 325 | matches!(self, TokenKind::Name) || self.is_soft_keyword() |
| 326 | } |
| 327 | |
| 328 | #[inline] |
| 329 | pub const fn is_operator(self) -> bool { |
no test coverage detected