Index multiline f-strings (#9837)

Fix #9777.
This commit is contained in:
Seo Sanghyeon
2024-02-06 11:25:33 +09:00
committed by GitHub
parent 83195a6030
commit df7fb95cbc
29 changed files with 180 additions and 25 deletions

View File

@@ -54,6 +54,8 @@ pub enum Tok {
value: String,
/// Whether the string is raw or not.
is_raw: bool,
/// Whether the string is triple quoted.
triple_quoted: bool,
},
/// Token value for the end of an f-string. This includes the closing quote.
FStringEnd,