blob: 7e7cde0da5c84eb9f97648a1844ce07d7e8c67eb (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
---input---
f'mapping is { {a:b for (a, b) in ((1, 2), (3, 4))} }'
---tokens---
'f' Literal.String.Affix
"'" Literal.String.Single
'mapping is ' Literal.String.Single
'{' Literal.String.Interpol
' ' Text.Whitespace
'{' Punctuation
'a' Name
':' Punctuation
'b' Name
' ' Text.Whitespace
'for' Keyword
' ' Text.Whitespace
'(' Punctuation
'a' Name
',' Punctuation
' ' Text.Whitespace
'b' Name
')' Punctuation
' ' Text.Whitespace
'in' Operator.Word
' ' Text.Whitespace
'(' Punctuation
'(' Punctuation
'1' Literal.Number.Integer
',' Punctuation
' ' Text.Whitespace
'2' Literal.Number.Integer
')' Punctuation
',' Punctuation
' ' Text.Whitespace
'(' Punctuation
'3' Literal.Number.Integer
',' Punctuation
' ' Text.Whitespace
'4' Literal.Number.Integer
')' Punctuation
')' Punctuation
'}' Punctuation
' ' Text.Whitespace
'}' Literal.String.Interpol
"'" Literal.String.Single
'\n' Text.Whitespace
|