@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.mjs CHANGED
@@ -504,6 +504,7 @@ ${input.slice(result.pos)}
504
504
  MemberBracketContent,
505
505
  SliceParameters,
506
506
  PropertyAccess,
507
+ PropertyGlob,
507
508
  SuperProperty,
508
509
  MetaProperty,
509
510
  Parameters,
@@ -1017,10 +1018,10 @@ ${input.slice(result.pos)}
1017
1018
  var $L13 = $L("import");
1018
1019
  var $L14 = $L("!");
1019
1020
  var $L15 = $L("-");
1020
- var $L16 = $L("super[");
1021
- var $L17 = $L("import.meta");
1022
- var $L18 = $L("");
1023
- var $L19 = $L(")");
1021
+ var $L16 = $L("import.meta");
1022
+ var $L17 = $L("");
1023
+ var $L18 = $L(")");
1024
+ var $L19 = $L(",");
1024
1025
  var $L20 = $L("->");
1025
1026
  var $L21 = $L("}");
1026
1027
  var $L22 = $L("null");
@@ -1106,74 +1107,73 @@ ${input.slice(result.pos)}
1106
1107
  var $L102 = $L("catch");
1107
1108
  var $L103 = $L("class");
1108
1109
  var $L104 = $L("#{");
1109
- var $L105 = $L(",");
1110
- var $L106 = $L("declare");
1111
- var $L107 = $L("default");
1112
- var $L108 = $L("delete");
1113
- var $L109 = $L("do");
1114
- var $L110 = $L("..");
1115
- var $L111 = $L("...");
1116
- var $L112 = $L("::");
1117
- var $L113 = $L('"');
1118
- var $L114 = $L("else");
1119
- var $L115 = $L("export");
1120
- var $L116 = $L("extends");
1121
- var $L117 = $L("finally");
1122
- var $L118 = $L("for");
1123
- var $L119 = $L("from");
1124
- var $L120 = $L("function");
1125
- var $L121 = $L("get");
1126
- var $L122 = $L("set");
1127
- var $L123 = $L("if");
1128
- var $L124 = $L("let");
1129
- var $L125 = $L("const");
1130
- var $L126 = $L("loop");
1131
- var $L127 = $L("new");
1132
- var $L128 = $L("<");
1133
- var $L129 = $L("{");
1134
- var $L130 = $L("operator");
1135
- var $L131 = $L("public");
1136
- var $L132 = $L("private");
1137
- var $L133 = $L("protected");
1138
- var $L134 = $L("|>");
1139
- var $L135 = $L("readonly");
1140
- var $L136 = $L("return");
1141
- var $L137 = $L("satisfies");
1142
- var $L138 = $L("'");
1143
- var $L139 = $L("static");
1144
- var $L140 = $L("${");
1145
- var $L141 = $L("switch");
1146
- var $L142 = $L("target");
1147
- var $L143 = $L("then");
1148
- var $L144 = $L("this");
1149
- var $L145 = $L("throw");
1150
- var $L146 = $L('"""');
1151
- var $L147 = $L("'''");
1152
- var $L148 = $L("///");
1153
- var $L149 = $L("```");
1154
- var $L150 = $L("try");
1155
- var $L151 = $L("typeof");
1156
- var $L152 = $L("unless");
1157
- var $L153 = $L("until");
1158
- var $L154 = $L("var");
1159
- var $L155 = $L("void");
1160
- var $L156 = $L("when");
1161
- var $L157 = $L("while");
1162
- var $L158 = $L("yield");
1163
- var $L159 = $L("/>");
1164
- var $L160 = $L("</");
1165
- var $L161 = $L("<>");
1166
- var $L162 = $L("</>");
1167
- var $L163 = $L("<!--");
1168
- var $L164 = $L("-->");
1169
- var $L165 = $L("type");
1170
- var $L166 = $L("interface");
1171
- var $L167 = $L("namespace");
1172
- var $L168 = $L("asserts");
1173
- var $L169 = $L("keyof");
1174
- var $L170 = $L("infer");
1175
- var $L171 = $L("[]");
1176
- var $L172 = $L("civet");
1110
+ var $L105 = $L("declare");
1111
+ var $L106 = $L("default");
1112
+ var $L107 = $L("delete");
1113
+ var $L108 = $L("do");
1114
+ var $L109 = $L("..");
1115
+ var $L110 = $L("...");
1116
+ var $L111 = $L("::");
1117
+ var $L112 = $L('"');
1118
+ var $L113 = $L("else");
1119
+ var $L114 = $L("export");
1120
+ var $L115 = $L("extends");
1121
+ var $L116 = $L("finally");
1122
+ var $L117 = $L("for");
1123
+ var $L118 = $L("from");
1124
+ var $L119 = $L("function");
1125
+ var $L120 = $L("get");
1126
+ var $L121 = $L("set");
1127
+ var $L122 = $L("if");
1128
+ var $L123 = $L("let");
1129
+ var $L124 = $L("const");
1130
+ var $L125 = $L("loop");
1131
+ var $L126 = $L("new");
1132
+ var $L127 = $L("<");
1133
+ var $L128 = $L("{");
1134
+ var $L129 = $L("operator");
1135
+ var $L130 = $L("public");
1136
+ var $L131 = $L("private");
1137
+ var $L132 = $L("protected");
1138
+ var $L133 = $L("|>");
1139
+ var $L134 = $L("readonly");
1140
+ var $L135 = $L("return");
1141
+ var $L136 = $L("satisfies");
1142
+ var $L137 = $L("'");
1143
+ var $L138 = $L("static");
1144
+ var $L139 = $L("${");
1145
+ var $L140 = $L("switch");
1146
+ var $L141 = $L("target");
1147
+ var $L142 = $L("then");
1148
+ var $L143 = $L("this");
1149
+ var $L144 = $L("throw");
1150
+ var $L145 = $L('"""');
1151
+ var $L146 = $L("'''");
1152
+ var $L147 = $L("///");
1153
+ var $L148 = $L("```");
1154
+ var $L149 = $L("try");
1155
+ var $L150 = $L("typeof");
1156
+ var $L151 = $L("unless");
1157
+ var $L152 = $L("until");
1158
+ var $L153 = $L("var");
1159
+ var $L154 = $L("void");
1160
+ var $L155 = $L("when");
1161
+ var $L156 = $L("while");
1162
+ var $L157 = $L("yield");
1163
+ var $L158 = $L("/>");
1164
+ var $L159 = $L("</");
1165
+ var $L160 = $L("<>");
1166
+ var $L161 = $L("</>");
1167
+ var $L162 = $L("<!--");
1168
+ var $L163 = $L("-->");
1169
+ var $L164 = $L("type");
1170
+ var $L165 = $L("interface");
1171
+ var $L166 = $L("namespace");
1172
+ var $L167 = $L("asserts");
1173
+ var $L168 = $L("keyof");
1174
+ var $L169 = $L("infer");
1175
+ var $L170 = $L("[]");
1176
+ var $L171 = $L("civet");
1177
1177
  var $R0 = $R(new RegExp("(as|for|while|until|of|satisfies|then|when|implements)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
1178
1178
  var $R1 = $R(new RegExp("[0-9]", "suy"));
1179
1179
  var $R2 = $R(new RegExp("[&]", "suy"));
@@ -3230,17 +3230,17 @@ ${input.slice(result.pos)}
3230
3230
  }
3231
3231
  var CallExpression$0 = $TS($S($EXPECT($L12, fail, 'CallExpression "super"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3232
3232
  var rest = $3;
3233
- return {
3233
+ return module.processGlob({
3234
3234
  type: "CallExpression",
3235
3235
  children: [$1, ...$2, ...rest.flat()]
3236
- };
3236
+ });
3237
3237
  });
3238
3238
  var CallExpression$1 = $TS($S($EXPECT($L13, fail, 'CallExpression "import"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3239
3239
  var rest = $3;
3240
- return {
3240
+ return module.processGlob({
3241
3241
  type: "CallExpression",
3242
3242
  children: [$1, ...$2, ...rest.flat()]
3243
- };
3243
+ });
3244
3244
  });
3245
3245
  var CallExpression$2 = $TS($S(MemberExpression, NonSuppressedTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3246
3246
  var member = $1;
@@ -3248,10 +3248,10 @@ ${input.slice(result.pos)}
3248
3248
  var rest = $3;
3249
3249
  if (rest.length || trailing.length) {
3250
3250
  rest = rest.flat();
3251
- return {
3252
- type: rest.length && rest[rest.length - 1].type === "Call" ? "CallExpression" : "MemberExpression",
3251
+ return module.processGlob({
3252
+ type: "CallExpression",
3253
3253
  children: [member, ...trailing, ...rest]
3254
- };
3254
+ });
3255
3255
  }
3256
3256
  return member;
3257
3257
  });
@@ -3364,18 +3364,16 @@ ${input.slice(result.pos)}
3364
3364
  return result;
3365
3365
  }
3366
3366
  }
3367
- var MemberExpression$0 = $TS($S(PrimaryExpression, $Q(MemberExpressionRest)), function($skip, $loc, $0, $1, $2) {
3367
+ var MemberExpression$0 = $TS($S($C(PrimaryExpression, SuperProperty, MetaProperty), $Q(MemberExpressionRest)), function($skip, $loc, $0, $1, $2) {
3368
3368
  var rest = $2;
3369
- if (rest.length) {
3370
- return {
3369
+ if (rest.length || Array.isArray($1)) {
3370
+ return module.processGlob({
3371
3371
  type: "MemberExpression",
3372
- children: [$1].concat(rest.flat())
3373
- };
3372
+ children: [$1, ...rest].flat()
3373
+ });
3374
3374
  }
3375
3375
  return $1;
3376
3376
  });
3377
- var MemberExpression$1 = SuperProperty;
3378
- var MemberExpression$2 = MetaProperty;
3379
3377
  function MemberExpression(state) {
3380
3378
  let eventData;
3381
3379
  if (state.events) {
@@ -3387,12 +3385,12 @@ ${input.slice(result.pos)}
3387
3385
  }
3388
3386
  }
3389
3387
  if (state.tokenize) {
3390
- const result = $TOKEN("MemberExpression", state, MemberExpression$0(state) || MemberExpression$1(state) || MemberExpression$2(state));
3388
+ const result = $TOKEN("MemberExpression", state, MemberExpression$0(state));
3391
3389
  if (state.events)
3392
3390
  state.events.exit?.("MemberExpression", state, result, eventData);
3393
3391
  return result;
3394
3392
  } else {
3395
- const result = MemberExpression$0(state) || MemberExpression$1(state) || MemberExpression$2(state);
3393
+ const result = MemberExpression$0(state);
3396
3394
  if (state.events)
3397
3395
  state.events.exit?.("MemberExpression", state, result, eventData);
3398
3396
  return result;
@@ -3408,7 +3406,8 @@ ${input.slice(result.pos)}
3408
3406
  return $2;
3409
3407
  });
3410
3408
  var MemberExpressionRest$1 = PropertyAccess;
3411
- var MemberExpressionRest$2 = NonNullAssertion;
3409
+ var MemberExpressionRest$2 = PropertyGlob;
3410
+ var MemberExpressionRest$3 = NonNullAssertion;
3412
3411
  function MemberExpressionRest(state) {
3413
3412
  let eventData;
3414
3413
  if (state.events) {
@@ -3420,12 +3419,12 @@ ${input.slice(result.pos)}
3420
3419
  }
3421
3420
  }
3422
3421
  if (state.tokenize) {
3423
- const result = $TOKEN("MemberExpressionRest", state, MemberExpressionRest$0(state) || MemberExpressionRest$1(state) || MemberExpressionRest$2(state));
3422
+ const result = $TOKEN("MemberExpressionRest", state, MemberExpressionRest$0(state) || MemberExpressionRest$1(state) || MemberExpressionRest$2(state) || MemberExpressionRest$3(state));
3424
3423
  if (state.events)
3425
3424
  state.events.exit?.("MemberExpressionRest", state, result, eventData);
3426
3425
  return result;
3427
3426
  } else {
3428
- const result = MemberExpressionRest$0(state) || MemberExpressionRest$1(state) || MemberExpressionRest$2(state);
3427
+ const result = MemberExpressionRest$0(state) || MemberExpressionRest$1(state) || MemberExpressionRest$2(state) || MemberExpressionRest$3(state);
3429
3428
  if (state.events)
3430
3429
  state.events.exit?.("MemberExpressionRest", state, result, eventData);
3431
3430
  return result;
@@ -3620,7 +3619,37 @@ ${input.slice(result.pos)}
3620
3619
  return result;
3621
3620
  }
3622
3621
  }
3623
- var SuperProperty$0 = $S($EXPECT($L16, fail, 'SuperProperty "super["'), PostfixedExpression, __, CloseBracket);
3622
+ var PropertyGlob$0 = $TS($S(Dot, ObjectBindingPattern), function($skip, $loc, $0, $1, $2) {
3623
+ var pattern = $2;
3624
+ return {
3625
+ type: "PropertyGlob",
3626
+ pattern,
3627
+ children: $0
3628
+ };
3629
+ });
3630
+ function PropertyGlob(state) {
3631
+ let eventData;
3632
+ if (state.events) {
3633
+ const result = state.events.enter?.("PropertyGlob", state);
3634
+ if (result) {
3635
+ if (result.cache)
3636
+ return result.cache;
3637
+ eventData = result.data;
3638
+ }
3639
+ }
3640
+ if (state.tokenize) {
3641
+ const result = $TOKEN("PropertyGlob", state, PropertyGlob$0(state));
3642
+ if (state.events)
3643
+ state.events.exit?.("PropertyGlob", state, result, eventData);
3644
+ return result;
3645
+ } else {
3646
+ const result = PropertyGlob$0(state);
3647
+ if (state.events)
3648
+ state.events.exit?.("PropertyGlob", state, result, eventData);
3649
+ return result;
3650
+ }
3651
+ }
3652
+ var SuperProperty$0 = $S($EXPECT($L12, fail, 'SuperProperty "super"'), MemberBracketContent);
3624
3653
  var SuperProperty$1 = $S($EXPECT($L12, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
3625
3654
  function SuperProperty(state) {
3626
3655
  let eventData;
@@ -3645,7 +3674,7 @@ ${input.slice(result.pos)}
3645
3674
  }
3646
3675
  }
3647
3676
  var MetaProperty$0 = $S(New, Dot, Target);
3648
- var MetaProperty$1 = $TS($S($EXPECT($L17, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
3677
+ var MetaProperty$1 = $TS($S($EXPECT($L16, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
3649
3678
  return { $loc, token: $1 };
3650
3679
  });
3651
3680
  function MetaProperty(state) {
@@ -3671,7 +3700,7 @@ ${input.slice(result.pos)}
3671
3700
  }
3672
3701
  }
3673
3702
  var Parameters$0 = NonEmptyParameters;
3674
- var Parameters$1 = $TV($EXPECT($L18, fail, 'Parameters ""'), function($skip, $loc, $0, $1) {
3703
+ var Parameters$1 = $TV($EXPECT($L17, fail, 'Parameters ""'), function($skip, $loc, $0, $1) {
3675
3704
  return {
3676
3705
  type: "Parameters",
3677
3706
  children: [{ $loc, token: "()" }],
@@ -3832,7 +3861,7 @@ ${input.slice(result.pos)}
3832
3861
  }
3833
3862
  }
3834
3863
  var ParameterElementDelimiter$0 = $S($Q(_), Comma);
3835
- var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L19, fail, 'ParameterElementDelimiter ")"')));
3864
+ var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L18, fail, 'ParameterElementDelimiter ")"')));
3836
3865
  var ParameterElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
3837
3866
  return value[1];
3838
3867
  });
@@ -3994,7 +4023,8 @@ ${input.slice(result.pos)}
3994
4023
  var c = $2;
3995
4024
  return {
3996
4025
  type: "ObjectBindingPattern",
3997
- children: [$1, ...c.children, ...$3, $4],
4026
+ children: [$1, ...c.children, $3, $4],
4027
+ content: c.children,
3998
4028
  names: c.names
3999
4029
  };
4000
4030
  });
@@ -4291,23 +4321,32 @@ ${input.slice(result.pos)}
4291
4321
  }
4292
4322
  var BindingProperty$0 = BindingRestProperty;
4293
4323
  var BindingProperty$1 = $TS($S($E(_), PropertyName, __, Colon, $C(BindingIdentifier, BindingPattern), $E(Initializer)), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
4324
+ var name = $2;
4294
4325
  var b = $5;
4326
+ var init = $6;
4295
4327
  return {
4328
+ name,
4329
+ value: b,
4330
+ init,
4296
4331
  names: b.names,
4297
4332
  children: $0
4298
4333
  };
4299
4334
  });
4300
4335
  var BindingProperty$2 = $TS($S(BindingIdentifier, $E(Initializer)), function($skip, $loc, $0, $1, $2) {
4301
4336
  var b = $1;
4337
+ var init = $2;
4302
4338
  if (b.type === "AtBinding") {
4303
4339
  return {
4304
4340
  type: "AtBindingProperty",
4305
4341
  ref: b.ref,
4342
+ init,
4306
4343
  names: [],
4307
4344
  children: $0
4308
4345
  };
4309
4346
  }
4310
4347
  return {
4348
+ name: b,
4349
+ init,
4311
4350
  names: b.names,
4312
4351
  children: $0
4313
4352
  };
@@ -4442,10 +4481,12 @@ ${input.slice(result.pos)}
4442
4481
  children: $0
4443
4482
  };
4444
4483
  });
4445
- var BindingElement$2 = $TV($EXPECT($L18, fail, 'BindingElement ""'), function($skip, $loc, $0, $1) {
4484
+ var BindingElement$2 = $TV($Y($S($E(_), $EXPECT($L19, fail, 'BindingElement ","'))), function($skip, $loc, $0, $1) {
4446
4485
  return {
4447
- type: "ElisionElement",
4448
- children: [],
4486
+ children: [{
4487
+ type: "ElisionElement",
4488
+ children: [""]
4489
+ }],
4449
4490
  names: []
4450
4491
  };
4451
4492
  });
@@ -4513,7 +4554,7 @@ ${input.slice(result.pos)}
4513
4554
  return result;
4514
4555
  }
4515
4556
  }
4516
- var EmptyBindingPattern$0 = $TV($EXPECT($L18, fail, 'EmptyBindingPattern ""'), function($skip, $loc, $0, $1) {
4557
+ var EmptyBindingPattern$0 = $TV($EXPECT($L17, fail, 'EmptyBindingPattern ""'), function($skip, $loc, $0, $1) {
4517
4558
  const ref = {
4518
4559
  type: "Ref",
4519
4560
  base: "ref",
@@ -4989,10 +5030,12 @@ ${input.slice(result.pos)}
4989
5030
  children: [ws, binding]
4990
5031
  };
4991
5032
  });
4992
- var MatchingElement$3 = $TV($EXPECT($L18, fail, 'MatchingElement ""'), function($skip, $loc, $0, $1) {
5033
+ var MatchingElement$3 = $TV($Y($S($E(_), $EXPECT($L19, fail, 'MatchingElement ","'))), function($skip, $loc, $0, $1) {
4993
5034
  return {
4994
- type: "ElisionElement",
4995
- children: [],
5035
+ children: [{
5036
+ type: "ElisionElement",
5037
+ children: [""]
5038
+ }],
4996
5039
  names: []
4997
5040
  };
4998
5041
  });
@@ -5615,7 +5658,7 @@ ${input.slice(result.pos)}
5615
5658
  return result;
5616
5659
  }
5617
5660
  }
5618
- var EmptyBareBlock$0 = $TV($EXPECT($L18, fail, 'EmptyBareBlock ""'), function($skip, $loc, $0, $1) {
5661
+ var EmptyBareBlock$0 = $TV($EXPECT($L17, fail, 'EmptyBareBlock ""'), function($skip, $loc, $0, $1) {
5619
5662
  const expressions = [];
5620
5663
  return {
5621
5664
  type: "BlockStatement",
@@ -6843,7 +6886,7 @@ ${input.slice(result.pos)}
6843
6886
  var ImplicitInlineObjectPropertyDelimiter$1 = $T($S($Y($S($C(Samedent, $Q(_)), NamedProperty)), InsertComma), function(value) {
6844
6887
  return value[1];
6845
6888
  });
6846
- 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) {
6889
+ 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) {
6847
6890
  return "";
6848
6891
  });
6849
6892
  var ImplicitInlineObjectPropertyDelimiter$3 = $T($Y(EOS), function(value) {
@@ -9416,7 +9459,7 @@ ${input.slice(result.pos)}
9416
9459
  }
9417
9460
  }
9418
9461
  var ImpliedColon$0 = $S(__, Colon);
9419
- var ImpliedColon$1 = $TV($EXPECT($L18, fail, 'ImpliedColon ""'), function($skip, $loc, $0, $1) {
9462
+ var ImpliedColon$1 = $TV($EXPECT($L17, fail, 'ImpliedColon ""'), function($skip, $loc, $0, $1) {
9420
9463
  return { $loc, token: ":" };
9421
9464
  });
9422
9465
  function ImpliedColon(state) {
@@ -9670,7 +9713,7 @@ ${input.slice(result.pos)}
9670
9713
  return result;
9671
9714
  }
9672
9715
  }
9673
- var SuppressIndentedApplication$0 = $TV($EXPECT($L18, fail, 'SuppressIndentedApplication ""'), function($skip, $loc, $0, $1) {
9716
+ var SuppressIndentedApplication$0 = $TV($EXPECT($L17, fail, 'SuppressIndentedApplication ""'), function($skip, $loc, $0, $1) {
9674
9717
  module.suppressIndentedApplication = true;
9675
9718
  });
9676
9719
  function SuppressIndentedApplication(state) {
@@ -9695,7 +9738,7 @@ ${input.slice(result.pos)}
9695
9738
  return result;
9696
9739
  }
9697
9740
  }
9698
- var IndentedApplicationAllowed$0 = $TV($EXPECT($L18, fail, 'IndentedApplicationAllowed ""'), function($skip, $loc, $0, $1) {
9741
+ var IndentedApplicationAllowed$0 = $TV($EXPECT($L17, fail, 'IndentedApplicationAllowed ""'), function($skip, $loc, $0, $1) {
9699
9742
  if (module.suppressIndentedApplication)
9700
9743
  return $skip;
9701
9744
  return;
@@ -9722,7 +9765,7 @@ ${input.slice(result.pos)}
9722
9765
  return result;
9723
9766
  }
9724
9767
  }
9725
- var SuppressTrailingMemberProperty$0 = $TV($EXPECT($L18, fail, 'SuppressTrailingMemberProperty ""'), function($skip, $loc, $0, $1) {
9768
+ var SuppressTrailingMemberProperty$0 = $TV($EXPECT($L17, fail, 'SuppressTrailingMemberProperty ""'), function($skip, $loc, $0, $1) {
9726
9769
  module.suppressTrailingMemberProperty.push(true);
9727
9770
  });
9728
9771
  function SuppressTrailingMemberProperty(state) {
@@ -9747,7 +9790,7 @@ ${input.slice(result.pos)}
9747
9790
  return result;
9748
9791
  }
9749
9792
  }
9750
- var TrailingMemberPropertyAllowed$0 = $TV($EXPECT($L18, fail, 'TrailingMemberPropertyAllowed ""'), function($skip, $loc, $0, $1) {
9793
+ var TrailingMemberPropertyAllowed$0 = $TV($EXPECT($L17, fail, 'TrailingMemberPropertyAllowed ""'), function($skip, $loc, $0, $1) {
9751
9794
  if (module.trailingMemberPropertySuppressed)
9752
9795
  return $skip;
9753
9796
  });
@@ -9961,7 +10004,7 @@ ${input.slice(result.pos)}
9961
10004
  return result;
9962
10005
  }
9963
10006
  }
9964
- var ImpliedImport$0 = $TV($EXPECT($L18, fail, 'ImpliedImport ""'), function($skip, $loc, $0, $1) {
10007
+ var ImpliedImport$0 = $TV($EXPECT($L17, fail, 'ImpliedImport ""'), function($skip, $loc, $0, $1) {
9965
10008
  return { $loc, token: "import " };
9966
10009
  });
9967
10010
  function ImpliedImport(state) {
@@ -12405,7 +12448,7 @@ ${input.slice(result.pos)}
12405
12448
  return result;
12406
12449
  }
12407
12450
  }
12408
- var Loc$0 = $TV($EXPECT($L18, fail, 'Loc ""'), function($skip, $loc, $0, $1) {
12451
+ var Loc$0 = $TV($EXPECT($L17, fail, 'Loc ""'), function($skip, $loc, $0, $1) {
12409
12452
  return { $loc, token: "" };
12410
12453
  });
12411
12454
  function Loc(state) {
@@ -12780,7 +12823,7 @@ ${input.slice(result.pos)}
12780
12823
  return result;
12781
12824
  }
12782
12825
  }
12783
- var CloseParen$0 = $TV($EXPECT($L19, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
12826
+ var CloseParen$0 = $TV($EXPECT($L18, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
12784
12827
  return { $loc, token: $1 };
12785
12828
  });
12786
12829
  function CloseParen(state) {
@@ -12855,7 +12898,7 @@ ${input.slice(result.pos)}
12855
12898
  return result;
12856
12899
  }
12857
12900
  }
12858
- var Comma$0 = $TV($EXPECT($L105, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
12901
+ var Comma$0 = $TV($EXPECT($L19, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
12859
12902
  return { $loc, token: $1 };
12860
12903
  });
12861
12904
  function Comma(state) {
@@ -12905,7 +12948,7 @@ ${input.slice(result.pos)}
12905
12948
  return result;
12906
12949
  }
12907
12950
  }
12908
- var Declare$0 = $TS($S($EXPECT($L106, fail, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12951
+ var Declare$0 = $TS($S($EXPECT($L105, fail, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12909
12952
  return { $loc, token: $1 };
12910
12953
  });
12911
12954
  function Declare(state) {
@@ -12930,7 +12973,7 @@ ${input.slice(result.pos)}
12930
12973
  return result;
12931
12974
  }
12932
12975
  }
12933
- var Default$0 = $TS($S($EXPECT($L107, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12976
+ var Default$0 = $TS($S($EXPECT($L106, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12934
12977
  return { $loc, token: $1 };
12935
12978
  });
12936
12979
  function Default(state) {
@@ -12955,7 +12998,7 @@ ${input.slice(result.pos)}
12955
12998
  return result;
12956
12999
  }
12957
13000
  }
12958
- var Delete$0 = $TS($S($EXPECT($L108, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13001
+ var Delete$0 = $TS($S($EXPECT($L107, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12959
13002
  return { $loc, token: $1 };
12960
13003
  });
12961
13004
  function Delete(state) {
@@ -12980,7 +13023,7 @@ ${input.slice(result.pos)}
12980
13023
  return result;
12981
13024
  }
12982
13025
  }
12983
- var Do$0 = $TS($S($EXPECT($L109, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13026
+ var Do$0 = $TS($S($EXPECT($L108, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12984
13027
  return { $loc, token: $1 };
12985
13028
  });
12986
13029
  function Do(state) {
@@ -13030,7 +13073,7 @@ ${input.slice(result.pos)}
13030
13073
  return result;
13031
13074
  }
13032
13075
  }
13033
- var DotDot$0 = $TV($EXPECT($L110, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
13076
+ var DotDot$0 = $TV($EXPECT($L109, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
13034
13077
  return { $loc, token: $1 };
13035
13078
  });
13036
13079
  function DotDot(state) {
@@ -13055,7 +13098,7 @@ ${input.slice(result.pos)}
13055
13098
  return result;
13056
13099
  }
13057
13100
  }
13058
- var DotDotDot$0 = $TV($EXPECT($L111, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
13101
+ var DotDotDot$0 = $TV($EXPECT($L110, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
13059
13102
  return { $loc, token: $1 };
13060
13103
  });
13061
13104
  function DotDotDot(state) {
@@ -13080,7 +13123,7 @@ ${input.slice(result.pos)}
13080
13123
  return result;
13081
13124
  }
13082
13125
  }
13083
- var DoubleColon$0 = $TV($EXPECT($L112, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
13126
+ var DoubleColon$0 = $TV($EXPECT($L111, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
13084
13127
  return { $loc, token: $1 };
13085
13128
  });
13086
13129
  function DoubleColon(state) {
@@ -13105,7 +13148,7 @@ ${input.slice(result.pos)}
13105
13148
  return result;
13106
13149
  }
13107
13150
  }
13108
- var DoubleQuote$0 = $TV($EXPECT($L113, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
13151
+ var DoubleQuote$0 = $TV($EXPECT($L112, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
13109
13152
  return { $loc, token: $1 };
13110
13153
  });
13111
13154
  function DoubleQuote(state) {
@@ -13130,7 +13173,7 @@ ${input.slice(result.pos)}
13130
13173
  return result;
13131
13174
  }
13132
13175
  }
13133
- var Else$0 = $TS($S($EXPECT($L114, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13176
+ var Else$0 = $TS($S($EXPECT($L113, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13134
13177
  return { $loc, token: $1 };
13135
13178
  });
13136
13179
  function Else(state) {
@@ -13180,7 +13223,7 @@ ${input.slice(result.pos)}
13180
13223
  return result;
13181
13224
  }
13182
13225
  }
13183
- var Export$0 = $TS($S($EXPECT($L115, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13226
+ var Export$0 = $TS($S($EXPECT($L114, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13184
13227
  return { $loc, token: $1 };
13185
13228
  });
13186
13229
  function Export(state) {
@@ -13205,7 +13248,7 @@ ${input.slice(result.pos)}
13205
13248
  return result;
13206
13249
  }
13207
13250
  }
13208
- var Extends$0 = $TS($S($EXPECT($L116, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13251
+ var Extends$0 = $TS($S($EXPECT($L115, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13209
13252
  return { $loc, token: $1 };
13210
13253
  });
13211
13254
  function Extends(state) {
@@ -13230,7 +13273,7 @@ ${input.slice(result.pos)}
13230
13273
  return result;
13231
13274
  }
13232
13275
  }
13233
- var Finally$0 = $TS($S($EXPECT($L117, fail, 'Finally "finally"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13276
+ var Finally$0 = $TS($S($EXPECT($L116, fail, 'Finally "finally"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13234
13277
  return { $loc, token: $1 };
13235
13278
  });
13236
13279
  function Finally(state) {
@@ -13255,7 +13298,7 @@ ${input.slice(result.pos)}
13255
13298
  return result;
13256
13299
  }
13257
13300
  }
13258
- var For$0 = $TS($S($EXPECT($L118, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13301
+ var For$0 = $TS($S($EXPECT($L117, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13259
13302
  return { $loc, token: $1 };
13260
13303
  });
13261
13304
  function For(state) {
@@ -13280,7 +13323,7 @@ ${input.slice(result.pos)}
13280
13323
  return result;
13281
13324
  }
13282
13325
  }
13283
- var From$0 = $TS($S($EXPECT($L119, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13326
+ var From$0 = $TS($S($EXPECT($L118, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13284
13327
  return { $loc, token: $1 };
13285
13328
  });
13286
13329
  function From(state) {
@@ -13305,7 +13348,7 @@ ${input.slice(result.pos)}
13305
13348
  return result;
13306
13349
  }
13307
13350
  }
13308
- var Function$0 = $TS($S($EXPECT($L120, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13351
+ var Function$0 = $TS($S($EXPECT($L119, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13309
13352
  return { $loc, token: $1 };
13310
13353
  });
13311
13354
  function Function(state) {
@@ -13330,7 +13373,7 @@ ${input.slice(result.pos)}
13330
13373
  return result;
13331
13374
  }
13332
13375
  }
13333
- var GetOrSet$0 = $TS($S($C($EXPECT($L121, fail, 'GetOrSet "get"'), $EXPECT($L122, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13376
+ var GetOrSet$0 = $TS($S($C($EXPECT($L120, fail, 'GetOrSet "get"'), $EXPECT($L121, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13334
13377
  return { $loc, token: $1, type: "GetOrSet" };
13335
13378
  });
13336
13379
  function GetOrSet(state) {
@@ -13355,7 +13398,7 @@ ${input.slice(result.pos)}
13355
13398
  return result;
13356
13399
  }
13357
13400
  }
13358
- var If$0 = $TV($TEXT($S($EXPECT($L123, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L8, fail, 'If " "')))), function($skip, $loc, $0, $1) {
13401
+ var If$0 = $TV($TEXT($S($EXPECT($L122, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L8, fail, 'If " "')))), function($skip, $loc, $0, $1) {
13359
13402
  return { $loc, token: $1 };
13360
13403
  });
13361
13404
  function If(state) {
@@ -13430,7 +13473,7 @@ ${input.slice(result.pos)}
13430
13473
  return result;
13431
13474
  }
13432
13475
  }
13433
- var LetOrConst$0 = $TS($S($C($EXPECT($L124, fail, 'LetOrConst "let"'), $EXPECT($L125, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13476
+ var LetOrConst$0 = $TS($S($C($EXPECT($L123, fail, 'LetOrConst "let"'), $EXPECT($L124, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13434
13477
  return { $loc, token: $1 };
13435
13478
  });
13436
13479
  function LetOrConst(state) {
@@ -13455,7 +13498,7 @@ ${input.slice(result.pos)}
13455
13498
  return result;
13456
13499
  }
13457
13500
  }
13458
- var Loop$0 = $TS($S($EXPECT($L126, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13501
+ var Loop$0 = $TS($S($EXPECT($L125, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13459
13502
  return { $loc, token: "while(true)" };
13460
13503
  });
13461
13504
  function Loop(state) {
@@ -13480,7 +13523,7 @@ ${input.slice(result.pos)}
13480
13523
  return result;
13481
13524
  }
13482
13525
  }
13483
- var New$0 = $TS($S($EXPECT($L127, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13526
+ var New$0 = $TS($S($EXPECT($L126, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13484
13527
  return { $loc, token: $1 };
13485
13528
  });
13486
13529
  function New(state) {
@@ -13555,7 +13598,7 @@ ${input.slice(result.pos)}
13555
13598
  return result;
13556
13599
  }
13557
13600
  }
13558
- var OpenAngleBracket$0 = $TV($EXPECT($L128, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
13601
+ var OpenAngleBracket$0 = $TV($EXPECT($L127, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
13559
13602
  return { $loc, token: $1 };
13560
13603
  });
13561
13604
  function OpenAngleBracket(state) {
@@ -13580,7 +13623,7 @@ ${input.slice(result.pos)}
13580
13623
  return result;
13581
13624
  }
13582
13625
  }
13583
- var OpenBrace$0 = $TV($EXPECT($L129, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
13626
+ var OpenBrace$0 = $TV($EXPECT($L128, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
13584
13627
  return { $loc, token: $1 };
13585
13628
  });
13586
13629
  function OpenBrace(state) {
@@ -13655,7 +13698,7 @@ ${input.slice(result.pos)}
13655
13698
  return result;
13656
13699
  }
13657
13700
  }
13658
- var Operator$0 = $TS($S($EXPECT($L130, fail, 'Operator "operator"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13701
+ var Operator$0 = $TS($S($EXPECT($L129, fail, 'Operator "operator"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13659
13702
  return { $loc, token: $1 };
13660
13703
  });
13661
13704
  function Operator(state) {
@@ -13680,7 +13723,7 @@ ${input.slice(result.pos)}
13680
13723
  return result;
13681
13724
  }
13682
13725
  }
13683
- var Public$0 = $TS($S($EXPECT($L131, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13726
+ var Public$0 = $TS($S($EXPECT($L130, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13684
13727
  return { $loc, token: $1 };
13685
13728
  });
13686
13729
  function Public(state) {
@@ -13705,7 +13748,7 @@ ${input.slice(result.pos)}
13705
13748
  return result;
13706
13749
  }
13707
13750
  }
13708
- var Private$0 = $TS($S($EXPECT($L132, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13751
+ var Private$0 = $TS($S($EXPECT($L131, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13709
13752
  return { $loc, token: $1 };
13710
13753
  });
13711
13754
  function Private(state) {
@@ -13730,7 +13773,7 @@ ${input.slice(result.pos)}
13730
13773
  return result;
13731
13774
  }
13732
13775
  }
13733
- var Protected$0 = $TS($S($EXPECT($L133, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13776
+ var Protected$0 = $TS($S($EXPECT($L132, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13734
13777
  return { $loc, token: $1 };
13735
13778
  });
13736
13779
  function Protected(state) {
@@ -13755,7 +13798,7 @@ ${input.slice(result.pos)}
13755
13798
  return result;
13756
13799
  }
13757
13800
  }
13758
- var Pipe$0 = $TV($EXPECT($L134, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
13801
+ var Pipe$0 = $TV($EXPECT($L133, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
13759
13802
  return { $loc, token: $1 };
13760
13803
  });
13761
13804
  function Pipe(state) {
@@ -13805,7 +13848,7 @@ ${input.slice(result.pos)}
13805
13848
  return result;
13806
13849
  }
13807
13850
  }
13808
- var Readonly$0 = $TS($S($EXPECT($L135, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13851
+ var Readonly$0 = $TS($S($EXPECT($L134, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13809
13852
  return { $loc, token: $1, ts: true };
13810
13853
  });
13811
13854
  function Readonly(state) {
@@ -13830,7 +13873,7 @@ ${input.slice(result.pos)}
13830
13873
  return result;
13831
13874
  }
13832
13875
  }
13833
- var Return$0 = $TS($S($EXPECT($L136, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13876
+ var Return$0 = $TS($S($EXPECT($L135, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13834
13877
  return { $loc, token: $1 };
13835
13878
  });
13836
13879
  function Return(state) {
@@ -13855,7 +13898,7 @@ ${input.slice(result.pos)}
13855
13898
  return result;
13856
13899
  }
13857
13900
  }
13858
- var Satisfies$0 = $TS($S($EXPECT($L137, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13901
+ var Satisfies$0 = $TS($S($EXPECT($L136, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13859
13902
  return { $loc, token: $1 };
13860
13903
  });
13861
13904
  function Satisfies(state) {
@@ -13905,7 +13948,7 @@ ${input.slice(result.pos)}
13905
13948
  return result;
13906
13949
  }
13907
13950
  }
13908
- var SingleQuote$0 = $TV($EXPECT($L138, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
13951
+ var SingleQuote$0 = $TV($EXPECT($L137, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
13909
13952
  return { $loc, token: $1 };
13910
13953
  });
13911
13954
  function SingleQuote(state) {
@@ -13955,7 +13998,7 @@ ${input.slice(result.pos)}
13955
13998
  return result;
13956
13999
  }
13957
14000
  }
13958
- var Static$0 = $TS($S($EXPECT($L139, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14001
+ var Static$0 = $TS($S($EXPECT($L138, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13959
14002
  return { $loc, token: $1 };
13960
14003
  });
13961
14004
  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) {
@@ -13983,7 +14026,7 @@ ${input.slice(result.pos)}
13983
14026
  return result;
13984
14027
  }
13985
14028
  }
13986
- var SubstitutionStart$0 = $TV($EXPECT($L140, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
14029
+ var SubstitutionStart$0 = $TV($EXPECT($L139, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
13987
14030
  return { $loc, token: $1 };
13988
14031
  });
13989
14032
  function SubstitutionStart(state) {
@@ -14008,7 +14051,7 @@ ${input.slice(result.pos)}
14008
14051
  return result;
14009
14052
  }
14010
14053
  }
14011
- var Switch$0 = $TS($S($EXPECT($L141, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14054
+ var Switch$0 = $TS($S($EXPECT($L140, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14012
14055
  return { $loc, token: $1 };
14013
14056
  });
14014
14057
  function Switch(state) {
@@ -14033,7 +14076,7 @@ ${input.slice(result.pos)}
14033
14076
  return result;
14034
14077
  }
14035
14078
  }
14036
- var Target$0 = $TS($S($EXPECT($L142, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14079
+ var Target$0 = $TS($S($EXPECT($L141, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14037
14080
  return { $loc, token: $1 };
14038
14081
  });
14039
14082
  function Target(state) {
@@ -14058,7 +14101,7 @@ ${input.slice(result.pos)}
14058
14101
  return result;
14059
14102
  }
14060
14103
  }
14061
- var Then$0 = $TS($S(__, $EXPECT($L143, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
14104
+ var Then$0 = $TS($S(__, $EXPECT($L142, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
14062
14105
  return { $loc, token: "" };
14063
14106
  });
14064
14107
  function Then(state) {
@@ -14083,7 +14126,7 @@ ${input.slice(result.pos)}
14083
14126
  return result;
14084
14127
  }
14085
14128
  }
14086
- var This$0 = $TS($S($EXPECT($L144, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14129
+ var This$0 = $TS($S($EXPECT($L143, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14087
14130
  return { $loc, token: $1 };
14088
14131
  });
14089
14132
  function This(state) {
@@ -14108,7 +14151,7 @@ ${input.slice(result.pos)}
14108
14151
  return result;
14109
14152
  }
14110
14153
  }
14111
- var Throw$0 = $TS($S($EXPECT($L145, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14154
+ var Throw$0 = $TS($S($EXPECT($L144, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14112
14155
  return { $loc, token: $1 };
14113
14156
  });
14114
14157
  function Throw(state) {
@@ -14133,7 +14176,7 @@ ${input.slice(result.pos)}
14133
14176
  return result;
14134
14177
  }
14135
14178
  }
14136
- var TripleDoubleQuote$0 = $TV($EXPECT($L146, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
14179
+ var TripleDoubleQuote$0 = $TV($EXPECT($L145, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
14137
14180
  return { $loc, token: "`" };
14138
14181
  });
14139
14182
  function TripleDoubleQuote(state) {
@@ -14158,7 +14201,7 @@ ${input.slice(result.pos)}
14158
14201
  return result;
14159
14202
  }
14160
14203
  }
14161
- var TripleSingleQuote$0 = $TV($EXPECT($L147, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
14204
+ var TripleSingleQuote$0 = $TV($EXPECT($L146, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
14162
14205
  return { $loc, token: "`" };
14163
14206
  });
14164
14207
  function TripleSingleQuote(state) {
@@ -14183,7 +14226,7 @@ ${input.slice(result.pos)}
14183
14226
  return result;
14184
14227
  }
14185
14228
  }
14186
- var TripleSlash$0 = $TV($EXPECT($L148, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
14229
+ var TripleSlash$0 = $TV($EXPECT($L147, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
14187
14230
  return { $loc, token: "/" };
14188
14231
  });
14189
14232
  function TripleSlash(state) {
@@ -14208,7 +14251,7 @@ ${input.slice(result.pos)}
14208
14251
  return result;
14209
14252
  }
14210
14253
  }
14211
- var TripleTick$0 = $TV($EXPECT($L149, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
14254
+ var TripleTick$0 = $TV($EXPECT($L148, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
14212
14255
  return { $loc, token: "`" };
14213
14256
  });
14214
14257
  function TripleTick(state) {
@@ -14233,7 +14276,7 @@ ${input.slice(result.pos)}
14233
14276
  return result;
14234
14277
  }
14235
14278
  }
14236
- var Try$0 = $TS($S($EXPECT($L150, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14279
+ var Try$0 = $TS($S($EXPECT($L149, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14237
14280
  return { $loc, token: $1 };
14238
14281
  });
14239
14282
  function Try(state) {
@@ -14258,7 +14301,7 @@ ${input.slice(result.pos)}
14258
14301
  return result;
14259
14302
  }
14260
14303
  }
14261
- var Typeof$0 = $TS($S($EXPECT($L151, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14304
+ var Typeof$0 = $TS($S($EXPECT($L150, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14262
14305
  return { $loc, token: $1 };
14263
14306
  });
14264
14307
  function Typeof(state) {
@@ -14283,7 +14326,7 @@ ${input.slice(result.pos)}
14283
14326
  return result;
14284
14327
  }
14285
14328
  }
14286
- var Unless$0 = $TS($S($EXPECT($L152, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14329
+ var Unless$0 = $TS($S($EXPECT($L151, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14287
14330
  return { $loc, token: $1 };
14288
14331
  });
14289
14332
  function Unless(state) {
@@ -14308,7 +14351,7 @@ ${input.slice(result.pos)}
14308
14351
  return result;
14309
14352
  }
14310
14353
  }
14311
- var Until$0 = $TS($S($EXPECT($L153, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14354
+ var Until$0 = $TS($S($EXPECT($L152, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14312
14355
  return { $loc, token: $1 };
14313
14356
  });
14314
14357
  function Until(state) {
@@ -14333,7 +14376,7 @@ ${input.slice(result.pos)}
14333
14376
  return result;
14334
14377
  }
14335
14378
  }
14336
- var Var$0 = $TS($S($EXPECT($L154, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14379
+ var Var$0 = $TS($S($EXPECT($L153, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14337
14380
  return { $loc, token: $1 };
14338
14381
  });
14339
14382
  function Var(state) {
@@ -14358,7 +14401,7 @@ ${input.slice(result.pos)}
14358
14401
  return result;
14359
14402
  }
14360
14403
  }
14361
- var Void$0 = $TS($S($EXPECT($L155, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14404
+ var Void$0 = $TS($S($EXPECT($L154, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14362
14405
  return { $loc, token: $1 };
14363
14406
  });
14364
14407
  function Void(state) {
@@ -14383,7 +14426,7 @@ ${input.slice(result.pos)}
14383
14426
  return result;
14384
14427
  }
14385
14428
  }
14386
- var When$0 = $TS($S($EXPECT($L156, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14429
+ var When$0 = $TS($S($EXPECT($L155, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14387
14430
  return { $loc, token: "case" };
14388
14431
  });
14389
14432
  function When(state) {
@@ -14408,7 +14451,7 @@ ${input.slice(result.pos)}
14408
14451
  return result;
14409
14452
  }
14410
14453
  }
14411
- var While$0 = $TS($S($EXPECT($L157, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14454
+ var While$0 = $TS($S($EXPECT($L156, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14412
14455
  return { $loc, token: $1 };
14413
14456
  });
14414
14457
  function While(state) {
@@ -14433,7 +14476,7 @@ ${input.slice(result.pos)}
14433
14476
  return result;
14434
14477
  }
14435
14478
  }
14436
- var Yield$0 = $TS($S($EXPECT($L158, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14479
+ var Yield$0 = $TS($S($EXPECT($L157, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14437
14480
  return { $loc, token: $1 };
14438
14481
  });
14439
14482
  function Yield(state) {
@@ -14579,7 +14622,7 @@ ${input.slice(result.pos)}
14579
14622
  return result;
14580
14623
  }
14581
14624
  }
14582
- 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) {
14625
+ 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) {
14583
14626
  return { type: "JSXElement", children: $0, tag: $2 };
14584
14627
  });
14585
14628
  function JSXSelfClosingElement(state) {
@@ -14630,7 +14673,7 @@ ${input.slice(result.pos)}
14630
14673
  return result;
14631
14674
  }
14632
14675
  }
14633
- var JSXOpeningElement$0 = $S($EXPECT($L128, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L29, fail, 'JSXOpeningElement ">"'));
14676
+ var JSXOpeningElement$0 = $S($EXPECT($L127, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L29, fail, 'JSXOpeningElement ">"'));
14634
14677
  function JSXOpeningElement(state) {
14635
14678
  let eventData;
14636
14679
  if (state.events) {
@@ -14659,7 +14702,7 @@ ${input.slice(result.pos)}
14659
14702
  return $skip;
14660
14703
  return $0;
14661
14704
  });
14662
- var JSXOptionalClosingElement$1 = $EXPECT($L18, fail, 'JSXOptionalClosingElement ""');
14705
+ var JSXOptionalClosingElement$1 = $EXPECT($L17, fail, 'JSXOptionalClosingElement ""');
14663
14706
  function JSXOptionalClosingElement(state) {
14664
14707
  let eventData;
14665
14708
  if (state.events) {
@@ -14682,7 +14725,7 @@ ${input.slice(result.pos)}
14682
14725
  return result;
14683
14726
  }
14684
14727
  }
14685
- var JSXClosingElement$0 = $S($EXPECT($L160, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L29, fail, 'JSXClosingElement ">"'));
14728
+ var JSXClosingElement$0 = $S($EXPECT($L159, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L29, fail, 'JSXClosingElement ">"'));
14686
14729
  function JSXClosingElement(state) {
14687
14730
  let eventData;
14688
14731
  if (state.events) {
@@ -14721,7 +14764,7 @@ ${input.slice(result.pos)}
14721
14764
  ];
14722
14765
  return { type: "JSXFragment", children: parts, jsxChildren: children.jsxChildren };
14723
14766
  });
14724
- var JSXFragment$1 = $TS($S(CoffeeJSXEnabled, $EXPECT($L161, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), JSXClosingFragment), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
14767
+ var JSXFragment$1 = $TS($S(CoffeeJSXEnabled, $EXPECT($L160, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), JSXClosingFragment), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
14725
14768
  var children = $3;
14726
14769
  $0 = $0.slice(1);
14727
14770
  return {
@@ -14752,7 +14795,7 @@ ${input.slice(result.pos)}
14752
14795
  return result;
14753
14796
  }
14754
14797
  }
14755
- var PushJSXOpeningFragment$0 = $TV($EXPECT($L161, fail, 'PushJSXOpeningFragment "<>"'), function($skip, $loc, $0, $1) {
14798
+ var PushJSXOpeningFragment$0 = $TV($EXPECT($L160, fail, 'PushJSXOpeningFragment "<>"'), function($skip, $loc, $0, $1) {
14756
14799
  module.JSXTagStack.push("");
14757
14800
  return $1;
14758
14801
  });
@@ -14783,7 +14826,7 @@ ${input.slice(result.pos)}
14783
14826
  return $skip;
14784
14827
  return $0;
14785
14828
  });
14786
- var JSXOptionalClosingFragment$1 = $EXPECT($L18, fail, 'JSXOptionalClosingFragment ""');
14829
+ var JSXOptionalClosingFragment$1 = $EXPECT($L17, fail, 'JSXOptionalClosingFragment ""');
14787
14830
  function JSXOptionalClosingFragment(state) {
14788
14831
  let eventData;
14789
14832
  if (state.events) {
@@ -14806,7 +14849,7 @@ ${input.slice(result.pos)}
14806
14849
  return result;
14807
14850
  }
14808
14851
  }
14809
- var JSXClosingFragment$0 = $EXPECT($L162, fail, 'JSXClosingFragment "</>"');
14852
+ var JSXClosingFragment$0 = $EXPECT($L161, fail, 'JSXClosingFragment "</>"');
14810
14853
  function JSXClosingFragment(state) {
14811
14854
  let eventData;
14812
14855
  if (state.events) {
@@ -15702,7 +15745,7 @@ ${input.slice(result.pos)}
15702
15745
  return result;
15703
15746
  }
15704
15747
  }
15705
- var JSXComment$0 = $TS($S($EXPECT($L163, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L164, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
15748
+ var JSXComment$0 = $TS($S($EXPECT($L162, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L163, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
15706
15749
  return ["{/*", $2, "*/}"];
15707
15750
  });
15708
15751
  function JSXComment(state) {
@@ -16000,7 +16043,7 @@ ${input.slice(result.pos)}
16000
16043
  return result;
16001
16044
  }
16002
16045
  }
16003
- var TypeKeyword$0 = $S($EXPECT($L165, fail, 'TypeKeyword "type"'), NonIdContinue);
16046
+ var TypeKeyword$0 = $S($EXPECT($L164, fail, 'TypeKeyword "type"'), NonIdContinue);
16004
16047
  function TypeKeyword(state) {
16005
16048
  let eventData;
16006
16049
  if (state.events) {
@@ -16023,7 +16066,7 @@ ${input.slice(result.pos)}
16023
16066
  return result;
16024
16067
  }
16025
16068
  }
16026
- var Interface$0 = $S($EXPECT($L166, fail, 'Interface "interface"'), NonIdContinue);
16069
+ var Interface$0 = $S($EXPECT($L165, fail, 'Interface "interface"'), NonIdContinue);
16027
16070
  function Interface(state) {
16028
16071
  let eventData;
16029
16072
  if (state.events) {
@@ -16046,7 +16089,7 @@ ${input.slice(result.pos)}
16046
16089
  return result;
16047
16090
  }
16048
16091
  }
16049
- var Namespace$0 = $S($EXPECT($L167, fail, 'Namespace "namespace"'), NonIdContinue);
16092
+ var Namespace$0 = $S($EXPECT($L166, fail, 'Namespace "namespace"'), NonIdContinue);
16050
16093
  function Namespace(state) {
16051
16094
  let eventData;
16052
16095
  if (state.events) {
@@ -16294,7 +16337,7 @@ ${input.slice(result.pos)}
16294
16337
  return result;
16295
16338
  }
16296
16339
  }
16297
- 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)));
16340
+ 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)));
16298
16341
  function TypeIndexSignature(state) {
16299
16342
  let eventData;
16300
16343
  if (state.events) {
@@ -16366,7 +16409,7 @@ ${input.slice(result.pos)}
16366
16409
  return result;
16367
16410
  }
16368
16411
  }
16369
- var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L168, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
16412
+ var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L167, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
16370
16413
  const children = [...$1, $2];
16371
16414
  if ($3)
16372
16415
  children.push($3);
@@ -16525,10 +16568,10 @@ ${input.slice(result.pos)}
16525
16568
  return result;
16526
16569
  }
16527
16570
  }
16528
- var TypeUnaryOp$0 = $S($EXPECT($L169, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
16529
- var TypeUnaryOp$1 = $S($EXPECT($L151, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
16530
- var TypeUnaryOp$2 = $S($EXPECT($L170, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
16531
- var TypeUnaryOp$3 = $S($EXPECT($L135, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
16571
+ var TypeUnaryOp$0 = $S($EXPECT($L168, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
16572
+ var TypeUnaryOp$1 = $S($EXPECT($L150, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
16573
+ var TypeUnaryOp$2 = $S($EXPECT($L169, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
16574
+ var TypeUnaryOp$3 = $S($EXPECT($L134, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
16532
16575
  function TypeUnaryOp(state) {
16533
16576
  let eventData;
16534
16577
  if (state.events) {
@@ -16726,7 +16769,7 @@ ${input.slice(result.pos)}
16726
16769
  return result;
16727
16770
  }
16728
16771
  }
16729
- 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) {
16772
+ 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) {
16730
16773
  if ($2)
16731
16774
  return $0;
16732
16775
  return $1;
@@ -16755,10 +16798,10 @@ ${input.slice(result.pos)}
16755
16798
  }
16756
16799
  var TypeLiteral$0 = TemplateLiteral;
16757
16800
  var TypeLiteral$1 = Literal;
16758
- var TypeLiteral$2 = $TS($S($EXPECT($L155, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16801
+ var TypeLiteral$2 = $TS($S($EXPECT($L154, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16759
16802
  return { $loc, token: "void" };
16760
16803
  });
16761
- var TypeLiteral$3 = $TV($EXPECT($L171, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
16804
+ var TypeLiteral$3 = $TV($EXPECT($L170, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
16762
16805
  return { $loc, token: "[]" };
16763
16806
  });
16764
16807
  function TypeLiteral(state) {
@@ -16833,7 +16876,7 @@ ${input.slice(result.pos)}
16833
16876
  var InlineInterfacePropertyDelimiter$1 = $T($S($Y($S($C(IndentedFurther, $E(_)), InlineBasicInterfaceProperty)), InsertComma), function(value) {
16834
16877
  return value[1];
16835
16878
  });
16836
- var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($L31, fail, 'InlineInterfacePropertyDelimiter ":"'), $EXPECT($L19, fail, 'InlineInterfacePropertyDelimiter ")"'), $EXPECT($L30, fail, 'InlineInterfacePropertyDelimiter "]"'), $EXPECT($L21, fail, 'InlineInterfacePropertyDelimiter "}"'))));
16879
+ var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($L31, fail, 'InlineInterfacePropertyDelimiter ":"'), $EXPECT($L18, fail, 'InlineInterfacePropertyDelimiter ")"'), $EXPECT($L30, fail, 'InlineInterfacePropertyDelimiter "]"'), $EXPECT($L21, fail, 'InlineInterfacePropertyDelimiter "}"'))));
16837
16880
  var InlineInterfacePropertyDelimiter$3 = $Y(EOS);
16838
16881
  function InlineInterfacePropertyDelimiter(state) {
16839
16882
  let eventData;
@@ -16942,7 +16985,7 @@ ${input.slice(result.pos)}
16942
16985
  return result;
16943
16986
  }
16944
16987
  }
16945
- var TypeArguments$0 = $TS($S($EXPECT($L128, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L29, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
16988
+ var TypeArguments$0 = $TS($S($EXPECT($L127, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L29, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
16946
16989
  return { ts: true, children: $0 };
16947
16990
  });
16948
16991
  function TypeArguments(state) {
@@ -17013,7 +17056,7 @@ ${input.slice(result.pos)}
17013
17056
  return result;
17014
17057
  }
17015
17058
  }
17016
- var TypeParameters$0 = $TS($S(__, $EXPECT($L128, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L29, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
17059
+ var TypeParameters$0 = $TS($S(__, $EXPECT($L127, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L29, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
17017
17060
  var parameters = $3;
17018
17061
  return {
17019
17062
  type: "TypeParameters",
@@ -17067,7 +17110,7 @@ ${input.slice(result.pos)}
17067
17110
  return result;
17068
17111
  }
17069
17112
  }
17070
- var TypeConstraint$0 = $S(__, $EXPECT($L116, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
17113
+ var TypeConstraint$0 = $S(__, $EXPECT($L115, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
17071
17114
  function TypeConstraint(state) {
17072
17115
  let eventData;
17073
17116
  if (state.events) {
@@ -17218,7 +17261,7 @@ ${input.slice(result.pos)}
17218
17261
  return result;
17219
17262
  }
17220
17263
  }
17221
- 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) {
17264
+ 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) {
17222
17265
  var options = $3;
17223
17266
  return {
17224
17267
  type: "CivetPrologue",
@@ -17379,7 +17422,7 @@ ${input.slice(result.pos)}
17379
17422
  return result;
17380
17423
  }
17381
17424
  }
17382
- var Debugger$0 = $TV($EXPECT($L18, fail, 'Debugger ""'), function($skip, $loc, $0, $1) {
17425
+ var Debugger$0 = $TV($EXPECT($L17, fail, 'Debugger ""'), function($skip, $loc, $0, $1) {
17383
17426
  debugger;
17384
17427
  });
17385
17428
  function Debugger(state) {
@@ -17404,7 +17447,7 @@ ${input.slice(result.pos)}
17404
17447
  return result;
17405
17448
  }
17406
17449
  }
17407
- var InsertSemicolon$0 = $TV($EXPECT($L18, fail, 'InsertSemicolon ""'), function($skip, $loc, $0, $1) {
17450
+ var InsertSemicolon$0 = $TV($EXPECT($L17, fail, 'InsertSemicolon ""'), function($skip, $loc, $0, $1) {
17408
17451
  return { $loc, token: ";" };
17409
17452
  });
17410
17453
  function InsertSemicolon(state) {
@@ -17429,7 +17472,7 @@ ${input.slice(result.pos)}
17429
17472
  return result;
17430
17473
  }
17431
17474
  }
17432
- var InsertOpenParen$0 = $TV($EXPECT($L18, fail, 'InsertOpenParen ""'), function($skip, $loc, $0, $1) {
17475
+ var InsertOpenParen$0 = $TV($EXPECT($L17, fail, 'InsertOpenParen ""'), function($skip, $loc, $0, $1) {
17433
17476
  return { $loc, token: "(" };
17434
17477
  });
17435
17478
  function InsertOpenParen(state) {
@@ -17454,7 +17497,7 @@ ${input.slice(result.pos)}
17454
17497
  return result;
17455
17498
  }
17456
17499
  }
17457
- var InsertCloseParen$0 = $TV($EXPECT($L18, fail, 'InsertCloseParen ""'), function($skip, $loc, $0, $1) {
17500
+ var InsertCloseParen$0 = $TV($EXPECT($L17, fail, 'InsertCloseParen ""'), function($skip, $loc, $0, $1) {
17458
17501
  return { $loc, token: ")" };
17459
17502
  });
17460
17503
  function InsertCloseParen(state) {
@@ -17479,7 +17522,7 @@ ${input.slice(result.pos)}
17479
17522
  return result;
17480
17523
  }
17481
17524
  }
17482
- var InsertOpenBrace$0 = $TV($EXPECT($L18, fail, 'InsertOpenBrace ""'), function($skip, $loc, $0, $1) {
17525
+ var InsertOpenBrace$0 = $TV($EXPECT($L17, fail, 'InsertOpenBrace ""'), function($skip, $loc, $0, $1) {
17483
17526
  return [{ $loc, token: " " }, { $loc, token: "{" }];
17484
17527
  });
17485
17528
  function InsertOpenBrace(state) {
@@ -17504,7 +17547,7 @@ ${input.slice(result.pos)}
17504
17547
  return result;
17505
17548
  }
17506
17549
  }
17507
- var InsertInlineOpenBrace$0 = $TV($EXPECT($L18, fail, 'InsertInlineOpenBrace ""'), function($skip, $loc, $0, $1) {
17550
+ var InsertInlineOpenBrace$0 = $TV($EXPECT($L17, fail, 'InsertInlineOpenBrace ""'), function($skip, $loc, $0, $1) {
17508
17551
  return { $loc, token: "{" };
17509
17552
  });
17510
17553
  function InsertInlineOpenBrace(state) {
@@ -17529,7 +17572,7 @@ ${input.slice(result.pos)}
17529
17572
  return result;
17530
17573
  }
17531
17574
  }
17532
- var InsertCloseBrace$0 = $TV($EXPECT($L18, fail, 'InsertCloseBrace ""'), function($skip, $loc, $0, $1) {
17575
+ var InsertCloseBrace$0 = $TV($EXPECT($L17, fail, 'InsertCloseBrace ""'), function($skip, $loc, $0, $1) {
17533
17576
  return { $loc, token: "}" };
17534
17577
  });
17535
17578
  function InsertCloseBrace(state) {
@@ -17554,7 +17597,7 @@ ${input.slice(result.pos)}
17554
17597
  return result;
17555
17598
  }
17556
17599
  }
17557
- var InsertOpenBracket$0 = $TV($EXPECT($L18, fail, 'InsertOpenBracket ""'), function($skip, $loc, $0, $1) {
17600
+ var InsertOpenBracket$0 = $TV($EXPECT($L17, fail, 'InsertOpenBracket ""'), function($skip, $loc, $0, $1) {
17558
17601
  return { $loc, token: "[" };
17559
17602
  });
17560
17603
  function InsertOpenBracket(state) {
@@ -17579,7 +17622,7 @@ ${input.slice(result.pos)}
17579
17622
  return result;
17580
17623
  }
17581
17624
  }
17582
- var InsertCloseBracket$0 = $TV($EXPECT($L18, fail, 'InsertCloseBracket ""'), function($skip, $loc, $0, $1) {
17625
+ var InsertCloseBracket$0 = $TV($EXPECT($L17, fail, 'InsertCloseBracket ""'), function($skip, $loc, $0, $1) {
17583
17626
  return { $loc, token: "]" };
17584
17627
  });
17585
17628
  function InsertCloseBracket(state) {
@@ -17604,7 +17647,7 @@ ${input.slice(result.pos)}
17604
17647
  return result;
17605
17648
  }
17606
17649
  }
17607
- var InsertComma$0 = $TV($EXPECT($L18, fail, 'InsertComma ""'), function($skip, $loc, $0, $1) {
17650
+ var InsertComma$0 = $TV($EXPECT($L17, fail, 'InsertComma ""'), function($skip, $loc, $0, $1) {
17608
17651
  return { $loc, token: "," };
17609
17652
  });
17610
17653
  function InsertComma(state) {
@@ -17629,7 +17672,7 @@ ${input.slice(result.pos)}
17629
17672
  return result;
17630
17673
  }
17631
17674
  }
17632
- var InsertConst$0 = $TV($EXPECT($L18, fail, 'InsertConst ""'), function($skip, $loc, $0, $1) {
17675
+ var InsertConst$0 = $TV($EXPECT($L17, fail, 'InsertConst ""'), function($skip, $loc, $0, $1) {
17633
17676
  return { $loc, token: "const " };
17634
17677
  });
17635
17678
  function InsertConst(state) {
@@ -17654,7 +17697,7 @@ ${input.slice(result.pos)}
17654
17697
  return result;
17655
17698
  }
17656
17699
  }
17657
- var InsertLet$0 = $TV($EXPECT($L18, fail, 'InsertLet ""'), function($skip, $loc, $0, $1) {
17700
+ var InsertLet$0 = $TV($EXPECT($L17, fail, 'InsertLet ""'), function($skip, $loc, $0, $1) {
17658
17701
  return { $loc, token: "let " };
17659
17702
  });
17660
17703
  function InsertLet(state) {
@@ -17679,7 +17722,7 @@ ${input.slice(result.pos)}
17679
17722
  return result;
17680
17723
  }
17681
17724
  }
17682
- var InsertReadonly$0 = $TV($EXPECT($L18, fail, 'InsertReadonly ""'), function($skip, $loc, $0, $1) {
17725
+ var InsertReadonly$0 = $TV($EXPECT($L17, fail, 'InsertReadonly ""'), function($skip, $loc, $0, $1) {
17683
17726
  return { ts: true, children: [{ $loc, token: "readonly " }] };
17684
17727
  });
17685
17728
  function InsertReadonly(state) {
@@ -17704,7 +17747,7 @@ ${input.slice(result.pos)}
17704
17747
  return result;
17705
17748
  }
17706
17749
  }
17707
- var InsertNewline$0 = $TV($EXPECT($L18, fail, 'InsertNewline ""'), function($skip, $loc, $0, $1) {
17750
+ var InsertNewline$0 = $TV($EXPECT($L17, fail, 'InsertNewline ""'), function($skip, $loc, $0, $1) {
17708
17751
  return "\n";
17709
17752
  });
17710
17753
  function InsertNewline(state) {
@@ -17729,7 +17772,7 @@ ${input.slice(result.pos)}
17729
17772
  return result;
17730
17773
  }
17731
17774
  }
17732
- var InsertIndent$0 = $TV($EXPECT($L18, fail, 'InsertIndent ""'), function($skip, $loc, $0, $1) {
17775
+ var InsertIndent$0 = $TV($EXPECT($L17, fail, 'InsertIndent ""'), function($skip, $loc, $0, $1) {
17733
17776
  return module.currentIndent.token;
17734
17777
  });
17735
17778
  function InsertIndent(state) {
@@ -17754,7 +17797,7 @@ ${input.slice(result.pos)}
17754
17797
  return result;
17755
17798
  }
17756
17799
  }
17757
- var InsertSpace$0 = $TV($EXPECT($L18, fail, 'InsertSpace ""'), function($skip, $loc, $0, $1) {
17800
+ var InsertSpace$0 = $TV($EXPECT($L17, fail, 'InsertSpace ""'), function($skip, $loc, $0, $1) {
17758
17801
  return { $loc, token: " " };
17759
17802
  });
17760
17803
  function InsertSpace(state) {
@@ -17779,7 +17822,7 @@ ${input.slice(result.pos)}
17779
17822
  return result;
17780
17823
  }
17781
17824
  }
17782
- var InsertDot$0 = $TV($EXPECT($L18, fail, 'InsertDot ""'), function($skip, $loc, $0, $1) {
17825
+ var InsertDot$0 = $TV($EXPECT($L17, fail, 'InsertDot ""'), function($skip, $loc, $0, $1) {
17783
17826
  return { $loc, token: "." };
17784
17827
  });
17785
17828
  function InsertDot(state) {
@@ -17804,7 +17847,7 @@ ${input.slice(result.pos)}
17804
17847
  return result;
17805
17848
  }
17806
17849
  }
17807
- var InsertBreak$0 = $TV($EXPECT($L18, fail, 'InsertBreak ""'), function($skip, $loc, $0, $1) {
17850
+ var InsertBreak$0 = $TV($EXPECT($L17, fail, 'InsertBreak ""'), function($skip, $loc, $0, $1) {
17808
17851
  return { $loc, token: ";break;" };
17809
17852
  });
17810
17853
  function InsertBreak(state) {
@@ -17829,7 +17872,7 @@ ${input.slice(result.pos)}
17829
17872
  return result;
17830
17873
  }
17831
17874
  }
17832
- var InsertVar$0 = $TV($EXPECT($L18, fail, 'InsertVar ""'), function($skip, $loc, $0, $1) {
17875
+ var InsertVar$0 = $TV($EXPECT($L17, fail, 'InsertVar ""'), function($skip, $loc, $0, $1) {
17833
17876
  return { $loc, token: "var " };
17834
17877
  });
17835
17878
  function InsertVar(state) {
@@ -17854,7 +17897,7 @@ ${input.slice(result.pos)}
17854
17897
  return result;
17855
17898
  }
17856
17899
  }
17857
- var CoffeeBinaryExistentialEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeBinaryExistentialEnabled ""'), function($skip, $loc, $0, $1) {
17900
+ var CoffeeBinaryExistentialEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeBinaryExistentialEnabled ""'), function($skip, $loc, $0, $1) {
17858
17901
  if (module.config.coffeeBinaryExistential)
17859
17902
  return;
17860
17903
  return $skip;
@@ -17881,7 +17924,7 @@ ${input.slice(result.pos)}
17881
17924
  return result;
17882
17925
  }
17883
17926
  }
17884
- var CoffeeBooleansEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeBooleansEnabled ""'), function($skip, $loc, $0, $1) {
17927
+ var CoffeeBooleansEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeBooleansEnabled ""'), function($skip, $loc, $0, $1) {
17885
17928
  if (module.config.coffeeBooleans)
17886
17929
  return;
17887
17930
  return $skip;
@@ -17908,7 +17951,7 @@ ${input.slice(result.pos)}
17908
17951
  return result;
17909
17952
  }
17910
17953
  }
17911
- var CoffeeClassesEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeClassesEnabled ""'), function($skip, $loc, $0, $1) {
17954
+ var CoffeeClassesEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeClassesEnabled ""'), function($skip, $loc, $0, $1) {
17912
17955
  if (module.config.coffeeClasses)
17913
17956
  return;
17914
17957
  return $skip;
@@ -17935,7 +17978,7 @@ ${input.slice(result.pos)}
17935
17978
  return result;
17936
17979
  }
17937
17980
  }
17938
- var CoffeeCommentEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeCommentEnabled ""'), function($skip, $loc, $0, $1) {
17981
+ var CoffeeCommentEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeCommentEnabled ""'), function($skip, $loc, $0, $1) {
17939
17982
  if (module.config.coffeeComment)
17940
17983
  return;
17941
17984
  return $skip;
@@ -17962,7 +18005,7 @@ ${input.slice(result.pos)}
17962
18005
  return result;
17963
18006
  }
17964
18007
  }
17965
- var CoffeeDoEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeDoEnabled ""'), function($skip, $loc, $0, $1) {
18008
+ var CoffeeDoEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeDoEnabled ""'), function($skip, $loc, $0, $1) {
17966
18009
  if (module.config.coffeeDo)
17967
18010
  return;
17968
18011
  return $skip;
@@ -17989,7 +18032,7 @@ ${input.slice(result.pos)}
17989
18032
  return result;
17990
18033
  }
17991
18034
  }
17992
- var CoffeeForLoopsEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeForLoopsEnabled ""'), function($skip, $loc, $0, $1) {
18035
+ var CoffeeForLoopsEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeForLoopsEnabled ""'), function($skip, $loc, $0, $1) {
17993
18036
  if (module.config.coffeeForLoops)
17994
18037
  return;
17995
18038
  return $skip;
@@ -18016,7 +18059,7 @@ ${input.slice(result.pos)}
18016
18059
  return result;
18017
18060
  }
18018
18061
  }
18019
- var CoffeeInterpolationEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeInterpolationEnabled ""'), function($skip, $loc, $0, $1) {
18062
+ var CoffeeInterpolationEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeInterpolationEnabled ""'), function($skip, $loc, $0, $1) {
18020
18063
  if (module.config.coffeeInterpolation)
18021
18064
  return;
18022
18065
  return $skip;
@@ -18043,7 +18086,7 @@ ${input.slice(result.pos)}
18043
18086
  return result;
18044
18087
  }
18045
18088
  }
18046
- var CoffeeIsntEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeIsntEnabled ""'), function($skip, $loc, $0, $1) {
18089
+ var CoffeeIsntEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeIsntEnabled ""'), function($skip, $loc, $0, $1) {
18047
18090
  if (module.config.coffeeIsnt)
18048
18091
  return;
18049
18092
  return $skip;
@@ -18070,7 +18113,7 @@ ${input.slice(result.pos)}
18070
18113
  return result;
18071
18114
  }
18072
18115
  }
18073
- var CoffeeJSXEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeJSXEnabled ""'), function($skip, $loc, $0, $1) {
18116
+ var CoffeeJSXEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeJSXEnabled ""'), function($skip, $loc, $0, $1) {
18074
18117
  if (module.config.coffeeJSX)
18075
18118
  return;
18076
18119
  return $skip;
@@ -18097,7 +18140,7 @@ ${input.slice(result.pos)}
18097
18140
  return result;
18098
18141
  }
18099
18142
  }
18100
- var CoffeeLineContinuationEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeLineContinuationEnabled ""'), function($skip, $loc, $0, $1) {
18143
+ var CoffeeLineContinuationEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeLineContinuationEnabled ""'), function($skip, $loc, $0, $1) {
18101
18144
  if (module.config.coffeeLineContinuation)
18102
18145
  return;
18103
18146
  return $skip;
@@ -18124,7 +18167,7 @@ ${input.slice(result.pos)}
18124
18167
  return result;
18125
18168
  }
18126
18169
  }
18127
- var CoffeeNotEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeNotEnabled ""'), function($skip, $loc, $0, $1) {
18170
+ var CoffeeNotEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeNotEnabled ""'), function($skip, $loc, $0, $1) {
18128
18171
  if (module.config.coffeeNot)
18129
18172
  return;
18130
18173
  return $skip;
@@ -18151,7 +18194,7 @@ ${input.slice(result.pos)}
18151
18194
  return result;
18152
18195
  }
18153
18196
  }
18154
- var CoffeeOfEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeOfEnabled ""'), function($skip, $loc, $0, $1) {
18197
+ var CoffeeOfEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeOfEnabled ""'), function($skip, $loc, $0, $1) {
18155
18198
  if (module.config.coffeeOf)
18156
18199
  return;
18157
18200
  return $skip;
@@ -18178,7 +18221,7 @@ ${input.slice(result.pos)}
18178
18221
  return result;
18179
18222
  }
18180
18223
  }
18181
- var CoffeePrototypeEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeePrototypeEnabled ""'), function($skip, $loc, $0, $1) {
18224
+ var CoffeePrototypeEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeePrototypeEnabled ""'), function($skip, $loc, $0, $1) {
18182
18225
  if (module.config.coffeePrototype)
18183
18226
  return;
18184
18227
  return $skip;
@@ -18205,7 +18248,7 @@ ${input.slice(result.pos)}
18205
18248
  return result;
18206
18249
  }
18207
18250
  }
18208
- var ObjectIsEnabled$0 = $TV($EXPECT($L18, fail, 'ObjectIsEnabled ""'), function($skip, $loc, $0, $1) {
18251
+ var ObjectIsEnabled$0 = $TV($EXPECT($L17, fail, 'ObjectIsEnabled ""'), function($skip, $loc, $0, $1) {
18209
18252
  if (module.config.objectIs)
18210
18253
  return;
18211
18254
  return $skip;
@@ -18232,7 +18275,7 @@ ${input.slice(result.pos)}
18232
18275
  return result;
18233
18276
  }
18234
18277
  }
18235
- var Reset$0 = $TV($EXPECT($L18, fail, 'Reset ""'), function($skip, $loc, $0, $1) {
18278
+ var Reset$0 = $TV($EXPECT($L17, fail, 'Reset ""'), function($skip, $loc, $0, $1) {
18236
18279
  module.indentLevels = [{
18237
18280
  level: 0,
18238
18281
  token: ""
@@ -18510,13 +18553,69 @@ ${input.slice(result.pos)}
18510
18553
  return result;
18511
18554
  }
18512
18555
  }
18513
- var Init$0 = $TS($S($E(Shebang), $Q(DirectivePrologue), $EXPECT($L18, fail, 'Init ""')), function($skip, $loc, $0, $1, $2, $3) {
18556
+ var Init$0 = $TS($S($E(Shebang), $Q(DirectivePrologue), $EXPECT($L17, fail, 'Init ""')), function($skip, $loc, $0, $1, $2, $3) {
18514
18557
  var directives = $2;
18515
18558
  directives.forEach((directive) => {
18516
18559
  if (directive.type === "CivetPrologue") {
18517
18560
  Object.assign(module.config, directive.config);
18518
18561
  }
18519
18562
  });
18563
+ module.processGlob = (node) => {
18564
+ const { children } = node;
18565
+ for (let i = 0; i < children.length; i++) {
18566
+ const glob = children[i];
18567
+ if (glob?.type === "PropertyGlob") {
18568
+ const prefix = children.slice(0, i).concat(glob.children[0]);
18569
+ const parts = [];
18570
+ for (const part of glob.pattern.content) {
18571
+ if (part.init) {
18572
+ throw new Error("Glob pattern cannot have initializers");
18573
+ }
18574
+ if (part.type === "AtBindingProperty") {
18575
+ throw new Error("Glob pattern cannot have @property");
18576
+ }
18577
+ if (part.type === "BindingRestProperty") {
18578
+ throw new Error("Glob pattern cannot have ...rest property");
18579
+ }
18580
+ const name = part.value ? module.insertTrimmingSpace(part.value, "") : part.name;
18581
+ const value = prefix.concat(module.insertTrimmingSpace(part.name, ""));
18582
+ const wValue = part.value && module.getTrimmingSpace(part.value);
18583
+ if (wValue)
18584
+ value.unshift(wValue);
18585
+ parts.push({
18586
+ type: "Property",
18587
+ name,
18588
+ value,
18589
+ names: part.names,
18590
+ children: [
18591
+ module.isWhitespaceOrEmpty(part.children[0]) && part.children[0],
18592
+ name,
18593
+ module.isWhitespaceOrEmpty(part.children[2]) && part.children[2],
18594
+ part.children[3]?.token === ":" ? part.children[3] : ":",
18595
+ value,
18596
+ part.children[part.children.length - 1]
18597
+ ]
18598
+ });
18599
+ }
18600
+ const object = {
18601
+ type: "ObjectExpression",
18602
+ children: [
18603
+ glob.pattern.children[0],
18604
+ ...parts,
18605
+ glob.pattern.children.at(-2),
18606
+ glob.pattern.children.at(-1)
18607
+ ]
18608
+ };
18609
+ if (i === children.length - 1)
18610
+ return object;
18611
+ return module.processGlob({
18612
+ ...node,
18613
+ children: [object, ...children.slice(i + 1)]
18614
+ });
18615
+ }
18616
+ }
18617
+ return node;
18618
+ };
18520
18619
  module.processUnaryExpression = (pre, exp, post) => {
18521
18620
  if (post?.token === "?") {
18522
18621
  post = {
@@ -18797,6 +18896,8 @@ ${input.slice(result.pos)}
18797
18896
  module.isWhitespaceOrEmpty = function(node) {
18798
18897
  if (!node)
18799
18898
  return true;
18899
+ if (node.type === "Ref")
18900
+ return false;
18800
18901
  if (node.token)
18801
18902
  return node.token.match(/^\s*$/);
18802
18903
  if (node.children)
@@ -18975,6 +19076,16 @@ ${input.slice(result.pos)}
18975
19076
  });
18976
19077
  return target;
18977
19078
  };
19079
+ module.getTrimmingSpace = function(target) {
19080
+ if (!target)
19081
+ return;
19082
+ if (Array.isArray(target))
19083
+ return module.getTrimmingSpace(target[0]);
19084
+ if (target.children)
19085
+ return module.getTrimmingSpace(target.children[0]);
19086
+ if (target.token)
19087
+ return target.token.match(/^ ?/)[0];
19088
+ };
18978
19089
  const initialSpacingRe = /^(?:\r?\n|\n)*((?:\r?\n|\n)\s+)/;
18979
19090
  module.dedentBlockSubstitutions = function($02) {
18980
19091
  const [s, strWithSubstitutions, e] = $02;
@@ -19598,7 +19709,11 @@ ${input.slice(result.pos)}
19598
19709
  const prefix = [];
19599
19710
  switch (pattern.type) {
19600
19711
  case "ArrayMatchingPattern":
19712
+ if (pattern.length === 0)
19713
+ break;
19601
19714
  case "ObjectMatchingPattern": {
19715
+ if (pattern.properties?.length === 0)
19716
+ break;
19602
19717
  let [splices, thisAssignments] = gatherBindingCode(pattern);
19603
19718
  splices = splices.map((s2) => [", ", nonMatcherBindings(s2)]);
19604
19719
  thisAssignments = thisAssignments.map((a) => [indent, a, ";\n"]);
@@ -20034,7 +20149,7 @@ ${input.slice(result.pos)}
20034
20149
  return result;
20035
20150
  }
20036
20151
  }
20037
- var PopIndent$0 = $TV($EXPECT($L18, fail, 'PopIndent ""'), function($skip, $loc, $0, $1) {
20152
+ var PopIndent$0 = $TV($EXPECT($L17, fail, 'PopIndent ""'), function($skip, $loc, $0, $1) {
20038
20153
  if (module.config.verbose) {
20039
20154
  console.log("popping indent", module.indentLevels[module.indentLevels.length - 1], "->", module.indentLevels[module.indentLevels.length - 2]);
20040
20155
  }