1
1
> @defer (doSomething ({111})) {
2
2
#^ template .blocks .ng keyword .control .block .transition .ng
3
- # ^^^^^^ template .blocks .ng keyword .control .block .kind .ng
3
+ # ^^^^^ template .blocks .ng keyword .control .block .kind .ng
4
+ # ^ template .blocks .ng
4
5
# ^ template .blocks .ng control .block .ng meta .brace .round .ts
5
6
# ^^^^^^^^^^^ template .blocks .ng control .block .ng control .block .expression .ng entity .name .function .ts
6
7
# ^ template .blocks .ng control .block .ng control .block .expression .ng meta .brace .round .ts
18
19
>
19
20
> @defer {
20
21
#^ template .blocks .ng keyword .control .block .transition .ng
21
- # ^^^^^^ template .blocks .ng keyword .control .block .kind .ng
22
+ # ^^^^^ template .blocks .ng keyword .control .block .kind .ng
23
+ # ^ template .blocks .ng
22
24
# ^ template .blocks .ng control .block .ng punctuation .definition .block .ts
23
25
> <a ></a >
24
26
#^^^^^^^^^^^^ template .blocks .ng control .block .ng control .block .body .ng
27
29
>
28
30
> @switch (a ) {
29
31
#^ template .blocks .ng keyword .control .block .transition .ng
30
- # ^^^^^^^ template .blocks .ng keyword .control .block .kind .ng
32
+ # ^^^^^^ template .blocks .ng keyword .control .block .kind .ng
33
+ # ^ template .blocks .ng
31
34
# ^ template .blocks .ng control .block .ng meta .brace .round .ts
32
35
# ^ template .blocks .ng control .block .ng control .block .expression .ng variable .other .readwrite .ts
33
36
# ^ template .blocks .ng control .block .ng meta .brace .round .ts
48
51
> @case (2 ) {
49
52
#^^^^ template .blocks .ng
50
53
# ^ template .blocks .ng keyword .control .block .transition .ng
51
- # ^^^^^ template .blocks .ng keyword .control .block .kind .ng
54
+ # ^^^^ template .blocks .ng keyword .control .block .kind .ng
55
+ # ^ template .blocks .ng
52
56
# ^ template .blocks .ng control .block .ng meta .brace .round .ts
53
57
# ^ template .blocks .ng control .block .ng control .block .expression .ng constant .numeric .decimal .ts
54
58
# ^ template .blocks .ng control .block .ng meta .brace .round .ts
69
73
> @default {
70
74
#^^^^ template .blocks .ng
71
75
# ^ template .blocks .ng keyword .control .block .transition .ng
72
- # ^^^^^^^^ template .blocks .ng keyword .control .block .kind .ng
76
+ # ^^^^^^^ template .blocks .ng keyword .control .block .kind .ng
77
+ # ^ template .blocks .ng
73
78
# ^ template .blocks .ng control .block .ng punctuation .definition .block .ts
74
79
> default case
75
80
#^^^^^^^^^^^^^^^^^^^^^ template .blocks .ng control .block .ng control .block .body .ng
81
86
>
82
87
> @if (a == b ) { hello } @else { goodbye }
83
88
#^ template .blocks .ng keyword .control .block .transition .ng
84
- # ^^^ template .blocks .ng keyword .control .block .kind .ng
89
+ # ^^ template .blocks .ng keyword .control .block .kind .ng
90
+ # ^ template .blocks .ng
85
91
# ^ template .blocks .ng control .block .ng meta .brace .round .ts
86
92
# ^ template .blocks .ng control .block .ng control .block .expression .ng variable .other .readwrite .ts
87
93
# ^^ template .blocks .ng control .block .ng control .block .expression .ng keyword .operator .comparison .ts
93
99
# ^ template .blocks .ng control .block .ng punctuation .definition .block .ts
94
100
# ^ template .blocks .ng
95
101
# ^ template .blocks .ng keyword .control .block .transition .ng
96
- # ^^^^^^ template .blocks .ng keyword .control .block .kind .ng
102
+ # ^^^^ template .blocks .ng keyword .control .block .kind .ng
103
+ # ^^ template .blocks .ng
97
104
# ^ template .blocks .ng control .block .ng punctuation .definition .block .ts
98
105
# ^^^^^^^^^ template .blocks .ng control .block .ng control .block .body .ng
99
106
# ^ template .blocks .ng control .block .ng punctuation .definition .block .ts
100
107
>
101
108
> @if (a == b ) {
102
109
#^ template .blocks .ng keyword .control .block .transition .ng
103
- # ^^^ template .blocks .ng keyword .control .block .kind .ng
110
+ # ^^ template .blocks .ng keyword .control .block .kind .ng
111
+ # ^ template .blocks .ng
104
112
# ^ template .blocks .ng control .block .ng meta .brace .round .ts
105
113
# ^ template .blocks .ng control .block .ng control .block .expression .ng variable .other .readwrite .ts
106
114
# ^^ template .blocks .ng control .block .ng control .block .expression .ng keyword .operator .comparison .ts
115
123
#^ template .blocks .ng control .block .ng punctuation .definition .block .ts
116
124
# ^ template .blocks .ng
117
125
# ^ template .blocks .ng keyword .control .block .transition .ng
118
- # ^^^^^^^^ template .blocks .ng keyword .control .block .kind .ng
126
+ # ^^^^^^^ template .blocks .ng keyword .control .block .kind .ng
127
+ # ^ template .blocks .ng
119
128
# ^ template .blocks .ng control .block .ng meta .brace .round .ts
120
129
# ^ template .blocks .ng control .block .ng control .block .expression .ng variable .other .readwrite .ts
121
130
# ^^ template .blocks .ng control .block .ng control .block .expression .ng keyword .operator .comparison .ts
131
140
>
132
141
> @for (let item of items ; track $index ) {
133
142
#^ template .blocks .ng keyword .control .block .transition .ng
134
- # ^^^^ template .blocks .ng keyword .control .block .kind .ng
143
+ # ^^^ template .blocks .ng keyword .control .block .kind .ng
144
+ # ^ template .blocks .ng
135
145
# ^ template .blocks .ng control .block .ng meta .brace .round .ts
136
146
# ^^^ template .blocks .ng control .block .ng control .block .expression .ng storage .type .ts
137
147
# ^ template .blocks .ng control .block .ng control .block .expression .ng
154
164
>
155
165
> @if (
156
166
#^ template .blocks .ng keyword .control .block .transition .ng
157
- # ^^^ template .blocks .ng keyword .control .block .kind .ng
167
+ # ^^ template .blocks .ng keyword .control .block .kind .ng
168
+ # ^ template .blocks .ng
158
169
# ^ template .blocks .ng control .block .ng meta .brace .round .ts
159
170
> items ;
160
171
#^^^^ template .blocks .ng control .block .ng control .block .expression .ng
187
198
> }
188
199
#^ template .blocks .ng control .block .ng punctuation .definition .block .ts
189
200
>
190
- >< ! -- Should not highlight -- >
191
- #^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ template .blocks .ng
192
201
> @if
193
- #^^^^^ template .blocks .ng
202
+ #^ template .blocks .ng keyword .control .block .transition .ng
203
+ # ^^ template .blocks .ng keyword .control .block .kind .ng
204
+ # ^^ template .blocks .ng
194
205
> (items ) {}
195
- #^^^^^^^^^^^ template .blocks .ng
206
+ #^ template .blocks .ng control .block .ng meta .brace .round .ts
207
+ # ^^^^^ template .blocks .ng control .block .ng control .block .expression .ng variable .other .readwrite .ts
208
+ # ^ template .blocks .ng control .block .ng meta .brace .round .ts
209
+ # ^ template .blocks .ng control .block .ng
210
+ # ^ template .blocks .ng control .block .ng punctuation .definition .block .ts
211
+ # ^ template .blocks .ng control .block .ng punctuation .definition .block .ts
212
+ >
213
+ > @for
214
+ #^ template .blocks .ng keyword .control .block .transition .ng
215
+ # ^^^ template .blocks .ng keyword .control .block .kind .ng
216
+ # ^^ template .blocks .ng
217
+ > (item of items ; track $index ) { }
218
+ #^ template .blocks .ng control .block .ng meta .brace .round .ts
219
+ # ^^^^ template .blocks .ng control .block .ng control .block .expression .ng variable .other .readwrite .ts
220
+ # ^ template .blocks .ng control .block .ng control .block .expression .ng
221
+ # ^^ template .blocks .ng control .block .ng control .block .expression .ng keyword .operator .expression .of .ts
222
+ # ^ template .blocks .ng control .block .ng control .block .expression .ng
223
+ # ^^^^^ template .blocks .ng control .block .ng control .block .expression .ng variable .other .readwrite .ts
224
+ # ^^ template .blocks .ng control .block .ng control .block .expression .ng
225
+ # ^^^^^ template .blocks .ng control .block .ng control .block .expression .ng variable .other .readwrite .ts
226
+ # ^ template .blocks .ng control .block .ng control .block .expression .ng
227
+ # ^^^^^^ template .blocks .ng control .block .ng control .block .expression .ng variable .other .readwrite .ts
228
+ # ^ template .blocks .ng control .block .ng meta .brace .round .ts
229
+ # ^ template .blocks .ng control .block .ng
230
+ # ^ template .blocks .ng control .block .ng punctuation .definition .block .ts
231
+ # ^ template .blocks .ng control .block .ng control .block .body .ng
232
+ # ^ template .blocks .ng control .block .ng punctuation .definition .block .ts
233
+ >
234
+ > @for (item of items ; track $index ) {
235
+ #^ template .blocks .ng keyword .control .block .transition .ng
236
+ # ^^^ template .blocks .ng keyword .control .block .kind .ng
237
+ # ^ template .blocks .ng
238
+ # ^ template .blocks .ng control .block .ng meta .brace .round .ts
239
+ # ^^^^ template .blocks .ng control .block .ng control .block .expression .ng variable .other .readwrite .ts
240
+ # ^ template .blocks .ng control .block .ng control .block .expression .ng
241
+ # ^^ template .blocks .ng control .block .ng control .block .expression .ng keyword .operator .expression .of .ts
242
+ # ^ template .blocks .ng control .block .ng control .block .expression .ng
243
+ # ^^^^^ template .blocks .ng control .block .ng control .block .expression .ng variable .other .readwrite .ts
244
+ # ^^ template .blocks .ng control .block .ng control .block .expression .ng
245
+ # ^^^^^ template .blocks .ng control .block .ng control .block .expression .ng variable .other .readwrite .ts
246
+ # ^ template .blocks .ng control .block .ng control .block .expression .ng
247
+ # ^^^^^^ template .blocks .ng control .block .ng control .block .expression .ng variable .other .readwrite .ts
248
+ # ^ template .blocks .ng control .block .ng meta .brace .round .ts
249
+ # ^ template .blocks .ng control .block .ng
250
+ # ^ template .blocks .ng control .block .ng punctuation .definition .block .ts
251
+ # ^^ template .blocks .ng control .block .ng control .block .body .ng
252
+ >
253
+ > }
254
+ #^ template .blocks .ng control .block .ng punctuation .definition .block .ts
255
+ # ^^ template .blocks .ng
256
+ > @empty
257
+ #^ template .blocks .ng keyword .control .block .transition .ng
258
+ # ^^^^^ template .blocks .ng keyword .control .block .kind .ng
259
+ # ^^ template .blocks .ng
260
+ > {
261
+ #^ template .blocks .ng control .block .ng punctuation .definition .block .ts
262
+ >
263
+ > }
264
+ #^ template .blocks .ng control .block .ng punctuation .definition .block .ts
265
+ >
266
+ >< ! -- Should not highlight -- >
267
+ #^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ template .blocks .ng
196
268
>
197
269
> some .email @google .com ({}) {}
198
270
#^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ template .blocks .ng
199
271
>
200
- > @for
201
- #^^^^^^ template .blocks .ng
202
- > (let item of items ; track $index ) { }
203
- #^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ template .blocks .ng
204
272
>
0 commit comments