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