3
3
[" keyword.source.rust" ," use" ],
4
4
[" text" ," " ],
5
5
[" support.constant" ," core::rand::" ],
6
- [" text " ," RngUtil" ],
6
+ [" identifier " ," RngUtil" ],
7
7
[" punctuation.operator" ," ;" ]
8
8
],[
9
9
" start"
31
31
[" string.quoted.double.source.rust" ," \" Carol\" " ],
32
32
[" paren.rparen" ," ]" ],
33
33
[" punctuation.operator" ," ." ],
34
- [" text" ," each " ],
34
+ [" identifier" ," each" ],
35
+ [" text" ," " ],
35
36
[" keyword.operator" ," |&" ],
36
- [" text " ," name" ],
37
+ [" identifier " ," name" ],
37
38
[" keyword.operator" ," |" ],
38
39
[" text" ," " ],
39
40
[" paren.lparen" ," {" ]
40
41
],[
41
42
" start" ,
42
43
[" text" ," " ],
43
44
[" keyword.source.rust" ," do" ],
44
- [" text" ," spawn " ],
45
+ [" text" ," " ],
46
+ [" identifier" ," spawn" ],
47
+ [" text" ," " ],
45
48
[" paren.lparen" ," {" ]
46
49
],[
47
50
" start" ,
48
51
[" text" ," " ],
49
52
[" keyword.source.rust" ," let" ],
50
- [" text" ," v " ],
53
+ [" text" ," " ],
54
+ [" identifier" ," v" ],
55
+ [" text" ," " ],
51
56
[" keyword.operator" ," =" ],
52
57
[" text" ," " ],
53
58
[" support.constant" ," rand::" ],
54
- [" text " ," Rng" ],
59
+ [" identifier " ," Rng" ],
55
60
[" paren.lparen" ," (" ],
56
61
[" paren.rparen" ," )" ],
57
62
[" punctuation.operator" ," ." ],
58
- [" text " ," shuffle" ],
63
+ [" identifier " ," shuffle" ],
59
64
[" paren.lparen" ," ([" ],
60
65
[" constant.numeric.source.rust" ," 1" ],
61
66
[" punctuation.operator" ," ," ],
70
75
" start" ,
71
76
[" text" ," " ],
72
77
[" keyword.source.rust" ," for" ],
73
- [" text" ," v" ],
78
+ [" text" ," " ],
79
+ [" identifier" ," v" ],
74
80
[" punctuation.operator" ," ." ],
75
- [" text" ," each " ],
81
+ [" identifier" ," each" ],
82
+ [" text" ," " ],
76
83
[" keyword.operator" ," |&" ],
77
- [" text " ," num" ],
84
+ [" identifier " ," num" ],
78
85
[" keyword.operator" ," |" ],
79
86
[" text" ," " ],
80
87
[" paren.lparen" ," {" ]
81
88
],[
82
89
" start" ,
83
- [" text" ," print" ],
90
+ [" text" ," " ],
91
+ [" identifier" ," print" ],
84
92
[" paren.lparen" ," (" ],
85
- [" text " ," fmt" ],
93
+ [" identifier " ," fmt" ],
86
94
[" keyword.operator" ," !" ],
87
95
[" paren.lparen" ," (" ],
88
96
[" string.quoted.double.source.rust" ," \" %s says: '%d'" ],
89
- [" constant.character.escape.source.rust" ," \\ n\\\\ " ],
97
+ [" constant.character.escape.source.rust" ," \\ n" ],
90
98
[" string.quoted.double.source.rust" ," \" " ],
91
99
[" punctuation.operator" ," ," ],
92
- [" text" ," name" ],
100
+ [" text" ," " ],
101
+ [" identifier" ," name" ],
93
102
[" punctuation.operator" ," ," ],
94
- [" text" ," num " ],
103
+ [" text" ," " ],
104
+ [" identifier" ," num" ],
105
+ [" text" ," " ],
95
106
[" keyword.operator" ," +" ],
96
107
[" text" ," " ],
97
108
[" constant.numeric.source.rust" ," 1" ],
112
123
" start"
113
124
],[
114
125
" start" ,
126
+ [" text" ," " ],
115
127
[" keyword.source.rust" ," let" ],
116
- [" text" ," _ " ],
128
+ [" text" ," " ],
129
+ [" identifier" ," _" ],
117
130
[" punctuation.operator" ," :" ],
131
+ [" text" ," " ],
118
132
[" storage.type.source.rust" ," i128" ],
119
- [" keyword.operator" ," =-" ],
133
+ [" text" ," " ],
134
+ [" keyword.operator" ," =" ],
135
+ [" text" ," " ],
136
+ [" keyword.operator" ," -" ],
120
137
[" constant.numeric.source.rust" ," 42i128" ],
121
138
[" punctuation.operator" ," ;" ]
122
139
],[
123
140
" start" ,
141
+ [" text" ," " ],
124
142
[" keyword.source.rust" ," let" ],
125
- [" text" ," _ " ],
143
+ [" text" ," " ],
144
+ [" identifier" ," _" ],
126
145
[" punctuation.operator" ," :" ],
146
+ [" text" ," " ],
127
147
[" storage.type.source.rust" ," u128" ],
148
+ [" text" ," " ],
128
149
[" keyword.operator" ," =" ],
150
+ [" text" ," " ],
129
151
[" constant.numeric.source.rust" ," 42u128" ],
130
152
[" punctuation.operator" ," ;" ]
131
153
],[
152
174
[" keyword.source.rust" ," fn" ],
153
175
[" text" ," " ],
154
176
[" entity.name.function.source.rust" ," map" ],
155
- [" keyword.operator " ," <" ],
156
- [" text " ," T" ],
177
+ [" punctuation " ," <" ],
178
+ [" identifier " ," T" ],
157
179
[" punctuation.operator" ," ," ],
158
- [" text" ," U" ],
159
- [" keyword.operator" ," >" ],
180
+ [" text" ," " ],
181
+ [" identifier" ," U" ],
182
+ [" punctuation" ," >" ],
160
183
[" paren.lparen" ," (" ],
161
- [" text " ," vector" ],
184
+ [" identifier " ," vector" ],
162
185
[" punctuation.operator" ," :" ],
163
186
[" text" ," " ],
164
187
[" keyword.operator" ," &" ],
165
188
[" paren.lparen" ," [" ],
166
- [" text " ," T" ],
189
+ [" identifier " ," T" ],
167
190
[" paren.rparen" ," ]" ],
168
191
[" punctuation.operator" ," ," ],
169
- [" text" ," function" ],
192
+ [" text" ," " ],
193
+ [" identifier" ," function" ],
170
194
[" punctuation.operator" ," :" ],
171
195
[" text" ," " ],
172
196
[" keyword.operator" ," &" ],
173
- [" text " ," fn" ],
197
+ [" identifier " ," fn" ],
174
198
[" paren.lparen" ," (" ],
175
- [" text " ," v" ],
199
+ [" identifier " ," v" ],
176
200
[" punctuation.operator" ," :" ],
177
201
[" text" ," " ],
178
202
[" keyword.operator" ," &" ],
179
- [" text " ," T" ],
203
+ [" identifier " ," T" ],
180
204
[" paren.rparen" ," )" ],
181
205
[" text" ," " ],
182
206
[" keyword.operator" ," ->" ],
183
- [" text" ," U" ],
207
+ [" text" ," " ],
208
+ [" identifier" ," U" ],
184
209
[" paren.rparen" ," )" ],
185
210
[" text" ," " ],
186
211
[" keyword.operator" ," ->" ],
187
212
[" text" ," ~" ],
188
213
[" paren.lparen" ," [" ],
189
- [" text " ," U" ],
214
+ [" identifier " ," U" ],
190
215
[" paren.rparen" ," ]" ],
191
216
[" text" ," " ],
192
217
[" paren.lparen" ," {" ]
196
221
[" keyword.source.rust" ," let" ],
197
222
[" text" ," " ],
198
223
[" keyword.source.rust" ," mut" ],
199
- [" text" ," accumulator " ],
224
+ [" text" ," " ],
225
+ [" identifier" ," accumulator" ],
226
+ [" text" ," " ],
200
227
[" keyword.operator" ," =" ],
201
228
[" text" ," ~" ],
202
229
[" paren.lparen" ," [" ],
208
235
[" keyword.source.rust" ," for" ],
209
236
[" text" ," " ],
210
237
[" support.constant" ," vec::" ],
211
- [" text " ," each" ],
238
+ [" identifier " ," each" ],
212
239
[" paren.lparen" ," (" ],
213
- [" text " ," vector" ],
240
+ [" identifier " ," vector" ],
214
241
[" paren.rparen" ," )" ],
215
242
[" text" ," " ],
216
243
[" keyword.operator" ," |" ],
217
- [" text " ," element" ],
244
+ [" identifier " ," element" ],
218
245
[" keyword.operator" ," |" ],
219
246
[" text" ," " ],
220
247
[" paren.lparen" ," {" ]
221
248
],[
222
249
" start" ,
223
- [" text" ," accumulator" ],
250
+ [" text" ," " ],
251
+ [" identifier" ," accumulator" ],
224
252
[" punctuation.operator" ," ." ],
225
- [" text " ," push" ],
253
+ [" identifier " ," push" ],
226
254
[" paren.lparen" ," (" ],
227
- [" text " ," function" ],
255
+ [" identifier " ," function" ],
228
256
[" paren.lparen" ," (" ],
229
- [" text " ," element" ],
257
+ [" identifier " ," element" ],
230
258
[" paren.rparen" ," ))" ],
231
259
[" punctuation.operator" ," ;" ]
232
260
],[
237
265
" start" ,
238
266
[" text" ," " ],
239
267
[" keyword.source.rust" ," return" ],
240
- [" text" ," accumulator" ],
268
+ [" text" ," " ],
269
+ [" identifier" ," accumulator" ],
241
270
[" punctuation.operator" ," ;" ]
242
271
],[
243
272
" start" ,
276
305
" start" ,
277
306
[" constant.numeric.source.rust" ," 14" ],
278
307
[" punctuation.operator" ," ." ],
279
- [" text " ," _E" ],
308
+ [" identifier " ," _E" ],
280
309
[" keyword.operator" ," -" ],
281
310
[" constant.numeric.source.rust" ," 111_f64" ],
282
311
[" punctuation.operator" ," ;" ],
283
- [" text" ," 0xi32" ],
312
+ [" text" ," 0" ],
313
+ [" identifier" ," xi32" ],
284
314
[" punctuation.operator" ," ;" ],
285
- [" text" ," 0b777u" ]
315
+ [" text" ," 0" ],
316
+ [" identifier" ," b777u" ]
317
+ ],[
318
+ " start"
319
+ ],[
320
+ " start" ,
321
+ [" comment.line.double-dash.source.rust" ," // identifiers ending in constant.numeric" ]
286
322
],[
287
323
" start" ,
288
- [" text " ," foo1" ],
324
+ [" identifier " ," foo1" ],
289
325
[" punctuation.operator" ," ;" ],
290
- [" text" ," foo1u32" ],
326
+ [" text" ," " ],
327
+ [" identifier" ," foo1u32" ],
291
328
[" punctuation.operator" ," ;" ],
292
- [" text" ," foo1f32" ],
329
+ [" text" ," " ],
330
+ [" identifier" ," foo1f32" ],
293
331
[" punctuation.operator" ," ;" ],
294
- [" text" ," foo0xF" ],
332
+ [" text" ," " ],
333
+ [" identifier" ," foo0xF" ],
295
334
[" punctuation.operator" ," ;" ],
296
- [" text" ," foo1" ],
335
+ [" text" ," " ],
336
+ [" identifier" ," foo1" ],
297
337
[" punctuation.operator" ," ." ],
298
338
[" constant.numeric.source.rust" ," 0" ]
299
- ]]
339
+ ],[
340
+ " start"
341
+ ]]
0 commit comments