@danielx/civet 0.5.62 → 0.5.63

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
@@ -506,6 +506,7 @@ ${input.slice(result.pos)}
506
506
  MemberBracketContent,
507
507
  SliceParameters,
508
508
  PropertyAccess,
509
+ PropertyGlob,
509
510
  SuperProperty,
510
511
  MetaProperty,
511
512
  Parameters,
@@ -1019,10 +1020,10 @@ ${input.slice(result.pos)}
1019
1020
  var $L13 = $L("import");
1020
1021
  var $L14 = $L("!");
1021
1022
  var $L15 = $L("-");
1022
- var $L16 = $L("super[");
1023
- var $L17 = $L("import.meta");
1024
- var $L18 = $L("");
1025
- var $L19 = $L(")");
1023
+ var $L16 = $L("import.meta");
1024
+ var $L17 = $L("");
1025
+ var $L18 = $L(")");
1026
+ var $L19 = $L(",");
1026
1027
  var $L20 = $L("->");
1027
1028
  var $L21 = $L("}");
1028
1029
  var $L22 = $L("null");
@@ -1108,74 +1109,73 @@ ${input.slice(result.pos)}
1108
1109
  var $L102 = $L("catch");
1109
1110
  var $L103 = $L("class");
1110
1111
  var $L104 = $L("#{");
1111
- var $L105 = $L(",");
1112
- var $L106 = $L("declare");
1113
- var $L107 = $L("default");
1114
- var $L108 = $L("delete");
1115
- var $L109 = $L("do");
1116
- var $L110 = $L("..");
1117
- var $L111 = $L("...");
1118
- var $L112 = $L("::");
1119
- var $L113 = $L('"');
1120
- var $L114 = $L("else");
1121
- var $L115 = $L("export");
1122
- var $L116 = $L("extends");
1123
- var $L117 = $L("finally");
1124
- var $L118 = $L("for");
1125
- var $L119 = $L("from");
1126
- var $L120 = $L("function");
1127
- var $L121 = $L("get");
1128
- var $L122 = $L("set");
1129
- var $L123 = $L("if");
1130
- var $L124 = $L("let");
1131
- var $L125 = $L("const");
1132
- var $L126 = $L("loop");
1133
- var $L127 = $L("new");
1134
- var $L128 = $L("<");
1135
- var $L129 = $L("{");
1136
- var $L130 = $L("operator");
1137
- var $L131 = $L("public");
1138
- var $L132 = $L("private");
1139
- var $L133 = $L("protected");
1140
- var $L134 = $L("|>");
1141
- var $L135 = $L("readonly");
1142
- var $L136 = $L("return");
1143
- var $L137 = $L("satisfies");
1144
- var $L138 = $L("'");
1145
- var $L139 = $L("static");
1146
- var $L140 = $L("${");
1147
- var $L141 = $L("switch");
1148
- var $L142 = $L("target");
1149
- var $L143 = $L("then");
1150
- var $L144 = $L("this");
1151
- var $L145 = $L("throw");
1152
- var $L146 = $L('"""');
1153
- var $L147 = $L("'''");
1154
- var $L148 = $L("///");
1155
- var $L149 = $L("```");
1156
- var $L150 = $L("try");
1157
- var $L151 = $L("typeof");
1158
- var $L152 = $L("unless");
1159
- var $L153 = $L("until");
1160
- var $L154 = $L("var");
1161
- var $L155 = $L("void");
1162
- var $L156 = $L("when");
1163
- var $L157 = $L("while");
1164
- var $L158 = $L("yield");
1165
- var $L159 = $L("/>");
1166
- var $L160 = $L("</");
1167
- var $L161 = $L("<>");
1168
- var $L162 = $L("</>");
1169
- var $L163 = $L("<!--");
1170
- var $L164 = $L("-->");
1171
- var $L165 = $L("type");
1172
- var $L166 = $L("interface");
1173
- var $L167 = $L("namespace");
1174
- var $L168 = $L("asserts");
1175
- var $L169 = $L("keyof");
1176
- var $L170 = $L("infer");
1177
- var $L171 = $L("[]");
1178
- var $L172 = $L("civet");
1112
+ var $L105 = $L("declare");
1113
+ var $L106 = $L("default");
1114
+ var $L107 = $L("delete");
1115
+ var $L108 = $L("do");
1116
+ var $L109 = $L("..");
1117
+ var $L110 = $L("...");
1118
+ var $L111 = $L("::");
1119
+ var $L112 = $L('"');
1120
+ var $L113 = $L("else");
1121
+ var $L114 = $L("export");
1122
+ var $L115 = $L("extends");
1123
+ var $L116 = $L("finally");
1124
+ var $L117 = $L("for");
1125
+ var $L118 = $L("from");
1126
+ var $L119 = $L("function");
1127
+ var $L120 = $L("get");
1128
+ var $L121 = $L("set");
1129
+ var $L122 = $L("if");
1130
+ var $L123 = $L("let");
1131
+ var $L124 = $L("const");
1132
+ var $L125 = $L("loop");
1133
+ var $L126 = $L("new");
1134
+ var $L127 = $L("<");
1135
+ var $L128 = $L("{");
1136
+ var $L129 = $L("operator");
1137
+ var $L130 = $L("public");
1138
+ var $L131 = $L("private");
1139
+ var $L132 = $L("protected");
1140
+ var $L133 = $L("|>");
1141
+ var $L134 = $L("readonly");
1142
+ var $L135 = $L("return");
1143
+ var $L136 = $L("satisfies");
1144
+ var $L137 = $L("'");
1145
+ var $L138 = $L("static");
1146
+ var $L139 = $L("${");
1147
+ var $L140 = $L("switch");
1148
+ var $L141 = $L("target");
1149
+ var $L142 = $L("then");
1150
+ var $L143 = $L("this");
1151
+ var $L144 = $L("throw");
1152
+ var $L145 = $L('"""');
1153
+ var $L146 = $L("'''");
1154
+ var $L147 = $L("///");
1155
+ var $L148 = $L("```");
1156
+ var $L149 = $L("try");
1157
+ var $L150 = $L("typeof");
1158
+ var $L151 = $L("unless");
1159
+ var $L152 = $L("until");
1160
+ var $L153 = $L("var");
1161
+ var $L154 = $L("void");
1162
+ var $L155 = $L("when");
1163
+ var $L156 = $L("while");
1164
+ var $L157 = $L("yield");
1165
+ var $L158 = $L("/>");
1166
+ var $L159 = $L("</");
1167
+ var $L160 = $L("<>");
1168
+ var $L161 = $L("</>");
1169
+ var $L162 = $L("<!--");
1170
+ var $L163 = $L("-->");
1171
+ var $L164 = $L("type");
1172
+ var $L165 = $L("interface");
1173
+ var $L166 = $L("namespace");
1174
+ var $L167 = $L("asserts");
1175
+ var $L168 = $L("keyof");
1176
+ var $L169 = $L("infer");
1177
+ var $L170 = $L("[]");
1178
+ var $L171 = $L("civet");
1179
1179
  var $R0 = $R(new RegExp("(as|for|while|until|of|satisfies|then|when|implements)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
1180
1180
  var $R1 = $R(new RegExp("[0-9]", "suy"));
1181
1181
  var $R2 = $R(new RegExp("[&]", "suy"));
@@ -3232,17 +3232,17 @@ ${input.slice(result.pos)}
3232
3232
  }
3233
3233
  var CallExpression$0 = $TS($S($EXPECT($L12, fail, 'CallExpression "super"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3234
3234
  var rest = $3;
3235
- return {
3235
+ return module2.processGlob({
3236
3236
  type: "CallExpression",
3237
3237
  children: [$1, ...$2, ...rest.flat()]
3238
- };
3238
+ });
3239
3239
  });
3240
3240
  var CallExpression$1 = $TS($S($EXPECT($L13, fail, 'CallExpression "import"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3241
3241
  var rest = $3;
3242
- return {
3242
+ return module2.processGlob({
3243
3243
  type: "CallExpression",
3244
3244
  children: [$1, ...$2, ...rest.flat()]
3245
- };
3245
+ });
3246
3246
  });
3247
3247
  var CallExpression$2 = $TS($S(MemberExpression, NonSuppressedTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3248
3248
  var member = $1;
@@ -3250,10 +3250,10 @@ ${input.slice(result.pos)}
3250
3250
  var rest = $3;
3251
3251
  if (rest.length || trailing.length) {
3252
3252
  rest = rest.flat();
3253
- return {
3254
- type: rest.length && rest[rest.length - 1].type === "Call" ? "CallExpression" : "MemberExpression",
3253
+ return module2.processGlob({
3254
+ type: "CallExpression",
3255
3255
  children: [member, ...trailing, ...rest]
3256
- };
3256
+ });
3257
3257
  }
3258
3258
  return member;
3259
3259
  });
@@ -3366,18 +3366,16 @@ ${input.slice(result.pos)}
3366
3366
  return result;
3367
3367
  }
3368
3368
  }
3369
- var MemberExpression$0 = $TS($S(PrimaryExpression, $Q(MemberExpressionRest)), function($skip, $loc, $0, $1, $2) {
3369
+ var MemberExpression$0 = $TS($S($C(PrimaryExpression, SuperProperty, MetaProperty), $Q(MemberExpressionRest)), function($skip, $loc, $0, $1, $2) {
3370
3370
  var rest = $2;
3371
- if (rest.length) {
3372
- return {
3371
+ if (rest.length || Array.isArray($1)) {
3372
+ return module2.processGlob({
3373
3373
  type: "MemberExpression",
3374
- children: [$1].concat(rest.flat())
3375
- };
3374
+ children: [$1, ...rest].flat()
3375
+ });
3376
3376
  }
3377
3377
  return $1;
3378
3378
  });
3379
- var MemberExpression$1 = SuperProperty;
3380
- var MemberExpression$2 = MetaProperty;
3381
3379
  function MemberExpression(state) {
3382
3380
  let eventData;
3383
3381
  if (state.events) {
@@ -3389,12 +3387,12 @@ ${input.slice(result.pos)}
3389
3387
  }
3390
3388
  }
3391
3389
  if (state.tokenize) {
3392
- const result = $TOKEN("MemberExpression", state, MemberExpression$0(state) || MemberExpression$1(state) || MemberExpression$2(state));
3390
+ const result = $TOKEN("MemberExpression", state, MemberExpression$0(state));
3393
3391
  if (state.events)
3394
3392
  state.events.exit?.("MemberExpression", state, result, eventData);
3395
3393
  return result;
3396
3394
  } else {
3397
- const result = MemberExpression$0(state) || MemberExpression$1(state) || MemberExpression$2(state);
3395
+ const result = MemberExpression$0(state);
3398
3396
  if (state.events)
3399
3397
  state.events.exit?.("MemberExpression", state, result, eventData);
3400
3398
  return result;
@@ -3410,7 +3408,8 @@ ${input.slice(result.pos)}
3410
3408
  return $2;
3411
3409
  });
3412
3410
  var MemberExpressionRest$1 = PropertyAccess;
3413
- var MemberExpressionRest$2 = NonNullAssertion;
3411
+ var MemberExpressionRest$2 = PropertyGlob;
3412
+ var MemberExpressionRest$3 = NonNullAssertion;
3414
3413
  function MemberExpressionRest(state) {
3415
3414
  let eventData;
3416
3415
  if (state.events) {
@@ -3422,12 +3421,12 @@ ${input.slice(result.pos)}
3422
3421
  }
3423
3422
  }
3424
3423
  if (state.tokenize) {
3425
- const result = $TOKEN("MemberExpressionRest", state, MemberExpressionRest$0(state) || MemberExpressionRest$1(state) || MemberExpressionRest$2(state));
3424
+ const result = $TOKEN("MemberExpressionRest", state, MemberExpressionRest$0(state) || MemberExpressionRest$1(state) || MemberExpressionRest$2(state) || MemberExpressionRest$3(state));
3426
3425
  if (state.events)
3427
3426
  state.events.exit?.("MemberExpressionRest", state, result, eventData);
3428
3427
  return result;
3429
3428
  } else {
3430
- const result = MemberExpressionRest$0(state) || MemberExpressionRest$1(state) || MemberExpressionRest$2(state);
3429
+ const result = MemberExpressionRest$0(state) || MemberExpressionRest$1(state) || MemberExpressionRest$2(state) || MemberExpressionRest$3(state);
3431
3430
  if (state.events)
3432
3431
  state.events.exit?.("MemberExpressionRest", state, result, eventData);
3433
3432
  return result;
@@ -3622,7 +3621,37 @@ ${input.slice(result.pos)}
3622
3621
  return result;
3623
3622
  }
3624
3623
  }
3625
- var SuperProperty$0 = $S($EXPECT($L16, fail, 'SuperProperty "super["'), PostfixedExpression, __, CloseBracket);
3624
+ var PropertyGlob$0 = $TS($S(Dot, ObjectBindingPattern), function($skip, $loc, $0, $1, $2) {
3625
+ var pattern = $2;
3626
+ return {
3627
+ type: "PropertyGlob",
3628
+ pattern,
3629
+ children: $0
3630
+ };
3631
+ });
3632
+ function PropertyGlob(state) {
3633
+ let eventData;
3634
+ if (state.events) {
3635
+ const result = state.events.enter?.("PropertyGlob", state);
3636
+ if (result) {
3637
+ if (result.cache)
3638
+ return result.cache;
3639
+ eventData = result.data;
3640
+ }
3641
+ }
3642
+ if (state.tokenize) {
3643
+ const result = $TOKEN("PropertyGlob", state, PropertyGlob$0(state));
3644
+ if (state.events)
3645
+ state.events.exit?.("PropertyGlob", state, result, eventData);
3646
+ return result;
3647
+ } else {
3648
+ const result = PropertyGlob$0(state);
3649
+ if (state.events)
3650
+ state.events.exit?.("PropertyGlob", state, result, eventData);
3651
+ return result;
3652
+ }
3653
+ }
3654
+ var SuperProperty$0 = $S($EXPECT($L12, fail, 'SuperProperty "super"'), MemberBracketContent);
3626
3655
  var SuperProperty$1 = $S($EXPECT($L12, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
3627
3656
  function SuperProperty(state) {
3628
3657
  let eventData;
@@ -3647,7 +3676,7 @@ ${input.slice(result.pos)}
3647
3676
  }
3648
3677
  }
3649
3678
  var MetaProperty$0 = $S(New, Dot, Target);
3650
- var MetaProperty$1 = $TS($S($EXPECT($L17, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
3679
+ var MetaProperty$1 = $TS($S($EXPECT($L16, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
3651
3680
  return { $loc, token: $1 };
3652
3681
  });
3653
3682
  function MetaProperty(state) {
@@ -3673,7 +3702,7 @@ ${input.slice(result.pos)}
3673
3702
  }
3674
3703
  }
3675
3704
  var Parameters$0 = NonEmptyParameters;
3676
- var Parameters$1 = $TV($EXPECT($L18, fail, 'Parameters ""'), function($skip, $loc, $0, $1) {
3705
+ var Parameters$1 = $TV($EXPECT($L17, fail, 'Parameters ""'), function($skip, $loc, $0, $1) {
3677
3706
  return {
3678
3707
  type: "Parameters",
3679
3708
  children: [{ $loc, token: "()" }],
@@ -3834,7 +3863,7 @@ ${input.slice(result.pos)}
3834
3863
  }
3835
3864
  }
3836
3865
  var ParameterElementDelimiter$0 = $S($Q(_), Comma);
3837
- var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L19, fail, 'ParameterElementDelimiter ")"')));
3866
+ var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L18, fail, 'ParameterElementDelimiter ")"')));
3838
3867
  var ParameterElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
3839
3868
  return value[1];
3840
3869
  });
@@ -3996,7 +4025,8 @@ ${input.slice(result.pos)}
3996
4025
  var c = $2;
3997
4026
  return {
3998
4027
  type: "ObjectBindingPattern",
3999
- children: [$1, ...c.children, ...$3, $4],
4028
+ children: [$1, ...c.children, $3, $4],
4029
+ content: c.children,
4000
4030
  names: c.names
4001
4031
  };
4002
4032
  });
@@ -4293,23 +4323,32 @@ ${input.slice(result.pos)}
4293
4323
  }
4294
4324
  var BindingProperty$0 = BindingRestProperty;
4295
4325
  var BindingProperty$1 = $TS($S($E(_), PropertyName, __, Colon, $C(BindingIdentifier, BindingPattern), $E(Initializer)), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
4326
+ var name = $2;
4296
4327
  var b = $5;
4328
+ var init = $6;
4297
4329
  return {
4330
+ name,
4331
+ value: b,
4332
+ init,
4298
4333
  names: b.names,
4299
4334
  children: $0
4300
4335
  };
4301
4336
  });
4302
4337
  var BindingProperty$2 = $TS($S(BindingIdentifier, $E(Initializer)), function($skip, $loc, $0, $1, $2) {
4303
4338
  var b = $1;
4339
+ var init = $2;
4304
4340
  if (b.type === "AtBinding") {
4305
4341
  return {
4306
4342
  type: "AtBindingProperty",
4307
4343
  ref: b.ref,
4344
+ init,
4308
4345
  names: [],
4309
4346
  children: $0
4310
4347
  };
4311
4348
  }
4312
4349
  return {
4350
+ name: b,
4351
+ init,
4313
4352
  names: b.names,
4314
4353
  children: $0
4315
4354
  };
@@ -4444,10 +4483,12 @@ ${input.slice(result.pos)}
4444
4483
  children: $0
4445
4484
  };
4446
4485
  });
4447
- var BindingElement$2 = $TV($EXPECT($L18, fail, 'BindingElement ""'), function($skip, $loc, $0, $1) {
4486
+ var BindingElement$2 = $TV($Y($S($E(_), $EXPECT($L19, fail, 'BindingElement ","'))), function($skip, $loc, $0, $1) {
4448
4487
  return {
4449
- type: "ElisionElement",
4450
- children: [],
4488
+ children: [{
4489
+ type: "ElisionElement",
4490
+ children: [""]
4491
+ }],
4451
4492
  names: []
4452
4493
  };
4453
4494
  });
@@ -4515,7 +4556,7 @@ ${input.slice(result.pos)}
4515
4556
  return result;
4516
4557
  }
4517
4558
  }
4518
- var EmptyBindingPattern$0 = $TV($EXPECT($L18, fail, 'EmptyBindingPattern ""'), function($skip, $loc, $0, $1) {
4559
+ var EmptyBindingPattern$0 = $TV($EXPECT($L17, fail, 'EmptyBindingPattern ""'), function($skip, $loc, $0, $1) {
4519
4560
  const ref = {
4520
4561
  type: "Ref",
4521
4562
  base: "ref",
@@ -4991,10 +5032,12 @@ ${input.slice(result.pos)}
4991
5032
  children: [ws, binding]
4992
5033
  };
4993
5034
  });
4994
- var MatchingElement$3 = $TV($EXPECT($L18, fail, 'MatchingElement ""'), function($skip, $loc, $0, $1) {
5035
+ var MatchingElement$3 = $TV($Y($S($E(_), $EXPECT($L19, fail, 'MatchingElement ","'))), function($skip, $loc, $0, $1) {
4995
5036
  return {
4996
- type: "ElisionElement",
4997
- children: [],
5037
+ children: [{
5038
+ type: "ElisionElement",
5039
+ children: [""]
5040
+ }],
4998
5041
  names: []
4999
5042
  };
5000
5043
  });
@@ -5617,7 +5660,7 @@ ${input.slice(result.pos)}
5617
5660
  return result;
5618
5661
  }
5619
5662
  }
5620
- var EmptyBareBlock$0 = $TV($EXPECT($L18, fail, 'EmptyBareBlock ""'), function($skip, $loc, $0, $1) {
5663
+ var EmptyBareBlock$0 = $TV($EXPECT($L17, fail, 'EmptyBareBlock ""'), function($skip, $loc, $0, $1) {
5621
5664
  const expressions = [];
5622
5665
  return {
5623
5666
  type: "BlockStatement",
@@ -6845,7 +6888,7 @@ ${input.slice(result.pos)}
6845
6888
  var ImplicitInlineObjectPropertyDelimiter$1 = $T($S($Y($S($C(Samedent, $Q(_)), NamedProperty)), InsertComma), function(value) {
6846
6889
  return value[1];
6847
6890
  });
6848
- var ImplicitInlineObjectPropertyDelimiter$2 = $T($Y($S(__, $C($EXPECT($L31, fail, 'ImplicitInlineObjectPropertyDelimiter ":"'), $EXPECT($L19, fail, 'ImplicitInlineObjectPropertyDelimiter ")"'), $EXPECT($L30, fail, 'ImplicitInlineObjectPropertyDelimiter "]"'), $EXPECT($L21, fail, 'ImplicitInlineObjectPropertyDelimiter "}"'), ReservedWord))), function(value) {
6891
+ var ImplicitInlineObjectPropertyDelimiter$2 = $T($Y($S(__, $C($EXPECT($L31, fail, 'ImplicitInlineObjectPropertyDelimiter ":"'), $EXPECT($L18, fail, 'ImplicitInlineObjectPropertyDelimiter ")"'), $EXPECT($L30, fail, 'ImplicitInlineObjectPropertyDelimiter "]"'), $EXPECT($L21, fail, 'ImplicitInlineObjectPropertyDelimiter "}"'), ReservedWord))), function(value) {
6849
6892
  return "";
6850
6893
  });
6851
6894
  var ImplicitInlineObjectPropertyDelimiter$3 = $T($Y(EOS), function(value) {
@@ -9418,7 +9461,7 @@ ${input.slice(result.pos)}
9418
9461
  }
9419
9462
  }
9420
9463
  var ImpliedColon$0 = $S(__, Colon);
9421
- var ImpliedColon$1 = $TV($EXPECT($L18, fail, 'ImpliedColon ""'), function($skip, $loc, $0, $1) {
9464
+ var ImpliedColon$1 = $TV($EXPECT($L17, fail, 'ImpliedColon ""'), function($skip, $loc, $0, $1) {
9422
9465
  return { $loc, token: ":" };
9423
9466
  });
9424
9467
  function ImpliedColon(state) {
@@ -9672,7 +9715,7 @@ ${input.slice(result.pos)}
9672
9715
  return result;
9673
9716
  }
9674
9717
  }
9675
- var SuppressIndentedApplication$0 = $TV($EXPECT($L18, fail, 'SuppressIndentedApplication ""'), function($skip, $loc, $0, $1) {
9718
+ var SuppressIndentedApplication$0 = $TV($EXPECT($L17, fail, 'SuppressIndentedApplication ""'), function($skip, $loc, $0, $1) {
9676
9719
  module2.suppressIndentedApplication = true;
9677
9720
  });
9678
9721
  function SuppressIndentedApplication(state) {
@@ -9697,7 +9740,7 @@ ${input.slice(result.pos)}
9697
9740
  return result;
9698
9741
  }
9699
9742
  }
9700
- var IndentedApplicationAllowed$0 = $TV($EXPECT($L18, fail, 'IndentedApplicationAllowed ""'), function($skip, $loc, $0, $1) {
9743
+ var IndentedApplicationAllowed$0 = $TV($EXPECT($L17, fail, 'IndentedApplicationAllowed ""'), function($skip, $loc, $0, $1) {
9701
9744
  if (module2.suppressIndentedApplication)
9702
9745
  return $skip;
9703
9746
  return;
@@ -9724,7 +9767,7 @@ ${input.slice(result.pos)}
9724
9767
  return result;
9725
9768
  }
9726
9769
  }
9727
- var SuppressTrailingMemberProperty$0 = $TV($EXPECT($L18, fail, 'SuppressTrailingMemberProperty ""'), function($skip, $loc, $0, $1) {
9770
+ var SuppressTrailingMemberProperty$0 = $TV($EXPECT($L17, fail, 'SuppressTrailingMemberProperty ""'), function($skip, $loc, $0, $1) {
9728
9771
  module2.suppressTrailingMemberProperty.push(true);
9729
9772
  });
9730
9773
  function SuppressTrailingMemberProperty(state) {
@@ -9749,7 +9792,7 @@ ${input.slice(result.pos)}
9749
9792
  return result;
9750
9793
  }
9751
9794
  }
9752
- var TrailingMemberPropertyAllowed$0 = $TV($EXPECT($L18, fail, 'TrailingMemberPropertyAllowed ""'), function($skip, $loc, $0, $1) {
9795
+ var TrailingMemberPropertyAllowed$0 = $TV($EXPECT($L17, fail, 'TrailingMemberPropertyAllowed ""'), function($skip, $loc, $0, $1) {
9753
9796
  if (module2.trailingMemberPropertySuppressed)
9754
9797
  return $skip;
9755
9798
  });
@@ -9963,7 +10006,7 @@ ${input.slice(result.pos)}
9963
10006
  return result;
9964
10007
  }
9965
10008
  }
9966
- var ImpliedImport$0 = $TV($EXPECT($L18, fail, 'ImpliedImport ""'), function($skip, $loc, $0, $1) {
10009
+ var ImpliedImport$0 = $TV($EXPECT($L17, fail, 'ImpliedImport ""'), function($skip, $loc, $0, $1) {
9967
10010
  return { $loc, token: "import " };
9968
10011
  });
9969
10012
  function ImpliedImport(state) {
@@ -12407,7 +12450,7 @@ ${input.slice(result.pos)}
12407
12450
  return result;
12408
12451
  }
12409
12452
  }
12410
- var Loc$0 = $TV($EXPECT($L18, fail, 'Loc ""'), function($skip, $loc, $0, $1) {
12453
+ var Loc$0 = $TV($EXPECT($L17, fail, 'Loc ""'), function($skip, $loc, $0, $1) {
12411
12454
  return { $loc, token: "" };
12412
12455
  });
12413
12456
  function Loc(state) {
@@ -12782,7 +12825,7 @@ ${input.slice(result.pos)}
12782
12825
  return result;
12783
12826
  }
12784
12827
  }
12785
- var CloseParen$0 = $TV($EXPECT($L19, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
12828
+ var CloseParen$0 = $TV($EXPECT($L18, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
12786
12829
  return { $loc, token: $1 };
12787
12830
  });
12788
12831
  function CloseParen(state) {
@@ -12857,7 +12900,7 @@ ${input.slice(result.pos)}
12857
12900
  return result;
12858
12901
  }
12859
12902
  }
12860
- var Comma$0 = $TV($EXPECT($L105, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
12903
+ var Comma$0 = $TV($EXPECT($L19, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
12861
12904
  return { $loc, token: $1 };
12862
12905
  });
12863
12906
  function Comma(state) {
@@ -12907,7 +12950,7 @@ ${input.slice(result.pos)}
12907
12950
  return result;
12908
12951
  }
12909
12952
  }
12910
- var Declare$0 = $TS($S($EXPECT($L106, fail, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12953
+ var Declare$0 = $TS($S($EXPECT($L105, fail, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12911
12954
  return { $loc, token: $1 };
12912
12955
  });
12913
12956
  function Declare(state) {
@@ -12932,7 +12975,7 @@ ${input.slice(result.pos)}
12932
12975
  return result;
12933
12976
  }
12934
12977
  }
12935
- var Default$0 = $TS($S($EXPECT($L107, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12978
+ var Default$0 = $TS($S($EXPECT($L106, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12936
12979
  return { $loc, token: $1 };
12937
12980
  });
12938
12981
  function Default(state) {
@@ -12957,7 +13000,7 @@ ${input.slice(result.pos)}
12957
13000
  return result;
12958
13001
  }
12959
13002
  }
12960
- var Delete$0 = $TS($S($EXPECT($L108, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13003
+ var Delete$0 = $TS($S($EXPECT($L107, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12961
13004
  return { $loc, token: $1 };
12962
13005
  });
12963
13006
  function Delete(state) {
@@ -12982,7 +13025,7 @@ ${input.slice(result.pos)}
12982
13025
  return result;
12983
13026
  }
12984
13027
  }
12985
- var Do$0 = $TS($S($EXPECT($L109, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13028
+ var Do$0 = $TS($S($EXPECT($L108, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12986
13029
  return { $loc, token: $1 };
12987
13030
  });
12988
13031
  function Do(state) {
@@ -13032,7 +13075,7 @@ ${input.slice(result.pos)}
13032
13075
  return result;
13033
13076
  }
13034
13077
  }
13035
- var DotDot$0 = $TV($EXPECT($L110, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
13078
+ var DotDot$0 = $TV($EXPECT($L109, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
13036
13079
  return { $loc, token: $1 };
13037
13080
  });
13038
13081
  function DotDot(state) {
@@ -13057,7 +13100,7 @@ ${input.slice(result.pos)}
13057
13100
  return result;
13058
13101
  }
13059
13102
  }
13060
- var DotDotDot$0 = $TV($EXPECT($L111, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
13103
+ var DotDotDot$0 = $TV($EXPECT($L110, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
13061
13104
  return { $loc, token: $1 };
13062
13105
  });
13063
13106
  function DotDotDot(state) {
@@ -13082,7 +13125,7 @@ ${input.slice(result.pos)}
13082
13125
  return result;
13083
13126
  }
13084
13127
  }
13085
- var DoubleColon$0 = $TV($EXPECT($L112, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
13128
+ var DoubleColon$0 = $TV($EXPECT($L111, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
13086
13129
  return { $loc, token: $1 };
13087
13130
  });
13088
13131
  function DoubleColon(state) {
@@ -13107,7 +13150,7 @@ ${input.slice(result.pos)}
13107
13150
  return result;
13108
13151
  }
13109
13152
  }
13110
- var DoubleQuote$0 = $TV($EXPECT($L113, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
13153
+ var DoubleQuote$0 = $TV($EXPECT($L112, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
13111
13154
  return { $loc, token: $1 };
13112
13155
  });
13113
13156
  function DoubleQuote(state) {
@@ -13132,7 +13175,7 @@ ${input.slice(result.pos)}
13132
13175
  return result;
13133
13176
  }
13134
13177
  }
13135
- var Else$0 = $TS($S($EXPECT($L114, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13178
+ var Else$0 = $TS($S($EXPECT($L113, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13136
13179
  return { $loc, token: $1 };
13137
13180
  });
13138
13181
  function Else(state) {
@@ -13182,7 +13225,7 @@ ${input.slice(result.pos)}
13182
13225
  return result;
13183
13226
  }
13184
13227
  }
13185
- var Export$0 = $TS($S($EXPECT($L115, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13228
+ var Export$0 = $TS($S($EXPECT($L114, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13186
13229
  return { $loc, token: $1 };
13187
13230
  });
13188
13231
  function Export(state) {
@@ -13207,7 +13250,7 @@ ${input.slice(result.pos)}
13207
13250
  return result;
13208
13251
  }
13209
13252
  }
13210
- var Extends$0 = $TS($S($EXPECT($L116, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13253
+ var Extends$0 = $TS($S($EXPECT($L115, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13211
13254
  return { $loc, token: $1 };
13212
13255
  });
13213
13256
  function Extends(state) {
@@ -13232,7 +13275,7 @@ ${input.slice(result.pos)}
13232
13275
  return result;
13233
13276
  }
13234
13277
  }
13235
- var Finally$0 = $TS($S($EXPECT($L117, fail, 'Finally "finally"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13278
+ var Finally$0 = $TS($S($EXPECT($L116, fail, 'Finally "finally"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13236
13279
  return { $loc, token: $1 };
13237
13280
  });
13238
13281
  function Finally(state) {
@@ -13257,7 +13300,7 @@ ${input.slice(result.pos)}
13257
13300
  return result;
13258
13301
  }
13259
13302
  }
13260
- var For$0 = $TS($S($EXPECT($L118, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13303
+ var For$0 = $TS($S($EXPECT($L117, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13261
13304
  return { $loc, token: $1 };
13262
13305
  });
13263
13306
  function For(state) {
@@ -13282,7 +13325,7 @@ ${input.slice(result.pos)}
13282
13325
  return result;
13283
13326
  }
13284
13327
  }
13285
- var From$0 = $TS($S($EXPECT($L119, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13328
+ var From$0 = $TS($S($EXPECT($L118, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13286
13329
  return { $loc, token: $1 };
13287
13330
  });
13288
13331
  function From(state) {
@@ -13307,7 +13350,7 @@ ${input.slice(result.pos)}
13307
13350
  return result;
13308
13351
  }
13309
13352
  }
13310
- var Function$0 = $TS($S($EXPECT($L120, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13353
+ var Function$0 = $TS($S($EXPECT($L119, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13311
13354
  return { $loc, token: $1 };
13312
13355
  });
13313
13356
  function Function(state) {
@@ -13332,7 +13375,7 @@ ${input.slice(result.pos)}
13332
13375
  return result;
13333
13376
  }
13334
13377
  }
13335
- var GetOrSet$0 = $TS($S($C($EXPECT($L121, fail, 'GetOrSet "get"'), $EXPECT($L122, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13378
+ var GetOrSet$0 = $TS($S($C($EXPECT($L120, fail, 'GetOrSet "get"'), $EXPECT($L121, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13336
13379
  return { $loc, token: $1, type: "GetOrSet" };
13337
13380
  });
13338
13381
  function GetOrSet(state) {
@@ -13357,7 +13400,7 @@ ${input.slice(result.pos)}
13357
13400
  return result;
13358
13401
  }
13359
13402
  }
13360
- var If$0 = $TV($TEXT($S($EXPECT($L123, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L8, fail, 'If " "')))), function($skip, $loc, $0, $1) {
13403
+ var If$0 = $TV($TEXT($S($EXPECT($L122, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L8, fail, 'If " "')))), function($skip, $loc, $0, $1) {
13361
13404
  return { $loc, token: $1 };
13362
13405
  });
13363
13406
  function If(state) {
@@ -13432,7 +13475,7 @@ ${input.slice(result.pos)}
13432
13475
  return result;
13433
13476
  }
13434
13477
  }
13435
- var LetOrConst$0 = $TS($S($C($EXPECT($L124, fail, 'LetOrConst "let"'), $EXPECT($L125, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13478
+ var LetOrConst$0 = $TS($S($C($EXPECT($L123, fail, 'LetOrConst "let"'), $EXPECT($L124, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13436
13479
  return { $loc, token: $1 };
13437
13480
  });
13438
13481
  function LetOrConst(state) {
@@ -13457,7 +13500,7 @@ ${input.slice(result.pos)}
13457
13500
  return result;
13458
13501
  }
13459
13502
  }
13460
- var Loop$0 = $TS($S($EXPECT($L126, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13503
+ var Loop$0 = $TS($S($EXPECT($L125, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13461
13504
  return { $loc, token: "while(true)" };
13462
13505
  });
13463
13506
  function Loop(state) {
@@ -13482,7 +13525,7 @@ ${input.slice(result.pos)}
13482
13525
  return result;
13483
13526
  }
13484
13527
  }
13485
- var New$0 = $TS($S($EXPECT($L127, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13528
+ var New$0 = $TS($S($EXPECT($L126, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13486
13529
  return { $loc, token: $1 };
13487
13530
  });
13488
13531
  function New(state) {
@@ -13557,7 +13600,7 @@ ${input.slice(result.pos)}
13557
13600
  return result;
13558
13601
  }
13559
13602
  }
13560
- var OpenAngleBracket$0 = $TV($EXPECT($L128, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
13603
+ var OpenAngleBracket$0 = $TV($EXPECT($L127, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
13561
13604
  return { $loc, token: $1 };
13562
13605
  });
13563
13606
  function OpenAngleBracket(state) {
@@ -13582,7 +13625,7 @@ ${input.slice(result.pos)}
13582
13625
  return result;
13583
13626
  }
13584
13627
  }
13585
- var OpenBrace$0 = $TV($EXPECT($L129, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
13628
+ var OpenBrace$0 = $TV($EXPECT($L128, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
13586
13629
  return { $loc, token: $1 };
13587
13630
  });
13588
13631
  function OpenBrace(state) {
@@ -13657,7 +13700,7 @@ ${input.slice(result.pos)}
13657
13700
  return result;
13658
13701
  }
13659
13702
  }
13660
- var Operator$0 = $TS($S($EXPECT($L130, fail, 'Operator "operator"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13703
+ var Operator$0 = $TS($S($EXPECT($L129, fail, 'Operator "operator"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13661
13704
  return { $loc, token: $1 };
13662
13705
  });
13663
13706
  function Operator(state) {
@@ -13682,7 +13725,7 @@ ${input.slice(result.pos)}
13682
13725
  return result;
13683
13726
  }
13684
13727
  }
13685
- var Public$0 = $TS($S($EXPECT($L131, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13728
+ var Public$0 = $TS($S($EXPECT($L130, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13686
13729
  return { $loc, token: $1 };
13687
13730
  });
13688
13731
  function Public(state) {
@@ -13707,7 +13750,7 @@ ${input.slice(result.pos)}
13707
13750
  return result;
13708
13751
  }
13709
13752
  }
13710
- var Private$0 = $TS($S($EXPECT($L132, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13753
+ var Private$0 = $TS($S($EXPECT($L131, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13711
13754
  return { $loc, token: $1 };
13712
13755
  });
13713
13756
  function Private(state) {
@@ -13732,7 +13775,7 @@ ${input.slice(result.pos)}
13732
13775
  return result;
13733
13776
  }
13734
13777
  }
13735
- var Protected$0 = $TS($S($EXPECT($L133, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13778
+ var Protected$0 = $TS($S($EXPECT($L132, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13736
13779
  return { $loc, token: $1 };
13737
13780
  });
13738
13781
  function Protected(state) {
@@ -13757,7 +13800,7 @@ ${input.slice(result.pos)}
13757
13800
  return result;
13758
13801
  }
13759
13802
  }
13760
- var Pipe$0 = $TV($EXPECT($L134, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
13803
+ var Pipe$0 = $TV($EXPECT($L133, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
13761
13804
  return { $loc, token: $1 };
13762
13805
  });
13763
13806
  function Pipe(state) {
@@ -13807,7 +13850,7 @@ ${input.slice(result.pos)}
13807
13850
  return result;
13808
13851
  }
13809
13852
  }
13810
- var Readonly$0 = $TS($S($EXPECT($L135, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13853
+ var Readonly$0 = $TS($S($EXPECT($L134, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13811
13854
  return { $loc, token: $1, ts: true };
13812
13855
  });
13813
13856
  function Readonly(state) {
@@ -13832,7 +13875,7 @@ ${input.slice(result.pos)}
13832
13875
  return result;
13833
13876
  }
13834
13877
  }
13835
- var Return$0 = $TS($S($EXPECT($L136, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13878
+ var Return$0 = $TS($S($EXPECT($L135, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13836
13879
  return { $loc, token: $1 };
13837
13880
  });
13838
13881
  function Return(state) {
@@ -13857,7 +13900,7 @@ ${input.slice(result.pos)}
13857
13900
  return result;
13858
13901
  }
13859
13902
  }
13860
- var Satisfies$0 = $TS($S($EXPECT($L137, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13903
+ var Satisfies$0 = $TS($S($EXPECT($L136, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13861
13904
  return { $loc, token: $1 };
13862
13905
  });
13863
13906
  function Satisfies(state) {
@@ -13907,7 +13950,7 @@ ${input.slice(result.pos)}
13907
13950
  return result;
13908
13951
  }
13909
13952
  }
13910
- var SingleQuote$0 = $TV($EXPECT($L138, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
13953
+ var SingleQuote$0 = $TV($EXPECT($L137, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
13911
13954
  return { $loc, token: $1 };
13912
13955
  });
13913
13956
  function SingleQuote(state) {
@@ -13957,7 +14000,7 @@ ${input.slice(result.pos)}
13957
14000
  return result;
13958
14001
  }
13959
14002
  }
13960
- var Static$0 = $TS($S($EXPECT($L139, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14003
+ var Static$0 = $TS($S($EXPECT($L138, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13961
14004
  return { $loc, token: $1 };
13962
14005
  });
13963
14006
  var Static$1 = $TS($S($EXPECT($L96, fail, 'Static "@"'), $N($C($EXPECT($L2, fail, 'Static "("'), $EXPECT($L96, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
@@ -13985,7 +14028,7 @@ ${input.slice(result.pos)}
13985
14028
  return result;
13986
14029
  }
13987
14030
  }
13988
- var SubstitutionStart$0 = $TV($EXPECT($L140, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
14031
+ var SubstitutionStart$0 = $TV($EXPECT($L139, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
13989
14032
  return { $loc, token: $1 };
13990
14033
  });
13991
14034
  function SubstitutionStart(state) {
@@ -14010,7 +14053,7 @@ ${input.slice(result.pos)}
14010
14053
  return result;
14011
14054
  }
14012
14055
  }
14013
- var Switch$0 = $TS($S($EXPECT($L141, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14056
+ var Switch$0 = $TS($S($EXPECT($L140, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14014
14057
  return { $loc, token: $1 };
14015
14058
  });
14016
14059
  function Switch(state) {
@@ -14035,7 +14078,7 @@ ${input.slice(result.pos)}
14035
14078
  return result;
14036
14079
  }
14037
14080
  }
14038
- var Target$0 = $TS($S($EXPECT($L142, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14081
+ var Target$0 = $TS($S($EXPECT($L141, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14039
14082
  return { $loc, token: $1 };
14040
14083
  });
14041
14084
  function Target(state) {
@@ -14060,7 +14103,7 @@ ${input.slice(result.pos)}
14060
14103
  return result;
14061
14104
  }
14062
14105
  }
14063
- var Then$0 = $TS($S(__, $EXPECT($L143, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
14106
+ var Then$0 = $TS($S(__, $EXPECT($L142, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
14064
14107
  return { $loc, token: "" };
14065
14108
  });
14066
14109
  function Then(state) {
@@ -14085,7 +14128,7 @@ ${input.slice(result.pos)}
14085
14128
  return result;
14086
14129
  }
14087
14130
  }
14088
- var This$0 = $TS($S($EXPECT($L144, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14131
+ var This$0 = $TS($S($EXPECT($L143, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14089
14132
  return { $loc, token: $1 };
14090
14133
  });
14091
14134
  function This(state) {
@@ -14110,7 +14153,7 @@ ${input.slice(result.pos)}
14110
14153
  return result;
14111
14154
  }
14112
14155
  }
14113
- var Throw$0 = $TS($S($EXPECT($L145, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14156
+ var Throw$0 = $TS($S($EXPECT($L144, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14114
14157
  return { $loc, token: $1 };
14115
14158
  });
14116
14159
  function Throw(state) {
@@ -14135,7 +14178,7 @@ ${input.slice(result.pos)}
14135
14178
  return result;
14136
14179
  }
14137
14180
  }
14138
- var TripleDoubleQuote$0 = $TV($EXPECT($L146, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
14181
+ var TripleDoubleQuote$0 = $TV($EXPECT($L145, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
14139
14182
  return { $loc, token: "`" };
14140
14183
  });
14141
14184
  function TripleDoubleQuote(state) {
@@ -14160,7 +14203,7 @@ ${input.slice(result.pos)}
14160
14203
  return result;
14161
14204
  }
14162
14205
  }
14163
- var TripleSingleQuote$0 = $TV($EXPECT($L147, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
14206
+ var TripleSingleQuote$0 = $TV($EXPECT($L146, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
14164
14207
  return { $loc, token: "`" };
14165
14208
  });
14166
14209
  function TripleSingleQuote(state) {
@@ -14185,7 +14228,7 @@ ${input.slice(result.pos)}
14185
14228
  return result;
14186
14229
  }
14187
14230
  }
14188
- var TripleSlash$0 = $TV($EXPECT($L148, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
14231
+ var TripleSlash$0 = $TV($EXPECT($L147, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
14189
14232
  return { $loc, token: "/" };
14190
14233
  });
14191
14234
  function TripleSlash(state) {
@@ -14210,7 +14253,7 @@ ${input.slice(result.pos)}
14210
14253
  return result;
14211
14254
  }
14212
14255
  }
14213
- var TripleTick$0 = $TV($EXPECT($L149, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
14256
+ var TripleTick$0 = $TV($EXPECT($L148, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
14214
14257
  return { $loc, token: "`" };
14215
14258
  });
14216
14259
  function TripleTick(state) {
@@ -14235,7 +14278,7 @@ ${input.slice(result.pos)}
14235
14278
  return result;
14236
14279
  }
14237
14280
  }
14238
- var Try$0 = $TS($S($EXPECT($L150, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14281
+ var Try$0 = $TS($S($EXPECT($L149, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14239
14282
  return { $loc, token: $1 };
14240
14283
  });
14241
14284
  function Try(state) {
@@ -14260,7 +14303,7 @@ ${input.slice(result.pos)}
14260
14303
  return result;
14261
14304
  }
14262
14305
  }
14263
- var Typeof$0 = $TS($S($EXPECT($L151, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14306
+ var Typeof$0 = $TS($S($EXPECT($L150, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14264
14307
  return { $loc, token: $1 };
14265
14308
  });
14266
14309
  function Typeof(state) {
@@ -14285,7 +14328,7 @@ ${input.slice(result.pos)}
14285
14328
  return result;
14286
14329
  }
14287
14330
  }
14288
- var Unless$0 = $TS($S($EXPECT($L152, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14331
+ var Unless$0 = $TS($S($EXPECT($L151, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14289
14332
  return { $loc, token: $1 };
14290
14333
  });
14291
14334
  function Unless(state) {
@@ -14310,7 +14353,7 @@ ${input.slice(result.pos)}
14310
14353
  return result;
14311
14354
  }
14312
14355
  }
14313
- var Until$0 = $TS($S($EXPECT($L153, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14356
+ var Until$0 = $TS($S($EXPECT($L152, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14314
14357
  return { $loc, token: $1 };
14315
14358
  });
14316
14359
  function Until(state) {
@@ -14335,7 +14378,7 @@ ${input.slice(result.pos)}
14335
14378
  return result;
14336
14379
  }
14337
14380
  }
14338
- var Var$0 = $TS($S($EXPECT($L154, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14381
+ var Var$0 = $TS($S($EXPECT($L153, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14339
14382
  return { $loc, token: $1 };
14340
14383
  });
14341
14384
  function Var(state) {
@@ -14360,7 +14403,7 @@ ${input.slice(result.pos)}
14360
14403
  return result;
14361
14404
  }
14362
14405
  }
14363
- var Void$0 = $TS($S($EXPECT($L155, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14406
+ var Void$0 = $TS($S($EXPECT($L154, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14364
14407
  return { $loc, token: $1 };
14365
14408
  });
14366
14409
  function Void(state) {
@@ -14385,7 +14428,7 @@ ${input.slice(result.pos)}
14385
14428
  return result;
14386
14429
  }
14387
14430
  }
14388
- var When$0 = $TS($S($EXPECT($L156, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14431
+ var When$0 = $TS($S($EXPECT($L155, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14389
14432
  return { $loc, token: "case" };
14390
14433
  });
14391
14434
  function When(state) {
@@ -14410,7 +14453,7 @@ ${input.slice(result.pos)}
14410
14453
  return result;
14411
14454
  }
14412
14455
  }
14413
- var While$0 = $TS($S($EXPECT($L157, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14456
+ var While$0 = $TS($S($EXPECT($L156, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14414
14457
  return { $loc, token: $1 };
14415
14458
  });
14416
14459
  function While(state) {
@@ -14435,7 +14478,7 @@ ${input.slice(result.pos)}
14435
14478
  return result;
14436
14479
  }
14437
14480
  }
14438
- var Yield$0 = $TS($S($EXPECT($L158, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14481
+ var Yield$0 = $TS($S($EXPECT($L157, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14439
14482
  return { $loc, token: $1 };
14440
14483
  });
14441
14484
  function Yield(state) {
@@ -14581,7 +14624,7 @@ ${input.slice(result.pos)}
14581
14624
  return result;
14582
14625
  }
14583
14626
  }
14584
- var JSXSelfClosingElement$0 = $TS($S($EXPECT($L128, fail, 'JSXSelfClosingElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L159, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
14627
+ var JSXSelfClosingElement$0 = $TS($S($EXPECT($L127, fail, 'JSXSelfClosingElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L158, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
14585
14628
  return { type: "JSXElement", children: $0, tag: $2 };
14586
14629
  });
14587
14630
  function JSXSelfClosingElement(state) {
@@ -14632,7 +14675,7 @@ ${input.slice(result.pos)}
14632
14675
  return result;
14633
14676
  }
14634
14677
  }
14635
- var JSXOpeningElement$0 = $S($EXPECT($L128, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L29, fail, 'JSXOpeningElement ">"'));
14678
+ var JSXOpeningElement$0 = $S($EXPECT($L127, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L29, fail, 'JSXOpeningElement ">"'));
14636
14679
  function JSXOpeningElement(state) {
14637
14680
  let eventData;
14638
14681
  if (state.events) {
@@ -14661,7 +14704,7 @@ ${input.slice(result.pos)}
14661
14704
  return $skip;
14662
14705
  return $0;
14663
14706
  });
14664
- var JSXOptionalClosingElement$1 = $EXPECT($L18, fail, 'JSXOptionalClosingElement ""');
14707
+ var JSXOptionalClosingElement$1 = $EXPECT($L17, fail, 'JSXOptionalClosingElement ""');
14665
14708
  function JSXOptionalClosingElement(state) {
14666
14709
  let eventData;
14667
14710
  if (state.events) {
@@ -14684,7 +14727,7 @@ ${input.slice(result.pos)}
14684
14727
  return result;
14685
14728
  }
14686
14729
  }
14687
- var JSXClosingElement$0 = $S($EXPECT($L160, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L29, fail, 'JSXClosingElement ">"'));
14730
+ var JSXClosingElement$0 = $S($EXPECT($L159, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L29, fail, 'JSXClosingElement ">"'));
14688
14731
  function JSXClosingElement(state) {
14689
14732
  let eventData;
14690
14733
  if (state.events) {
@@ -14723,7 +14766,7 @@ ${input.slice(result.pos)}
14723
14766
  ];
14724
14767
  return { type: "JSXFragment", children: parts, jsxChildren: children.jsxChildren };
14725
14768
  });
14726
- var JSXFragment$1 = $TS($S(CoffeeJSXEnabled, $EXPECT($L161, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), JSXClosingFragment), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
14769
+ var JSXFragment$1 = $TS($S(CoffeeJSXEnabled, $EXPECT($L160, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), JSXClosingFragment), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
14727
14770
  var children = $3;
14728
14771
  $0 = $0.slice(1);
14729
14772
  return {
@@ -14754,7 +14797,7 @@ ${input.slice(result.pos)}
14754
14797
  return result;
14755
14798
  }
14756
14799
  }
14757
- var PushJSXOpeningFragment$0 = $TV($EXPECT($L161, fail, 'PushJSXOpeningFragment "<>"'), function($skip, $loc, $0, $1) {
14800
+ var PushJSXOpeningFragment$0 = $TV($EXPECT($L160, fail, 'PushJSXOpeningFragment "<>"'), function($skip, $loc, $0, $1) {
14758
14801
  module2.JSXTagStack.push("");
14759
14802
  return $1;
14760
14803
  });
@@ -14785,7 +14828,7 @@ ${input.slice(result.pos)}
14785
14828
  return $skip;
14786
14829
  return $0;
14787
14830
  });
14788
- var JSXOptionalClosingFragment$1 = $EXPECT($L18, fail, 'JSXOptionalClosingFragment ""');
14831
+ var JSXOptionalClosingFragment$1 = $EXPECT($L17, fail, 'JSXOptionalClosingFragment ""');
14789
14832
  function JSXOptionalClosingFragment(state) {
14790
14833
  let eventData;
14791
14834
  if (state.events) {
@@ -14808,7 +14851,7 @@ ${input.slice(result.pos)}
14808
14851
  return result;
14809
14852
  }
14810
14853
  }
14811
- var JSXClosingFragment$0 = $EXPECT($L162, fail, 'JSXClosingFragment "</>"');
14854
+ var JSXClosingFragment$0 = $EXPECT($L161, fail, 'JSXClosingFragment "</>"');
14812
14855
  function JSXClosingFragment(state) {
14813
14856
  let eventData;
14814
14857
  if (state.events) {
@@ -15704,7 +15747,7 @@ ${input.slice(result.pos)}
15704
15747
  return result;
15705
15748
  }
15706
15749
  }
15707
- var JSXComment$0 = $TS($S($EXPECT($L163, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L164, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
15750
+ var JSXComment$0 = $TS($S($EXPECT($L162, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L163, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
15708
15751
  return ["{/*", $2, "*/}"];
15709
15752
  });
15710
15753
  function JSXComment(state) {
@@ -16002,7 +16045,7 @@ ${input.slice(result.pos)}
16002
16045
  return result;
16003
16046
  }
16004
16047
  }
16005
- var TypeKeyword$0 = $S($EXPECT($L165, fail, 'TypeKeyword "type"'), NonIdContinue);
16048
+ var TypeKeyword$0 = $S($EXPECT($L164, fail, 'TypeKeyword "type"'), NonIdContinue);
16006
16049
  function TypeKeyword(state) {
16007
16050
  let eventData;
16008
16051
  if (state.events) {
@@ -16025,7 +16068,7 @@ ${input.slice(result.pos)}
16025
16068
  return result;
16026
16069
  }
16027
16070
  }
16028
- var Interface$0 = $S($EXPECT($L166, fail, 'Interface "interface"'), NonIdContinue);
16071
+ var Interface$0 = $S($EXPECT($L165, fail, 'Interface "interface"'), NonIdContinue);
16029
16072
  function Interface(state) {
16030
16073
  let eventData;
16031
16074
  if (state.events) {
@@ -16048,7 +16091,7 @@ ${input.slice(result.pos)}
16048
16091
  return result;
16049
16092
  }
16050
16093
  }
16051
- var Namespace$0 = $S($EXPECT($L167, fail, 'Namespace "namespace"'), NonIdContinue);
16094
+ var Namespace$0 = $S($EXPECT($L166, fail, 'Namespace "namespace"'), NonIdContinue);
16052
16095
  function Namespace(state) {
16053
16096
  let eventData;
16054
16097
  if (state.events) {
@@ -16296,7 +16339,7 @@ ${input.slice(result.pos)}
16296
16339
  return result;
16297
16340
  }
16298
16341
  }
16299
- var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R54, fail, "TypeIndexSignature /[+-]?/")), $EXPECT($L135, fail, 'TypeIndexSignature "readonly"'), __)), OpenBracket, TypeIndex, CloseBracket, $E($S(__, $R$0($EXPECT($R55, fail, "TypeIndexSignature /[+-]/")), QuestionMark)));
16342
+ var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R54, fail, "TypeIndexSignature /[+-]?/")), $EXPECT($L134, fail, 'TypeIndexSignature "readonly"'), __)), OpenBracket, TypeIndex, CloseBracket, $E($S(__, $R$0($EXPECT($R55, fail, "TypeIndexSignature /[+-]/")), QuestionMark)));
16300
16343
  function TypeIndexSignature(state) {
16301
16344
  let eventData;
16302
16345
  if (state.events) {
@@ -16368,7 +16411,7 @@ ${input.slice(result.pos)}
16368
16411
  return result;
16369
16412
  }
16370
16413
  }
16371
- var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L168, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
16414
+ var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L167, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
16372
16415
  const children = [...$1, $2];
16373
16416
  if ($3)
16374
16417
  children.push($3);
@@ -16527,10 +16570,10 @@ ${input.slice(result.pos)}
16527
16570
  return result;
16528
16571
  }
16529
16572
  }
16530
- var TypeUnaryOp$0 = $S($EXPECT($L169, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
16531
- var TypeUnaryOp$1 = $S($EXPECT($L151, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
16532
- var TypeUnaryOp$2 = $S($EXPECT($L170, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
16533
- var TypeUnaryOp$3 = $S($EXPECT($L135, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
16573
+ var TypeUnaryOp$0 = $S($EXPECT($L168, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
16574
+ var TypeUnaryOp$1 = $S($EXPECT($L150, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
16575
+ var TypeUnaryOp$2 = $S($EXPECT($L169, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
16576
+ var TypeUnaryOp$3 = $S($EXPECT($L134, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
16534
16577
  function TypeUnaryOp(state) {
16535
16578
  let eventData;
16536
16579
  if (state.events) {
@@ -16728,7 +16771,7 @@ ${input.slice(result.pos)}
16728
16771
  return result;
16729
16772
  }
16730
16773
  }
16731
- var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L116, fail, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
16774
+ var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L115, fail, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
16732
16775
  if ($2)
16733
16776
  return $0;
16734
16777
  return $1;
@@ -16757,10 +16800,10 @@ ${input.slice(result.pos)}
16757
16800
  }
16758
16801
  var TypeLiteral$0 = TemplateLiteral;
16759
16802
  var TypeLiteral$1 = Literal;
16760
- var TypeLiteral$2 = $TS($S($EXPECT($L155, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16803
+ var TypeLiteral$2 = $TS($S($EXPECT($L154, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16761
16804
  return { $loc, token: "void" };
16762
16805
  });
16763
- var TypeLiteral$3 = $TV($EXPECT($L171, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
16806
+ var TypeLiteral$3 = $TV($EXPECT($L170, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
16764
16807
  return { $loc, token: "[]" };
16765
16808
  });
16766
16809
  function TypeLiteral(state) {
@@ -16835,7 +16878,7 @@ ${input.slice(result.pos)}
16835
16878
  var InlineInterfacePropertyDelimiter$1 = $T($S($Y($S($C(IndentedFurther, $E(_)), InlineBasicInterfaceProperty)), InsertComma), function(value) {
16836
16879
  return value[1];
16837
16880
  });
16838
- var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($L31, fail, 'InlineInterfacePropertyDelimiter ":"'), $EXPECT($L19, fail, 'InlineInterfacePropertyDelimiter ")"'), $EXPECT($L30, fail, 'InlineInterfacePropertyDelimiter "]"'), $EXPECT($L21, fail, 'InlineInterfacePropertyDelimiter "}"'))));
16881
+ var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($L31, fail, 'InlineInterfacePropertyDelimiter ":"'), $EXPECT($L18, fail, 'InlineInterfacePropertyDelimiter ")"'), $EXPECT($L30, fail, 'InlineInterfacePropertyDelimiter "]"'), $EXPECT($L21, fail, 'InlineInterfacePropertyDelimiter "}"'))));
16839
16882
  var InlineInterfacePropertyDelimiter$3 = $Y(EOS);
16840
16883
  function InlineInterfacePropertyDelimiter(state) {
16841
16884
  let eventData;
@@ -16944,7 +16987,7 @@ ${input.slice(result.pos)}
16944
16987
  return result;
16945
16988
  }
16946
16989
  }
16947
- var TypeArguments$0 = $TS($S($EXPECT($L128, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L29, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
16990
+ var TypeArguments$0 = $TS($S($EXPECT($L127, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L29, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
16948
16991
  return { ts: true, children: $0 };
16949
16992
  });
16950
16993
  function TypeArguments(state) {
@@ -17015,7 +17058,7 @@ ${input.slice(result.pos)}
17015
17058
  return result;
17016
17059
  }
17017
17060
  }
17018
- var TypeParameters$0 = $TS($S(__, $EXPECT($L128, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L29, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
17061
+ var TypeParameters$0 = $TS($S(__, $EXPECT($L127, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L29, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
17019
17062
  var parameters = $3;
17020
17063
  return {
17021
17064
  type: "TypeParameters",
@@ -17069,7 +17112,7 @@ ${input.slice(result.pos)}
17069
17112
  return result;
17070
17113
  }
17071
17114
  }
17072
- var TypeConstraint$0 = $S(__, $EXPECT($L116, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
17115
+ var TypeConstraint$0 = $S(__, $EXPECT($L115, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
17073
17116
  function TypeConstraint(state) {
17074
17117
  let eventData;
17075
17118
  if (state.events) {
@@ -17220,7 +17263,7 @@ ${input.slice(result.pos)}
17220
17263
  return result;
17221
17264
  }
17222
17265
  }
17223
- var CivetPrologueContent$0 = $TS($S($EXPECT($L172, fail, 'CivetPrologueContent "civet"'), NonIdContinue, $Q(CivetOption), $EXPECT($R58, fail, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3, $4) {
17266
+ var CivetPrologueContent$0 = $TS($S($EXPECT($L171, fail, 'CivetPrologueContent "civet"'), NonIdContinue, $Q(CivetOption), $EXPECT($R58, fail, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3, $4) {
17224
17267
  var options = $3;
17225
17268
  return {
17226
17269
  type: "CivetPrologue",
@@ -17381,7 +17424,7 @@ ${input.slice(result.pos)}
17381
17424
  return result;
17382
17425
  }
17383
17426
  }
17384
- var Debugger$0 = $TV($EXPECT($L18, fail, 'Debugger ""'), function($skip, $loc, $0, $1) {
17427
+ var Debugger$0 = $TV($EXPECT($L17, fail, 'Debugger ""'), function($skip, $loc, $0, $1) {
17385
17428
  debugger;
17386
17429
  });
17387
17430
  function Debugger(state) {
@@ -17406,7 +17449,7 @@ ${input.slice(result.pos)}
17406
17449
  return result;
17407
17450
  }
17408
17451
  }
17409
- var InsertSemicolon$0 = $TV($EXPECT($L18, fail, 'InsertSemicolon ""'), function($skip, $loc, $0, $1) {
17452
+ var InsertSemicolon$0 = $TV($EXPECT($L17, fail, 'InsertSemicolon ""'), function($skip, $loc, $0, $1) {
17410
17453
  return { $loc, token: ";" };
17411
17454
  });
17412
17455
  function InsertSemicolon(state) {
@@ -17431,7 +17474,7 @@ ${input.slice(result.pos)}
17431
17474
  return result;
17432
17475
  }
17433
17476
  }
17434
- var InsertOpenParen$0 = $TV($EXPECT($L18, fail, 'InsertOpenParen ""'), function($skip, $loc, $0, $1) {
17477
+ var InsertOpenParen$0 = $TV($EXPECT($L17, fail, 'InsertOpenParen ""'), function($skip, $loc, $0, $1) {
17435
17478
  return { $loc, token: "(" };
17436
17479
  });
17437
17480
  function InsertOpenParen(state) {
@@ -17456,7 +17499,7 @@ ${input.slice(result.pos)}
17456
17499
  return result;
17457
17500
  }
17458
17501
  }
17459
- var InsertCloseParen$0 = $TV($EXPECT($L18, fail, 'InsertCloseParen ""'), function($skip, $loc, $0, $1) {
17502
+ var InsertCloseParen$0 = $TV($EXPECT($L17, fail, 'InsertCloseParen ""'), function($skip, $loc, $0, $1) {
17460
17503
  return { $loc, token: ")" };
17461
17504
  });
17462
17505
  function InsertCloseParen(state) {
@@ -17481,7 +17524,7 @@ ${input.slice(result.pos)}
17481
17524
  return result;
17482
17525
  }
17483
17526
  }
17484
- var InsertOpenBrace$0 = $TV($EXPECT($L18, fail, 'InsertOpenBrace ""'), function($skip, $loc, $0, $1) {
17527
+ var InsertOpenBrace$0 = $TV($EXPECT($L17, fail, 'InsertOpenBrace ""'), function($skip, $loc, $0, $1) {
17485
17528
  return [{ $loc, token: " " }, { $loc, token: "{" }];
17486
17529
  });
17487
17530
  function InsertOpenBrace(state) {
@@ -17506,7 +17549,7 @@ ${input.slice(result.pos)}
17506
17549
  return result;
17507
17550
  }
17508
17551
  }
17509
- var InsertInlineOpenBrace$0 = $TV($EXPECT($L18, fail, 'InsertInlineOpenBrace ""'), function($skip, $loc, $0, $1) {
17552
+ var InsertInlineOpenBrace$0 = $TV($EXPECT($L17, fail, 'InsertInlineOpenBrace ""'), function($skip, $loc, $0, $1) {
17510
17553
  return { $loc, token: "{" };
17511
17554
  });
17512
17555
  function InsertInlineOpenBrace(state) {
@@ -17531,7 +17574,7 @@ ${input.slice(result.pos)}
17531
17574
  return result;
17532
17575
  }
17533
17576
  }
17534
- var InsertCloseBrace$0 = $TV($EXPECT($L18, fail, 'InsertCloseBrace ""'), function($skip, $loc, $0, $1) {
17577
+ var InsertCloseBrace$0 = $TV($EXPECT($L17, fail, 'InsertCloseBrace ""'), function($skip, $loc, $0, $1) {
17535
17578
  return { $loc, token: "}" };
17536
17579
  });
17537
17580
  function InsertCloseBrace(state) {
@@ -17556,7 +17599,7 @@ ${input.slice(result.pos)}
17556
17599
  return result;
17557
17600
  }
17558
17601
  }
17559
- var InsertOpenBracket$0 = $TV($EXPECT($L18, fail, 'InsertOpenBracket ""'), function($skip, $loc, $0, $1) {
17602
+ var InsertOpenBracket$0 = $TV($EXPECT($L17, fail, 'InsertOpenBracket ""'), function($skip, $loc, $0, $1) {
17560
17603
  return { $loc, token: "[" };
17561
17604
  });
17562
17605
  function InsertOpenBracket(state) {
@@ -17581,7 +17624,7 @@ ${input.slice(result.pos)}
17581
17624
  return result;
17582
17625
  }
17583
17626
  }
17584
- var InsertCloseBracket$0 = $TV($EXPECT($L18, fail, 'InsertCloseBracket ""'), function($skip, $loc, $0, $1) {
17627
+ var InsertCloseBracket$0 = $TV($EXPECT($L17, fail, 'InsertCloseBracket ""'), function($skip, $loc, $0, $1) {
17585
17628
  return { $loc, token: "]" };
17586
17629
  });
17587
17630
  function InsertCloseBracket(state) {
@@ -17606,7 +17649,7 @@ ${input.slice(result.pos)}
17606
17649
  return result;
17607
17650
  }
17608
17651
  }
17609
- var InsertComma$0 = $TV($EXPECT($L18, fail, 'InsertComma ""'), function($skip, $loc, $0, $1) {
17652
+ var InsertComma$0 = $TV($EXPECT($L17, fail, 'InsertComma ""'), function($skip, $loc, $0, $1) {
17610
17653
  return { $loc, token: "," };
17611
17654
  });
17612
17655
  function InsertComma(state) {
@@ -17631,7 +17674,7 @@ ${input.slice(result.pos)}
17631
17674
  return result;
17632
17675
  }
17633
17676
  }
17634
- var InsertConst$0 = $TV($EXPECT($L18, fail, 'InsertConst ""'), function($skip, $loc, $0, $1) {
17677
+ var InsertConst$0 = $TV($EXPECT($L17, fail, 'InsertConst ""'), function($skip, $loc, $0, $1) {
17635
17678
  return { $loc, token: "const " };
17636
17679
  });
17637
17680
  function InsertConst(state) {
@@ -17656,7 +17699,7 @@ ${input.slice(result.pos)}
17656
17699
  return result;
17657
17700
  }
17658
17701
  }
17659
- var InsertLet$0 = $TV($EXPECT($L18, fail, 'InsertLet ""'), function($skip, $loc, $0, $1) {
17702
+ var InsertLet$0 = $TV($EXPECT($L17, fail, 'InsertLet ""'), function($skip, $loc, $0, $1) {
17660
17703
  return { $loc, token: "let " };
17661
17704
  });
17662
17705
  function InsertLet(state) {
@@ -17681,7 +17724,7 @@ ${input.slice(result.pos)}
17681
17724
  return result;
17682
17725
  }
17683
17726
  }
17684
- var InsertReadonly$0 = $TV($EXPECT($L18, fail, 'InsertReadonly ""'), function($skip, $loc, $0, $1) {
17727
+ var InsertReadonly$0 = $TV($EXPECT($L17, fail, 'InsertReadonly ""'), function($skip, $loc, $0, $1) {
17685
17728
  return { ts: true, children: [{ $loc, token: "readonly " }] };
17686
17729
  });
17687
17730
  function InsertReadonly(state) {
@@ -17706,7 +17749,7 @@ ${input.slice(result.pos)}
17706
17749
  return result;
17707
17750
  }
17708
17751
  }
17709
- var InsertNewline$0 = $TV($EXPECT($L18, fail, 'InsertNewline ""'), function($skip, $loc, $0, $1) {
17752
+ var InsertNewline$0 = $TV($EXPECT($L17, fail, 'InsertNewline ""'), function($skip, $loc, $0, $1) {
17710
17753
  return "\n";
17711
17754
  });
17712
17755
  function InsertNewline(state) {
@@ -17731,7 +17774,7 @@ ${input.slice(result.pos)}
17731
17774
  return result;
17732
17775
  }
17733
17776
  }
17734
- var InsertIndent$0 = $TV($EXPECT($L18, fail, 'InsertIndent ""'), function($skip, $loc, $0, $1) {
17777
+ var InsertIndent$0 = $TV($EXPECT($L17, fail, 'InsertIndent ""'), function($skip, $loc, $0, $1) {
17735
17778
  return module2.currentIndent.token;
17736
17779
  });
17737
17780
  function InsertIndent(state) {
@@ -17756,7 +17799,7 @@ ${input.slice(result.pos)}
17756
17799
  return result;
17757
17800
  }
17758
17801
  }
17759
- var InsertSpace$0 = $TV($EXPECT($L18, fail, 'InsertSpace ""'), function($skip, $loc, $0, $1) {
17802
+ var InsertSpace$0 = $TV($EXPECT($L17, fail, 'InsertSpace ""'), function($skip, $loc, $0, $1) {
17760
17803
  return { $loc, token: " " };
17761
17804
  });
17762
17805
  function InsertSpace(state) {
@@ -17781,7 +17824,7 @@ ${input.slice(result.pos)}
17781
17824
  return result;
17782
17825
  }
17783
17826
  }
17784
- var InsertDot$0 = $TV($EXPECT($L18, fail, 'InsertDot ""'), function($skip, $loc, $0, $1) {
17827
+ var InsertDot$0 = $TV($EXPECT($L17, fail, 'InsertDot ""'), function($skip, $loc, $0, $1) {
17785
17828
  return { $loc, token: "." };
17786
17829
  });
17787
17830
  function InsertDot(state) {
@@ -17806,7 +17849,7 @@ ${input.slice(result.pos)}
17806
17849
  return result;
17807
17850
  }
17808
17851
  }
17809
- var InsertBreak$0 = $TV($EXPECT($L18, fail, 'InsertBreak ""'), function($skip, $loc, $0, $1) {
17852
+ var InsertBreak$0 = $TV($EXPECT($L17, fail, 'InsertBreak ""'), function($skip, $loc, $0, $1) {
17810
17853
  return { $loc, token: ";break;" };
17811
17854
  });
17812
17855
  function InsertBreak(state) {
@@ -17831,7 +17874,7 @@ ${input.slice(result.pos)}
17831
17874
  return result;
17832
17875
  }
17833
17876
  }
17834
- var InsertVar$0 = $TV($EXPECT($L18, fail, 'InsertVar ""'), function($skip, $loc, $0, $1) {
17877
+ var InsertVar$0 = $TV($EXPECT($L17, fail, 'InsertVar ""'), function($skip, $loc, $0, $1) {
17835
17878
  return { $loc, token: "var " };
17836
17879
  });
17837
17880
  function InsertVar(state) {
@@ -17856,7 +17899,7 @@ ${input.slice(result.pos)}
17856
17899
  return result;
17857
17900
  }
17858
17901
  }
17859
- var CoffeeBinaryExistentialEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeBinaryExistentialEnabled ""'), function($skip, $loc, $0, $1) {
17902
+ var CoffeeBinaryExistentialEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeBinaryExistentialEnabled ""'), function($skip, $loc, $0, $1) {
17860
17903
  if (module2.config.coffeeBinaryExistential)
17861
17904
  return;
17862
17905
  return $skip;
@@ -17883,7 +17926,7 @@ ${input.slice(result.pos)}
17883
17926
  return result;
17884
17927
  }
17885
17928
  }
17886
- var CoffeeBooleansEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeBooleansEnabled ""'), function($skip, $loc, $0, $1) {
17929
+ var CoffeeBooleansEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeBooleansEnabled ""'), function($skip, $loc, $0, $1) {
17887
17930
  if (module2.config.coffeeBooleans)
17888
17931
  return;
17889
17932
  return $skip;
@@ -17910,7 +17953,7 @@ ${input.slice(result.pos)}
17910
17953
  return result;
17911
17954
  }
17912
17955
  }
17913
- var CoffeeClassesEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeClassesEnabled ""'), function($skip, $loc, $0, $1) {
17956
+ var CoffeeClassesEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeClassesEnabled ""'), function($skip, $loc, $0, $1) {
17914
17957
  if (module2.config.coffeeClasses)
17915
17958
  return;
17916
17959
  return $skip;
@@ -17937,7 +17980,7 @@ ${input.slice(result.pos)}
17937
17980
  return result;
17938
17981
  }
17939
17982
  }
17940
- var CoffeeCommentEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeCommentEnabled ""'), function($skip, $loc, $0, $1) {
17983
+ var CoffeeCommentEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeCommentEnabled ""'), function($skip, $loc, $0, $1) {
17941
17984
  if (module2.config.coffeeComment)
17942
17985
  return;
17943
17986
  return $skip;
@@ -17964,7 +18007,7 @@ ${input.slice(result.pos)}
17964
18007
  return result;
17965
18008
  }
17966
18009
  }
17967
- var CoffeeDoEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeDoEnabled ""'), function($skip, $loc, $0, $1) {
18010
+ var CoffeeDoEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeDoEnabled ""'), function($skip, $loc, $0, $1) {
17968
18011
  if (module2.config.coffeeDo)
17969
18012
  return;
17970
18013
  return $skip;
@@ -17991,7 +18034,7 @@ ${input.slice(result.pos)}
17991
18034
  return result;
17992
18035
  }
17993
18036
  }
17994
- var CoffeeForLoopsEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeForLoopsEnabled ""'), function($skip, $loc, $0, $1) {
18037
+ var CoffeeForLoopsEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeForLoopsEnabled ""'), function($skip, $loc, $0, $1) {
17995
18038
  if (module2.config.coffeeForLoops)
17996
18039
  return;
17997
18040
  return $skip;
@@ -18018,7 +18061,7 @@ ${input.slice(result.pos)}
18018
18061
  return result;
18019
18062
  }
18020
18063
  }
18021
- var CoffeeInterpolationEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeInterpolationEnabled ""'), function($skip, $loc, $0, $1) {
18064
+ var CoffeeInterpolationEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeInterpolationEnabled ""'), function($skip, $loc, $0, $1) {
18022
18065
  if (module2.config.coffeeInterpolation)
18023
18066
  return;
18024
18067
  return $skip;
@@ -18045,7 +18088,7 @@ ${input.slice(result.pos)}
18045
18088
  return result;
18046
18089
  }
18047
18090
  }
18048
- var CoffeeIsntEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeIsntEnabled ""'), function($skip, $loc, $0, $1) {
18091
+ var CoffeeIsntEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeIsntEnabled ""'), function($skip, $loc, $0, $1) {
18049
18092
  if (module2.config.coffeeIsnt)
18050
18093
  return;
18051
18094
  return $skip;
@@ -18072,7 +18115,7 @@ ${input.slice(result.pos)}
18072
18115
  return result;
18073
18116
  }
18074
18117
  }
18075
- var CoffeeJSXEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeJSXEnabled ""'), function($skip, $loc, $0, $1) {
18118
+ var CoffeeJSXEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeJSXEnabled ""'), function($skip, $loc, $0, $1) {
18076
18119
  if (module2.config.coffeeJSX)
18077
18120
  return;
18078
18121
  return $skip;
@@ -18099,7 +18142,7 @@ ${input.slice(result.pos)}
18099
18142
  return result;
18100
18143
  }
18101
18144
  }
18102
- var CoffeeLineContinuationEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeLineContinuationEnabled ""'), function($skip, $loc, $0, $1) {
18145
+ var CoffeeLineContinuationEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeLineContinuationEnabled ""'), function($skip, $loc, $0, $1) {
18103
18146
  if (module2.config.coffeeLineContinuation)
18104
18147
  return;
18105
18148
  return $skip;
@@ -18126,7 +18169,7 @@ ${input.slice(result.pos)}
18126
18169
  return result;
18127
18170
  }
18128
18171
  }
18129
- var CoffeeNotEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeNotEnabled ""'), function($skip, $loc, $0, $1) {
18172
+ var CoffeeNotEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeNotEnabled ""'), function($skip, $loc, $0, $1) {
18130
18173
  if (module2.config.coffeeNot)
18131
18174
  return;
18132
18175
  return $skip;
@@ -18153,7 +18196,7 @@ ${input.slice(result.pos)}
18153
18196
  return result;
18154
18197
  }
18155
18198
  }
18156
- var CoffeeOfEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeOfEnabled ""'), function($skip, $loc, $0, $1) {
18199
+ var CoffeeOfEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeOfEnabled ""'), function($skip, $loc, $0, $1) {
18157
18200
  if (module2.config.coffeeOf)
18158
18201
  return;
18159
18202
  return $skip;
@@ -18180,7 +18223,7 @@ ${input.slice(result.pos)}
18180
18223
  return result;
18181
18224
  }
18182
18225
  }
18183
- var CoffeePrototypeEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeePrototypeEnabled ""'), function($skip, $loc, $0, $1) {
18226
+ var CoffeePrototypeEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeePrototypeEnabled ""'), function($skip, $loc, $0, $1) {
18184
18227
  if (module2.config.coffeePrototype)
18185
18228
  return;
18186
18229
  return $skip;
@@ -18207,7 +18250,7 @@ ${input.slice(result.pos)}
18207
18250
  return result;
18208
18251
  }
18209
18252
  }
18210
- var ObjectIsEnabled$0 = $TV($EXPECT($L18, fail, 'ObjectIsEnabled ""'), function($skip, $loc, $0, $1) {
18253
+ var ObjectIsEnabled$0 = $TV($EXPECT($L17, fail, 'ObjectIsEnabled ""'), function($skip, $loc, $0, $1) {
18211
18254
  if (module2.config.objectIs)
18212
18255
  return;
18213
18256
  return $skip;
@@ -18234,7 +18277,7 @@ ${input.slice(result.pos)}
18234
18277
  return result;
18235
18278
  }
18236
18279
  }
18237
- var Reset$0 = $TV($EXPECT($L18, fail, 'Reset ""'), function($skip, $loc, $0, $1) {
18280
+ var Reset$0 = $TV($EXPECT($L17, fail, 'Reset ""'), function($skip, $loc, $0, $1) {
18238
18281
  module2.indentLevels = [{
18239
18282
  level: 0,
18240
18283
  token: ""
@@ -18512,13 +18555,69 @@ ${input.slice(result.pos)}
18512
18555
  return result;
18513
18556
  }
18514
18557
  }
18515
- var Init$0 = $TS($S($E(Shebang), $Q(DirectivePrologue), $EXPECT($L18, fail, 'Init ""')), function($skip, $loc, $0, $1, $2, $3) {
18558
+ var Init$0 = $TS($S($E(Shebang), $Q(DirectivePrologue), $EXPECT($L17, fail, 'Init ""')), function($skip, $loc, $0, $1, $2, $3) {
18516
18559
  var directives = $2;
18517
18560
  directives.forEach((directive) => {
18518
18561
  if (directive.type === "CivetPrologue") {
18519
18562
  Object.assign(module2.config, directive.config);
18520
18563
  }
18521
18564
  });
18565
+ module2.processGlob = (node) => {
18566
+ const { children } = node;
18567
+ for (let i = 0; i < children.length; i++) {
18568
+ const glob = children[i];
18569
+ if (glob?.type === "PropertyGlob") {
18570
+ const prefix = children.slice(0, i).concat(glob.children[0]);
18571
+ const parts = [];
18572
+ for (const part of glob.pattern.content) {
18573
+ if (part.init) {
18574
+ throw new Error("Glob pattern cannot have initializers");
18575
+ }
18576
+ if (part.type === "AtBindingProperty") {
18577
+ throw new Error("Glob pattern cannot have @property");
18578
+ }
18579
+ if (part.type === "BindingRestProperty") {
18580
+ throw new Error("Glob pattern cannot have ...rest property");
18581
+ }
18582
+ const name = part.value ? module2.insertTrimmingSpace(part.value, "") : part.name;
18583
+ const value = prefix.concat(module2.insertTrimmingSpace(part.name, ""));
18584
+ const wValue = part.value && module2.getTrimmingSpace(part.value);
18585
+ if (wValue)
18586
+ value.unshift(wValue);
18587
+ parts.push({
18588
+ type: "Property",
18589
+ name,
18590
+ value,
18591
+ names: part.names,
18592
+ children: [
18593
+ module2.isWhitespaceOrEmpty(part.children[0]) && part.children[0],
18594
+ name,
18595
+ module2.isWhitespaceOrEmpty(part.children[2]) && part.children[2],
18596
+ part.children[3]?.token === ":" ? part.children[3] : ":",
18597
+ value,
18598
+ part.children[part.children.length - 1]
18599
+ ]
18600
+ });
18601
+ }
18602
+ const object = {
18603
+ type: "ObjectExpression",
18604
+ children: [
18605
+ glob.pattern.children[0],
18606
+ ...parts,
18607
+ glob.pattern.children.at(-2),
18608
+ glob.pattern.children.at(-1)
18609
+ ]
18610
+ };
18611
+ if (i === children.length - 1)
18612
+ return object;
18613
+ return module2.processGlob({
18614
+ ...node,
18615
+ children: [object, ...children.slice(i + 1)]
18616
+ });
18617
+ }
18618
+ }
18619
+ return node;
18620
+ };
18522
18621
  module2.processUnaryExpression = (pre, exp, post) => {
18523
18622
  if (post?.token === "?") {
18524
18623
  post = {
@@ -18799,6 +18898,8 @@ ${input.slice(result.pos)}
18799
18898
  module2.isWhitespaceOrEmpty = function(node) {
18800
18899
  if (!node)
18801
18900
  return true;
18901
+ if (node.type === "Ref")
18902
+ return false;
18802
18903
  if (node.token)
18803
18904
  return node.token.match(/^\s*$/);
18804
18905
  if (node.children)
@@ -18977,6 +19078,16 @@ ${input.slice(result.pos)}
18977
19078
  });
18978
19079
  return target;
18979
19080
  };
19081
+ module2.getTrimmingSpace = function(target) {
19082
+ if (!target)
19083
+ return;
19084
+ if (Array.isArray(target))
19085
+ return module2.getTrimmingSpace(target[0]);
19086
+ if (target.children)
19087
+ return module2.getTrimmingSpace(target.children[0]);
19088
+ if (target.token)
19089
+ return target.token.match(/^ ?/)[0];
19090
+ };
18980
19091
  const initialSpacingRe = /^(?:\r?\n|\n)*((?:\r?\n|\n)\s+)/;
18981
19092
  module2.dedentBlockSubstitutions = function($02) {
18982
19093
  const [s, strWithSubstitutions, e] = $02;
@@ -19600,7 +19711,11 @@ ${input.slice(result.pos)}
19600
19711
  const prefix = [];
19601
19712
  switch (pattern.type) {
19602
19713
  case "ArrayMatchingPattern":
19714
+ if (pattern.length === 0)
19715
+ break;
19603
19716
  case "ObjectMatchingPattern": {
19717
+ if (pattern.properties?.length === 0)
19718
+ break;
19604
19719
  let [splices, thisAssignments] = gatherBindingCode(pattern);
19605
19720
  splices = splices.map((s2) => [", ", nonMatcherBindings(s2)]);
19606
19721
  thisAssignments = thisAssignments.map((a) => [indent, a, ";\n"]);
@@ -20036,7 +20151,7 @@ ${input.slice(result.pos)}
20036
20151
  return result;
20037
20152
  }
20038
20153
  }
20039
- var PopIndent$0 = $TV($EXPECT($L18, fail, 'PopIndent ""'), function($skip, $loc, $0, $1) {
20154
+ var PopIndent$0 = $TV($EXPECT($L17, fail, 'PopIndent ""'), function($skip, $loc, $0, $1) {
20040
20155
  if (module2.config.verbose) {
20041
20156
  console.log("popping indent", module2.indentLevels[module2.indentLevels.length - 1], "->", module2.indentLevels[module2.indentLevels.length - 2]);
20042
20157
  }