@danielx/civet 0.5.44 → 0.5.45

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/dist/main.mjs CHANGED
@@ -527,20 +527,6 @@ ${input.slice(result.pos)}
527
527
  BindingElement,
528
528
  BindingRestElement,
529
529
  EmptyBindingPattern,
530
- MatchingPattern,
531
- ObjectMatchingPattern,
532
- ObjectMatchingPatternContent,
533
- NestedMatchingProperties,
534
- NestedMatchingProperty,
535
- MatchingProperty,
536
- NestedMatchingRestProperty,
537
- MatchingRestProperty,
538
- ArrayMatchingPattern,
539
- ArrayMatchingPatternContent,
540
- NestedMatchingElements,
541
- NestedMatchingElement,
542
- MatchingElement,
543
- MatchingRestElement,
544
530
  FunctionDeclaration,
545
531
  FunctionSignature,
546
532
  FunctionExpression,
@@ -676,6 +662,7 @@ ${input.slice(result.pos)}
676
662
  NameSpaceImport,
677
663
  NamedImports,
678
664
  FromClause,
665
+ ImportAssertion,
679
666
  TypeAndImportSpecifier,
680
667
  ImportSpecifier,
681
668
  ImportAsToken,
@@ -1052,90 +1039,91 @@ ${input.slice(result.pos)}
1052
1039
  var $L82 = $L("break");
1053
1040
  var $L83 = $L("continue");
1054
1041
  var $L84 = $L("debugger");
1055
- var $L85 = $L("default");
1056
- var $L86 = $L(":=");
1057
- var $L87 = $L(".=");
1058
- var $L88 = $L("/*");
1059
- var $L89 = $L("*/");
1060
- var $L90 = $L("\\");
1061
- var $L91 = $L("abstract");
1062
- var $L92 = $L("as");
1063
- var $L93 = $L("@");
1064
- var $L94 = $L("@@");
1065
- var $L95 = $L("async");
1066
- var $L96 = $L("await");
1067
- var $L97 = $L("`");
1068
- var $L98 = $L("by");
1069
- var $L99 = $L("case");
1070
- var $L100 = $L("catch");
1071
- var $L101 = $L("class");
1072
- var $L102 = $L("#{");
1073
- var $L103 = $L("delete");
1074
- var $L104 = $L("do");
1075
- var $L105 = $L("..");
1076
- var $L106 = $L("...");
1077
- var $L107 = $L("::");
1078
- var $L108 = $L('"');
1079
- var $L109 = $L("else");
1080
- var $L110 = $L("export");
1081
- var $L111 = $L("extends");
1082
- var $L112 = $L("for");
1083
- var $L113 = $L("from");
1084
- var $L114 = $L("function");
1085
- var $L115 = $L("get");
1086
- var $L116 = $L("set");
1087
- var $L117 = $L("if");
1088
- var $L118 = $L("let");
1089
- var $L119 = $L("const");
1090
- var $L120 = $L("loop");
1091
- var $L121 = $L("new");
1092
- var $L122 = $L("<");
1093
- var $L123 = $L("{");
1094
- var $L124 = $L("[");
1095
- var $L125 = $L("(");
1096
- var $L126 = $L("public");
1097
- var $L127 = $L("private");
1098
- var $L128 = $L("protected");
1099
- var $L129 = $L("|>");
1100
- var $L130 = $L("readonly");
1101
- var $L131 = $L("return");
1102
- var $L132 = $L("satisfies");
1103
- var $L133 = $L("'");
1104
- var $L134 = $L("static");
1105
- var $L135 = $L("${");
1106
- var $L136 = $L("switch");
1107
- var $L137 = $L("target");
1108
- var $L138 = $L("then");
1109
- var $L139 = $L("this");
1110
- var $L140 = $L("throw");
1111
- var $L141 = $L('"""');
1112
- var $L142 = $L("'''");
1113
- var $L143 = $L("///");
1114
- var $L144 = $L("```");
1115
- var $L145 = $L("try");
1116
- var $L146 = $L("typeof");
1117
- var $L147 = $L("unless");
1118
- var $L148 = $L("until");
1119
- var $L149 = $L("var");
1120
- var $L150 = $L("void");
1121
- var $L151 = $L("when");
1122
- var $L152 = $L("while");
1123
- var $L153 = $L("yield");
1124
- var $L154 = $L("/>");
1125
- var $L155 = $L("</");
1126
- var $L156 = $L("<>");
1127
- var $L157 = $L("</>");
1128
- var $L158 = $L("<!--");
1129
- var $L159 = $L("-->");
1130
- var $L160 = $L("declare");
1131
- var $L161 = $L("type");
1132
- var $L162 = $L("interface");
1133
- var $L163 = $L("namespace");
1134
- var $L164 = $L("asserts");
1135
- var $L165 = $L("keyof");
1136
- var $L166 = $L("infer");
1137
- var $L167 = $L("[]");
1138
- var $L168 = $L("civet");
1042
+ var $L85 = $L("assert");
1043
+ var $L86 = $L("default");
1044
+ var $L87 = $L(":=");
1045
+ var $L88 = $L(".=");
1046
+ var $L89 = $L("/*");
1047
+ var $L90 = $L("*/");
1048
+ var $L91 = $L("\\");
1049
+ var $L92 = $L("abstract");
1050
+ var $L93 = $L("as");
1051
+ var $L94 = $L("@");
1052
+ var $L95 = $L("@@");
1053
+ var $L96 = $L("async");
1054
+ var $L97 = $L("await");
1055
+ var $L98 = $L("`");
1056
+ var $L99 = $L("by");
1057
+ var $L100 = $L("case");
1058
+ var $L101 = $L("catch");
1059
+ var $L102 = $L("class");
1060
+ var $L103 = $L("#{");
1061
+ var $L104 = $L("delete");
1062
+ var $L105 = $L("do");
1063
+ var $L106 = $L("..");
1064
+ var $L107 = $L("...");
1065
+ var $L108 = $L("::");
1066
+ var $L109 = $L('"');
1067
+ var $L110 = $L("else");
1068
+ var $L111 = $L("export");
1069
+ var $L112 = $L("extends");
1070
+ var $L113 = $L("for");
1071
+ var $L114 = $L("from");
1072
+ var $L115 = $L("function");
1073
+ var $L116 = $L("get");
1074
+ var $L117 = $L("set");
1075
+ var $L118 = $L("if");
1076
+ var $L119 = $L("let");
1077
+ var $L120 = $L("const");
1078
+ var $L121 = $L("loop");
1079
+ var $L122 = $L("new");
1080
+ var $L123 = $L("<");
1081
+ var $L124 = $L("{");
1082
+ var $L125 = $L("[");
1083
+ var $L126 = $L("(");
1084
+ var $L127 = $L("public");
1085
+ var $L128 = $L("private");
1086
+ var $L129 = $L("protected");
1087
+ var $L130 = $L("|>");
1088
+ var $L131 = $L("readonly");
1089
+ var $L132 = $L("return");
1090
+ var $L133 = $L("satisfies");
1091
+ var $L134 = $L("'");
1092
+ var $L135 = $L("static");
1093
+ var $L136 = $L("${");
1094
+ var $L137 = $L("switch");
1095
+ var $L138 = $L("target");
1096
+ var $L139 = $L("then");
1097
+ var $L140 = $L("this");
1098
+ var $L141 = $L("throw");
1099
+ var $L142 = $L('"""');
1100
+ var $L143 = $L("'''");
1101
+ var $L144 = $L("///");
1102
+ var $L145 = $L("```");
1103
+ var $L146 = $L("try");
1104
+ var $L147 = $L("typeof");
1105
+ var $L148 = $L("unless");
1106
+ var $L149 = $L("until");
1107
+ var $L150 = $L("var");
1108
+ var $L151 = $L("void");
1109
+ var $L152 = $L("when");
1110
+ var $L153 = $L("while");
1111
+ var $L154 = $L("yield");
1112
+ var $L155 = $L("/>");
1113
+ var $L156 = $L("</");
1114
+ var $L157 = $L("<>");
1115
+ var $L158 = $L("</>");
1116
+ var $L159 = $L("<!--");
1117
+ var $L160 = $L("-->");
1118
+ var $L161 = $L("declare");
1119
+ var $L162 = $L("type");
1120
+ var $L163 = $L("interface");
1121
+ var $L164 = $L("namespace");
1122
+ var $L165 = $L("asserts");
1123
+ var $L166 = $L("keyof");
1124
+ var $L167 = $L("infer");
1125
+ var $L168 = $L("[]");
1126
+ var $L169 = $L("civet");
1139
1127
  var $R0 = $R(new RegExp("(as|for|of|satisfies|then|when)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
1140
1128
  var $R1 = $R(new RegExp("[&]", "suy"));
1141
1129
  var $R2 = $R(new RegExp("[!~+-]+", "suy"));
@@ -4345,492 +4333,6 @@ ${input.slice(result.pos)}
4345
4333
  return result;
4346
4334
  }
4347
4335
  }
4348
- var MatchingPattern$0 = ObjectMatchingPattern;
4349
- var MatchingPattern$1 = ArrayMatchingPattern;
4350
- var MatchingPattern$2 = Literal;
4351
- var MatchingPattern$3 = RegularExpressionLiteral;
4352
- function MatchingPattern(state) {
4353
- let eventData;
4354
- if (state.events) {
4355
- const result = state.events.enter?.("MatchingPattern", state);
4356
- if (result) {
4357
- if (result.cache)
4358
- return result.cache;
4359
- eventData = result.data;
4360
- }
4361
- }
4362
- if (state.tokenize) {
4363
- const result = $TOKEN("MatchingPattern", state, MatchingPattern$0(state) || MatchingPattern$1(state) || MatchingPattern$2(state) || MatchingPattern$3(state));
4364
- if (state.events)
4365
- state.events.exit?.("MatchingPattern", state, result, eventData);
4366
- return result;
4367
- } else {
4368
- const result = MatchingPattern$0(state) || MatchingPattern$1(state) || MatchingPattern$2(state) || MatchingPattern$3(state);
4369
- if (state.events)
4370
- state.events.exit?.("MatchingPattern", state, result, eventData);
4371
- return result;
4372
- }
4373
- }
4374
- var ObjectMatchingPattern$0 = $TS($S(OpenBrace, ObjectMatchingPatternContent, __, CloseBrace), function($skip, $loc, $0, $1, $2, $3, $4) {
4375
- var open = $1;
4376
- var content = $2;
4377
- var ws = $3;
4378
- var close = $4;
4379
- return {
4380
- type: "ObjectMatchingPattern",
4381
- children: [open, ...content.children, ...ws, close]
4382
- };
4383
- });
4384
- function ObjectMatchingPattern(state) {
4385
- let eventData;
4386
- if (state.events) {
4387
- const result = state.events.enter?.("ObjectMatchingPattern", state);
4388
- if (result) {
4389
- if (result.cache)
4390
- return result.cache;
4391
- eventData = result.data;
4392
- }
4393
- }
4394
- if (state.tokenize) {
4395
- const result = $TOKEN("ObjectMatchingPattern", state, ObjectMatchingPattern$0(state));
4396
- if (state.events)
4397
- state.events.exit?.("ObjectMatchingPattern", state, result, eventData);
4398
- return result;
4399
- } else {
4400
- const result = ObjectMatchingPattern$0(state);
4401
- if (state.events)
4402
- state.events.exit?.("ObjectMatchingPattern", state, result, eventData);
4403
- return result;
4404
- }
4405
- }
4406
- var ObjectMatchingPatternContent$0 = NestedMatchingProperties;
4407
- var ObjectMatchingPatternContent$1 = $TS($S($Q(MatchingProperty), $E(MatchingRestProperty), $Q(MatchingProperty)), function($skip, $loc, $0, $1, $2, $3) {
4408
- var props = $1;
4409
- var rest = $2;
4410
- var after = $3;
4411
- const names = props.flatMap((p) => p.names);
4412
- const children = [...props];
4413
- if (rest) {
4414
- [rest, after] = module.reorderBindingRestProperty(rest, after);
4415
- children.push(...after, rest);
4416
- names.push(...after.flatMap((p) => p.names), ...rest.names);
4417
- }
4418
- return {
4419
- names,
4420
- children
4421
- };
4422
- });
4423
- function ObjectMatchingPatternContent(state) {
4424
- let eventData;
4425
- if (state.events) {
4426
- const result = state.events.enter?.("ObjectMatchingPatternContent", state);
4427
- if (result) {
4428
- if (result.cache)
4429
- return result.cache;
4430
- eventData = result.data;
4431
- }
4432
- }
4433
- if (state.tokenize) {
4434
- const result = $TOKEN("ObjectMatchingPatternContent", state, ObjectMatchingPatternContent$0(state) || ObjectMatchingPatternContent$1(state));
4435
- if (state.events)
4436
- state.events.exit?.("ObjectMatchingPatternContent", state, result, eventData);
4437
- return result;
4438
- } else {
4439
- const result = ObjectMatchingPatternContent$0(state) || ObjectMatchingPatternContent$1(state);
4440
- if (state.events)
4441
- state.events.exit?.("ObjectMatchingPatternContent", state, result, eventData);
4442
- return result;
4443
- }
4444
- }
4445
- var NestedMatchingProperties$0 = $TS($S(PushIndent, $Q(NestedMatchingProperty), $E(NestedMatchingRestProperty), $Q(NestedMatchingProperty), PopIndent), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
4446
- var props = $2;
4447
- var rest = $3;
4448
- var after = $4;
4449
- if (!(props.length || rest))
4450
- return $skip;
4451
- const names = props.flatMap((p) => p.names);
4452
- const children = [...props];
4453
- if (rest) {
4454
- [rest, after] = module.reorderBindingRestProperty(rest, after);
4455
- children.push(...after, rest);
4456
- names.push(...after.flatMap((p) => p.names), ...rest.names);
4457
- }
4458
- return {
4459
- children,
4460
- names
4461
- };
4462
- });
4463
- function NestedMatchingProperties(state) {
4464
- let eventData;
4465
- if (state.events) {
4466
- const result = state.events.enter?.("NestedMatchingProperties", state);
4467
- if (result) {
4468
- if (result.cache)
4469
- return result.cache;
4470
- eventData = result.data;
4471
- }
4472
- }
4473
- if (state.tokenize) {
4474
- const result = $TOKEN("NestedMatchingProperties", state, NestedMatchingProperties$0(state));
4475
- if (state.events)
4476
- state.events.exit?.("NestedMatchingProperties", state, result, eventData);
4477
- return result;
4478
- } else {
4479
- const result = NestedMatchingProperties$0(state);
4480
- if (state.events)
4481
- state.events.exit?.("NestedMatchingProperties", state, result, eventData);
4482
- return result;
4483
- }
4484
- }
4485
- var NestedMatchingProperty$0 = $TS($S(Nested, MatchingProperty), function($skip, $loc, $0, $1, $2) {
4486
- var indent = $1;
4487
- var prop = $2;
4488
- return {
4489
- ...prop,
4490
- children: [...indent, ...prop.children]
4491
- };
4492
- });
4493
- function NestedMatchingProperty(state) {
4494
- let eventData;
4495
- if (state.events) {
4496
- const result = state.events.enter?.("NestedMatchingProperty", state);
4497
- if (result) {
4498
- if (result.cache)
4499
- return result.cache;
4500
- eventData = result.data;
4501
- }
4502
- }
4503
- if (state.tokenize) {
4504
- const result = $TOKEN("NestedMatchingProperty", state, NestedMatchingProperty$0(state));
4505
- if (state.events)
4506
- state.events.exit?.("NestedMatchingProperty", state, result, eventData);
4507
- return result;
4508
- } else {
4509
- const result = NestedMatchingProperty$0(state);
4510
- if (state.events)
4511
- state.events.exit?.("NestedMatchingProperty", state, result, eventData);
4512
- return result;
4513
- }
4514
- }
4515
- var MatchingProperty$0 = $TS($S(__, PropertyName, __, Colon, $C(BindingIdentifier, MatchingPattern), ObjectPropertyDelimiter), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
4516
- var m = $5;
4517
- return {
4518
- names: m.names,
4519
- children: $0
4520
- };
4521
- });
4522
- var MatchingProperty$1 = $TS($S(BindingIdentifier, ObjectPropertyDelimiter), function($skip, $loc, $0, $1, $2) {
4523
- var b = $1;
4524
- if (b.type === "AtBinding") {
4525
- return {
4526
- type: "AtBindingProperty",
4527
- ref: b.ref,
4528
- names: [],
4529
- children: $0
4530
- };
4531
- }
4532
- return {
4533
- names: b.names,
4534
- children: $0
4535
- };
4536
- });
4537
- function MatchingProperty(state) {
4538
- let eventData;
4539
- if (state.events) {
4540
- const result = state.events.enter?.("MatchingProperty", state);
4541
- if (result) {
4542
- if (result.cache)
4543
- return result.cache;
4544
- eventData = result.data;
4545
- }
4546
- }
4547
- if (state.tokenize) {
4548
- const result = $TOKEN("MatchingProperty", state, MatchingProperty$0(state) || MatchingProperty$1(state));
4549
- if (state.events)
4550
- state.events.exit?.("MatchingProperty", state, result, eventData);
4551
- return result;
4552
- } else {
4553
- const result = MatchingProperty$0(state) || MatchingProperty$1(state);
4554
- if (state.events)
4555
- state.events.exit?.("MatchingProperty", state, result, eventData);
4556
- return result;
4557
- }
4558
- }
4559
- var NestedMatchingRestProperty$0 = $TS($S(Nested, MatchingRestProperty), function($skip, $loc, $0, $1, $2) {
4560
- var indent = $1;
4561
- var prop = $2;
4562
- return {
4563
- ...prop,
4564
- children: [indent, ...prop.children]
4565
- };
4566
- });
4567
- function NestedMatchingRestProperty(state) {
4568
- let eventData;
4569
- if (state.events) {
4570
- const result = state.events.enter?.("NestedMatchingRestProperty", state);
4571
- if (result) {
4572
- if (result.cache)
4573
- return result.cache;
4574
- eventData = result.data;
4575
- }
4576
- }
4577
- if (state.tokenize) {
4578
- const result = $TOKEN("NestedMatchingRestProperty", state, NestedMatchingRestProperty$0(state));
4579
- if (state.events)
4580
- state.events.exit?.("NestedMatchingRestProperty", state, result, eventData);
4581
- return result;
4582
- } else {
4583
- const result = NestedMatchingRestProperty$0(state);
4584
- if (state.events)
4585
- state.events.exit?.("NestedMatchingRestProperty", state, result, eventData);
4586
- return result;
4587
- }
4588
- }
4589
- var MatchingRestProperty$0 = BindingRestProperty;
4590
- function MatchingRestProperty(state) {
4591
- let eventData;
4592
- if (state.events) {
4593
- const result = state.events.enter?.("MatchingRestProperty", state);
4594
- if (result) {
4595
- if (result.cache)
4596
- return result.cache;
4597
- eventData = result.data;
4598
- }
4599
- }
4600
- if (state.tokenize) {
4601
- const result = $TOKEN("MatchingRestProperty", state, MatchingRestProperty$0(state));
4602
- if (state.events)
4603
- state.events.exit?.("MatchingRestProperty", state, result, eventData);
4604
- return result;
4605
- } else {
4606
- const result = MatchingRestProperty$0(state);
4607
- if (state.events)
4608
- state.events.exit?.("MatchingRestProperty", state, result, eventData);
4609
- return result;
4610
- }
4611
- }
4612
- var ArrayMatchingPattern$0 = $TS($S(OpenBracket, ArrayMatchingPatternContent, __, CloseBracket), function($skip, $loc, $0, $1, $2, $3, $4) {
4613
- var open = $1;
4614
- var content = $2;
4615
- var ws = $3;
4616
- var close = $4;
4617
- return {
4618
- type: "ArrayMatchingPattern",
4619
- children: $0
4620
- };
4621
- });
4622
- function ArrayMatchingPattern(state) {
4623
- let eventData;
4624
- if (state.events) {
4625
- const result = state.events.enter?.("ArrayMatchingPattern", state);
4626
- if (result) {
4627
- if (result.cache)
4628
- return result.cache;
4629
- eventData = result.data;
4630
- }
4631
- }
4632
- if (state.tokenize) {
4633
- const result = $TOKEN("ArrayMatchingPattern", state, ArrayMatchingPattern$0(state));
4634
- if (state.events)
4635
- state.events.exit?.("ArrayMatchingPattern", state, result, eventData);
4636
- return result;
4637
- } else {
4638
- const result = ArrayMatchingPattern$0(state);
4639
- if (state.events)
4640
- state.events.exit?.("ArrayMatchingPattern", state, result, eventData);
4641
- return result;
4642
- }
4643
- }
4644
- var ArrayMatchingPatternContent$0 = NestedMatchingElements;
4645
- var ArrayMatchingPatternContent$1 = $TS($S($Q($C(MatchingElement, Elision)), $E($S(MatchingRestElement, ArrayElementDelimiter)), $Q($C(MatchingElement, Elision))), function($skip, $loc, $0, $1, $2, $3) {
4646
- var props = $1;
4647
- var rest = $2;
4648
- var after = $3;
4649
- const names = props.flatMap((p) => p.names || []);
4650
- const children = [...props];
4651
- let blockPrefix;
4652
- if (rest) {
4653
- const [restBinding] = rest;
4654
- children.push(restBinding);
4655
- let restIdentifier;
4656
- if (restBinding.ref) {
4657
- restIdentifier = restBinding.ref;
4658
- } else {
4659
- restIdentifier = restBinding.names[0];
4660
- names.push(...restBinding.names);
4661
- }
4662
- if (after.length) {
4663
- const spliceRef = module.getRef("splice");
4664
- blockPrefix = {
4665
- children: ["[", module.insertTrimmingSpace(after, ""), "] = ", spliceRef, ".call(", restIdentifier, ", -", after.length.toString(), ")"],
4666
- names: after.flatMap((p) => p.names)
4667
- };
4668
- }
4669
- }
4670
- return {
4671
- names,
4672
- children,
4673
- blockPrefix
4674
- };
4675
- });
4676
- function ArrayMatchingPatternContent(state) {
4677
- let eventData;
4678
- if (state.events) {
4679
- const result = state.events.enter?.("ArrayMatchingPatternContent", state);
4680
- if (result) {
4681
- if (result.cache)
4682
- return result.cache;
4683
- eventData = result.data;
4684
- }
4685
- }
4686
- if (state.tokenize) {
4687
- const result = $TOKEN("ArrayMatchingPatternContent", state, ArrayMatchingPatternContent$0(state) || ArrayMatchingPatternContent$1(state));
4688
- if (state.events)
4689
- state.events.exit?.("ArrayMatchingPatternContent", state, result, eventData);
4690
- return result;
4691
- } else {
4692
- const result = ArrayMatchingPatternContent$0(state) || ArrayMatchingPatternContent$1(state);
4693
- if (state.events)
4694
- state.events.exit?.("ArrayMatchingPatternContent", state, result, eventData);
4695
- return result;
4696
- }
4697
- }
4698
- var NestedMatchingElements$0 = $TS($S(PushIndent, $Q(NestedMatchingElement), $E($S(Nested, MatchingRestElement, ArrayElementDelimiter)), $Q(NestedMatchingElement), PopIndent), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
4699
- var props = $2;
4700
- var rest = $3;
4701
- var after = $4;
4702
- if (!(props.length || rest))
4703
- return $skip;
4704
- const names = props.flatMap((p) => p.names), children = [...props];
4705
- let blockPrefix;
4706
- if (rest) {
4707
- const [, restBinding] = rest;
4708
- let restIdentifier;
4709
- if (restBinding.ref) {
4710
- restIdentifier = restBinding.binding.ref;
4711
- } else {
4712
- restIdentifier = restBinding.names[0];
4713
- }
4714
- if (after.length) {
4715
- const spliceRef = module.getRef("splice");
4716
- blockPrefix = {
4717
- children: ["[", module.insertTrimmingSpace(after, ""), "] = ", spliceRef, ".call(", restIdentifier, ", -", after.length.toString(), ")"],
4718
- names: after.flatMap((p) => p.names)
4719
- };
4720
- }
4721
- children.push(...rest);
4722
- names.push(...restBinding.names);
4723
- }
4724
- return {
4725
- children,
4726
- names,
4727
- blockPrefix
4728
- };
4729
- });
4730
- function NestedMatchingElements(state) {
4731
- let eventData;
4732
- if (state.events) {
4733
- const result = state.events.enter?.("NestedMatchingElements", state);
4734
- if (result) {
4735
- if (result.cache)
4736
- return result.cache;
4737
- eventData = result.data;
4738
- }
4739
- }
4740
- if (state.tokenize) {
4741
- const result = $TOKEN("NestedMatchingElements", state, NestedMatchingElements$0(state));
4742
- if (state.events)
4743
- state.events.exit?.("NestedMatchingElements", state, result, eventData);
4744
- return result;
4745
- } else {
4746
- const result = NestedMatchingElements$0(state);
4747
- if (state.events)
4748
- state.events.exit?.("NestedMatchingElements", state, result, eventData);
4749
- return result;
4750
- }
4751
- }
4752
- var NestedMatchingElement$0 = $TS($S(Nested, MatchingElement), function($skip, $loc, $0, $1, $2) {
4753
- var indent = $1;
4754
- var element = $2;
4755
- return {
4756
- ...element,
4757
- children: [indent, ...element.children]
4758
- };
4759
- });
4760
- function NestedMatchingElement(state) {
4761
- let eventData;
4762
- if (state.events) {
4763
- const result = state.events.enter?.("NestedMatchingElement", state);
4764
- if (result) {
4765
- if (result.cache)
4766
- return result.cache;
4767
- eventData = result.data;
4768
- }
4769
- }
4770
- if (state.tokenize) {
4771
- const result = $TOKEN("NestedMatchingElement", state, NestedMatchingElement$0(state));
4772
- if (state.events)
4773
- state.events.exit?.("NestedMatchingElement", state, result, eventData);
4774
- return result;
4775
- } else {
4776
- const result = NestedMatchingElement$0(state);
4777
- if (state.events)
4778
- state.events.exit?.("NestedMatchingElement", state, result, eventData);
4779
- return result;
4780
- }
4781
- }
4782
- var MatchingElement$0 = $TS($S($C(BindingIdentifier, MatchingPattern), ArrayElementDelimiter), function($skip, $loc, $0, $1, $2) {
4783
- var binding = $1;
4784
- return {
4785
- names: binding.names,
4786
- children: $0
4787
- };
4788
- });
4789
- function MatchingElement(state) {
4790
- let eventData;
4791
- if (state.events) {
4792
- const result = state.events.enter?.("MatchingElement", state);
4793
- if (result) {
4794
- if (result.cache)
4795
- return result.cache;
4796
- eventData = result.data;
4797
- }
4798
- }
4799
- if (state.tokenize) {
4800
- const result = $TOKEN("MatchingElement", state, MatchingElement$0(state));
4801
- if (state.events)
4802
- state.events.exit?.("MatchingElement", state, result, eventData);
4803
- return result;
4804
- } else {
4805
- const result = MatchingElement$0(state);
4806
- if (state.events)
4807
- state.events.exit?.("MatchingElement", state, result, eventData);
4808
- return result;
4809
- }
4810
- }
4811
- var MatchingRestElement$0 = BindingRestElement;
4812
- function MatchingRestElement(state) {
4813
- let eventData;
4814
- if (state.events) {
4815
- const result = state.events.enter?.("MatchingRestElement", state);
4816
- if (result) {
4817
- if (result.cache)
4818
- return result.cache;
4819
- eventData = result.data;
4820
- }
4821
- }
4822
- if (state.tokenize) {
4823
- const result = $TOKEN("MatchingRestElement", state, MatchingRestElement$0(state));
4824
- if (state.events)
4825
- state.events.exit?.("MatchingRestElement", state, result, eventData);
4826
- return result;
4827
- } else {
4828
- const result = MatchingRestElement$0(state);
4829
- if (state.events)
4830
- state.events.exit?.("MatchingRestElement", state, result, eventData);
4831
- return result;
4832
- }
4833
- }
4834
4336
  var FunctionDeclaration$0 = FunctionExpression;
4835
4337
  function FunctionDeclaration(state) {
4836
4338
  let eventData;
@@ -6366,7 +5868,10 @@ ${input.slice(result.pos)}
6366
5868
  var InlineObjectLiteral$0 = $TS($S(InsertInlineOpenBrace, SnugNamedProperty, ImplicitInlineObjectPropertyDelimiter, $Q($S($C(Samedent, $Q(_)), NamedProperty, ImplicitInlineObjectPropertyDelimiter)), InsertCloseBrace), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
6367
5869
  var open = $1;
6368
5870
  var close = $5;
6369
- return [open, $2, $3, ...$4, close];
5871
+ return {
5872
+ type: "ObjectExpression",
5873
+ children: [open, $2, $3, ...$4, close]
5874
+ };
6370
5875
  });
6371
5876
  function InlineObjectLiteral(state) {
6372
5877
  let eventData;
@@ -7272,7 +6777,15 @@ ${input.slice(result.pos)}
7272
6777
  var Statement$4 = SwitchStatement;
7273
6778
  var Statement$5 = TryStatement;
7274
6779
  var Statement$6 = EmptyStatement;
7275
- var Statement$7 = ExpressionStatement;
6780
+ var Statement$7 = $TS($S(ExpressionStatement), function($skip, $loc, $0, $1) {
6781
+ if ($1.type === "ObjectExpression") {
6782
+ return {
6783
+ type: "ParenthesizedExpression",
6784
+ children: ["(", $1, ")"]
6785
+ };
6786
+ }
6787
+ return $1;
6788
+ });
7276
6789
  var Statement$8 = BlockStatement;
7277
6790
  function Statement(state) {
7278
6791
  let eventData;
@@ -9243,21 +8756,26 @@ ${input.slice(result.pos)}
9243
8756
  return result;
9244
8757
  }
9245
8758
  }
9246
- var ImportDeclaration$0 = $T($S(Import, __, TypeKeyword, __, ImportClause, __, FromClause), function(value) {
8759
+ var ImportDeclaration$0 = $T($S(Import, __, TypeKeyword, __, ImportClause, __, FromClause, $E(ImportAssertion)), function(value) {
9247
8760
  return { "ts": true, "children": value };
9248
8761
  });
9249
- var ImportDeclaration$1 = $S(Import, __, ImportClause, __, FromClause);
9250
- var ImportDeclaration$2 = $S(Import, __, ModuleSpecifier);
9251
- var ImportDeclaration$3 = $TS($S(ImpliedImport, ImportClause, __, FromClause), function($skip, $loc, $0, $1, $2, $3, $4) {
8762
+ var ImportDeclaration$1 = $S(Import, __, ImportClause, __, FromClause, $E(ImportAssertion));
8763
+ var ImportDeclaration$2 = $S(Import, __, ModuleSpecifier, $E(ImportAssertion));
8764
+ var ImportDeclaration$3 = $TS($S(ImpliedImport, $E($S(TypeKeyword, __)), ImportClause, __, FromClause, $E(ImportAssertion)), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
9252
8765
  var i = $1;
9253
- var c = $2;
9254
- var w = $3;
9255
- var f = $4;
8766
+ var t = $2;
8767
+ var c = $3;
8768
+ var w = $4;
8769
+ var f = $5;
8770
+ var a = $6;
9256
8771
  i.$loc = {
9257
8772
  pos: f[0].$loc.pos - 1,
9258
8773
  length: f[0].$loc.length + 1
9259
8774
  };
9260
- return [i, c, w, f];
8775
+ const children = [i, t, c, w, f, a];
8776
+ if (!t)
8777
+ return children;
8778
+ return { ts: true, children };
9261
8779
  });
9262
8780
  function ImportDeclaration(state) {
9263
8781
  let eventData;
@@ -9430,6 +8948,29 @@ ${input.slice(result.pos)}
9430
8948
  return result;
9431
8949
  }
9432
8950
  }
8951
+ var ImportAssertion$0 = $S($E(_), $EXPECT($L85, fail, 'ImportAssertion "assert"'), NonIdContinue, $E(_), ObjectLiteral);
8952
+ function ImportAssertion(state) {
8953
+ let eventData;
8954
+ if (state.events) {
8955
+ const result = state.events.enter?.("ImportAssertion", state);
8956
+ if (result) {
8957
+ if (result.cache)
8958
+ return result.cache;
8959
+ eventData = result.data;
8960
+ }
8961
+ }
8962
+ if (state.tokenize) {
8963
+ const result = $TOKEN("ImportAssertion", state, ImportAssertion$0(state));
8964
+ if (state.events)
8965
+ state.events.exit?.("ImportAssertion", state, result, eventData);
8966
+ return result;
8967
+ } else {
8968
+ const result = ImportAssertion$0(state);
8969
+ if (state.events)
8970
+ state.events.exit?.("ImportAssertion", state, result, eventData);
8971
+ return result;
8972
+ }
8973
+ }
9433
8974
  var TypeAndImportSpecifier$0 = $TS($S($E($S(__, TypeKeyword)), ImportSpecifier), function($skip, $loc, $0, $1, $2) {
9434
8975
  if (!$1)
9435
8976
  return $2;
@@ -9654,7 +9195,7 @@ ${input.slice(result.pos)}
9654
9195
  return result;
9655
9196
  }
9656
9197
  }
9657
- var ExportDeclaration$0 = $S(Export, __, $EXPECT($L85, fail, 'ExportDeclaration "default"'), NonIdContinue, __, $C(HoistableDeclaration, ClassDeclaration, ExtendedExpression));
9198
+ var ExportDeclaration$0 = $S(Export, __, $EXPECT($L86, fail, 'ExportDeclaration "default"'), NonIdContinue, __, $C(HoistableDeclaration, ClassDeclaration, ExtendedExpression));
9658
9199
  var ExportDeclaration$1 = $TS($S(Export, __, ExportFromClause, __, FromClause), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
9659
9200
  if (!$3.ts)
9660
9201
  return $0;
@@ -9816,7 +9357,7 @@ ${input.slice(result.pos)}
9816
9357
  return result;
9817
9358
  }
9818
9359
  }
9819
- var ImplicitExportSpecifier$0 = $S($N($EXPECT($L85, fail, 'ImplicitExportSpecifier "default"')), ModuleExportName, $E($S(__, As, __, ModuleExportName)), $C($Y($S(__, From)), ImplicitInlineObjectPropertyDelimiter));
9360
+ var ImplicitExportSpecifier$0 = $S($N($EXPECT($L86, fail, 'ImplicitExportSpecifier "default"')), ModuleExportName, $E($S(__, As, __, ModuleExportName)), $C($Y($S(__, From)), ImplicitInlineObjectPropertyDelimiter));
9820
9361
  function ImplicitExportSpecifier(state) {
9821
9362
  let eventData;
9822
9363
  if (state.events) {
@@ -9987,7 +9528,7 @@ ${input.slice(result.pos)}
9987
9528
  return result;
9988
9529
  }
9989
9530
  }
9990
- var ConstAssignment$0 = $TV($EXPECT($L86, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
9531
+ var ConstAssignment$0 = $TV($EXPECT($L87, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
9991
9532
  return { $loc, token: "=" };
9992
9533
  });
9993
9534
  function ConstAssignment(state) {
@@ -10012,7 +9553,7 @@ ${input.slice(result.pos)}
10012
9553
  return result;
10013
9554
  }
10014
9555
  }
10015
- var LetAssignment$0 = $TV($EXPECT($L87, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
9556
+ var LetAssignment$0 = $TV($EXPECT($L88, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
10016
9557
  return { $loc, token: "=" };
10017
9558
  });
10018
9559
  function LetAssignment(state) {
@@ -11186,7 +10727,7 @@ ${input.slice(result.pos)}
11186
10727
  return result;
11187
10728
  }
11188
10729
  }
11189
- var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L88, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L89, fail, 'JSMultiLineComment "*/"')), $EXPECT($R39, fail, "JSMultiLineComment /./"))), $EXPECT($L89, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
10730
+ var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L89, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L90, fail, 'JSMultiLineComment "*/"')), $EXPECT($R39, fail, "JSMultiLineComment /./"))), $EXPECT($L90, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
11190
10731
  return { $loc, token: $1 };
11191
10732
  });
11192
10733
  function JSMultiLineComment(state) {
@@ -11236,7 +10777,7 @@ ${input.slice(result.pos)}
11236
10777
  return result;
11237
10778
  }
11238
10779
  }
11239
- var CoffeeMultiLineComment$0 = $TS($S(CoffeeHereCommentStart, $TEXT($Q($S($N($C(CoffeeHereCommentStart, $EXPECT($L89, fail, 'CoffeeMultiLineComment "*/"'))), $EXPECT($R39, fail, "CoffeeMultiLineComment /./")))), CoffeeHereCommentStart), function($skip, $loc, $0, $1, $2, $3) {
10780
+ var CoffeeMultiLineComment$0 = $TS($S(CoffeeHereCommentStart, $TEXT($Q($S($N($C(CoffeeHereCommentStart, $EXPECT($L90, fail, 'CoffeeMultiLineComment "*/"'))), $EXPECT($R39, fail, "CoffeeMultiLineComment /./")))), CoffeeHereCommentStart), function($skip, $loc, $0, $1, $2, $3) {
11240
10781
  return { $loc, token: `/*${$2}*/` };
11241
10782
  });
11242
10783
  function CoffeeMultiLineComment(state) {
@@ -11284,7 +10825,7 @@ ${input.slice(result.pos)}
11284
10825
  return result;
11285
10826
  }
11286
10827
  }
11287
- var InlineComment$0 = $TV($TEXT($S($EXPECT($L88, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L89, fail, 'InlineComment "*/"')), $EXPECT($R42, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L89, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
10828
+ var InlineComment$0 = $TV($TEXT($S($EXPECT($L89, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L90, fail, 'InlineComment "*/"')), $EXPECT($R42, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L90, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
11288
10829
  return { $loc, token: $1 };
11289
10830
  });
11290
10831
  function InlineComment(state) {
@@ -11383,7 +10924,7 @@ ${input.slice(result.pos)}
11383
10924
  var NonNewlineWhitespace$0 = $TR($EXPECT($R43, fail, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
11384
10925
  return { $loc, token: $0 };
11385
10926
  });
11386
- var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L90, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
10927
+ var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L91, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
11387
10928
  return "";
11388
10929
  });
11389
10930
  function NonNewlineWhitespace(state) {
@@ -11610,7 +11151,7 @@ ${input.slice(result.pos)}
11610
11151
  return result;
11611
11152
  }
11612
11153
  }
11613
- var Abstract$0 = $TV($TEXT($S($EXPECT($L91, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L6, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
11154
+ var Abstract$0 = $TV($TEXT($S($EXPECT($L92, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L6, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
11614
11155
  return { $loc, token: $1, ts: true };
11615
11156
  });
11616
11157
  function Abstract(state) {
@@ -11660,7 +11201,7 @@ ${input.slice(result.pos)}
11660
11201
  return result;
11661
11202
  }
11662
11203
  }
11663
- var As$0 = $TS($S($EXPECT($L92, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11204
+ var As$0 = $TS($S($EXPECT($L93, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11664
11205
  return { $loc, token: $1 };
11665
11206
  });
11666
11207
  function As(state) {
@@ -11685,7 +11226,7 @@ ${input.slice(result.pos)}
11685
11226
  return result;
11686
11227
  }
11687
11228
  }
11688
- var At$0 = $TV($EXPECT($L93, fail, 'At "@"'), function($skip, $loc, $0, $1) {
11229
+ var At$0 = $TV($EXPECT($L94, fail, 'At "@"'), function($skip, $loc, $0, $1) {
11689
11230
  return { $loc, token: $1 };
11690
11231
  });
11691
11232
  function At(state) {
@@ -11710,7 +11251,7 @@ ${input.slice(result.pos)}
11710
11251
  return result;
11711
11252
  }
11712
11253
  }
11713
- var AtAt$0 = $TV($EXPECT($L94, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
11254
+ var AtAt$0 = $TV($EXPECT($L95, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
11714
11255
  return { $loc, token: "@" };
11715
11256
  });
11716
11257
  function AtAt(state) {
@@ -11735,7 +11276,7 @@ ${input.slice(result.pos)}
11735
11276
  return result;
11736
11277
  }
11737
11278
  }
11738
- var Async$0 = $TS($S($EXPECT($L95, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11279
+ var Async$0 = $TS($S($EXPECT($L96, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11739
11280
  return { $loc, token: $1, type: "Async" };
11740
11281
  });
11741
11282
  function Async(state) {
@@ -11760,7 +11301,7 @@ ${input.slice(result.pos)}
11760
11301
  return result;
11761
11302
  }
11762
11303
  }
11763
- var Await$0 = $TS($S($EXPECT($L96, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11304
+ var Await$0 = $TS($S($EXPECT($L97, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11764
11305
  return { $loc, token: $1 };
11765
11306
  });
11766
11307
  function Await(state) {
@@ -11785,7 +11326,7 @@ ${input.slice(result.pos)}
11785
11326
  return result;
11786
11327
  }
11787
11328
  }
11788
- var Backtick$0 = $TV($EXPECT($L97, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
11329
+ var Backtick$0 = $TV($EXPECT($L98, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
11789
11330
  return { $loc, token: $1 };
11790
11331
  });
11791
11332
  function Backtick(state) {
@@ -11810,7 +11351,7 @@ ${input.slice(result.pos)}
11810
11351
  return result;
11811
11352
  }
11812
11353
  }
11813
- var By$0 = $TS($S($EXPECT($L98, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11354
+ var By$0 = $TS($S($EXPECT($L99, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11814
11355
  return { $loc, token: $1 };
11815
11356
  });
11816
11357
  function By(state) {
@@ -11835,7 +11376,7 @@ ${input.slice(result.pos)}
11835
11376
  return result;
11836
11377
  }
11837
11378
  }
11838
- var Case$0 = $TS($S($EXPECT($L99, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11379
+ var Case$0 = $TS($S($EXPECT($L100, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11839
11380
  return { $loc, token: $1 };
11840
11381
  });
11841
11382
  function Case(state) {
@@ -11860,7 +11401,7 @@ ${input.slice(result.pos)}
11860
11401
  return result;
11861
11402
  }
11862
11403
  }
11863
- var Catch$0 = $TS($S($EXPECT($L100, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11404
+ var Catch$0 = $TS($S($EXPECT($L101, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11864
11405
  return { $loc, token: $1 };
11865
11406
  });
11866
11407
  function Catch(state) {
@@ -11885,7 +11426,7 @@ ${input.slice(result.pos)}
11885
11426
  return result;
11886
11427
  }
11887
11428
  }
11888
- var Class$0 = $TS($S($EXPECT($L101, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11429
+ var Class$0 = $TS($S($EXPECT($L102, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11889
11430
  return { $loc, token: $1 };
11890
11431
  });
11891
11432
  function Class(state) {
@@ -11985,7 +11526,7 @@ ${input.slice(result.pos)}
11985
11526
  return result;
11986
11527
  }
11987
11528
  }
11988
- var CoffeeSubstitutionStart$0 = $TV($EXPECT($L102, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
11529
+ var CoffeeSubstitutionStart$0 = $TV($EXPECT($L103, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
11989
11530
  return { $loc, token: "${" };
11990
11531
  });
11991
11532
  function CoffeeSubstitutionStart(state) {
@@ -12035,7 +11576,7 @@ ${input.slice(result.pos)}
12035
11576
  return result;
12036
11577
  }
12037
11578
  }
12038
- var ConstructorShorthand$0 = $TV($EXPECT($L93, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
11579
+ var ConstructorShorthand$0 = $TV($EXPECT($L94, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
12039
11580
  return { $loc, token: "constructor" };
12040
11581
  });
12041
11582
  function ConstructorShorthand(state) {
@@ -12060,7 +11601,7 @@ ${input.slice(result.pos)}
12060
11601
  return result;
12061
11602
  }
12062
11603
  }
12063
- var Default$0 = $TS($S($EXPECT($L85, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11604
+ var Default$0 = $TS($S($EXPECT($L86, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12064
11605
  return { $loc, token: $1 };
12065
11606
  });
12066
11607
  function Default(state) {
@@ -12085,7 +11626,7 @@ ${input.slice(result.pos)}
12085
11626
  return result;
12086
11627
  }
12087
11628
  }
12088
- var Delete$0 = $TS($S($EXPECT($L103, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11629
+ var Delete$0 = $TS($S($EXPECT($L104, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12089
11630
  return { $loc, token: $1 };
12090
11631
  });
12091
11632
  function Delete(state) {
@@ -12110,7 +11651,7 @@ ${input.slice(result.pos)}
12110
11651
  return result;
12111
11652
  }
12112
11653
  }
12113
- var Do$0 = $TS($S($EXPECT($L104, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11654
+ var Do$0 = $TS($S($EXPECT($L105, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12114
11655
  return { $loc, token: $1 };
12115
11656
  });
12116
11657
  function Do(state) {
@@ -12160,7 +11701,7 @@ ${input.slice(result.pos)}
12160
11701
  return result;
12161
11702
  }
12162
11703
  }
12163
- var DotDot$0 = $TV($EXPECT($L105, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
11704
+ var DotDot$0 = $TV($EXPECT($L106, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
12164
11705
  return { $loc, token: $1 };
12165
11706
  });
12166
11707
  function DotDot(state) {
@@ -12185,7 +11726,7 @@ ${input.slice(result.pos)}
12185
11726
  return result;
12186
11727
  }
12187
11728
  }
12188
- var DotDotDot$0 = $TV($EXPECT($L106, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
11729
+ var DotDotDot$0 = $TV($EXPECT($L107, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
12189
11730
  return { $loc, token: $1 };
12190
11731
  });
12191
11732
  function DotDotDot(state) {
@@ -12210,7 +11751,7 @@ ${input.slice(result.pos)}
12210
11751
  return result;
12211
11752
  }
12212
11753
  }
12213
- var DoubleColon$0 = $TV($EXPECT($L107, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
11754
+ var DoubleColon$0 = $TV($EXPECT($L108, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
12214
11755
  return { $loc, token: $1 };
12215
11756
  });
12216
11757
  function DoubleColon(state) {
@@ -12235,7 +11776,7 @@ ${input.slice(result.pos)}
12235
11776
  return result;
12236
11777
  }
12237
11778
  }
12238
- var DoubleQuote$0 = $TV($EXPECT($L108, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
11779
+ var DoubleQuote$0 = $TV($EXPECT($L109, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
12239
11780
  return { $loc, token: $1 };
12240
11781
  });
12241
11782
  function DoubleQuote(state) {
@@ -12260,7 +11801,7 @@ ${input.slice(result.pos)}
12260
11801
  return result;
12261
11802
  }
12262
11803
  }
12263
- var Else$0 = $TS($S($EXPECT($L109, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11804
+ var Else$0 = $TS($S($EXPECT($L110, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12264
11805
  return { $loc, token: $1 };
12265
11806
  });
12266
11807
  function Else(state) {
@@ -12310,7 +11851,7 @@ ${input.slice(result.pos)}
12310
11851
  return result;
12311
11852
  }
12312
11853
  }
12313
- var Export$0 = $TS($S($EXPECT($L110, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11854
+ var Export$0 = $TS($S($EXPECT($L111, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12314
11855
  return { $loc, token: $1 };
12315
11856
  });
12316
11857
  function Export(state) {
@@ -12335,7 +11876,7 @@ ${input.slice(result.pos)}
12335
11876
  return result;
12336
11877
  }
12337
11878
  }
12338
- var Extends$0 = $TS($S($EXPECT($L111, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11879
+ var Extends$0 = $TS($S($EXPECT($L112, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12339
11880
  return { $loc, token: $1 };
12340
11881
  });
12341
11882
  function Extends(state) {
@@ -12360,7 +11901,7 @@ ${input.slice(result.pos)}
12360
11901
  return result;
12361
11902
  }
12362
11903
  }
12363
- var For$0 = $TS($S($EXPECT($L112, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11904
+ var For$0 = $TS($S($EXPECT($L113, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12364
11905
  return { $loc, token: $1 };
12365
11906
  });
12366
11907
  function For(state) {
@@ -12385,7 +11926,7 @@ ${input.slice(result.pos)}
12385
11926
  return result;
12386
11927
  }
12387
11928
  }
12388
- var From$0 = $TS($S($EXPECT($L113, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11929
+ var From$0 = $TS($S($EXPECT($L114, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12389
11930
  return { $loc, token: $1 };
12390
11931
  });
12391
11932
  function From(state) {
@@ -12410,7 +11951,7 @@ ${input.slice(result.pos)}
12410
11951
  return result;
12411
11952
  }
12412
11953
  }
12413
- var Function$0 = $TS($S($EXPECT($L114, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11954
+ var Function$0 = $TS($S($EXPECT($L115, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12414
11955
  return { $loc, token: $1 };
12415
11956
  });
12416
11957
  function Function(state) {
@@ -12435,7 +11976,7 @@ ${input.slice(result.pos)}
12435
11976
  return result;
12436
11977
  }
12437
11978
  }
12438
- var GetOrSet$0 = $TS($S($C($EXPECT($L115, fail, 'GetOrSet "get"'), $EXPECT($L116, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11979
+ var GetOrSet$0 = $TS($S($C($EXPECT($L116, fail, 'GetOrSet "get"'), $EXPECT($L117, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12439
11980
  return { $loc, token: $1, type: "GetOrSet" };
12440
11981
  });
12441
11982
  function GetOrSet(state) {
@@ -12460,7 +12001,7 @@ ${input.slice(result.pos)}
12460
12001
  return result;
12461
12002
  }
12462
12003
  }
12463
- var If$0 = $TV($TEXT($S($EXPECT($L117, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L6, fail, 'If " "')))), function($skip, $loc, $0, $1) {
12004
+ var If$0 = $TV($TEXT($S($EXPECT($L118, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L6, fail, 'If " "')))), function($skip, $loc, $0, $1) {
12464
12005
  return { $loc, token: $1 };
12465
12006
  });
12466
12007
  function If(state) {
@@ -12535,7 +12076,7 @@ ${input.slice(result.pos)}
12535
12076
  return result;
12536
12077
  }
12537
12078
  }
12538
- var LetOrConst$0 = $TS($S($C($EXPECT($L118, fail, 'LetOrConst "let"'), $EXPECT($L119, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12079
+ var LetOrConst$0 = $TS($S($C($EXPECT($L119, fail, 'LetOrConst "let"'), $EXPECT($L120, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12539
12080
  return { $loc, token: $1 };
12540
12081
  });
12541
12082
  function LetOrConst(state) {
@@ -12560,7 +12101,7 @@ ${input.slice(result.pos)}
12560
12101
  return result;
12561
12102
  }
12562
12103
  }
12563
- var Loop$0 = $TS($S($EXPECT($L120, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12104
+ var Loop$0 = $TS($S($EXPECT($L121, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12564
12105
  return { $loc, token: "while(true)" };
12565
12106
  });
12566
12107
  function Loop(state) {
@@ -12585,7 +12126,7 @@ ${input.slice(result.pos)}
12585
12126
  return result;
12586
12127
  }
12587
12128
  }
12588
- var New$0 = $TS($S($EXPECT($L121, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12129
+ var New$0 = $TS($S($EXPECT($L122, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12589
12130
  return { $loc, token: $1 };
12590
12131
  });
12591
12132
  function New(state) {
@@ -12660,7 +12201,7 @@ ${input.slice(result.pos)}
12660
12201
  return result;
12661
12202
  }
12662
12203
  }
12663
- var OpenAngleBracket$0 = $TV($EXPECT($L122, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
12204
+ var OpenAngleBracket$0 = $TV($EXPECT($L123, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
12664
12205
  return { $loc, token: $1 };
12665
12206
  });
12666
12207
  function OpenAngleBracket(state) {
@@ -12685,7 +12226,7 @@ ${input.slice(result.pos)}
12685
12226
  return result;
12686
12227
  }
12687
12228
  }
12688
- var OpenBrace$0 = $TV($EXPECT($L123, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
12229
+ var OpenBrace$0 = $TV($EXPECT($L124, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
12689
12230
  return { $loc, token: $1 };
12690
12231
  });
12691
12232
  function OpenBrace(state) {
@@ -12710,7 +12251,7 @@ ${input.slice(result.pos)}
12710
12251
  return result;
12711
12252
  }
12712
12253
  }
12713
- var OpenBracket$0 = $TV($EXPECT($L124, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
12254
+ var OpenBracket$0 = $TV($EXPECT($L125, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
12714
12255
  return { $loc, token: $1 };
12715
12256
  });
12716
12257
  function OpenBracket(state) {
@@ -12735,7 +12276,7 @@ ${input.slice(result.pos)}
12735
12276
  return result;
12736
12277
  }
12737
12278
  }
12738
- var OpenParen$0 = $TV($EXPECT($L125, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
12279
+ var OpenParen$0 = $TV($EXPECT($L126, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
12739
12280
  return { $loc, token: $1 };
12740
12281
  });
12741
12282
  function OpenParen(state) {
@@ -12760,7 +12301,7 @@ ${input.slice(result.pos)}
12760
12301
  return result;
12761
12302
  }
12762
12303
  }
12763
- var Public$0 = $TS($S($EXPECT($L126, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12304
+ var Public$0 = $TS($S($EXPECT($L127, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12764
12305
  return { $loc, token: $1 };
12765
12306
  });
12766
12307
  function Public(state) {
@@ -12785,7 +12326,7 @@ ${input.slice(result.pos)}
12785
12326
  return result;
12786
12327
  }
12787
12328
  }
12788
- var Private$0 = $TS($S($EXPECT($L127, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12329
+ var Private$0 = $TS($S($EXPECT($L128, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12789
12330
  return { $loc, token: $1 };
12790
12331
  });
12791
12332
  function Private(state) {
@@ -12810,7 +12351,7 @@ ${input.slice(result.pos)}
12810
12351
  return result;
12811
12352
  }
12812
12353
  }
12813
- var Protected$0 = $TS($S($EXPECT($L128, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12354
+ var Protected$0 = $TS($S($EXPECT($L129, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12814
12355
  return { $loc, token: $1 };
12815
12356
  });
12816
12357
  function Protected(state) {
@@ -12835,7 +12376,7 @@ ${input.slice(result.pos)}
12835
12376
  return result;
12836
12377
  }
12837
12378
  }
12838
- var Pipe$0 = $TV($EXPECT($L129, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
12379
+ var Pipe$0 = $TV($EXPECT($L130, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
12839
12380
  return { $loc, token: $1 };
12840
12381
  });
12841
12382
  function Pipe(state) {
@@ -12885,7 +12426,7 @@ ${input.slice(result.pos)}
12885
12426
  return result;
12886
12427
  }
12887
12428
  }
12888
- var Readonly$0 = $TS($S($EXPECT($L130, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12429
+ var Readonly$0 = $TS($S($EXPECT($L131, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12889
12430
  return { $loc, token: $1, ts: true };
12890
12431
  });
12891
12432
  function Readonly(state) {
@@ -12910,7 +12451,7 @@ ${input.slice(result.pos)}
12910
12451
  return result;
12911
12452
  }
12912
12453
  }
12913
- var Return$0 = $TS($S($EXPECT($L131, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12454
+ var Return$0 = $TS($S($EXPECT($L132, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12914
12455
  return { $loc, token: $1 };
12915
12456
  });
12916
12457
  function Return(state) {
@@ -12935,7 +12476,7 @@ ${input.slice(result.pos)}
12935
12476
  return result;
12936
12477
  }
12937
12478
  }
12938
- var Satisfies$0 = $TS($S($EXPECT($L132, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12479
+ var Satisfies$0 = $TS($S($EXPECT($L133, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12939
12480
  return { $loc, token: $1 };
12940
12481
  });
12941
12482
  function Satisfies(state) {
@@ -12985,7 +12526,7 @@ ${input.slice(result.pos)}
12985
12526
  return result;
12986
12527
  }
12987
12528
  }
12988
- var SingleQuote$0 = $TV($EXPECT($L133, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
12529
+ var SingleQuote$0 = $TV($EXPECT($L134, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
12989
12530
  return { $loc, token: $1 };
12990
12531
  });
12991
12532
  function SingleQuote(state) {
@@ -13035,10 +12576,10 @@ ${input.slice(result.pos)}
13035
12576
  return result;
13036
12577
  }
13037
12578
  }
13038
- var Static$0 = $TS($S($EXPECT($L134, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12579
+ var Static$0 = $TS($S($EXPECT($L135, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13039
12580
  return { $loc, token: $1 };
13040
12581
  });
13041
- var Static$1 = $TS($S($EXPECT($L93, fail, 'Static "@"'), $N($C($EXPECT($L125, fail, 'Static "("'), $EXPECT($L93, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
12582
+ var Static$1 = $TS($S($EXPECT($L94, fail, 'Static "@"'), $N($C($EXPECT($L126, fail, 'Static "("'), $EXPECT($L94, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
13042
12583
  return { $loc, token: "static " };
13043
12584
  });
13044
12585
  function Static(state) {
@@ -13063,7 +12604,7 @@ ${input.slice(result.pos)}
13063
12604
  return result;
13064
12605
  }
13065
12606
  }
13066
- var SubstitutionStart$0 = $TV($EXPECT($L135, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
12607
+ var SubstitutionStart$0 = $TV($EXPECT($L136, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
13067
12608
  return { $loc, token: $1 };
13068
12609
  });
13069
12610
  function SubstitutionStart(state) {
@@ -13088,7 +12629,7 @@ ${input.slice(result.pos)}
13088
12629
  return result;
13089
12630
  }
13090
12631
  }
13091
- var Switch$0 = $TS($S($EXPECT($L136, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12632
+ var Switch$0 = $TS($S($EXPECT($L137, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13092
12633
  return { $loc, token: $1 };
13093
12634
  });
13094
12635
  function Switch(state) {
@@ -13113,7 +12654,7 @@ ${input.slice(result.pos)}
13113
12654
  return result;
13114
12655
  }
13115
12656
  }
13116
- var Target$0 = $TS($S($EXPECT($L137, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12657
+ var Target$0 = $TS($S($EXPECT($L138, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13117
12658
  return { $loc, token: $1 };
13118
12659
  });
13119
12660
  function Target(state) {
@@ -13138,7 +12679,7 @@ ${input.slice(result.pos)}
13138
12679
  return result;
13139
12680
  }
13140
12681
  }
13141
- var Then$0 = $TS($S(__, $EXPECT($L138, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
12682
+ var Then$0 = $TS($S(__, $EXPECT($L139, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
13142
12683
  return { $loc, token: "" };
13143
12684
  });
13144
12685
  function Then(state) {
@@ -13163,7 +12704,7 @@ ${input.slice(result.pos)}
13163
12704
  return result;
13164
12705
  }
13165
12706
  }
13166
- var This$0 = $TS($S($EXPECT($L139, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12707
+ var This$0 = $TS($S($EXPECT($L140, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13167
12708
  return { $loc, token: $1 };
13168
12709
  });
13169
12710
  function This(state) {
@@ -13188,7 +12729,7 @@ ${input.slice(result.pos)}
13188
12729
  return result;
13189
12730
  }
13190
12731
  }
13191
- var Throw$0 = $TS($S($EXPECT($L140, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12732
+ var Throw$0 = $TS($S($EXPECT($L141, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13192
12733
  return { $loc, token: $1 };
13193
12734
  });
13194
12735
  function Throw(state) {
@@ -13213,7 +12754,7 @@ ${input.slice(result.pos)}
13213
12754
  return result;
13214
12755
  }
13215
12756
  }
13216
- var TripleDoubleQuote$0 = $TV($EXPECT($L141, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
12757
+ var TripleDoubleQuote$0 = $TV($EXPECT($L142, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
13217
12758
  return { $loc, token: "`" };
13218
12759
  });
13219
12760
  function TripleDoubleQuote(state) {
@@ -13238,7 +12779,7 @@ ${input.slice(result.pos)}
13238
12779
  return result;
13239
12780
  }
13240
12781
  }
13241
- var TripleSingleQuote$0 = $TV($EXPECT($L142, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
12782
+ var TripleSingleQuote$0 = $TV($EXPECT($L143, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
13242
12783
  return { $loc, token: "`" };
13243
12784
  });
13244
12785
  function TripleSingleQuote(state) {
@@ -13263,7 +12804,7 @@ ${input.slice(result.pos)}
13263
12804
  return result;
13264
12805
  }
13265
12806
  }
13266
- var TripleSlash$0 = $TV($EXPECT($L143, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
12807
+ var TripleSlash$0 = $TV($EXPECT($L144, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
13267
12808
  return { $loc, token: "/" };
13268
12809
  });
13269
12810
  function TripleSlash(state) {
@@ -13288,7 +12829,7 @@ ${input.slice(result.pos)}
13288
12829
  return result;
13289
12830
  }
13290
12831
  }
13291
- var TripleTick$0 = $TV($EXPECT($L144, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
12832
+ var TripleTick$0 = $TV($EXPECT($L145, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
13292
12833
  return { $loc, token: "`" };
13293
12834
  });
13294
12835
  function TripleTick(state) {
@@ -13313,7 +12854,7 @@ ${input.slice(result.pos)}
13313
12854
  return result;
13314
12855
  }
13315
12856
  }
13316
- var Try$0 = $TS($S($EXPECT($L145, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12857
+ var Try$0 = $TS($S($EXPECT($L146, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13317
12858
  return { $loc, token: $1 };
13318
12859
  });
13319
12860
  function Try(state) {
@@ -13338,7 +12879,7 @@ ${input.slice(result.pos)}
13338
12879
  return result;
13339
12880
  }
13340
12881
  }
13341
- var Typeof$0 = $TS($S($EXPECT($L146, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12882
+ var Typeof$0 = $TS($S($EXPECT($L147, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13342
12883
  return { $loc, token: $1 };
13343
12884
  });
13344
12885
  function Typeof(state) {
@@ -13363,7 +12904,7 @@ ${input.slice(result.pos)}
13363
12904
  return result;
13364
12905
  }
13365
12906
  }
13366
- var Unless$0 = $TS($S($EXPECT($L147, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12907
+ var Unless$0 = $TS($S($EXPECT($L148, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13367
12908
  return { $loc, token: $1 };
13368
12909
  });
13369
12910
  function Unless(state) {
@@ -13388,7 +12929,7 @@ ${input.slice(result.pos)}
13388
12929
  return result;
13389
12930
  }
13390
12931
  }
13391
- var Until$0 = $TS($S($EXPECT($L148, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12932
+ var Until$0 = $TS($S($EXPECT($L149, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13392
12933
  return { $loc, token: $1 };
13393
12934
  });
13394
12935
  function Until(state) {
@@ -13413,7 +12954,7 @@ ${input.slice(result.pos)}
13413
12954
  return result;
13414
12955
  }
13415
12956
  }
13416
- var Var$0 = $TS($S($EXPECT($L149, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12957
+ var Var$0 = $TS($S($EXPECT($L150, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13417
12958
  return { $loc, token: $1 };
13418
12959
  });
13419
12960
  function Var(state) {
@@ -13438,7 +12979,7 @@ ${input.slice(result.pos)}
13438
12979
  return result;
13439
12980
  }
13440
12981
  }
13441
- var Void$0 = $TS($S($EXPECT($L150, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12982
+ var Void$0 = $TS($S($EXPECT($L151, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13442
12983
  return { $loc, token: $1 };
13443
12984
  });
13444
12985
  function Void(state) {
@@ -13463,7 +13004,7 @@ ${input.slice(result.pos)}
13463
13004
  return result;
13464
13005
  }
13465
13006
  }
13466
- var When$0 = $TS($S($EXPECT($L151, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13007
+ var When$0 = $TS($S($EXPECT($L152, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13467
13008
  return { $loc, token: "case" };
13468
13009
  });
13469
13010
  function When(state) {
@@ -13488,7 +13029,7 @@ ${input.slice(result.pos)}
13488
13029
  return result;
13489
13030
  }
13490
13031
  }
13491
- var While$0 = $TS($S($EXPECT($L152, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13032
+ var While$0 = $TS($S($EXPECT($L153, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13492
13033
  return { $loc, token: $1 };
13493
13034
  });
13494
13035
  function While(state) {
@@ -13513,7 +13054,7 @@ ${input.slice(result.pos)}
13513
13054
  return result;
13514
13055
  }
13515
13056
  }
13516
- var Yield$0 = $TS($S($EXPECT($L153, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13057
+ var Yield$0 = $TS($S($EXPECT($L154, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13517
13058
  return { $loc, token: $1 };
13518
13059
  });
13519
13060
  function Yield(state) {
@@ -13659,7 +13200,7 @@ ${input.slice(result.pos)}
13659
13200
  return result;
13660
13201
  }
13661
13202
  }
13662
- var JSXSelfClosingElement$0 = $TS($S($EXPECT($L122, fail, 'JSXSelfClosingElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L154, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
13203
+ var JSXSelfClosingElement$0 = $TS($S($EXPECT($L123, fail, 'JSXSelfClosingElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L155, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
13663
13204
  return { type: "JSXElement", children: $0, tag: $2 };
13664
13205
  });
13665
13206
  function JSXSelfClosingElement(state) {
@@ -13710,7 +13251,7 @@ ${input.slice(result.pos)}
13710
13251
  return result;
13711
13252
  }
13712
13253
  }
13713
- var JSXOpeningElement$0 = $S($EXPECT($L122, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L27, fail, 'JSXOpeningElement ">"'));
13254
+ var JSXOpeningElement$0 = $S($EXPECT($L123, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L27, fail, 'JSXOpeningElement ">"'));
13714
13255
  function JSXOpeningElement(state) {
13715
13256
  let eventData;
13716
13257
  if (state.events) {
@@ -13762,7 +13303,7 @@ ${input.slice(result.pos)}
13762
13303
  return result;
13763
13304
  }
13764
13305
  }
13765
- var JSXClosingElement$0 = $S($EXPECT($L155, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L27, fail, 'JSXClosingElement ">"'));
13306
+ var JSXClosingElement$0 = $S($EXPECT($L156, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L27, fail, 'JSXClosingElement ">"'));
13766
13307
  function JSXClosingElement(state) {
13767
13308
  let eventData;
13768
13309
  if (state.events) {
@@ -13801,7 +13342,7 @@ ${input.slice(result.pos)}
13801
13342
  ];
13802
13343
  return { type: "JSXFragment", children: parts, jsxChildren: children.jsxChildren };
13803
13344
  });
13804
- var JSXFragment$1 = $TS($S(CoffeeJSXEnabled, $EXPECT($L156, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), JSXClosingFragment), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
13345
+ var JSXFragment$1 = $TS($S(CoffeeJSXEnabled, $EXPECT($L157, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), JSXClosingFragment), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
13805
13346
  var children = $3;
13806
13347
  $0 = $0.slice(1);
13807
13348
  return {
@@ -13832,7 +13373,7 @@ ${input.slice(result.pos)}
13832
13373
  return result;
13833
13374
  }
13834
13375
  }
13835
- var PushJSXOpeningFragment$0 = $TV($EXPECT($L156, fail, 'PushJSXOpeningFragment "<>"'), function($skip, $loc, $0, $1) {
13376
+ var PushJSXOpeningFragment$0 = $TV($EXPECT($L157, fail, 'PushJSXOpeningFragment "<>"'), function($skip, $loc, $0, $1) {
13836
13377
  module.JSXTagStack.push("");
13837
13378
  return $1;
13838
13379
  });
@@ -13886,7 +13427,7 @@ ${input.slice(result.pos)}
13886
13427
  return result;
13887
13428
  }
13888
13429
  }
13889
- var JSXClosingFragment$0 = $EXPECT($L157, fail, 'JSXClosingFragment "</>"');
13430
+ var JSXClosingFragment$0 = $EXPECT($L158, fail, 'JSXClosingFragment "</>"');
13890
13431
  function JSXClosingFragment(state) {
13891
13432
  let eventData;
13892
13433
  if (state.events) {
@@ -14763,7 +14304,7 @@ ${input.slice(result.pos)}
14763
14304
  return result;
14764
14305
  }
14765
14306
  }
14766
- var JSXComment$0 = $TS($S($EXPECT($L158, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L159, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
14307
+ var JSXComment$0 = $TS($S($EXPECT($L159, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L160, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
14767
14308
  return ["{/*", $2, "*/}"];
14768
14309
  });
14769
14310
  function JSXComment(state) {
@@ -14940,7 +14481,7 @@ ${input.slice(result.pos)}
14940
14481
  return result;
14941
14482
  }
14942
14483
  }
14943
- var TypeDeclarationModifier$0 = $S($EXPECT($L160, fail, 'TypeDeclarationModifier "declare"'), NonIdContinue);
14484
+ var TypeDeclarationModifier$0 = $S($EXPECT($L161, fail, 'TypeDeclarationModifier "declare"'), NonIdContinue);
14944
14485
  var TypeDeclarationModifier$1 = Export;
14945
14486
  function TypeDeclarationModifier(state) {
14946
14487
  let eventData;
@@ -15036,7 +14577,7 @@ ${input.slice(result.pos)}
15036
14577
  return result;
15037
14578
  }
15038
14579
  }
15039
- var TypeKeyword$0 = $S($EXPECT($L161, fail, 'TypeKeyword "type"'), NonIdContinue);
14580
+ var TypeKeyword$0 = $S($EXPECT($L162, fail, 'TypeKeyword "type"'), NonIdContinue);
15040
14581
  function TypeKeyword(state) {
15041
14582
  let eventData;
15042
14583
  if (state.events) {
@@ -15059,7 +14600,7 @@ ${input.slice(result.pos)}
15059
14600
  return result;
15060
14601
  }
15061
14602
  }
15062
- var Interface$0 = $S($EXPECT($L162, fail, 'Interface "interface"'), NonIdContinue);
14603
+ var Interface$0 = $S($EXPECT($L163, fail, 'Interface "interface"'), NonIdContinue);
15063
14604
  function Interface(state) {
15064
14605
  let eventData;
15065
14606
  if (state.events) {
@@ -15082,7 +14623,7 @@ ${input.slice(result.pos)}
15082
14623
  return result;
15083
14624
  }
15084
14625
  }
15085
- var Namespace$0 = $S($EXPECT($L163, fail, 'Namespace "namespace"'), NonIdContinue);
14626
+ var Namespace$0 = $S($EXPECT($L164, fail, 'Namespace "namespace"'), NonIdContinue);
15086
14627
  function Namespace(state) {
15087
14628
  let eventData;
15088
14629
  if (state.events) {
@@ -15307,7 +14848,7 @@ ${input.slice(result.pos)}
15307
14848
  return result;
15308
14849
  }
15309
14850
  }
15310
- var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R50, fail, "TypeIndexSignature /[+-]?/")), $EXPECT($L130, fail, 'TypeIndexSignature "readonly"'), __)), OpenBracket, TypeIndex, CloseBracket, $E($S(__, $R$0($EXPECT($R51, fail, "TypeIndexSignature /[+-]/")), QuestionMark)));
14851
+ var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R50, fail, "TypeIndexSignature /[+-]?/")), $EXPECT($L131, fail, 'TypeIndexSignature "readonly"'), __)), OpenBracket, TypeIndex, CloseBracket, $E($S(__, $R$0($EXPECT($R51, fail, "TypeIndexSignature /[+-]/")), QuestionMark)));
15311
14852
  function TypeIndexSignature(state) {
15312
14853
  let eventData;
15313
14854
  if (state.events) {
@@ -15379,7 +14920,7 @@ ${input.slice(result.pos)}
15379
14920
  return result;
15380
14921
  }
15381
14922
  }
15382
- var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L164, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
14923
+ var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L165, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
15383
14924
  const children = [...$1, $2];
15384
14925
  if ($3)
15385
14926
  children.push($3);
@@ -15538,10 +15079,10 @@ ${input.slice(result.pos)}
15538
15079
  return result;
15539
15080
  }
15540
15081
  }
15541
- var TypeUnaryOp$0 = $S($EXPECT($L165, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
15542
- var TypeUnaryOp$1 = $S($EXPECT($L146, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
15543
- var TypeUnaryOp$2 = $S($EXPECT($L166, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
15544
- var TypeUnaryOp$3 = $S($EXPECT($L130, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
15082
+ var TypeUnaryOp$0 = $S($EXPECT($L166, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
15083
+ var TypeUnaryOp$1 = $S($EXPECT($L147, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
15084
+ var TypeUnaryOp$2 = $S($EXPECT($L167, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
15085
+ var TypeUnaryOp$3 = $S($EXPECT($L131, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
15545
15086
  function TypeUnaryOp(state) {
15546
15087
  let eventData;
15547
15088
  if (state.events) {
@@ -15564,7 +15105,7 @@ ${input.slice(result.pos)}
15564
15105
  return result;
15565
15106
  }
15566
15107
  }
15567
- var TypeIndexedAccess$0 = $S(__, OpenBracket, $E(Type), __, CloseBracket);
15108
+ var TypeIndexedAccess$0 = $S(OpenBracket, $E(Type), __, CloseBracket);
15568
15109
  function TypeIndexedAccess(state) {
15569
15110
  let eventData;
15570
15111
  if (state.events) {
@@ -15589,11 +15130,11 @@ ${input.slice(result.pos)}
15589
15130
  }
15590
15131
  var TypePrimary$0 = InterfaceBlock;
15591
15132
  var TypePrimary$1 = $S(__, OpenParen, Type, __, CloseParen);
15592
- var TypePrimary$2 = $S(__, TypeTuple);
15593
- var TypePrimary$3 = $S($Q(_), ImportType);
15594
- var TypePrimary$4 = $S($Q(_), FunctionType);
15595
- var TypePrimary$5 = $S($Q(_), TypeLiteral);
15596
- var TypePrimary$6 = $S($Q(_), IdentifierName, $Q($S(Dot, IdentifierName)), $E(TypeArguments));
15133
+ var TypePrimary$2 = $S($E(_), TypeTuple);
15134
+ var TypePrimary$3 = $S($E(_), ImportType);
15135
+ var TypePrimary$4 = $S($E(_), FunctionType);
15136
+ var TypePrimary$5 = $S($E(_), TypeLiteral);
15137
+ var TypePrimary$6 = $S($E(_), IdentifierName, $Q($S(Dot, IdentifierName)), $E(TypeArguments));
15597
15138
  function TypePrimary(state) {
15598
15139
  let eventData;
15599
15140
  if (state.events) {
@@ -15738,7 +15279,7 @@ ${input.slice(result.pos)}
15738
15279
  return result;
15739
15280
  }
15740
15281
  }
15741
- var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L111, fail, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
15282
+ var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L112, fail, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
15742
15283
  if ($2)
15743
15284
  return $0;
15744
15285
  return $1;
@@ -15767,10 +15308,10 @@ ${input.slice(result.pos)}
15767
15308
  }
15768
15309
  var TypeLiteral$0 = Literal;
15769
15310
  var TypeLiteral$1 = TemplateLiteral;
15770
- var TypeLiteral$2 = $TS($S($EXPECT($L150, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15311
+ var TypeLiteral$2 = $TS($S($EXPECT($L151, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15771
15312
  return { $loc, token: "void" };
15772
15313
  });
15773
- var TypeLiteral$3 = $TV($EXPECT($L167, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
15314
+ var TypeLiteral$3 = $TV($EXPECT($L168, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
15774
15315
  return { $loc, token: "[]" };
15775
15316
  });
15776
15317
  function TypeLiteral(state) {
@@ -15852,7 +15393,7 @@ ${input.slice(result.pos)}
15852
15393
  return result;
15853
15394
  }
15854
15395
  }
15855
- var TypeArguments$0 = $TS($S($EXPECT($L122, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L27, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
15396
+ var TypeArguments$0 = $TS($S($EXPECT($L123, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L27, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
15856
15397
  return { ts: true, children: $0 };
15857
15398
  });
15858
15399
  function TypeArguments(state) {
@@ -15923,7 +15464,7 @@ ${input.slice(result.pos)}
15923
15464
  return result;
15924
15465
  }
15925
15466
  }
15926
- var TypeParameters$0 = $TS($S(__, $EXPECT($L122, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L27, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
15467
+ var TypeParameters$0 = $TS($S(__, $EXPECT($L123, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L27, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
15927
15468
  var parameters = $3;
15928
15469
  return {
15929
15470
  type: "TypeParameters",
@@ -15977,7 +15518,7 @@ ${input.slice(result.pos)}
15977
15518
  return result;
15978
15519
  }
15979
15520
  }
15980
- var TypeConstraint$0 = $S(__, $EXPECT($L111, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
15521
+ var TypeConstraint$0 = $S(__, $EXPECT($L112, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
15981
15522
  function TypeConstraint(state) {
15982
15523
  let eventData;
15983
15524
  if (state.events) {
@@ -16128,7 +15669,7 @@ ${input.slice(result.pos)}
16128
15669
  return result;
16129
15670
  }
16130
15671
  }
16131
- var CivetPrologueContent$0 = $TS($S($EXPECT($L168, fail, 'CivetPrologueContent "civet"'), NonIdContinue, $Q(CivetOption), $EXPECT($R54, fail, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3, $4) {
15672
+ var CivetPrologueContent$0 = $TS($S($EXPECT($L169, fail, 'CivetPrologueContent "civet"'), NonIdContinue, $Q(CivetOption), $EXPECT($R54, fail, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3, $4) {
16132
15673
  var options = $3;
16133
15674
  return {
16134
15675
  type: "CivetPrologue",