(&self)
| 846 | /// If the [Token] is not a [Kind::Comment] this will return [None]. |
| 847 | #[inline] |
| 848 | pub fn comment_style(&self) -> Option<CommentStyle> { |
| 849 | if self.kind_bits() == Kind::Comment as u8 { CommentStyle::from_bits((self.0 >> 29) as u8) } else { None } |
| 850 | } |
| 851 | |
| 852 | /// Returns the [QuoteStyle]. |
| 853 | /// |
no test coverage detected