@hew-lang/tree-sitter-hew 1.2.3 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/grammar.js +55 -27
- package/package.json +2 -2
- package/queries/highlights.scm +5 -2
- package/src/grammar.json +451 -270
- package/src/node-types.json +191 -85
- package/src/parser.c +211355 -142532
- package/src/tree_sitter/array.h +124 -68
- package/tree-sitter.json +1 -1
package/src/grammar.json
CHANGED
|
@@ -1315,8 +1315,17 @@
|
|
|
1315
1315
|
{
|
|
1316
1316
|
"type": "REPEAT",
|
|
1317
1317
|
"content": {
|
|
1318
|
-
"type": "
|
|
1319
|
-
"
|
|
1318
|
+
"type": "CHOICE",
|
|
1319
|
+
"members": [
|
|
1320
|
+
{
|
|
1321
|
+
"type": "SYMBOL",
|
|
1322
|
+
"name": "variant"
|
|
1323
|
+
},
|
|
1324
|
+
{
|
|
1325
|
+
"type": "SYMBOL",
|
|
1326
|
+
"name": "reserved_declaration"
|
|
1327
|
+
}
|
|
1328
|
+
]
|
|
1320
1329
|
}
|
|
1321
1330
|
},
|
|
1322
1331
|
{
|
|
@@ -2313,6 +2322,31 @@
|
|
|
2313
2322
|
"type": "SYMBOL",
|
|
2314
2323
|
"name": "_type"
|
|
2315
2324
|
}
|
|
2325
|
+
},
|
|
2326
|
+
{
|
|
2327
|
+
"type": "CHOICE",
|
|
2328
|
+
"members": [
|
|
2329
|
+
{
|
|
2330
|
+
"type": "SEQ",
|
|
2331
|
+
"members": [
|
|
2332
|
+
{
|
|
2333
|
+
"type": "STRING",
|
|
2334
|
+
"value": "="
|
|
2335
|
+
},
|
|
2336
|
+
{
|
|
2337
|
+
"type": "FIELD",
|
|
2338
|
+
"name": "default",
|
|
2339
|
+
"content": {
|
|
2340
|
+
"type": "SYMBOL",
|
|
2341
|
+
"name": "expression"
|
|
2342
|
+
}
|
|
2343
|
+
}
|
|
2344
|
+
]
|
|
2345
|
+
},
|
|
2346
|
+
{
|
|
2347
|
+
"type": "BLANK"
|
|
2348
|
+
}
|
|
2349
|
+
]
|
|
2316
2350
|
}
|
|
2317
2351
|
]
|
|
2318
2352
|
}
|
|
@@ -3295,42 +3329,45 @@
|
|
|
3295
3329
|
]
|
|
3296
3330
|
},
|
|
3297
3331
|
"duration_literal": {
|
|
3298
|
-
"type": "
|
|
3299
|
-
"
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3332
|
+
"type": "TOKEN",
|
|
3333
|
+
"content": {
|
|
3334
|
+
"type": "SEQ",
|
|
3335
|
+
"members": [
|
|
3336
|
+
{
|
|
3337
|
+
"type": "PATTERN",
|
|
3338
|
+
"value": "[0-9][0-9_]*(\\.[0-9][0-9_]*)?"
|
|
3339
|
+
},
|
|
3340
|
+
{
|
|
3341
|
+
"type": "CHOICE",
|
|
3342
|
+
"members": [
|
|
3343
|
+
{
|
|
3344
|
+
"type": "STRING",
|
|
3345
|
+
"value": "ns"
|
|
3346
|
+
},
|
|
3347
|
+
{
|
|
3348
|
+
"type": "STRING",
|
|
3349
|
+
"value": "us"
|
|
3350
|
+
},
|
|
3351
|
+
{
|
|
3352
|
+
"type": "STRING",
|
|
3353
|
+
"value": "ms"
|
|
3354
|
+
},
|
|
3355
|
+
{
|
|
3356
|
+
"type": "STRING",
|
|
3357
|
+
"value": "s"
|
|
3358
|
+
},
|
|
3359
|
+
{
|
|
3360
|
+
"type": "STRING",
|
|
3361
|
+
"value": "m"
|
|
3362
|
+
},
|
|
3363
|
+
{
|
|
3364
|
+
"type": "STRING",
|
|
3365
|
+
"value": "h"
|
|
3366
|
+
}
|
|
3367
|
+
]
|
|
3368
|
+
}
|
|
3369
|
+
]
|
|
3370
|
+
}
|
|
3334
3371
|
},
|
|
3335
3372
|
"machine_declaration": {
|
|
3336
3373
|
"type": "SEQ",
|
|
@@ -3408,6 +3445,10 @@
|
|
|
3408
3445
|
"type": "SYMBOL",
|
|
3409
3446
|
"name": "machine_state"
|
|
3410
3447
|
},
|
|
3448
|
+
{
|
|
3449
|
+
"type": "SYMBOL",
|
|
3450
|
+
"name": "machine_parallel_state"
|
|
3451
|
+
},
|
|
3411
3452
|
{
|
|
3412
3453
|
"type": "SYMBOL",
|
|
3413
3454
|
"name": "machine_transition"
|
|
@@ -3518,6 +3559,18 @@
|
|
|
3518
3559
|
"machine_state": {
|
|
3519
3560
|
"type": "SEQ",
|
|
3520
3561
|
"members": [
|
|
3562
|
+
{
|
|
3563
|
+
"type": "CHOICE",
|
|
3564
|
+
"members": [
|
|
3565
|
+
{
|
|
3566
|
+
"type": "STRING",
|
|
3567
|
+
"value": "final"
|
|
3568
|
+
},
|
|
3569
|
+
{
|
|
3570
|
+
"type": "BLANK"
|
|
3571
|
+
}
|
|
3572
|
+
]
|
|
3573
|
+
},
|
|
3521
3574
|
{
|
|
3522
3575
|
"type": "STRING",
|
|
3523
3576
|
"value": "state"
|
|
@@ -3547,72 +3600,59 @@
|
|
|
3547
3600
|
{
|
|
3548
3601
|
"type": "REPEAT",
|
|
3549
3602
|
"content": {
|
|
3550
|
-
"type": "
|
|
3551
|
-
"
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3603
|
+
"type": "CHOICE",
|
|
3604
|
+
"members": [
|
|
3605
|
+
{
|
|
3606
|
+
"type": "SYMBOL",
|
|
3607
|
+
"name": "struct_field"
|
|
3608
|
+
},
|
|
3609
|
+
{
|
|
3610
|
+
"type": "SEQ",
|
|
3611
|
+
"members": [
|
|
3612
|
+
{
|
|
3613
|
+
"type": "STRING",
|
|
3614
|
+
"value": "entry"
|
|
3615
|
+
},
|
|
3616
|
+
{
|
|
3617
|
+
"type": "FIELD",
|
|
3618
|
+
"name": "entry_body",
|
|
3619
|
+
"content": {
|
|
3620
|
+
"type": "SYMBOL",
|
|
3621
|
+
"name": "block"
|
|
3622
|
+
}
|
|
3570
3623
|
}
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
"value": "exit"
|
|
3588
|
-
},
|
|
3589
|
-
{
|
|
3590
|
-
"type": "FIELD",
|
|
3591
|
-
"name": "exit_body",
|
|
3592
|
-
"content": {
|
|
3593
|
-
"type": "SYMBOL",
|
|
3594
|
-
"name": "block"
|
|
3624
|
+
]
|
|
3625
|
+
},
|
|
3626
|
+
{
|
|
3627
|
+
"type": "SEQ",
|
|
3628
|
+
"members": [
|
|
3629
|
+
{
|
|
3630
|
+
"type": "STRING",
|
|
3631
|
+
"value": "exit"
|
|
3632
|
+
},
|
|
3633
|
+
{
|
|
3634
|
+
"type": "FIELD",
|
|
3635
|
+
"name": "exit_body",
|
|
3636
|
+
"content": {
|
|
3637
|
+
"type": "SYMBOL",
|
|
3638
|
+
"name": "block"
|
|
3639
|
+
}
|
|
3595
3640
|
}
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
{
|
|
3612
|
-
"type": "REPEAT",
|
|
3613
|
-
"content": {
|
|
3614
|
-
"type": "SYMBOL",
|
|
3615
|
-
"name": "machine_transition"
|
|
3641
|
+
]
|
|
3642
|
+
},
|
|
3643
|
+
{
|
|
3644
|
+
"type": "SYMBOL",
|
|
3645
|
+
"name": "machine_composite_member"
|
|
3646
|
+
},
|
|
3647
|
+
{
|
|
3648
|
+
"type": "SYMBOL",
|
|
3649
|
+
"name": "machine_initial"
|
|
3650
|
+
},
|
|
3651
|
+
{
|
|
3652
|
+
"type": "SYMBOL",
|
|
3653
|
+
"name": "machine_transition"
|
|
3654
|
+
}
|
|
3655
|
+
]
|
|
3616
3656
|
}
|
|
3617
3657
|
},
|
|
3618
3658
|
{
|
|
@@ -3641,26 +3681,193 @@
|
|
|
3641
3681
|
]
|
|
3642
3682
|
},
|
|
3643
3683
|
{
|
|
3644
|
-
"type": "
|
|
3645
|
-
"
|
|
3684
|
+
"type": "CHOICE",
|
|
3685
|
+
"members": [
|
|
3686
|
+
{
|
|
3687
|
+
"type": "SYMBOL",
|
|
3688
|
+
"name": "machine_state"
|
|
3689
|
+
},
|
|
3690
|
+
{
|
|
3691
|
+
"type": "SYMBOL",
|
|
3692
|
+
"name": "machine_parallel_state"
|
|
3693
|
+
}
|
|
3694
|
+
]
|
|
3695
|
+
}
|
|
3696
|
+
]
|
|
3697
|
+
},
|
|
3698
|
+
"machine_parallel_state": {
|
|
3699
|
+
"type": "SEQ",
|
|
3700
|
+
"members": [
|
|
3701
|
+
{
|
|
3702
|
+
"type": "STRING",
|
|
3703
|
+
"value": "parallel"
|
|
3704
|
+
},
|
|
3705
|
+
{
|
|
3706
|
+
"type": "STRING",
|
|
3707
|
+
"value": "state"
|
|
3708
|
+
},
|
|
3709
|
+
{
|
|
3710
|
+
"type": "FIELD",
|
|
3711
|
+
"name": "name",
|
|
3712
|
+
"content": {
|
|
3713
|
+
"type": "SYMBOL",
|
|
3714
|
+
"name": "identifier"
|
|
3715
|
+
}
|
|
3716
|
+
},
|
|
3717
|
+
{
|
|
3718
|
+
"type": "STRING",
|
|
3719
|
+
"value": "{"
|
|
3720
|
+
},
|
|
3721
|
+
{
|
|
3722
|
+
"type": "REPEAT",
|
|
3723
|
+
"content": {
|
|
3724
|
+
"type": "CHOICE",
|
|
3725
|
+
"members": [
|
|
3726
|
+
{
|
|
3727
|
+
"type": "SYMBOL",
|
|
3728
|
+
"name": "struct_field"
|
|
3729
|
+
},
|
|
3730
|
+
{
|
|
3731
|
+
"type": "SEQ",
|
|
3732
|
+
"members": [
|
|
3733
|
+
{
|
|
3734
|
+
"type": "STRING",
|
|
3735
|
+
"value": "entry"
|
|
3736
|
+
},
|
|
3737
|
+
{
|
|
3738
|
+
"type": "FIELD",
|
|
3739
|
+
"name": "entry_body",
|
|
3740
|
+
"content": {
|
|
3741
|
+
"type": "SYMBOL",
|
|
3742
|
+
"name": "block"
|
|
3743
|
+
}
|
|
3744
|
+
}
|
|
3745
|
+
]
|
|
3746
|
+
},
|
|
3747
|
+
{
|
|
3748
|
+
"type": "SEQ",
|
|
3749
|
+
"members": [
|
|
3750
|
+
{
|
|
3751
|
+
"type": "STRING",
|
|
3752
|
+
"value": "exit"
|
|
3753
|
+
},
|
|
3754
|
+
{
|
|
3755
|
+
"type": "FIELD",
|
|
3756
|
+
"name": "exit_body",
|
|
3757
|
+
"content": {
|
|
3758
|
+
"type": "SYMBOL",
|
|
3759
|
+
"name": "block"
|
|
3760
|
+
}
|
|
3761
|
+
}
|
|
3762
|
+
]
|
|
3763
|
+
},
|
|
3764
|
+
{
|
|
3765
|
+
"type": "SYMBOL",
|
|
3766
|
+
"name": "machine_region"
|
|
3767
|
+
},
|
|
3768
|
+
{
|
|
3769
|
+
"type": "SYMBOL",
|
|
3770
|
+
"name": "machine_transition"
|
|
3771
|
+
}
|
|
3772
|
+
]
|
|
3773
|
+
}
|
|
3774
|
+
},
|
|
3775
|
+
{
|
|
3776
|
+
"type": "STRING",
|
|
3777
|
+
"value": "}"
|
|
3778
|
+
}
|
|
3779
|
+
]
|
|
3780
|
+
},
|
|
3781
|
+
"machine_region": {
|
|
3782
|
+
"type": "SEQ",
|
|
3783
|
+
"members": [
|
|
3784
|
+
{
|
|
3785
|
+
"type": "STRING",
|
|
3786
|
+
"value": "region"
|
|
3787
|
+
},
|
|
3788
|
+
{
|
|
3789
|
+
"type": "FIELD",
|
|
3790
|
+
"name": "name",
|
|
3791
|
+
"content": {
|
|
3792
|
+
"type": "SYMBOL",
|
|
3793
|
+
"name": "identifier"
|
|
3794
|
+
}
|
|
3795
|
+
},
|
|
3796
|
+
{
|
|
3797
|
+
"type": "STRING",
|
|
3798
|
+
"value": "{"
|
|
3799
|
+
},
|
|
3800
|
+
{
|
|
3801
|
+
"type": "REPEAT",
|
|
3802
|
+
"content": {
|
|
3803
|
+
"type": "CHOICE",
|
|
3804
|
+
"members": [
|
|
3805
|
+
{
|
|
3806
|
+
"type": "SYMBOL",
|
|
3807
|
+
"name": "machine_composite_member"
|
|
3808
|
+
},
|
|
3809
|
+
{
|
|
3810
|
+
"type": "SYMBOL",
|
|
3811
|
+
"name": "machine_initial"
|
|
3812
|
+
},
|
|
3813
|
+
{
|
|
3814
|
+
"type": "SYMBOL",
|
|
3815
|
+
"name": "machine_transition"
|
|
3816
|
+
}
|
|
3817
|
+
]
|
|
3818
|
+
}
|
|
3819
|
+
},
|
|
3820
|
+
{
|
|
3821
|
+
"type": "STRING",
|
|
3822
|
+
"value": "}"
|
|
3823
|
+
}
|
|
3824
|
+
]
|
|
3825
|
+
},
|
|
3826
|
+
"machine_initial": {
|
|
3827
|
+
"type": "SEQ",
|
|
3828
|
+
"members": [
|
|
3829
|
+
{
|
|
3830
|
+
"type": "STRING",
|
|
3831
|
+
"value": "initial"
|
|
3832
|
+
},
|
|
3833
|
+
{
|
|
3834
|
+
"type": "FIELD",
|
|
3835
|
+
"name": "value",
|
|
3836
|
+
"content": {
|
|
3837
|
+
"type": "CHOICE",
|
|
3838
|
+
"members": [
|
|
3839
|
+
{
|
|
3840
|
+
"type": "SYMBOL",
|
|
3841
|
+
"name": "identifier"
|
|
3842
|
+
},
|
|
3843
|
+
{
|
|
3844
|
+
"type": "SYMBOL",
|
|
3845
|
+
"name": "struct_init"
|
|
3846
|
+
},
|
|
3847
|
+
{
|
|
3848
|
+
"type": "SYMBOL",
|
|
3849
|
+
"name": "generic_struct_init"
|
|
3850
|
+
},
|
|
3851
|
+
{
|
|
3852
|
+
"type": "SYMBOL",
|
|
3853
|
+
"name": "contextual_variant_expression"
|
|
3854
|
+
},
|
|
3855
|
+
{
|
|
3856
|
+
"type": "SYMBOL",
|
|
3857
|
+
"name": "contextual_variant_record_init"
|
|
3858
|
+
}
|
|
3859
|
+
]
|
|
3860
|
+
}
|
|
3861
|
+
},
|
|
3862
|
+
{
|
|
3863
|
+
"type": "STRING",
|
|
3864
|
+
"value": ";"
|
|
3646
3865
|
}
|
|
3647
3866
|
]
|
|
3648
3867
|
},
|
|
3649
3868
|
"machine_transition": {
|
|
3650
3869
|
"type": "SEQ",
|
|
3651
3870
|
"members": [
|
|
3652
|
-
{
|
|
3653
|
-
"type": "STRING",
|
|
3654
|
-
"value": "on"
|
|
3655
|
-
},
|
|
3656
|
-
{
|
|
3657
|
-
"type": "FIELD",
|
|
3658
|
-
"name": "event",
|
|
3659
|
-
"content": {
|
|
3660
|
-
"type": "SYMBOL",
|
|
3661
|
-
"name": "identifier"
|
|
3662
|
-
}
|
|
3663
|
-
},
|
|
3664
3871
|
{
|
|
3665
3872
|
"type": "CHOICE",
|
|
3666
3873
|
"members": [
|
|
@@ -3669,57 +3876,105 @@
|
|
|
3669
3876
|
"members": [
|
|
3670
3877
|
{
|
|
3671
3878
|
"type": "STRING",
|
|
3672
|
-
"value": "
|
|
3879
|
+
"value": "on"
|
|
3673
3880
|
},
|
|
3674
3881
|
{
|
|
3675
|
-
"type": "
|
|
3676
|
-
"
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3882
|
+
"type": "CHOICE",
|
|
3883
|
+
"members": [
|
|
3884
|
+
{
|
|
3885
|
+
"type": "SEQ",
|
|
3886
|
+
"members": [
|
|
3887
|
+
{
|
|
3888
|
+
"type": "FIELD",
|
|
3889
|
+
"name": "event",
|
|
3890
|
+
"content": {
|
|
3891
|
+
"type": "SYMBOL",
|
|
3892
|
+
"name": "identifier"
|
|
3893
|
+
}
|
|
3894
|
+
},
|
|
3895
|
+
{
|
|
3896
|
+
"type": "CHOICE",
|
|
3688
3897
|
"members": [
|
|
3689
3898
|
{
|
|
3690
|
-
"type": "
|
|
3691
|
-
"
|
|
3899
|
+
"type": "SEQ",
|
|
3900
|
+
"members": [
|
|
3901
|
+
{
|
|
3902
|
+
"type": "STRING",
|
|
3903
|
+
"value": "{"
|
|
3904
|
+
},
|
|
3905
|
+
{
|
|
3906
|
+
"type": "FIELD",
|
|
3907
|
+
"name": "payload_bindings",
|
|
3908
|
+
"content": {
|
|
3909
|
+
"type": "SEQ",
|
|
3910
|
+
"members": [
|
|
3911
|
+
{
|
|
3912
|
+
"type": "SYMBOL",
|
|
3913
|
+
"name": "identifier"
|
|
3914
|
+
},
|
|
3915
|
+
{
|
|
3916
|
+
"type": "REPEAT",
|
|
3917
|
+
"content": {
|
|
3918
|
+
"type": "SEQ",
|
|
3919
|
+
"members": [
|
|
3920
|
+
{
|
|
3921
|
+
"type": "STRING",
|
|
3922
|
+
"value": ","
|
|
3923
|
+
},
|
|
3924
|
+
{
|
|
3925
|
+
"type": "SYMBOL",
|
|
3926
|
+
"name": "identifier"
|
|
3927
|
+
}
|
|
3928
|
+
]
|
|
3929
|
+
}
|
|
3930
|
+
}
|
|
3931
|
+
]
|
|
3932
|
+
}
|
|
3933
|
+
},
|
|
3934
|
+
{
|
|
3935
|
+
"type": "CHOICE",
|
|
3936
|
+
"members": [
|
|
3937
|
+
{
|
|
3938
|
+
"type": "STRING",
|
|
3939
|
+
"value": ","
|
|
3940
|
+
},
|
|
3941
|
+
{
|
|
3942
|
+
"type": "BLANK"
|
|
3943
|
+
}
|
|
3944
|
+
]
|
|
3945
|
+
},
|
|
3946
|
+
{
|
|
3947
|
+
"type": "STRING",
|
|
3948
|
+
"value": "}"
|
|
3949
|
+
}
|
|
3950
|
+
]
|
|
3692
3951
|
},
|
|
3693
3952
|
{
|
|
3694
|
-
"type": "
|
|
3695
|
-
"name": "identifier"
|
|
3953
|
+
"type": "BLANK"
|
|
3696
3954
|
}
|
|
3697
3955
|
]
|
|
3698
3956
|
}
|
|
3699
|
-
|
|
3700
|
-
]
|
|
3701
|
-
}
|
|
3702
|
-
},
|
|
3703
|
-
{
|
|
3704
|
-
"type": "CHOICE",
|
|
3705
|
-
"members": [
|
|
3706
|
-
{
|
|
3707
|
-
"type": "STRING",
|
|
3708
|
-
"value": ","
|
|
3957
|
+
]
|
|
3709
3958
|
},
|
|
3710
3959
|
{
|
|
3711
|
-
"type": "
|
|
3960
|
+
"type": "FIELD",
|
|
3961
|
+
"name": "trigger",
|
|
3962
|
+
"content": {
|
|
3963
|
+
"type": "STRING",
|
|
3964
|
+
"value": "completion"
|
|
3965
|
+
}
|
|
3712
3966
|
}
|
|
3713
3967
|
]
|
|
3714
|
-
},
|
|
3715
|
-
{
|
|
3716
|
-
"type": "STRING",
|
|
3717
|
-
"value": "}"
|
|
3718
3968
|
}
|
|
3719
3969
|
]
|
|
3720
3970
|
},
|
|
3721
3971
|
{
|
|
3722
|
-
"type": "
|
|
3972
|
+
"type": "FIELD",
|
|
3973
|
+
"name": "trigger",
|
|
3974
|
+
"content": {
|
|
3975
|
+
"type": "STRING",
|
|
3976
|
+
"value": "always"
|
|
3977
|
+
}
|
|
3723
3978
|
}
|
|
3724
3979
|
]
|
|
3725
3980
|
},
|
|
@@ -3815,8 +4070,51 @@
|
|
|
3815
4070
|
"type": "CHOICE",
|
|
3816
4071
|
"members": [
|
|
3817
4072
|
{
|
|
3818
|
-
"type": "
|
|
3819
|
-
"
|
|
4073
|
+
"type": "CHOICE",
|
|
4074
|
+
"members": [
|
|
4075
|
+
{
|
|
4076
|
+
"type": "SEQ",
|
|
4077
|
+
"members": [
|
|
4078
|
+
{
|
|
4079
|
+
"type": "STRING",
|
|
4080
|
+
"value": "reenter"
|
|
4081
|
+
},
|
|
4082
|
+
{
|
|
4083
|
+
"type": "CHOICE",
|
|
4084
|
+
"members": [
|
|
4085
|
+
{
|
|
4086
|
+
"type": "STRING",
|
|
4087
|
+
"value": "history"
|
|
4088
|
+
},
|
|
4089
|
+
{
|
|
4090
|
+
"type": "BLANK"
|
|
4091
|
+
}
|
|
4092
|
+
]
|
|
4093
|
+
}
|
|
4094
|
+
]
|
|
4095
|
+
},
|
|
4096
|
+
{
|
|
4097
|
+
"type": "SEQ",
|
|
4098
|
+
"members": [
|
|
4099
|
+
{
|
|
4100
|
+
"type": "STRING",
|
|
4101
|
+
"value": "history"
|
|
4102
|
+
},
|
|
4103
|
+
{
|
|
4104
|
+
"type": "CHOICE",
|
|
4105
|
+
"members": [
|
|
4106
|
+
{
|
|
4107
|
+
"type": "STRING",
|
|
4108
|
+
"value": "reenter"
|
|
4109
|
+
},
|
|
4110
|
+
{
|
|
4111
|
+
"type": "BLANK"
|
|
4112
|
+
}
|
|
4113
|
+
]
|
|
4114
|
+
}
|
|
4115
|
+
]
|
|
4116
|
+
}
|
|
4117
|
+
]
|
|
3820
4118
|
},
|
|
3821
4119
|
{
|
|
3822
4120
|
"type": "BLANK"
|
|
@@ -6148,15 +6446,6 @@
|
|
|
6148
6446
|
"type": "SYMBOL",
|
|
6149
6447
|
"name": "identifier"
|
|
6150
6448
|
},
|
|
6151
|
-
{
|
|
6152
|
-
"type": "ALIAS",
|
|
6153
|
-
"content": {
|
|
6154
|
-
"type": "STRING",
|
|
6155
|
-
"value": "capture"
|
|
6156
|
-
},
|
|
6157
|
-
"named": true,
|
|
6158
|
-
"value": "identifier"
|
|
6159
|
-
},
|
|
6160
6449
|
{
|
|
6161
6450
|
"type": "SYMBOL",
|
|
6162
6451
|
"name": "self"
|
|
@@ -6802,15 +7091,6 @@
|
|
|
6802
7091
|
"type": "SYMBOL",
|
|
6803
7092
|
"name": "identifier"
|
|
6804
7093
|
},
|
|
6805
|
-
{
|
|
6806
|
-
"type": "ALIAS",
|
|
6807
|
-
"content": {
|
|
6808
|
-
"type": "STRING",
|
|
6809
|
-
"value": "capture"
|
|
6810
|
-
},
|
|
6811
|
-
"named": true,
|
|
6812
|
-
"value": "identifier"
|
|
6813
|
-
},
|
|
6814
7094
|
{
|
|
6815
7095
|
"type": "SYMBOL",
|
|
6816
7096
|
"name": "path_expression"
|
|
@@ -8617,18 +8897,6 @@
|
|
|
8617
8897
|
}
|
|
8618
8898
|
]
|
|
8619
8899
|
},
|
|
8620
|
-
{
|
|
8621
|
-
"type": "CHOICE",
|
|
8622
|
-
"members": [
|
|
8623
|
-
{
|
|
8624
|
-
"type": "SYMBOL",
|
|
8625
|
-
"name": "private_capture_list"
|
|
8626
|
-
},
|
|
8627
|
-
{
|
|
8628
|
-
"type": "BLANK"
|
|
8629
|
-
}
|
|
8630
|
-
]
|
|
8631
|
-
},
|
|
8632
8900
|
{
|
|
8633
8901
|
"type": "FIELD",
|
|
8634
8902
|
"name": "parameters",
|
|
@@ -8741,77 +9009,6 @@
|
|
|
8741
9009
|
]
|
|
8742
9010
|
}
|
|
8743
9011
|
},
|
|
8744
|
-
"private_capture_list": {
|
|
8745
|
-
"type": "SEQ",
|
|
8746
|
-
"members": [
|
|
8747
|
-
{
|
|
8748
|
-
"type": "STRING",
|
|
8749
|
-
"value": "capture"
|
|
8750
|
-
},
|
|
8751
|
-
{
|
|
8752
|
-
"type": "STRING",
|
|
8753
|
-
"value": "("
|
|
8754
|
-
},
|
|
8755
|
-
{
|
|
8756
|
-
"type": "SEQ",
|
|
8757
|
-
"members": [
|
|
8758
|
-
{
|
|
8759
|
-
"type": "SYMBOL",
|
|
8760
|
-
"name": "private_capture"
|
|
8761
|
-
},
|
|
8762
|
-
{
|
|
8763
|
-
"type": "REPEAT",
|
|
8764
|
-
"content": {
|
|
8765
|
-
"type": "SEQ",
|
|
8766
|
-
"members": [
|
|
8767
|
-
{
|
|
8768
|
-
"type": "STRING",
|
|
8769
|
-
"value": ","
|
|
8770
|
-
},
|
|
8771
|
-
{
|
|
8772
|
-
"type": "SYMBOL",
|
|
8773
|
-
"name": "private_capture"
|
|
8774
|
-
}
|
|
8775
|
-
]
|
|
8776
|
-
}
|
|
8777
|
-
}
|
|
8778
|
-
]
|
|
8779
|
-
},
|
|
8780
|
-
{
|
|
8781
|
-
"type": "CHOICE",
|
|
8782
|
-
"members": [
|
|
8783
|
-
{
|
|
8784
|
-
"type": "STRING",
|
|
8785
|
-
"value": ","
|
|
8786
|
-
},
|
|
8787
|
-
{
|
|
8788
|
-
"type": "BLANK"
|
|
8789
|
-
}
|
|
8790
|
-
]
|
|
8791
|
-
},
|
|
8792
|
-
{
|
|
8793
|
-
"type": "STRING",
|
|
8794
|
-
"value": ")"
|
|
8795
|
-
}
|
|
8796
|
-
]
|
|
8797
|
-
},
|
|
8798
|
-
"private_capture": {
|
|
8799
|
-
"type": "SEQ",
|
|
8800
|
-
"members": [
|
|
8801
|
-
{
|
|
8802
|
-
"type": "STRING",
|
|
8803
|
-
"value": "var"
|
|
8804
|
-
},
|
|
8805
|
-
{
|
|
8806
|
-
"type": "FIELD",
|
|
8807
|
-
"name": "name",
|
|
8808
|
-
"content": {
|
|
8809
|
-
"type": "SYMBOL",
|
|
8810
|
-
"name": "identifier"
|
|
8811
|
-
}
|
|
8812
|
-
}
|
|
8813
|
-
]
|
|
8814
|
-
},
|
|
8815
9012
|
"lambda_parameter": {
|
|
8816
9013
|
"type": "SEQ",
|
|
8817
9014
|
"members": [
|
|
@@ -8872,18 +9069,6 @@
|
|
|
8872
9069
|
}
|
|
8873
9070
|
]
|
|
8874
9071
|
},
|
|
8875
|
-
{
|
|
8876
|
-
"type": "CHOICE",
|
|
8877
|
-
"members": [
|
|
8878
|
-
{
|
|
8879
|
-
"type": "SYMBOL",
|
|
8880
|
-
"name": "private_capture_list"
|
|
8881
|
-
},
|
|
8882
|
-
{
|
|
8883
|
-
"type": "BLANK"
|
|
8884
|
-
}
|
|
8885
|
-
]
|
|
8886
|
-
},
|
|
8887
9072
|
{
|
|
8888
9073
|
"type": "STRING",
|
|
8889
9074
|
"value": "|"
|
|
@@ -10566,10 +10751,6 @@
|
|
|
10566
10751
|
"generic_apply_expression",
|
|
10567
10752
|
"bare_generic_call_expression"
|
|
10568
10753
|
],
|
|
10569
|
-
[
|
|
10570
|
-
"_callable_expression",
|
|
10571
|
-
"private_capture_list"
|
|
10572
|
-
],
|
|
10573
10754
|
[
|
|
10574
10755
|
"actor_spawn"
|
|
10575
10756
|
],
|
|
@@ -10607,4 +10788,4 @@
|
|
|
10607
10788
|
],
|
|
10608
10789
|
"supertypes": [],
|
|
10609
10790
|
"reserved": {}
|
|
10610
|
-
}
|
|
10791
|
+
}
|