@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.js CHANGED
@@ -529,20 +529,6 @@ ${input.slice(result.pos)}
529
529
  BindingElement,
530
530
  BindingRestElement,
531
531
  EmptyBindingPattern,
532
- MatchingPattern,
533
- ObjectMatchingPattern,
534
- ObjectMatchingPatternContent,
535
- NestedMatchingProperties,
536
- NestedMatchingProperty,
537
- MatchingProperty,
538
- NestedMatchingRestProperty,
539
- MatchingRestProperty,
540
- ArrayMatchingPattern,
541
- ArrayMatchingPatternContent,
542
- NestedMatchingElements,
543
- NestedMatchingElement,
544
- MatchingElement,
545
- MatchingRestElement,
546
532
  FunctionDeclaration,
547
533
  FunctionSignature,
548
534
  FunctionExpression,
@@ -678,6 +664,7 @@ ${input.slice(result.pos)}
678
664
  NameSpaceImport,
679
665
  NamedImports,
680
666
  FromClause,
667
+ ImportAssertion,
681
668
  TypeAndImportSpecifier,
682
669
  ImportSpecifier,
683
670
  ImportAsToken,
@@ -1054,90 +1041,91 @@ ${input.slice(result.pos)}
1054
1041
  var $L82 = $L("break");
1055
1042
  var $L83 = $L("continue");
1056
1043
  var $L84 = $L("debugger");
1057
- var $L85 = $L("default");
1058
- var $L86 = $L(":=");
1059
- var $L87 = $L(".=");
1060
- var $L88 = $L("/*");
1061
- var $L89 = $L("*/");
1062
- var $L90 = $L("\\");
1063
- var $L91 = $L("abstract");
1064
- var $L92 = $L("as");
1065
- var $L93 = $L("@");
1066
- var $L94 = $L("@@");
1067
- var $L95 = $L("async");
1068
- var $L96 = $L("await");
1069
- var $L97 = $L("`");
1070
- var $L98 = $L("by");
1071
- var $L99 = $L("case");
1072
- var $L100 = $L("catch");
1073
- var $L101 = $L("class");
1074
- var $L102 = $L("#{");
1075
- var $L103 = $L("delete");
1076
- var $L104 = $L("do");
1077
- var $L105 = $L("..");
1078
- var $L106 = $L("...");
1079
- var $L107 = $L("::");
1080
- var $L108 = $L('"');
1081
- var $L109 = $L("else");
1082
- var $L110 = $L("export");
1083
- var $L111 = $L("extends");
1084
- var $L112 = $L("for");
1085
- var $L113 = $L("from");
1086
- var $L114 = $L("function");
1087
- var $L115 = $L("get");
1088
- var $L116 = $L("set");
1089
- var $L117 = $L("if");
1090
- var $L118 = $L("let");
1091
- var $L119 = $L("const");
1092
- var $L120 = $L("loop");
1093
- var $L121 = $L("new");
1094
- var $L122 = $L("<");
1095
- var $L123 = $L("{");
1096
- var $L124 = $L("[");
1097
- var $L125 = $L("(");
1098
- var $L126 = $L("public");
1099
- var $L127 = $L("private");
1100
- var $L128 = $L("protected");
1101
- var $L129 = $L("|>");
1102
- var $L130 = $L("readonly");
1103
- var $L131 = $L("return");
1104
- var $L132 = $L("satisfies");
1105
- var $L133 = $L("'");
1106
- var $L134 = $L("static");
1107
- var $L135 = $L("${");
1108
- var $L136 = $L("switch");
1109
- var $L137 = $L("target");
1110
- var $L138 = $L("then");
1111
- var $L139 = $L("this");
1112
- var $L140 = $L("throw");
1113
- var $L141 = $L('"""');
1114
- var $L142 = $L("'''");
1115
- var $L143 = $L("///");
1116
- var $L144 = $L("```");
1117
- var $L145 = $L("try");
1118
- var $L146 = $L("typeof");
1119
- var $L147 = $L("unless");
1120
- var $L148 = $L("until");
1121
- var $L149 = $L("var");
1122
- var $L150 = $L("void");
1123
- var $L151 = $L("when");
1124
- var $L152 = $L("while");
1125
- var $L153 = $L("yield");
1126
- var $L154 = $L("/>");
1127
- var $L155 = $L("</");
1128
- var $L156 = $L("<>");
1129
- var $L157 = $L("</>");
1130
- var $L158 = $L("<!--");
1131
- var $L159 = $L("-->");
1132
- var $L160 = $L("declare");
1133
- var $L161 = $L("type");
1134
- var $L162 = $L("interface");
1135
- var $L163 = $L("namespace");
1136
- var $L164 = $L("asserts");
1137
- var $L165 = $L("keyof");
1138
- var $L166 = $L("infer");
1139
- var $L167 = $L("[]");
1140
- var $L168 = $L("civet");
1044
+ var $L85 = $L("assert");
1045
+ var $L86 = $L("default");
1046
+ var $L87 = $L(":=");
1047
+ var $L88 = $L(".=");
1048
+ var $L89 = $L("/*");
1049
+ var $L90 = $L("*/");
1050
+ var $L91 = $L("\\");
1051
+ var $L92 = $L("abstract");
1052
+ var $L93 = $L("as");
1053
+ var $L94 = $L("@");
1054
+ var $L95 = $L("@@");
1055
+ var $L96 = $L("async");
1056
+ var $L97 = $L("await");
1057
+ var $L98 = $L("`");
1058
+ var $L99 = $L("by");
1059
+ var $L100 = $L("case");
1060
+ var $L101 = $L("catch");
1061
+ var $L102 = $L("class");
1062
+ var $L103 = $L("#{");
1063
+ var $L104 = $L("delete");
1064
+ var $L105 = $L("do");
1065
+ var $L106 = $L("..");
1066
+ var $L107 = $L("...");
1067
+ var $L108 = $L("::");
1068
+ var $L109 = $L('"');
1069
+ var $L110 = $L("else");
1070
+ var $L111 = $L("export");
1071
+ var $L112 = $L("extends");
1072
+ var $L113 = $L("for");
1073
+ var $L114 = $L("from");
1074
+ var $L115 = $L("function");
1075
+ var $L116 = $L("get");
1076
+ var $L117 = $L("set");
1077
+ var $L118 = $L("if");
1078
+ var $L119 = $L("let");
1079
+ var $L120 = $L("const");
1080
+ var $L121 = $L("loop");
1081
+ var $L122 = $L("new");
1082
+ var $L123 = $L("<");
1083
+ var $L124 = $L("{");
1084
+ var $L125 = $L("[");
1085
+ var $L126 = $L("(");
1086
+ var $L127 = $L("public");
1087
+ var $L128 = $L("private");
1088
+ var $L129 = $L("protected");
1089
+ var $L130 = $L("|>");
1090
+ var $L131 = $L("readonly");
1091
+ var $L132 = $L("return");
1092
+ var $L133 = $L("satisfies");
1093
+ var $L134 = $L("'");
1094
+ var $L135 = $L("static");
1095
+ var $L136 = $L("${");
1096
+ var $L137 = $L("switch");
1097
+ var $L138 = $L("target");
1098
+ var $L139 = $L("then");
1099
+ var $L140 = $L("this");
1100
+ var $L141 = $L("throw");
1101
+ var $L142 = $L('"""');
1102
+ var $L143 = $L("'''");
1103
+ var $L144 = $L("///");
1104
+ var $L145 = $L("```");
1105
+ var $L146 = $L("try");
1106
+ var $L147 = $L("typeof");
1107
+ var $L148 = $L("unless");
1108
+ var $L149 = $L("until");
1109
+ var $L150 = $L("var");
1110
+ var $L151 = $L("void");
1111
+ var $L152 = $L("when");
1112
+ var $L153 = $L("while");
1113
+ var $L154 = $L("yield");
1114
+ var $L155 = $L("/>");
1115
+ var $L156 = $L("</");
1116
+ var $L157 = $L("<>");
1117
+ var $L158 = $L("</>");
1118
+ var $L159 = $L("<!--");
1119
+ var $L160 = $L("-->");
1120
+ var $L161 = $L("declare");
1121
+ var $L162 = $L("type");
1122
+ var $L163 = $L("interface");
1123
+ var $L164 = $L("namespace");
1124
+ var $L165 = $L("asserts");
1125
+ var $L166 = $L("keyof");
1126
+ var $L167 = $L("infer");
1127
+ var $L168 = $L("[]");
1128
+ var $L169 = $L("civet");
1141
1129
  var $R0 = $R(new RegExp("(as|for|of|satisfies|then|when)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
1142
1130
  var $R1 = $R(new RegExp("[&]", "suy"));
1143
1131
  var $R2 = $R(new RegExp("[!~+-]+", "suy"));
@@ -4347,492 +4335,6 @@ ${input.slice(result.pos)}
4347
4335
  return result;
4348
4336
  }
4349
4337
  }
4350
- var MatchingPattern$0 = ObjectMatchingPattern;
4351
- var MatchingPattern$1 = ArrayMatchingPattern;
4352
- var MatchingPattern$2 = Literal;
4353
- var MatchingPattern$3 = RegularExpressionLiteral;
4354
- function MatchingPattern(state) {
4355
- let eventData;
4356
- if (state.events) {
4357
- const result = state.events.enter?.("MatchingPattern", state);
4358
- if (result) {
4359
- if (result.cache)
4360
- return result.cache;
4361
- eventData = result.data;
4362
- }
4363
- }
4364
- if (state.tokenize) {
4365
- const result = $TOKEN("MatchingPattern", state, MatchingPattern$0(state) || MatchingPattern$1(state) || MatchingPattern$2(state) || MatchingPattern$3(state));
4366
- if (state.events)
4367
- state.events.exit?.("MatchingPattern", state, result, eventData);
4368
- return result;
4369
- } else {
4370
- const result = MatchingPattern$0(state) || MatchingPattern$1(state) || MatchingPattern$2(state) || MatchingPattern$3(state);
4371
- if (state.events)
4372
- state.events.exit?.("MatchingPattern", state, result, eventData);
4373
- return result;
4374
- }
4375
- }
4376
- var ObjectMatchingPattern$0 = $TS($S(OpenBrace, ObjectMatchingPatternContent, __, CloseBrace), function($skip, $loc, $0, $1, $2, $3, $4) {
4377
- var open = $1;
4378
- var content = $2;
4379
- var ws = $3;
4380
- var close = $4;
4381
- return {
4382
- type: "ObjectMatchingPattern",
4383
- children: [open, ...content.children, ...ws, close]
4384
- };
4385
- });
4386
- function ObjectMatchingPattern(state) {
4387
- let eventData;
4388
- if (state.events) {
4389
- const result = state.events.enter?.("ObjectMatchingPattern", state);
4390
- if (result) {
4391
- if (result.cache)
4392
- return result.cache;
4393
- eventData = result.data;
4394
- }
4395
- }
4396
- if (state.tokenize) {
4397
- const result = $TOKEN("ObjectMatchingPattern", state, ObjectMatchingPattern$0(state));
4398
- if (state.events)
4399
- state.events.exit?.("ObjectMatchingPattern", state, result, eventData);
4400
- return result;
4401
- } else {
4402
- const result = ObjectMatchingPattern$0(state);
4403
- if (state.events)
4404
- state.events.exit?.("ObjectMatchingPattern", state, result, eventData);
4405
- return result;
4406
- }
4407
- }
4408
- var ObjectMatchingPatternContent$0 = NestedMatchingProperties;
4409
- var ObjectMatchingPatternContent$1 = $TS($S($Q(MatchingProperty), $E(MatchingRestProperty), $Q(MatchingProperty)), function($skip, $loc, $0, $1, $2, $3) {
4410
- var props = $1;
4411
- var rest = $2;
4412
- var after = $3;
4413
- const names = props.flatMap((p) => p.names);
4414
- const children = [...props];
4415
- if (rest) {
4416
- [rest, after] = module2.reorderBindingRestProperty(rest, after);
4417
- children.push(...after, rest);
4418
- names.push(...after.flatMap((p) => p.names), ...rest.names);
4419
- }
4420
- return {
4421
- names,
4422
- children
4423
- };
4424
- });
4425
- function ObjectMatchingPatternContent(state) {
4426
- let eventData;
4427
- if (state.events) {
4428
- const result = state.events.enter?.("ObjectMatchingPatternContent", state);
4429
- if (result) {
4430
- if (result.cache)
4431
- return result.cache;
4432
- eventData = result.data;
4433
- }
4434
- }
4435
- if (state.tokenize) {
4436
- const result = $TOKEN("ObjectMatchingPatternContent", state, ObjectMatchingPatternContent$0(state) || ObjectMatchingPatternContent$1(state));
4437
- if (state.events)
4438
- state.events.exit?.("ObjectMatchingPatternContent", state, result, eventData);
4439
- return result;
4440
- } else {
4441
- const result = ObjectMatchingPatternContent$0(state) || ObjectMatchingPatternContent$1(state);
4442
- if (state.events)
4443
- state.events.exit?.("ObjectMatchingPatternContent", state, result, eventData);
4444
- return result;
4445
- }
4446
- }
4447
- var NestedMatchingProperties$0 = $TS($S(PushIndent, $Q(NestedMatchingProperty), $E(NestedMatchingRestProperty), $Q(NestedMatchingProperty), PopIndent), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
4448
- var props = $2;
4449
- var rest = $3;
4450
- var after = $4;
4451
- if (!(props.length || rest))
4452
- return $skip;
4453
- const names = props.flatMap((p) => p.names);
4454
- const children = [...props];
4455
- if (rest) {
4456
- [rest, after] = module2.reorderBindingRestProperty(rest, after);
4457
- children.push(...after, rest);
4458
- names.push(...after.flatMap((p) => p.names), ...rest.names);
4459
- }
4460
- return {
4461
- children,
4462
- names
4463
- };
4464
- });
4465
- function NestedMatchingProperties(state) {
4466
- let eventData;
4467
- if (state.events) {
4468
- const result = state.events.enter?.("NestedMatchingProperties", state);
4469
- if (result) {
4470
- if (result.cache)
4471
- return result.cache;
4472
- eventData = result.data;
4473
- }
4474
- }
4475
- if (state.tokenize) {
4476
- const result = $TOKEN("NestedMatchingProperties", state, NestedMatchingProperties$0(state));
4477
- if (state.events)
4478
- state.events.exit?.("NestedMatchingProperties", state, result, eventData);
4479
- return result;
4480
- } else {
4481
- const result = NestedMatchingProperties$0(state);
4482
- if (state.events)
4483
- state.events.exit?.("NestedMatchingProperties", state, result, eventData);
4484
- return result;
4485
- }
4486
- }
4487
- var NestedMatchingProperty$0 = $TS($S(Nested, MatchingProperty), function($skip, $loc, $0, $1, $2) {
4488
- var indent = $1;
4489
- var prop = $2;
4490
- return {
4491
- ...prop,
4492
- children: [...indent, ...prop.children]
4493
- };
4494
- });
4495
- function NestedMatchingProperty(state) {
4496
- let eventData;
4497
- if (state.events) {
4498
- const result = state.events.enter?.("NestedMatchingProperty", state);
4499
- if (result) {
4500
- if (result.cache)
4501
- return result.cache;
4502
- eventData = result.data;
4503
- }
4504
- }
4505
- if (state.tokenize) {
4506
- const result = $TOKEN("NestedMatchingProperty", state, NestedMatchingProperty$0(state));
4507
- if (state.events)
4508
- state.events.exit?.("NestedMatchingProperty", state, result, eventData);
4509
- return result;
4510
- } else {
4511
- const result = NestedMatchingProperty$0(state);
4512
- if (state.events)
4513
- state.events.exit?.("NestedMatchingProperty", state, result, eventData);
4514
- return result;
4515
- }
4516
- }
4517
- var MatchingProperty$0 = $TS($S(__, PropertyName, __, Colon, $C(BindingIdentifier, MatchingPattern), ObjectPropertyDelimiter), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
4518
- var m = $5;
4519
- return {
4520
- names: m.names,
4521
- children: $0
4522
- };
4523
- });
4524
- var MatchingProperty$1 = $TS($S(BindingIdentifier, ObjectPropertyDelimiter), function($skip, $loc, $0, $1, $2) {
4525
- var b = $1;
4526
- if (b.type === "AtBinding") {
4527
- return {
4528
- type: "AtBindingProperty",
4529
- ref: b.ref,
4530
- names: [],
4531
- children: $0
4532
- };
4533
- }
4534
- return {
4535
- names: b.names,
4536
- children: $0
4537
- };
4538
- });
4539
- function MatchingProperty(state) {
4540
- let eventData;
4541
- if (state.events) {
4542
- const result = state.events.enter?.("MatchingProperty", state);
4543
- if (result) {
4544
- if (result.cache)
4545
- return result.cache;
4546
- eventData = result.data;
4547
- }
4548
- }
4549
- if (state.tokenize) {
4550
- const result = $TOKEN("MatchingProperty", state, MatchingProperty$0(state) || MatchingProperty$1(state));
4551
- if (state.events)
4552
- state.events.exit?.("MatchingProperty", state, result, eventData);
4553
- return result;
4554
- } else {
4555
- const result = MatchingProperty$0(state) || MatchingProperty$1(state);
4556
- if (state.events)
4557
- state.events.exit?.("MatchingProperty", state, result, eventData);
4558
- return result;
4559
- }
4560
- }
4561
- var NestedMatchingRestProperty$0 = $TS($S(Nested, MatchingRestProperty), function($skip, $loc, $0, $1, $2) {
4562
- var indent = $1;
4563
- var prop = $2;
4564
- return {
4565
- ...prop,
4566
- children: [indent, ...prop.children]
4567
- };
4568
- });
4569
- function NestedMatchingRestProperty(state) {
4570
- let eventData;
4571
- if (state.events) {
4572
- const result = state.events.enter?.("NestedMatchingRestProperty", state);
4573
- if (result) {
4574
- if (result.cache)
4575
- return result.cache;
4576
- eventData = result.data;
4577
- }
4578
- }
4579
- if (state.tokenize) {
4580
- const result = $TOKEN("NestedMatchingRestProperty", state, NestedMatchingRestProperty$0(state));
4581
- if (state.events)
4582
- state.events.exit?.("NestedMatchingRestProperty", state, result, eventData);
4583
- return result;
4584
- } else {
4585
- const result = NestedMatchingRestProperty$0(state);
4586
- if (state.events)
4587
- state.events.exit?.("NestedMatchingRestProperty", state, result, eventData);
4588
- return result;
4589
- }
4590
- }
4591
- var MatchingRestProperty$0 = BindingRestProperty;
4592
- function MatchingRestProperty(state) {
4593
- let eventData;
4594
- if (state.events) {
4595
- const result = state.events.enter?.("MatchingRestProperty", state);
4596
- if (result) {
4597
- if (result.cache)
4598
- return result.cache;
4599
- eventData = result.data;
4600
- }
4601
- }
4602
- if (state.tokenize) {
4603
- const result = $TOKEN("MatchingRestProperty", state, MatchingRestProperty$0(state));
4604
- if (state.events)
4605
- state.events.exit?.("MatchingRestProperty", state, result, eventData);
4606
- return result;
4607
- } else {
4608
- const result = MatchingRestProperty$0(state);
4609
- if (state.events)
4610
- state.events.exit?.("MatchingRestProperty", state, result, eventData);
4611
- return result;
4612
- }
4613
- }
4614
- var ArrayMatchingPattern$0 = $TS($S(OpenBracket, ArrayMatchingPatternContent, __, CloseBracket), function($skip, $loc, $0, $1, $2, $3, $4) {
4615
- var open = $1;
4616
- var content = $2;
4617
- var ws = $3;
4618
- var close = $4;
4619
- return {
4620
- type: "ArrayMatchingPattern",
4621
- children: $0
4622
- };
4623
- });
4624
- function ArrayMatchingPattern(state) {
4625
- let eventData;
4626
- if (state.events) {
4627
- const result = state.events.enter?.("ArrayMatchingPattern", state);
4628
- if (result) {
4629
- if (result.cache)
4630
- return result.cache;
4631
- eventData = result.data;
4632
- }
4633
- }
4634
- if (state.tokenize) {
4635
- const result = $TOKEN("ArrayMatchingPattern", state, ArrayMatchingPattern$0(state));
4636
- if (state.events)
4637
- state.events.exit?.("ArrayMatchingPattern", state, result, eventData);
4638
- return result;
4639
- } else {
4640
- const result = ArrayMatchingPattern$0(state);
4641
- if (state.events)
4642
- state.events.exit?.("ArrayMatchingPattern", state, result, eventData);
4643
- return result;
4644
- }
4645
- }
4646
- var ArrayMatchingPatternContent$0 = NestedMatchingElements;
4647
- var ArrayMatchingPatternContent$1 = $TS($S($Q($C(MatchingElement, Elision)), $E($S(MatchingRestElement, ArrayElementDelimiter)), $Q($C(MatchingElement, Elision))), function($skip, $loc, $0, $1, $2, $3) {
4648
- var props = $1;
4649
- var rest = $2;
4650
- var after = $3;
4651
- const names = props.flatMap((p) => p.names || []);
4652
- const children = [...props];
4653
- let blockPrefix;
4654
- if (rest) {
4655
- const [restBinding] = rest;
4656
- children.push(restBinding);
4657
- let restIdentifier;
4658
- if (restBinding.ref) {
4659
- restIdentifier = restBinding.ref;
4660
- } else {
4661
- restIdentifier = restBinding.names[0];
4662
- names.push(...restBinding.names);
4663
- }
4664
- if (after.length) {
4665
- const spliceRef = module2.getRef("splice");
4666
- blockPrefix = {
4667
- children: ["[", module2.insertTrimmingSpace(after, ""), "] = ", spliceRef, ".call(", restIdentifier, ", -", after.length.toString(), ")"],
4668
- names: after.flatMap((p) => p.names)
4669
- };
4670
- }
4671
- }
4672
- return {
4673
- names,
4674
- children,
4675
- blockPrefix
4676
- };
4677
- });
4678
- function ArrayMatchingPatternContent(state) {
4679
- let eventData;
4680
- if (state.events) {
4681
- const result = state.events.enter?.("ArrayMatchingPatternContent", state);
4682
- if (result) {
4683
- if (result.cache)
4684
- return result.cache;
4685
- eventData = result.data;
4686
- }
4687
- }
4688
- if (state.tokenize) {
4689
- const result = $TOKEN("ArrayMatchingPatternContent", state, ArrayMatchingPatternContent$0(state) || ArrayMatchingPatternContent$1(state));
4690
- if (state.events)
4691
- state.events.exit?.("ArrayMatchingPatternContent", state, result, eventData);
4692
- return result;
4693
- } else {
4694
- const result = ArrayMatchingPatternContent$0(state) || ArrayMatchingPatternContent$1(state);
4695
- if (state.events)
4696
- state.events.exit?.("ArrayMatchingPatternContent", state, result, eventData);
4697
- return result;
4698
- }
4699
- }
4700
- 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) {
4701
- var props = $2;
4702
- var rest = $3;
4703
- var after = $4;
4704
- if (!(props.length || rest))
4705
- return $skip;
4706
- const names = props.flatMap((p) => p.names), children = [...props];
4707
- let blockPrefix;
4708
- if (rest) {
4709
- const [, restBinding] = rest;
4710
- let restIdentifier;
4711
- if (restBinding.ref) {
4712
- restIdentifier = restBinding.binding.ref;
4713
- } else {
4714
- restIdentifier = restBinding.names[0];
4715
- }
4716
- if (after.length) {
4717
- const spliceRef = module2.getRef("splice");
4718
- blockPrefix = {
4719
- children: ["[", module2.insertTrimmingSpace(after, ""), "] = ", spliceRef, ".call(", restIdentifier, ", -", after.length.toString(), ")"],
4720
- names: after.flatMap((p) => p.names)
4721
- };
4722
- }
4723
- children.push(...rest);
4724
- names.push(...restBinding.names);
4725
- }
4726
- return {
4727
- children,
4728
- names,
4729
- blockPrefix
4730
- };
4731
- });
4732
- function NestedMatchingElements(state) {
4733
- let eventData;
4734
- if (state.events) {
4735
- const result = state.events.enter?.("NestedMatchingElements", state);
4736
- if (result) {
4737
- if (result.cache)
4738
- return result.cache;
4739
- eventData = result.data;
4740
- }
4741
- }
4742
- if (state.tokenize) {
4743
- const result = $TOKEN("NestedMatchingElements", state, NestedMatchingElements$0(state));
4744
- if (state.events)
4745
- state.events.exit?.("NestedMatchingElements", state, result, eventData);
4746
- return result;
4747
- } else {
4748
- const result = NestedMatchingElements$0(state);
4749
- if (state.events)
4750
- state.events.exit?.("NestedMatchingElements", state, result, eventData);
4751
- return result;
4752
- }
4753
- }
4754
- var NestedMatchingElement$0 = $TS($S(Nested, MatchingElement), function($skip, $loc, $0, $1, $2) {
4755
- var indent = $1;
4756
- var element = $2;
4757
- return {
4758
- ...element,
4759
- children: [indent, ...element.children]
4760
- };
4761
- });
4762
- function NestedMatchingElement(state) {
4763
- let eventData;
4764
- if (state.events) {
4765
- const result = state.events.enter?.("NestedMatchingElement", state);
4766
- if (result) {
4767
- if (result.cache)
4768
- return result.cache;
4769
- eventData = result.data;
4770
- }
4771
- }
4772
- if (state.tokenize) {
4773
- const result = $TOKEN("NestedMatchingElement", state, NestedMatchingElement$0(state));
4774
- if (state.events)
4775
- state.events.exit?.("NestedMatchingElement", state, result, eventData);
4776
- return result;
4777
- } else {
4778
- const result = NestedMatchingElement$0(state);
4779
- if (state.events)
4780
- state.events.exit?.("NestedMatchingElement", state, result, eventData);
4781
- return result;
4782
- }
4783
- }
4784
- var MatchingElement$0 = $TS($S($C(BindingIdentifier, MatchingPattern), ArrayElementDelimiter), function($skip, $loc, $0, $1, $2) {
4785
- var binding = $1;
4786
- return {
4787
- names: binding.names,
4788
- children: $0
4789
- };
4790
- });
4791
- function MatchingElement(state) {
4792
- let eventData;
4793
- if (state.events) {
4794
- const result = state.events.enter?.("MatchingElement", state);
4795
- if (result) {
4796
- if (result.cache)
4797
- return result.cache;
4798
- eventData = result.data;
4799
- }
4800
- }
4801
- if (state.tokenize) {
4802
- const result = $TOKEN("MatchingElement", state, MatchingElement$0(state));
4803
- if (state.events)
4804
- state.events.exit?.("MatchingElement", state, result, eventData);
4805
- return result;
4806
- } else {
4807
- const result = MatchingElement$0(state);
4808
- if (state.events)
4809
- state.events.exit?.("MatchingElement", state, result, eventData);
4810
- return result;
4811
- }
4812
- }
4813
- var MatchingRestElement$0 = BindingRestElement;
4814
- function MatchingRestElement(state) {
4815
- let eventData;
4816
- if (state.events) {
4817
- const result = state.events.enter?.("MatchingRestElement", state);
4818
- if (result) {
4819
- if (result.cache)
4820
- return result.cache;
4821
- eventData = result.data;
4822
- }
4823
- }
4824
- if (state.tokenize) {
4825
- const result = $TOKEN("MatchingRestElement", state, MatchingRestElement$0(state));
4826
- if (state.events)
4827
- state.events.exit?.("MatchingRestElement", state, result, eventData);
4828
- return result;
4829
- } else {
4830
- const result = MatchingRestElement$0(state);
4831
- if (state.events)
4832
- state.events.exit?.("MatchingRestElement", state, result, eventData);
4833
- return result;
4834
- }
4835
- }
4836
4338
  var FunctionDeclaration$0 = FunctionExpression;
4837
4339
  function FunctionDeclaration(state) {
4838
4340
  let eventData;
@@ -6368,7 +5870,10 @@ ${input.slice(result.pos)}
6368
5870
  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) {
6369
5871
  var open = $1;
6370
5872
  var close = $5;
6371
- return [open, $2, $3, ...$4, close];
5873
+ return {
5874
+ type: "ObjectExpression",
5875
+ children: [open, $2, $3, ...$4, close]
5876
+ };
6372
5877
  });
6373
5878
  function InlineObjectLiteral(state) {
6374
5879
  let eventData;
@@ -7274,7 +6779,15 @@ ${input.slice(result.pos)}
7274
6779
  var Statement$4 = SwitchStatement;
7275
6780
  var Statement$5 = TryStatement;
7276
6781
  var Statement$6 = EmptyStatement;
7277
- var Statement$7 = ExpressionStatement;
6782
+ var Statement$7 = $TS($S(ExpressionStatement), function($skip, $loc, $0, $1) {
6783
+ if ($1.type === "ObjectExpression") {
6784
+ return {
6785
+ type: "ParenthesizedExpression",
6786
+ children: ["(", $1, ")"]
6787
+ };
6788
+ }
6789
+ return $1;
6790
+ });
7278
6791
  var Statement$8 = BlockStatement;
7279
6792
  function Statement(state) {
7280
6793
  let eventData;
@@ -9245,21 +8758,26 @@ ${input.slice(result.pos)}
9245
8758
  return result;
9246
8759
  }
9247
8760
  }
9248
- var ImportDeclaration$0 = $T($S(Import, __, TypeKeyword, __, ImportClause, __, FromClause), function(value) {
8761
+ var ImportDeclaration$0 = $T($S(Import, __, TypeKeyword, __, ImportClause, __, FromClause, $E(ImportAssertion)), function(value) {
9249
8762
  return { "ts": true, "children": value };
9250
8763
  });
9251
- var ImportDeclaration$1 = $S(Import, __, ImportClause, __, FromClause);
9252
- var ImportDeclaration$2 = $S(Import, __, ModuleSpecifier);
9253
- var ImportDeclaration$3 = $TS($S(ImpliedImport, ImportClause, __, FromClause), function($skip, $loc, $0, $1, $2, $3, $4) {
8764
+ var ImportDeclaration$1 = $S(Import, __, ImportClause, __, FromClause, $E(ImportAssertion));
8765
+ var ImportDeclaration$2 = $S(Import, __, ModuleSpecifier, $E(ImportAssertion));
8766
+ var ImportDeclaration$3 = $TS($S(ImpliedImport, $E($S(TypeKeyword, __)), ImportClause, __, FromClause, $E(ImportAssertion)), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
9254
8767
  var i = $1;
9255
- var c = $2;
9256
- var w = $3;
9257
- var f = $4;
8768
+ var t = $2;
8769
+ var c = $3;
8770
+ var w = $4;
8771
+ var f = $5;
8772
+ var a = $6;
9258
8773
  i.$loc = {
9259
8774
  pos: f[0].$loc.pos - 1,
9260
8775
  length: f[0].$loc.length + 1
9261
8776
  };
9262
- return [i, c, w, f];
8777
+ const children = [i, t, c, w, f, a];
8778
+ if (!t)
8779
+ return children;
8780
+ return { ts: true, children };
9263
8781
  });
9264
8782
  function ImportDeclaration(state) {
9265
8783
  let eventData;
@@ -9432,6 +8950,29 @@ ${input.slice(result.pos)}
9432
8950
  return result;
9433
8951
  }
9434
8952
  }
8953
+ var ImportAssertion$0 = $S($E(_), $EXPECT($L85, fail, 'ImportAssertion "assert"'), NonIdContinue, $E(_), ObjectLiteral);
8954
+ function ImportAssertion(state) {
8955
+ let eventData;
8956
+ if (state.events) {
8957
+ const result = state.events.enter?.("ImportAssertion", state);
8958
+ if (result) {
8959
+ if (result.cache)
8960
+ return result.cache;
8961
+ eventData = result.data;
8962
+ }
8963
+ }
8964
+ if (state.tokenize) {
8965
+ const result = $TOKEN("ImportAssertion", state, ImportAssertion$0(state));
8966
+ if (state.events)
8967
+ state.events.exit?.("ImportAssertion", state, result, eventData);
8968
+ return result;
8969
+ } else {
8970
+ const result = ImportAssertion$0(state);
8971
+ if (state.events)
8972
+ state.events.exit?.("ImportAssertion", state, result, eventData);
8973
+ return result;
8974
+ }
8975
+ }
9435
8976
  var TypeAndImportSpecifier$0 = $TS($S($E($S(__, TypeKeyword)), ImportSpecifier), function($skip, $loc, $0, $1, $2) {
9436
8977
  if (!$1)
9437
8978
  return $2;
@@ -9656,7 +9197,7 @@ ${input.slice(result.pos)}
9656
9197
  return result;
9657
9198
  }
9658
9199
  }
9659
- var ExportDeclaration$0 = $S(Export, __, $EXPECT($L85, fail, 'ExportDeclaration "default"'), NonIdContinue, __, $C(HoistableDeclaration, ClassDeclaration, ExtendedExpression));
9200
+ var ExportDeclaration$0 = $S(Export, __, $EXPECT($L86, fail, 'ExportDeclaration "default"'), NonIdContinue, __, $C(HoistableDeclaration, ClassDeclaration, ExtendedExpression));
9660
9201
  var ExportDeclaration$1 = $TS($S(Export, __, ExportFromClause, __, FromClause), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
9661
9202
  if (!$3.ts)
9662
9203
  return $0;
@@ -9818,7 +9359,7 @@ ${input.slice(result.pos)}
9818
9359
  return result;
9819
9360
  }
9820
9361
  }
9821
- var ImplicitExportSpecifier$0 = $S($N($EXPECT($L85, fail, 'ImplicitExportSpecifier "default"')), ModuleExportName, $E($S(__, As, __, ModuleExportName)), $C($Y($S(__, From)), ImplicitInlineObjectPropertyDelimiter));
9362
+ var ImplicitExportSpecifier$0 = $S($N($EXPECT($L86, fail, 'ImplicitExportSpecifier "default"')), ModuleExportName, $E($S(__, As, __, ModuleExportName)), $C($Y($S(__, From)), ImplicitInlineObjectPropertyDelimiter));
9822
9363
  function ImplicitExportSpecifier(state) {
9823
9364
  let eventData;
9824
9365
  if (state.events) {
@@ -9989,7 +9530,7 @@ ${input.slice(result.pos)}
9989
9530
  return result;
9990
9531
  }
9991
9532
  }
9992
- var ConstAssignment$0 = $TV($EXPECT($L86, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
9533
+ var ConstAssignment$0 = $TV($EXPECT($L87, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
9993
9534
  return { $loc, token: "=" };
9994
9535
  });
9995
9536
  function ConstAssignment(state) {
@@ -10014,7 +9555,7 @@ ${input.slice(result.pos)}
10014
9555
  return result;
10015
9556
  }
10016
9557
  }
10017
- var LetAssignment$0 = $TV($EXPECT($L87, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
9558
+ var LetAssignment$0 = $TV($EXPECT($L88, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
10018
9559
  return { $loc, token: "=" };
10019
9560
  });
10020
9561
  function LetAssignment(state) {
@@ -11188,7 +10729,7 @@ ${input.slice(result.pos)}
11188
10729
  return result;
11189
10730
  }
11190
10731
  }
11191
- 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) {
10732
+ 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) {
11192
10733
  return { $loc, token: $1 };
11193
10734
  });
11194
10735
  function JSMultiLineComment(state) {
@@ -11238,7 +10779,7 @@ ${input.slice(result.pos)}
11238
10779
  return result;
11239
10780
  }
11240
10781
  }
11241
- 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) {
10782
+ 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) {
11242
10783
  return { $loc, token: `/*${$2}*/` };
11243
10784
  });
11244
10785
  function CoffeeMultiLineComment(state) {
@@ -11286,7 +10827,7 @@ ${input.slice(result.pos)}
11286
10827
  return result;
11287
10828
  }
11288
10829
  }
11289
- 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) {
10830
+ 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) {
11290
10831
  return { $loc, token: $1 };
11291
10832
  });
11292
10833
  function InlineComment(state) {
@@ -11385,7 +10926,7 @@ ${input.slice(result.pos)}
11385
10926
  var NonNewlineWhitespace$0 = $TR($EXPECT($R43, fail, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
11386
10927
  return { $loc, token: $0 };
11387
10928
  });
11388
- var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L90, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
10929
+ var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L91, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
11389
10930
  return "";
11390
10931
  });
11391
10932
  function NonNewlineWhitespace(state) {
@@ -11612,7 +11153,7 @@ ${input.slice(result.pos)}
11612
11153
  return result;
11613
11154
  }
11614
11155
  }
11615
- var Abstract$0 = $TV($TEXT($S($EXPECT($L91, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L6, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
11156
+ var Abstract$0 = $TV($TEXT($S($EXPECT($L92, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L6, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
11616
11157
  return { $loc, token: $1, ts: true };
11617
11158
  });
11618
11159
  function Abstract(state) {
@@ -11662,7 +11203,7 @@ ${input.slice(result.pos)}
11662
11203
  return result;
11663
11204
  }
11664
11205
  }
11665
- var As$0 = $TS($S($EXPECT($L92, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11206
+ var As$0 = $TS($S($EXPECT($L93, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11666
11207
  return { $loc, token: $1 };
11667
11208
  });
11668
11209
  function As(state) {
@@ -11687,7 +11228,7 @@ ${input.slice(result.pos)}
11687
11228
  return result;
11688
11229
  }
11689
11230
  }
11690
- var At$0 = $TV($EXPECT($L93, fail, 'At "@"'), function($skip, $loc, $0, $1) {
11231
+ var At$0 = $TV($EXPECT($L94, fail, 'At "@"'), function($skip, $loc, $0, $1) {
11691
11232
  return { $loc, token: $1 };
11692
11233
  });
11693
11234
  function At(state) {
@@ -11712,7 +11253,7 @@ ${input.slice(result.pos)}
11712
11253
  return result;
11713
11254
  }
11714
11255
  }
11715
- var AtAt$0 = $TV($EXPECT($L94, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
11256
+ var AtAt$0 = $TV($EXPECT($L95, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
11716
11257
  return { $loc, token: "@" };
11717
11258
  });
11718
11259
  function AtAt(state) {
@@ -11737,7 +11278,7 @@ ${input.slice(result.pos)}
11737
11278
  return result;
11738
11279
  }
11739
11280
  }
11740
- var Async$0 = $TS($S($EXPECT($L95, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11281
+ var Async$0 = $TS($S($EXPECT($L96, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11741
11282
  return { $loc, token: $1, type: "Async" };
11742
11283
  });
11743
11284
  function Async(state) {
@@ -11762,7 +11303,7 @@ ${input.slice(result.pos)}
11762
11303
  return result;
11763
11304
  }
11764
11305
  }
11765
- var Await$0 = $TS($S($EXPECT($L96, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11306
+ var Await$0 = $TS($S($EXPECT($L97, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11766
11307
  return { $loc, token: $1 };
11767
11308
  });
11768
11309
  function Await(state) {
@@ -11787,7 +11328,7 @@ ${input.slice(result.pos)}
11787
11328
  return result;
11788
11329
  }
11789
11330
  }
11790
- var Backtick$0 = $TV($EXPECT($L97, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
11331
+ var Backtick$0 = $TV($EXPECT($L98, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
11791
11332
  return { $loc, token: $1 };
11792
11333
  });
11793
11334
  function Backtick(state) {
@@ -11812,7 +11353,7 @@ ${input.slice(result.pos)}
11812
11353
  return result;
11813
11354
  }
11814
11355
  }
11815
- var By$0 = $TS($S($EXPECT($L98, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11356
+ var By$0 = $TS($S($EXPECT($L99, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11816
11357
  return { $loc, token: $1 };
11817
11358
  });
11818
11359
  function By(state) {
@@ -11837,7 +11378,7 @@ ${input.slice(result.pos)}
11837
11378
  return result;
11838
11379
  }
11839
11380
  }
11840
- var Case$0 = $TS($S($EXPECT($L99, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11381
+ var Case$0 = $TS($S($EXPECT($L100, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11841
11382
  return { $loc, token: $1 };
11842
11383
  });
11843
11384
  function Case(state) {
@@ -11862,7 +11403,7 @@ ${input.slice(result.pos)}
11862
11403
  return result;
11863
11404
  }
11864
11405
  }
11865
- var Catch$0 = $TS($S($EXPECT($L100, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11406
+ var Catch$0 = $TS($S($EXPECT($L101, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11866
11407
  return { $loc, token: $1 };
11867
11408
  });
11868
11409
  function Catch(state) {
@@ -11887,7 +11428,7 @@ ${input.slice(result.pos)}
11887
11428
  return result;
11888
11429
  }
11889
11430
  }
11890
- var Class$0 = $TS($S($EXPECT($L101, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11431
+ var Class$0 = $TS($S($EXPECT($L102, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11891
11432
  return { $loc, token: $1 };
11892
11433
  });
11893
11434
  function Class(state) {
@@ -11987,7 +11528,7 @@ ${input.slice(result.pos)}
11987
11528
  return result;
11988
11529
  }
11989
11530
  }
11990
- var CoffeeSubstitutionStart$0 = $TV($EXPECT($L102, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
11531
+ var CoffeeSubstitutionStart$0 = $TV($EXPECT($L103, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
11991
11532
  return { $loc, token: "${" };
11992
11533
  });
11993
11534
  function CoffeeSubstitutionStart(state) {
@@ -12037,7 +11578,7 @@ ${input.slice(result.pos)}
12037
11578
  return result;
12038
11579
  }
12039
11580
  }
12040
- var ConstructorShorthand$0 = $TV($EXPECT($L93, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
11581
+ var ConstructorShorthand$0 = $TV($EXPECT($L94, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
12041
11582
  return { $loc, token: "constructor" };
12042
11583
  });
12043
11584
  function ConstructorShorthand(state) {
@@ -12062,7 +11603,7 @@ ${input.slice(result.pos)}
12062
11603
  return result;
12063
11604
  }
12064
11605
  }
12065
- var Default$0 = $TS($S($EXPECT($L85, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11606
+ var Default$0 = $TS($S($EXPECT($L86, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12066
11607
  return { $loc, token: $1 };
12067
11608
  });
12068
11609
  function Default(state) {
@@ -12087,7 +11628,7 @@ ${input.slice(result.pos)}
12087
11628
  return result;
12088
11629
  }
12089
11630
  }
12090
- var Delete$0 = $TS($S($EXPECT($L103, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11631
+ var Delete$0 = $TS($S($EXPECT($L104, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12091
11632
  return { $loc, token: $1 };
12092
11633
  });
12093
11634
  function Delete(state) {
@@ -12112,7 +11653,7 @@ ${input.slice(result.pos)}
12112
11653
  return result;
12113
11654
  }
12114
11655
  }
12115
- var Do$0 = $TS($S($EXPECT($L104, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11656
+ var Do$0 = $TS($S($EXPECT($L105, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12116
11657
  return { $loc, token: $1 };
12117
11658
  });
12118
11659
  function Do(state) {
@@ -12162,7 +11703,7 @@ ${input.slice(result.pos)}
12162
11703
  return result;
12163
11704
  }
12164
11705
  }
12165
- var DotDot$0 = $TV($EXPECT($L105, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
11706
+ var DotDot$0 = $TV($EXPECT($L106, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
12166
11707
  return { $loc, token: $1 };
12167
11708
  });
12168
11709
  function DotDot(state) {
@@ -12187,7 +11728,7 @@ ${input.slice(result.pos)}
12187
11728
  return result;
12188
11729
  }
12189
11730
  }
12190
- var DotDotDot$0 = $TV($EXPECT($L106, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
11731
+ var DotDotDot$0 = $TV($EXPECT($L107, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
12191
11732
  return { $loc, token: $1 };
12192
11733
  });
12193
11734
  function DotDotDot(state) {
@@ -12212,7 +11753,7 @@ ${input.slice(result.pos)}
12212
11753
  return result;
12213
11754
  }
12214
11755
  }
12215
- var DoubleColon$0 = $TV($EXPECT($L107, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
11756
+ var DoubleColon$0 = $TV($EXPECT($L108, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
12216
11757
  return { $loc, token: $1 };
12217
11758
  });
12218
11759
  function DoubleColon(state) {
@@ -12237,7 +11778,7 @@ ${input.slice(result.pos)}
12237
11778
  return result;
12238
11779
  }
12239
11780
  }
12240
- var DoubleQuote$0 = $TV($EXPECT($L108, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
11781
+ var DoubleQuote$0 = $TV($EXPECT($L109, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
12241
11782
  return { $loc, token: $1 };
12242
11783
  });
12243
11784
  function DoubleQuote(state) {
@@ -12262,7 +11803,7 @@ ${input.slice(result.pos)}
12262
11803
  return result;
12263
11804
  }
12264
11805
  }
12265
- var Else$0 = $TS($S($EXPECT($L109, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11806
+ var Else$0 = $TS($S($EXPECT($L110, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12266
11807
  return { $loc, token: $1 };
12267
11808
  });
12268
11809
  function Else(state) {
@@ -12312,7 +11853,7 @@ ${input.slice(result.pos)}
12312
11853
  return result;
12313
11854
  }
12314
11855
  }
12315
- var Export$0 = $TS($S($EXPECT($L110, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11856
+ var Export$0 = $TS($S($EXPECT($L111, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12316
11857
  return { $loc, token: $1 };
12317
11858
  });
12318
11859
  function Export(state) {
@@ -12337,7 +11878,7 @@ ${input.slice(result.pos)}
12337
11878
  return result;
12338
11879
  }
12339
11880
  }
12340
- var Extends$0 = $TS($S($EXPECT($L111, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11881
+ var Extends$0 = $TS($S($EXPECT($L112, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12341
11882
  return { $loc, token: $1 };
12342
11883
  });
12343
11884
  function Extends(state) {
@@ -12362,7 +11903,7 @@ ${input.slice(result.pos)}
12362
11903
  return result;
12363
11904
  }
12364
11905
  }
12365
- var For$0 = $TS($S($EXPECT($L112, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11906
+ var For$0 = $TS($S($EXPECT($L113, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12366
11907
  return { $loc, token: $1 };
12367
11908
  });
12368
11909
  function For(state) {
@@ -12387,7 +11928,7 @@ ${input.slice(result.pos)}
12387
11928
  return result;
12388
11929
  }
12389
11930
  }
12390
- var From$0 = $TS($S($EXPECT($L113, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11931
+ var From$0 = $TS($S($EXPECT($L114, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12391
11932
  return { $loc, token: $1 };
12392
11933
  });
12393
11934
  function From(state) {
@@ -12412,7 +11953,7 @@ ${input.slice(result.pos)}
12412
11953
  return result;
12413
11954
  }
12414
11955
  }
12415
- var Function$0 = $TS($S($EXPECT($L114, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11956
+ var Function$0 = $TS($S($EXPECT($L115, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12416
11957
  return { $loc, token: $1 };
12417
11958
  });
12418
11959
  function Function(state) {
@@ -12437,7 +11978,7 @@ ${input.slice(result.pos)}
12437
11978
  return result;
12438
11979
  }
12439
11980
  }
12440
- var GetOrSet$0 = $TS($S($C($EXPECT($L115, fail, 'GetOrSet "get"'), $EXPECT($L116, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11981
+ var GetOrSet$0 = $TS($S($C($EXPECT($L116, fail, 'GetOrSet "get"'), $EXPECT($L117, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12441
11982
  return { $loc, token: $1, type: "GetOrSet" };
12442
11983
  });
12443
11984
  function GetOrSet(state) {
@@ -12462,7 +12003,7 @@ ${input.slice(result.pos)}
12462
12003
  return result;
12463
12004
  }
12464
12005
  }
12465
- var If$0 = $TV($TEXT($S($EXPECT($L117, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L6, fail, 'If " "')))), function($skip, $loc, $0, $1) {
12006
+ var If$0 = $TV($TEXT($S($EXPECT($L118, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L6, fail, 'If " "')))), function($skip, $loc, $0, $1) {
12466
12007
  return { $loc, token: $1 };
12467
12008
  });
12468
12009
  function If(state) {
@@ -12537,7 +12078,7 @@ ${input.slice(result.pos)}
12537
12078
  return result;
12538
12079
  }
12539
12080
  }
12540
- var LetOrConst$0 = $TS($S($C($EXPECT($L118, fail, 'LetOrConst "let"'), $EXPECT($L119, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12081
+ var LetOrConst$0 = $TS($S($C($EXPECT($L119, fail, 'LetOrConst "let"'), $EXPECT($L120, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12541
12082
  return { $loc, token: $1 };
12542
12083
  });
12543
12084
  function LetOrConst(state) {
@@ -12562,7 +12103,7 @@ ${input.slice(result.pos)}
12562
12103
  return result;
12563
12104
  }
12564
12105
  }
12565
- var Loop$0 = $TS($S($EXPECT($L120, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12106
+ var Loop$0 = $TS($S($EXPECT($L121, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12566
12107
  return { $loc, token: "while(true)" };
12567
12108
  });
12568
12109
  function Loop(state) {
@@ -12587,7 +12128,7 @@ ${input.slice(result.pos)}
12587
12128
  return result;
12588
12129
  }
12589
12130
  }
12590
- var New$0 = $TS($S($EXPECT($L121, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12131
+ var New$0 = $TS($S($EXPECT($L122, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12591
12132
  return { $loc, token: $1 };
12592
12133
  });
12593
12134
  function New(state) {
@@ -12662,7 +12203,7 @@ ${input.slice(result.pos)}
12662
12203
  return result;
12663
12204
  }
12664
12205
  }
12665
- var OpenAngleBracket$0 = $TV($EXPECT($L122, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
12206
+ var OpenAngleBracket$0 = $TV($EXPECT($L123, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
12666
12207
  return { $loc, token: $1 };
12667
12208
  });
12668
12209
  function OpenAngleBracket(state) {
@@ -12687,7 +12228,7 @@ ${input.slice(result.pos)}
12687
12228
  return result;
12688
12229
  }
12689
12230
  }
12690
- var OpenBrace$0 = $TV($EXPECT($L123, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
12231
+ var OpenBrace$0 = $TV($EXPECT($L124, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
12691
12232
  return { $loc, token: $1 };
12692
12233
  });
12693
12234
  function OpenBrace(state) {
@@ -12712,7 +12253,7 @@ ${input.slice(result.pos)}
12712
12253
  return result;
12713
12254
  }
12714
12255
  }
12715
- var OpenBracket$0 = $TV($EXPECT($L124, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
12256
+ var OpenBracket$0 = $TV($EXPECT($L125, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
12716
12257
  return { $loc, token: $1 };
12717
12258
  });
12718
12259
  function OpenBracket(state) {
@@ -12737,7 +12278,7 @@ ${input.slice(result.pos)}
12737
12278
  return result;
12738
12279
  }
12739
12280
  }
12740
- var OpenParen$0 = $TV($EXPECT($L125, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
12281
+ var OpenParen$0 = $TV($EXPECT($L126, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
12741
12282
  return { $loc, token: $1 };
12742
12283
  });
12743
12284
  function OpenParen(state) {
@@ -12762,7 +12303,7 @@ ${input.slice(result.pos)}
12762
12303
  return result;
12763
12304
  }
12764
12305
  }
12765
- var Public$0 = $TS($S($EXPECT($L126, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12306
+ var Public$0 = $TS($S($EXPECT($L127, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12766
12307
  return { $loc, token: $1 };
12767
12308
  });
12768
12309
  function Public(state) {
@@ -12787,7 +12328,7 @@ ${input.slice(result.pos)}
12787
12328
  return result;
12788
12329
  }
12789
12330
  }
12790
- var Private$0 = $TS($S($EXPECT($L127, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12331
+ var Private$0 = $TS($S($EXPECT($L128, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12791
12332
  return { $loc, token: $1 };
12792
12333
  });
12793
12334
  function Private(state) {
@@ -12812,7 +12353,7 @@ ${input.slice(result.pos)}
12812
12353
  return result;
12813
12354
  }
12814
12355
  }
12815
- var Protected$0 = $TS($S($EXPECT($L128, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12356
+ var Protected$0 = $TS($S($EXPECT($L129, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12816
12357
  return { $loc, token: $1 };
12817
12358
  });
12818
12359
  function Protected(state) {
@@ -12837,7 +12378,7 @@ ${input.slice(result.pos)}
12837
12378
  return result;
12838
12379
  }
12839
12380
  }
12840
- var Pipe$0 = $TV($EXPECT($L129, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
12381
+ var Pipe$0 = $TV($EXPECT($L130, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
12841
12382
  return { $loc, token: $1 };
12842
12383
  });
12843
12384
  function Pipe(state) {
@@ -12887,7 +12428,7 @@ ${input.slice(result.pos)}
12887
12428
  return result;
12888
12429
  }
12889
12430
  }
12890
- var Readonly$0 = $TS($S($EXPECT($L130, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12431
+ var Readonly$0 = $TS($S($EXPECT($L131, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12891
12432
  return { $loc, token: $1, ts: true };
12892
12433
  });
12893
12434
  function Readonly(state) {
@@ -12912,7 +12453,7 @@ ${input.slice(result.pos)}
12912
12453
  return result;
12913
12454
  }
12914
12455
  }
12915
- var Return$0 = $TS($S($EXPECT($L131, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12456
+ var Return$0 = $TS($S($EXPECT($L132, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12916
12457
  return { $loc, token: $1 };
12917
12458
  });
12918
12459
  function Return(state) {
@@ -12937,7 +12478,7 @@ ${input.slice(result.pos)}
12937
12478
  return result;
12938
12479
  }
12939
12480
  }
12940
- var Satisfies$0 = $TS($S($EXPECT($L132, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12481
+ var Satisfies$0 = $TS($S($EXPECT($L133, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12941
12482
  return { $loc, token: $1 };
12942
12483
  });
12943
12484
  function Satisfies(state) {
@@ -12987,7 +12528,7 @@ ${input.slice(result.pos)}
12987
12528
  return result;
12988
12529
  }
12989
12530
  }
12990
- var SingleQuote$0 = $TV($EXPECT($L133, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
12531
+ var SingleQuote$0 = $TV($EXPECT($L134, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
12991
12532
  return { $loc, token: $1 };
12992
12533
  });
12993
12534
  function SingleQuote(state) {
@@ -13037,10 +12578,10 @@ ${input.slice(result.pos)}
13037
12578
  return result;
13038
12579
  }
13039
12580
  }
13040
- var Static$0 = $TS($S($EXPECT($L134, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12581
+ var Static$0 = $TS($S($EXPECT($L135, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13041
12582
  return { $loc, token: $1 };
13042
12583
  });
13043
- 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) {
12584
+ 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) {
13044
12585
  return { $loc, token: "static " };
13045
12586
  });
13046
12587
  function Static(state) {
@@ -13065,7 +12606,7 @@ ${input.slice(result.pos)}
13065
12606
  return result;
13066
12607
  }
13067
12608
  }
13068
- var SubstitutionStart$0 = $TV($EXPECT($L135, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
12609
+ var SubstitutionStart$0 = $TV($EXPECT($L136, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
13069
12610
  return { $loc, token: $1 };
13070
12611
  });
13071
12612
  function SubstitutionStart(state) {
@@ -13090,7 +12631,7 @@ ${input.slice(result.pos)}
13090
12631
  return result;
13091
12632
  }
13092
12633
  }
13093
- var Switch$0 = $TS($S($EXPECT($L136, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12634
+ var Switch$0 = $TS($S($EXPECT($L137, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13094
12635
  return { $loc, token: $1 };
13095
12636
  });
13096
12637
  function Switch(state) {
@@ -13115,7 +12656,7 @@ ${input.slice(result.pos)}
13115
12656
  return result;
13116
12657
  }
13117
12658
  }
13118
- var Target$0 = $TS($S($EXPECT($L137, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12659
+ var Target$0 = $TS($S($EXPECT($L138, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13119
12660
  return { $loc, token: $1 };
13120
12661
  });
13121
12662
  function Target(state) {
@@ -13140,7 +12681,7 @@ ${input.slice(result.pos)}
13140
12681
  return result;
13141
12682
  }
13142
12683
  }
13143
- var Then$0 = $TS($S(__, $EXPECT($L138, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
12684
+ var Then$0 = $TS($S(__, $EXPECT($L139, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
13144
12685
  return { $loc, token: "" };
13145
12686
  });
13146
12687
  function Then(state) {
@@ -13165,7 +12706,7 @@ ${input.slice(result.pos)}
13165
12706
  return result;
13166
12707
  }
13167
12708
  }
13168
- var This$0 = $TS($S($EXPECT($L139, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12709
+ var This$0 = $TS($S($EXPECT($L140, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13169
12710
  return { $loc, token: $1 };
13170
12711
  });
13171
12712
  function This(state) {
@@ -13190,7 +12731,7 @@ ${input.slice(result.pos)}
13190
12731
  return result;
13191
12732
  }
13192
12733
  }
13193
- var Throw$0 = $TS($S($EXPECT($L140, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12734
+ var Throw$0 = $TS($S($EXPECT($L141, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13194
12735
  return { $loc, token: $1 };
13195
12736
  });
13196
12737
  function Throw(state) {
@@ -13215,7 +12756,7 @@ ${input.slice(result.pos)}
13215
12756
  return result;
13216
12757
  }
13217
12758
  }
13218
- var TripleDoubleQuote$0 = $TV($EXPECT($L141, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
12759
+ var TripleDoubleQuote$0 = $TV($EXPECT($L142, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
13219
12760
  return { $loc, token: "`" };
13220
12761
  });
13221
12762
  function TripleDoubleQuote(state) {
@@ -13240,7 +12781,7 @@ ${input.slice(result.pos)}
13240
12781
  return result;
13241
12782
  }
13242
12783
  }
13243
- var TripleSingleQuote$0 = $TV($EXPECT($L142, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
12784
+ var TripleSingleQuote$0 = $TV($EXPECT($L143, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
13244
12785
  return { $loc, token: "`" };
13245
12786
  });
13246
12787
  function TripleSingleQuote(state) {
@@ -13265,7 +12806,7 @@ ${input.slice(result.pos)}
13265
12806
  return result;
13266
12807
  }
13267
12808
  }
13268
- var TripleSlash$0 = $TV($EXPECT($L143, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
12809
+ var TripleSlash$0 = $TV($EXPECT($L144, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
13269
12810
  return { $loc, token: "/" };
13270
12811
  });
13271
12812
  function TripleSlash(state) {
@@ -13290,7 +12831,7 @@ ${input.slice(result.pos)}
13290
12831
  return result;
13291
12832
  }
13292
12833
  }
13293
- var TripleTick$0 = $TV($EXPECT($L144, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
12834
+ var TripleTick$0 = $TV($EXPECT($L145, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
13294
12835
  return { $loc, token: "`" };
13295
12836
  });
13296
12837
  function TripleTick(state) {
@@ -13315,7 +12856,7 @@ ${input.slice(result.pos)}
13315
12856
  return result;
13316
12857
  }
13317
12858
  }
13318
- var Try$0 = $TS($S($EXPECT($L145, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12859
+ var Try$0 = $TS($S($EXPECT($L146, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13319
12860
  return { $loc, token: $1 };
13320
12861
  });
13321
12862
  function Try(state) {
@@ -13340,7 +12881,7 @@ ${input.slice(result.pos)}
13340
12881
  return result;
13341
12882
  }
13342
12883
  }
13343
- var Typeof$0 = $TS($S($EXPECT($L146, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12884
+ var Typeof$0 = $TS($S($EXPECT($L147, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13344
12885
  return { $loc, token: $1 };
13345
12886
  });
13346
12887
  function Typeof(state) {
@@ -13365,7 +12906,7 @@ ${input.slice(result.pos)}
13365
12906
  return result;
13366
12907
  }
13367
12908
  }
13368
- var Unless$0 = $TS($S($EXPECT($L147, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12909
+ var Unless$0 = $TS($S($EXPECT($L148, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13369
12910
  return { $loc, token: $1 };
13370
12911
  });
13371
12912
  function Unless(state) {
@@ -13390,7 +12931,7 @@ ${input.slice(result.pos)}
13390
12931
  return result;
13391
12932
  }
13392
12933
  }
13393
- var Until$0 = $TS($S($EXPECT($L148, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12934
+ var Until$0 = $TS($S($EXPECT($L149, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13394
12935
  return { $loc, token: $1 };
13395
12936
  });
13396
12937
  function Until(state) {
@@ -13415,7 +12956,7 @@ ${input.slice(result.pos)}
13415
12956
  return result;
13416
12957
  }
13417
12958
  }
13418
- var Var$0 = $TS($S($EXPECT($L149, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12959
+ var Var$0 = $TS($S($EXPECT($L150, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13419
12960
  return { $loc, token: $1 };
13420
12961
  });
13421
12962
  function Var(state) {
@@ -13440,7 +12981,7 @@ ${input.slice(result.pos)}
13440
12981
  return result;
13441
12982
  }
13442
12983
  }
13443
- var Void$0 = $TS($S($EXPECT($L150, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12984
+ var Void$0 = $TS($S($EXPECT($L151, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13444
12985
  return { $loc, token: $1 };
13445
12986
  });
13446
12987
  function Void(state) {
@@ -13465,7 +13006,7 @@ ${input.slice(result.pos)}
13465
13006
  return result;
13466
13007
  }
13467
13008
  }
13468
- var When$0 = $TS($S($EXPECT($L151, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13009
+ var When$0 = $TS($S($EXPECT($L152, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13469
13010
  return { $loc, token: "case" };
13470
13011
  });
13471
13012
  function When(state) {
@@ -13490,7 +13031,7 @@ ${input.slice(result.pos)}
13490
13031
  return result;
13491
13032
  }
13492
13033
  }
13493
- var While$0 = $TS($S($EXPECT($L152, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13034
+ var While$0 = $TS($S($EXPECT($L153, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13494
13035
  return { $loc, token: $1 };
13495
13036
  });
13496
13037
  function While(state) {
@@ -13515,7 +13056,7 @@ ${input.slice(result.pos)}
13515
13056
  return result;
13516
13057
  }
13517
13058
  }
13518
- var Yield$0 = $TS($S($EXPECT($L153, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13059
+ var Yield$0 = $TS($S($EXPECT($L154, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13519
13060
  return { $loc, token: $1 };
13520
13061
  });
13521
13062
  function Yield(state) {
@@ -13661,7 +13202,7 @@ ${input.slice(result.pos)}
13661
13202
  return result;
13662
13203
  }
13663
13204
  }
13664
- 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) {
13205
+ 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) {
13665
13206
  return { type: "JSXElement", children: $0, tag: $2 };
13666
13207
  });
13667
13208
  function JSXSelfClosingElement(state) {
@@ -13712,7 +13253,7 @@ ${input.slice(result.pos)}
13712
13253
  return result;
13713
13254
  }
13714
13255
  }
13715
- var JSXOpeningElement$0 = $S($EXPECT($L122, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L27, fail, 'JSXOpeningElement ">"'));
13256
+ var JSXOpeningElement$0 = $S($EXPECT($L123, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L27, fail, 'JSXOpeningElement ">"'));
13716
13257
  function JSXOpeningElement(state) {
13717
13258
  let eventData;
13718
13259
  if (state.events) {
@@ -13764,7 +13305,7 @@ ${input.slice(result.pos)}
13764
13305
  return result;
13765
13306
  }
13766
13307
  }
13767
- var JSXClosingElement$0 = $S($EXPECT($L155, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L27, fail, 'JSXClosingElement ">"'));
13308
+ var JSXClosingElement$0 = $S($EXPECT($L156, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L27, fail, 'JSXClosingElement ">"'));
13768
13309
  function JSXClosingElement(state) {
13769
13310
  let eventData;
13770
13311
  if (state.events) {
@@ -13803,7 +13344,7 @@ ${input.slice(result.pos)}
13803
13344
  ];
13804
13345
  return { type: "JSXFragment", children: parts, jsxChildren: children.jsxChildren };
13805
13346
  });
13806
- var JSXFragment$1 = $TS($S(CoffeeJSXEnabled, $EXPECT($L156, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), JSXClosingFragment), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
13347
+ var JSXFragment$1 = $TS($S(CoffeeJSXEnabled, $EXPECT($L157, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), JSXClosingFragment), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
13807
13348
  var children = $3;
13808
13349
  $0 = $0.slice(1);
13809
13350
  return {
@@ -13834,7 +13375,7 @@ ${input.slice(result.pos)}
13834
13375
  return result;
13835
13376
  }
13836
13377
  }
13837
- var PushJSXOpeningFragment$0 = $TV($EXPECT($L156, fail, 'PushJSXOpeningFragment "<>"'), function($skip, $loc, $0, $1) {
13378
+ var PushJSXOpeningFragment$0 = $TV($EXPECT($L157, fail, 'PushJSXOpeningFragment "<>"'), function($skip, $loc, $0, $1) {
13838
13379
  module2.JSXTagStack.push("");
13839
13380
  return $1;
13840
13381
  });
@@ -13888,7 +13429,7 @@ ${input.slice(result.pos)}
13888
13429
  return result;
13889
13430
  }
13890
13431
  }
13891
- var JSXClosingFragment$0 = $EXPECT($L157, fail, 'JSXClosingFragment "</>"');
13432
+ var JSXClosingFragment$0 = $EXPECT($L158, fail, 'JSXClosingFragment "</>"');
13892
13433
  function JSXClosingFragment(state) {
13893
13434
  let eventData;
13894
13435
  if (state.events) {
@@ -14765,7 +14306,7 @@ ${input.slice(result.pos)}
14765
14306
  return result;
14766
14307
  }
14767
14308
  }
14768
- var JSXComment$0 = $TS($S($EXPECT($L158, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L159, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
14309
+ var JSXComment$0 = $TS($S($EXPECT($L159, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L160, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
14769
14310
  return ["{/*", $2, "*/}"];
14770
14311
  });
14771
14312
  function JSXComment(state) {
@@ -14942,7 +14483,7 @@ ${input.slice(result.pos)}
14942
14483
  return result;
14943
14484
  }
14944
14485
  }
14945
- var TypeDeclarationModifier$0 = $S($EXPECT($L160, fail, 'TypeDeclarationModifier "declare"'), NonIdContinue);
14486
+ var TypeDeclarationModifier$0 = $S($EXPECT($L161, fail, 'TypeDeclarationModifier "declare"'), NonIdContinue);
14946
14487
  var TypeDeclarationModifier$1 = Export;
14947
14488
  function TypeDeclarationModifier(state) {
14948
14489
  let eventData;
@@ -15038,7 +14579,7 @@ ${input.slice(result.pos)}
15038
14579
  return result;
15039
14580
  }
15040
14581
  }
15041
- var TypeKeyword$0 = $S($EXPECT($L161, fail, 'TypeKeyword "type"'), NonIdContinue);
14582
+ var TypeKeyword$0 = $S($EXPECT($L162, fail, 'TypeKeyword "type"'), NonIdContinue);
15042
14583
  function TypeKeyword(state) {
15043
14584
  let eventData;
15044
14585
  if (state.events) {
@@ -15061,7 +14602,7 @@ ${input.slice(result.pos)}
15061
14602
  return result;
15062
14603
  }
15063
14604
  }
15064
- var Interface$0 = $S($EXPECT($L162, fail, 'Interface "interface"'), NonIdContinue);
14605
+ var Interface$0 = $S($EXPECT($L163, fail, 'Interface "interface"'), NonIdContinue);
15065
14606
  function Interface(state) {
15066
14607
  let eventData;
15067
14608
  if (state.events) {
@@ -15084,7 +14625,7 @@ ${input.slice(result.pos)}
15084
14625
  return result;
15085
14626
  }
15086
14627
  }
15087
- var Namespace$0 = $S($EXPECT($L163, fail, 'Namespace "namespace"'), NonIdContinue);
14628
+ var Namespace$0 = $S($EXPECT($L164, fail, 'Namespace "namespace"'), NonIdContinue);
15088
14629
  function Namespace(state) {
15089
14630
  let eventData;
15090
14631
  if (state.events) {
@@ -15309,7 +14850,7 @@ ${input.slice(result.pos)}
15309
14850
  return result;
15310
14851
  }
15311
14852
  }
15312
- 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)));
14853
+ 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)));
15313
14854
  function TypeIndexSignature(state) {
15314
14855
  let eventData;
15315
14856
  if (state.events) {
@@ -15381,7 +14922,7 @@ ${input.slice(result.pos)}
15381
14922
  return result;
15382
14923
  }
15383
14924
  }
15384
- var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L164, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
14925
+ var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L165, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
15385
14926
  const children = [...$1, $2];
15386
14927
  if ($3)
15387
14928
  children.push($3);
@@ -15540,10 +15081,10 @@ ${input.slice(result.pos)}
15540
15081
  return result;
15541
15082
  }
15542
15083
  }
15543
- var TypeUnaryOp$0 = $S($EXPECT($L165, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
15544
- var TypeUnaryOp$1 = $S($EXPECT($L146, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
15545
- var TypeUnaryOp$2 = $S($EXPECT($L166, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
15546
- var TypeUnaryOp$3 = $S($EXPECT($L130, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
15084
+ var TypeUnaryOp$0 = $S($EXPECT($L166, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
15085
+ var TypeUnaryOp$1 = $S($EXPECT($L147, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
15086
+ var TypeUnaryOp$2 = $S($EXPECT($L167, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
15087
+ var TypeUnaryOp$3 = $S($EXPECT($L131, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
15547
15088
  function TypeUnaryOp(state) {
15548
15089
  let eventData;
15549
15090
  if (state.events) {
@@ -15566,7 +15107,7 @@ ${input.slice(result.pos)}
15566
15107
  return result;
15567
15108
  }
15568
15109
  }
15569
- var TypeIndexedAccess$0 = $S(__, OpenBracket, $E(Type), __, CloseBracket);
15110
+ var TypeIndexedAccess$0 = $S(OpenBracket, $E(Type), __, CloseBracket);
15570
15111
  function TypeIndexedAccess(state) {
15571
15112
  let eventData;
15572
15113
  if (state.events) {
@@ -15591,11 +15132,11 @@ ${input.slice(result.pos)}
15591
15132
  }
15592
15133
  var TypePrimary$0 = InterfaceBlock;
15593
15134
  var TypePrimary$1 = $S(__, OpenParen, Type, __, CloseParen);
15594
- var TypePrimary$2 = $S(__, TypeTuple);
15595
- var TypePrimary$3 = $S($Q(_), ImportType);
15596
- var TypePrimary$4 = $S($Q(_), FunctionType);
15597
- var TypePrimary$5 = $S($Q(_), TypeLiteral);
15598
- var TypePrimary$6 = $S($Q(_), IdentifierName, $Q($S(Dot, IdentifierName)), $E(TypeArguments));
15135
+ var TypePrimary$2 = $S($E(_), TypeTuple);
15136
+ var TypePrimary$3 = $S($E(_), ImportType);
15137
+ var TypePrimary$4 = $S($E(_), FunctionType);
15138
+ var TypePrimary$5 = $S($E(_), TypeLiteral);
15139
+ var TypePrimary$6 = $S($E(_), IdentifierName, $Q($S(Dot, IdentifierName)), $E(TypeArguments));
15599
15140
  function TypePrimary(state) {
15600
15141
  let eventData;
15601
15142
  if (state.events) {
@@ -15740,7 +15281,7 @@ ${input.slice(result.pos)}
15740
15281
  return result;
15741
15282
  }
15742
15283
  }
15743
- 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) {
15284
+ 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) {
15744
15285
  if ($2)
15745
15286
  return $0;
15746
15287
  return $1;
@@ -15769,10 +15310,10 @@ ${input.slice(result.pos)}
15769
15310
  }
15770
15311
  var TypeLiteral$0 = Literal;
15771
15312
  var TypeLiteral$1 = TemplateLiteral;
15772
- var TypeLiteral$2 = $TS($S($EXPECT($L150, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15313
+ var TypeLiteral$2 = $TS($S($EXPECT($L151, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15773
15314
  return { $loc, token: "void" };
15774
15315
  });
15775
- var TypeLiteral$3 = $TV($EXPECT($L167, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
15316
+ var TypeLiteral$3 = $TV($EXPECT($L168, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
15776
15317
  return { $loc, token: "[]" };
15777
15318
  });
15778
15319
  function TypeLiteral(state) {
@@ -15854,7 +15395,7 @@ ${input.slice(result.pos)}
15854
15395
  return result;
15855
15396
  }
15856
15397
  }
15857
- var TypeArguments$0 = $TS($S($EXPECT($L122, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L27, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
15398
+ var TypeArguments$0 = $TS($S($EXPECT($L123, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L27, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
15858
15399
  return { ts: true, children: $0 };
15859
15400
  });
15860
15401
  function TypeArguments(state) {
@@ -15925,7 +15466,7 @@ ${input.slice(result.pos)}
15925
15466
  return result;
15926
15467
  }
15927
15468
  }
15928
- var TypeParameters$0 = $TS($S(__, $EXPECT($L122, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L27, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
15469
+ var TypeParameters$0 = $TS($S(__, $EXPECT($L123, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L27, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
15929
15470
  var parameters = $3;
15930
15471
  return {
15931
15472
  type: "TypeParameters",
@@ -15979,7 +15520,7 @@ ${input.slice(result.pos)}
15979
15520
  return result;
15980
15521
  }
15981
15522
  }
15982
- var TypeConstraint$0 = $S(__, $EXPECT($L111, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
15523
+ var TypeConstraint$0 = $S(__, $EXPECT($L112, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
15983
15524
  function TypeConstraint(state) {
15984
15525
  let eventData;
15985
15526
  if (state.events) {
@@ -16130,7 +15671,7 @@ ${input.slice(result.pos)}
16130
15671
  return result;
16131
15672
  }
16132
15673
  }
16133
- 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) {
15674
+ 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) {
16134
15675
  var options = $3;
16135
15676
  return {
16136
15677
  type: "CivetPrologue",