(self)
| 387 | /// Returns `true` if this is a singleton token i.e., `True`, `False`, or `None`. |
| 388 | #[inline] |
| 389 | pub const fn is_singleton(self) -> bool { |
| 390 | matches!(self, TokenKind::False | TokenKind::True | TokenKind::None) |
| 391 | } |
| 392 | |
| 393 | /// Returns `true` if this is a trivia token i.e., a comment or a non-logical newline. |
| 394 | #[inline] |
no outgoing calls
no test coverage detected