summaryrefslogtreecommitdiff
path: root/tests/snippets/python/test_fstring_18b.txt
blob: 356cc3c781b333e1a58d57e9e9c3a4a48ea138b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---input---
f"{fn(lst,2)} {fn(lst,3)}"

---tokens---
'f'           Literal.String.Affix
'"'           Literal.String.Double
'{'           Literal.String.Interpol
'fn'          Name
'('           Punctuation
'lst'         Name
','           Punctuation
'2'           Literal.Number.Integer
')'           Punctuation
'}'           Literal.String.Interpol
' '           Literal.String.Double
'{'           Literal.String.Interpol
'fn'          Name
'('           Punctuation
'lst'         Name
','           Punctuation
'3'           Literal.Number.Integer
')'           Punctuation
'}'           Literal.String.Interpol
'"'           Literal.String.Double
'\n'          Text.Whitespace