File tree Expand file tree Collapse file tree 3 files changed +109069
-109179
lines changed Expand file tree Collapse file tree 3 files changed +109069
-109179
lines changed Original file line number Diff line number Diff line change @@ -660,21 +660,25 @@ module.exports = grammar({
660
660
) ,
661
661
662
662
modifiers : $ =>
663
- prec . left ( repeat1 (
664
- prec . left ( choice (
665
- "abstract" ,
666
- "final" ,
667
- "sealed" ,
668
- "implicit" ,
669
- "lazy" ,
670
- "override" ,
671
- $ . access_modifier ,
672
- $ . inline_modifier ,
673
- $ . infix_modifier ,
674
- $ . open_modifier ,
675
- $ . transparent_modifier ,
676
- ) ) ,
677
- ) ) ,
663
+ prec . left (
664
+ repeat1 (
665
+ prec . left (
666
+ choice (
667
+ "abstract" ,
668
+ "final" ,
669
+ "sealed" ,
670
+ "implicit" ,
671
+ "lazy" ,
672
+ "override" ,
673
+ $ . access_modifier ,
674
+ $ . inline_modifier ,
675
+ $ . infix_modifier ,
676
+ $ . open_modifier ,
677
+ $ . transparent_modifier ,
678
+ ) ,
679
+ ) ,
680
+ ) ,
681
+ ) ,
678
682
679
683
access_modifier : $ =>
680
684
prec . left (
Original file line number Diff line number Diff line change 2976
2976
"content" : {
2977
2977
"type" : " REPEAT1" ,
2978
2978
"content" : {
2979
- "type" : " CHOICE" ,
2980
- "members" : [
2981
- {
2982
- "type" : " STRING" ,
2983
- "value" : " abstract"
2984
- },
2985
- {
2986
- "type" : " STRING" ,
2987
- "value" : " final"
2988
- },
2989
- {
2990
- "type" : " STRING" ,
2991
- "value" : " sealed"
2992
- },
2993
- {
2994
- "type" : " STRING" ,
2995
- "value" : " implicit"
2996
- },
2997
- {
2998
- "type" : " STRING" ,
2999
- "value" : " lazy"
3000
- },
3001
- {
3002
- "type" : " STRING" ,
3003
- "value" : " override"
3004
- },
3005
- {
3006
- "type" : " SYMBOL" ,
3007
- "name" : " access_modifier"
3008
- },
3009
- {
3010
- "type" : " SYMBOL" ,
3011
- "name" : " inline_modifier"
3012
- },
3013
- {
3014
- "type" : " SYMBOL" ,
3015
- "name" : " infix_modifier"
3016
- },
3017
- {
3018
- "type" : " SYMBOL" ,
3019
- "name" : " open_modifier"
3020
- },
3021
- {
3022
- "type" : " SYMBOL" ,
3023
- "name" : " transparent_modifier"
3024
- }
3025
- ]
2979
+ "type" : " PREC_LEFT" ,
2980
+ "value" : 0 ,
2981
+ "content" : {
2982
+ "type" : " CHOICE" ,
2983
+ "members" : [
2984
+ {
2985
+ "type" : " STRING" ,
2986
+ "value" : " abstract"
2987
+ },
2988
+ {
2989
+ "type" : " STRING" ,
2990
+ "value" : " final"
2991
+ },
2992
+ {
2993
+ "type" : " STRING" ,
2994
+ "value" : " sealed"
2995
+ },
2996
+ {
2997
+ "type" : " STRING" ,
2998
+ "value" : " implicit"
2999
+ },
3000
+ {
3001
+ "type" : " STRING" ,
3002
+ "value" : " lazy"
3003
+ },
3004
+ {
3005
+ "type" : " STRING" ,
3006
+ "value" : " override"
3007
+ },
3008
+ {
3009
+ "type" : " SYMBOL" ,
3010
+ "name" : " access_modifier"
3011
+ },
3012
+ {
3013
+ "type" : " SYMBOL" ,
3014
+ "name" : " inline_modifier"
3015
+ },
3016
+ {
3017
+ "type" : " SYMBOL" ,
3018
+ "name" : " infix_modifier"
3019
+ },
3020
+ {
3021
+ "type" : " SYMBOL" ,
3022
+ "name" : " open_modifier"
3023
+ },
3024
+ {
3025
+ "type" : " SYMBOL" ,
3026
+ "name" : " transparent_modifier"
3027
+ }
3028
+ ]
3029
+ }
3026
3030
}
3027
3031
}
3028
3032
},
3753
3757
}
3754
3758
},
3755
3759
"_indentable_expression" : {
3756
- "type" : " CHOICE" ,
3757
- "members" : [
3758
- {
3759
- "type" : " SYMBOL" ,
3760
- "name" : " indented_block"
3761
- },
3762
- {
3763
- "type" : " SYMBOL" ,
3764
- "name" : " indented_cases"
3765
- },
3766
- {
3767
- "type" : " SYMBOL" ,
3768
- "name" : " expression"
3769
- }
3770
- ]
3760
+ "type" : " PREC_RIGHT" ,
3761
+ "value" : 0 ,
3762
+ "content" : {
3763
+ "type" : " CHOICE" ,
3764
+ "members" : [
3765
+ {
3766
+ "type" : " SYMBOL" ,
3767
+ "name" : " indented_block"
3768
+ },
3769
+ {
3770
+ "type" : " SYMBOL" ,
3771
+ "name" : " indented_cases"
3772
+ },
3773
+ {
3774
+ "type" : " SYMBOL" ,
3775
+ "name" : " expression"
3776
+ }
3777
+ ]
3778
+ }
3771
3779
},
3772
3780
"block" : {
3773
3781
"type" : " SEQ" ,
5318
5326
}
5319
5327
},
5320
5328
"match_expression" : {
5321
- "type" : " PREC_LEFT" ,
5322
- "value" : 5 ,
5323
- "content" : {
5324
- "type" : " SEQ" ,
5325
- "members" : [
5326
- {
5329
+ "type" : " SEQ" ,
5330
+ "members" : [
5331
+ {
5332
+ "type" : " CHOICE" ,
5333
+ "members" : [
5334
+ {
5335
+ "type" : " SYMBOL" ,
5336
+ "name" : " inline_modifier"
5337
+ },
5338
+ {
5339
+ "type" : " BLANK"
5340
+ }
5341
+ ]
5342
+ },
5343
+ {
5344
+ "type" : " FIELD" ,
5345
+ "name" : " value" ,
5346
+ "content" : {
5347
+ "type" : " SYMBOL" ,
5348
+ "name" : " expression"
5349
+ }
5350
+ },
5351
+ {
5352
+ "type" : " STRING" ,
5353
+ "value" : " match"
5354
+ },
5355
+ {
5356
+ "type" : " FIELD" ,
5357
+ "name" : " body" ,
5358
+ "content" : {
5327
5359
"type" : " CHOICE" ,
5328
5360
"members" : [
5329
5361
{
5330
5362
"type" : " SYMBOL" ,
5331
- "name" : " inline_modifier "
5363
+ "name" : " case_block "
5332
5364
},
5333
5365
{
5334
- "type" : " BLANK"
5366
+ "type" : " SYMBOL" ,
5367
+ "name" : " indented_cases"
5335
5368
}
5336
5369
]
5337
- },
5338
- {
5339
- "type" : " FIELD" ,
5340
- "name" : " value" ,
5341
- "content" : {
5342
- "type" : " SYMBOL" ,
5343
- "name" : " expression"
5344
- }
5345
- },
5346
- {
5347
- "type" : " STRING" ,
5348
- "value" : " match"
5349
- },
5350
- {
5351
- "type" : " FIELD" ,
5352
- "name" : " body" ,
5353
- "content" : {
5354
- "type" : " CHOICE" ,
5355
- "members" : [
5356
- {
5357
- "type" : " SYMBOL" ,
5358
- "name" : " case_block"
5359
- },
5360
- {
5361
- "type" : " SYMBOL" ,
5362
- "name" : " indented_cases"
5363
- }
5364
- ]
5365
- }
5366
5370
}
5367
- ]
5368
- }
5371
+ }
5372
+ ]
5369
5373
},
5370
5374
"try_expression" : {
5371
5375
"type" : " PREC_RIGHT" ,
You can’t perform that action at this time.
0 commit comments