blob: 5c9d6f73bb5b0766ad61fdf75c89a863054c2367 (
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.Double
'mapping is ' Literal.String.Double
'{' Literal.String.Interpol
' ' Text
'{' Punctuation
'a' Name
':' Punctuation
'b' Name
' ' Text
'for' Keyword
' ' Text
'(' Punctuation
'a' Name
',' Punctuation
' ' Text
'b' Name
')' Punctuation
' ' Text
'in' Operator.Word
' ' Text
'(' Punctuation
'(' Punctuation
'1' Literal.Number.Integer
',' Punctuation
' ' Text
'2' Literal.Number.Integer
')' Punctuation
',' Punctuation
' ' Text
'(' Punctuation
'3' Literal.Number.Integer
',' Punctuation
' ' Text
'4' Literal.Number.Integer
')' Punctuation
')' Punctuation
'}' Punctuation
' ' Text
'}' Literal.String.Interpol
'"' Literal.String.Double
'\n' Text
|