(&self)
| 393 | /// Returns `true` if this is a trivia token i.e., a comment or a non-logical newline. |
| 394 | #[inline] |
| 395 | pub const fn is_trivia(&self) -> bool { |
| 396 | matches!(self, TokenKind::Comment | TokenKind::NonLogicalNewline) |
| 397 | } |
| 398 | |
| 399 | #[inline] |
| 400 | pub const fn is_arithmetic(self) -> bool { |
no outgoing calls
no test coverage detected