Debian Codegraph @

tests/snippets/python/test_fstring_19a.txt

raw
1 ---input---
2 f'mapping is { {a:b for (a, b) in ((1, 2), (3, 4))} }'
3
4 ---tokens---
5 'f' Literal.String.Affix
6 "'" Literal.String.Single
7 'mapping is ' Literal.String.Single
8 '{' Literal.String.Interpol
9 ' ' Text.Whitespace
10 '{' Punctuation
11 'a' Name
12 ':' Punctuation
13 'b' Name
14 ' ' Text.Whitespace
15 'for' Keyword
16 ' ' Text.Whitespace
17 '(' Punctuation
18 'a' Name
19 ',' Punctuation
20 ' ' Text.Whitespace
21 'b' Name
22 ')' Punctuation
23 ' ' Text.Whitespace
24 'in' Operator.Word
25 ' ' Text.Whitespace
26 '(' Punctuation
27 '(' Punctuation
28 '1' Literal.Number.Integer
29 ',' Punctuation
30 ' ' Text.Whitespace
31 '2' Literal.Number.Integer
32 ')' Punctuation
33 ',' Punctuation
34 ' ' Text.Whitespace
35 '(' Punctuation
36 '3' Literal.Number.Integer
37 ',' Punctuation
38 ' ' Text.Whitespace
39 '4' Literal.Number.Integer
40 ')' Punctuation
41 ')' Punctuation
42 '}' Punctuation
43 ' ' Text.Whitespace
44 '}' Literal.String.Interpol
45 "'" Literal.String.Single
46 '\n' Text.Whitespace