Returns `true` if the token is an f-string.
(self)
| 741 | impl TokenFlags { |
| 742 | /// Returns `true` if the token is an f-string. |
| 743 | pub(crate) const fn is_f_string(self) -> bool { |
| 744 | self.intersects(TokenFlags::F_STRING) |
| 745 | } |
| 746 | |
| 747 | /// Returns `true` if the token is a triple-quoted f-string. |
| 748 | pub(crate) fn is_triple_quoted_fstring(self) -> bool { |