tests/snippets/python/test_fstring_10a.txt
raw| 1 | ---input--- |
| 2 | f'abc {a["x"]} def' |
| 3 | |
| 4 | ---tokens--- |
| 5 | 'f' Literal.String.Affix |
| 6 | "'" Literal.String.Single |
| 7 | 'abc ' Literal.String.Single |
| 8 | '{' Literal.String.Interpol |
| 9 | 'a' Name |
| 10 | '[' Punctuation |
| 11 | '"' Literal.String.Double |
| 12 | 'x' Literal.String.Double |
| 13 | '"' Literal.String.Double |
| 14 | ']' Punctuation |
| 15 | '}' Literal.String.Interpol |
| 16 | ' def' Literal.String.Single |
| 17 | "'" Literal.String.Single |
| 18 | '\n' Text.Whitespace |