blob: 3ae438a0ae866d8901559640d8b7b557f6b42a7a (
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.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.Double
'\n' Text.Whitespace
|