This repository was archived by the owner on Dec 15, 2022. It is now read-only.
File tree 1 file changed +40
-6
lines changed
1 file changed +40
-6
lines changed Original file line number Diff line number Diff line change 303
303
' name' : ' meta.function.js'
304
304
' patterns' : [
305
305
{
306
- ' match' : ' (\\ ?\\ .| \\ . )?([a-zA-Z_$][\\ w$]*)\\ s*(=)\\ s*'
306
+ ' match' : ' (\\ ?\\ .)?([a-zA-Z_$][\\ w$]*)\\ s*(=)\\ s*'
307
307
' captures' :
308
308
' 1' :
309
- ' name' : ' meta.delimiter.method.js'
309
+ ' name' : ' meta.delimiter.method.optional.js'
310
+ ' 2' :
311
+ ' name' : ' entity.name.function.js'
312
+ ' 3' :
313
+ ' name' : ' keyword.operator.assignment.js'
314
+ }
315
+ {
316
+ ' match' : ' (\\ .)?([a-zA-Z_$][\\ w$]*)\\ s*(=)\\ s*'
317
+ ' captures' :
318
+ ' 1' :
319
+ ' name' : ' meta.delimiter.method.period.js'
310
320
' 2' :
311
321
' name' : ' entity.name.function.js'
312
322
' 3' :
567
577
' name' : ' meta.function.arrow.js'
568
578
' patterns' : [
569
579
{
570
- ' match' : ' \\ G(\\ ?\\ .|\\ .)?([a-zA-Z_$][\\ w$]*)\\ s*(=)'
580
+ ' match' : ' \\ G(\\ ?\\ .)?([a-zA-Z_$][\\ w$]*)\\ s*(=)'
581
+ ' captures' :
582
+ ' 1' :
583
+ ' name' : ' meta.delimiter.method.optional.js'
584
+ ' 2' :
585
+ ' name' : ' entity.name.function.js'
586
+ ' 3' :
587
+ ' name' : ' keyword.operator.assignment.js'
588
+ }
589
+ {
590
+ ' match' : ' \\ G(\\ .)?([a-zA-Z_$][\\ w$]*)\\ s*(=)'
571
591
' captures' :
572
592
' 1' :
573
- ' name' : ' meta.delimiter.method.js'
593
+ ' name' : ' meta.delimiter.method.period. js'
574
594
' 2' :
575
595
' name' : ' entity.name.function.js'
576
596
' 3' :
1193
1213
' match' : ' ,'
1194
1214
' name' : ' meta.delimiter.object.comma.js'
1195
1215
}
1196
- {
1197
- ' match' : ' \\ .'
1216
+ {
1217
+ ' match' : ' \\ ? \\ .| \\ .'
1198
1218
' name' : ' meta.delimiter.method.js'
1219
+ ' patterns' : [
1220
+ {
1221
+ ' match' : ' \\ .'
1222
+ ' name' : ' meta.delimiter.method.period.js'
1223
+ }
1224
+ {
1225
+ ' match' : ' \\ ?\\ .'
1226
+ ' name' : ' meta.delimiter.method.optional.js
1227
+ }
1228
+ ]
1229
+ }
1230
+ {
1231
+ ' match' : ' \\.'
1232
+ ' name' : ' meta .delimiter .method .period .js '
1199
1233
}
1200
1234
{
1201
1235
' match' : ' \\? \\.'
You can’t perform that action at this time.
0 commit comments