@danielx/civet 0.5.62 → 0.5.64

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
@@ -498,12 +498,14 @@ ${input.slice(result.pos)}
498
498
  CallExpression,
499
499
  CallExpressionRest,
500
500
  OptionalShorthand,
501
+ OptionalDot,
501
502
  NonNullAssertion,
502
503
  MemberExpression,
503
504
  MemberExpressionRest,
504
505
  MemberBracketContent,
505
506
  SliceParameters,
506
507
  PropertyAccess,
508
+ PropertyGlob,
507
509
  SuperProperty,
508
510
  MetaProperty,
509
511
  Parameters,
@@ -1017,10 +1019,10 @@ ${input.slice(result.pos)}
1017
1019
  var $L13 = $L("import");
1018
1020
  var $L14 = $L("!");
1019
1021
  var $L15 = $L("-");
1020
- var $L16 = $L("super[");
1021
- var $L17 = $L("import.meta");
1022
- var $L18 = $L("");
1023
- var $L19 = $L(")");
1022
+ var $L16 = $L("import.meta");
1023
+ var $L17 = $L("");
1024
+ var $L18 = $L(")");
1025
+ var $L19 = $L(",");
1024
1026
  var $L20 = $L("->");
1025
1027
  var $L21 = $L("}");
1026
1028
  var $L22 = $L("null");
@@ -1106,74 +1108,73 @@ ${input.slice(result.pos)}
1106
1108
  var $L102 = $L("catch");
1107
1109
  var $L103 = $L("class");
1108
1110
  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");
1111
+ var $L105 = $L("declare");
1112
+ var $L106 = $L("default");
1113
+ var $L107 = $L("delete");
1114
+ var $L108 = $L("do");
1115
+ var $L109 = $L("..");
1116
+ var $L110 = $L("...");
1117
+ var $L111 = $L("::");
1118
+ var $L112 = $L('"');
1119
+ var $L113 = $L("else");
1120
+ var $L114 = $L("export");
1121
+ var $L115 = $L("extends");
1122
+ var $L116 = $L("finally");
1123
+ var $L117 = $L("for");
1124
+ var $L118 = $L("from");
1125
+ var $L119 = $L("function");
1126
+ var $L120 = $L("get");
1127
+ var $L121 = $L("set");
1128
+ var $L122 = $L("if");
1129
+ var $L123 = $L("let");
1130
+ var $L124 = $L("const");
1131
+ var $L125 = $L("loop");
1132
+ var $L126 = $L("new");
1133
+ var $L127 = $L("<");
1134
+ var $L128 = $L("{");
1135
+ var $L129 = $L("operator");
1136
+ var $L130 = $L("public");
1137
+ var $L131 = $L("private");
1138
+ var $L132 = $L("protected");
1139
+ var $L133 = $L("|>");
1140
+ var $L134 = $L("readonly");
1141
+ var $L135 = $L("return");
1142
+ var $L136 = $L("satisfies");
1143
+ var $L137 = $L("'");
1144
+ var $L138 = $L("static");
1145
+ var $L139 = $L("${");
1146
+ var $L140 = $L("switch");
1147
+ var $L141 = $L("target");
1148
+ var $L142 = $L("then");
1149
+ var $L143 = $L("this");
1150
+ var $L144 = $L("throw");
1151
+ var $L145 = $L('"""');
1152
+ var $L146 = $L("'''");
1153
+ var $L147 = $L("///");
1154
+ var $L148 = $L("```");
1155
+ var $L149 = $L("try");
1156
+ var $L150 = $L("typeof");
1157
+ var $L151 = $L("unless");
1158
+ var $L152 = $L("until");
1159
+ var $L153 = $L("var");
1160
+ var $L154 = $L("void");
1161
+ var $L155 = $L("when");
1162
+ var $L156 = $L("while");
1163
+ var $L157 = $L("yield");
1164
+ var $L158 = $L("/>");
1165
+ var $L159 = $L("</");
1166
+ var $L160 = $L("<>");
1167
+ var $L161 = $L("</>");
1168
+ var $L162 = $L("<!--");
1169
+ var $L163 = $L("-->");
1170
+ var $L164 = $L("type");
1171
+ var $L165 = $L("interface");
1172
+ var $L166 = $L("namespace");
1173
+ var $L167 = $L("asserts");
1174
+ var $L168 = $L("keyof");
1175
+ var $L169 = $L("infer");
1176
+ var $L170 = $L("[]");
1177
+ var $L171 = $L("civet");
1177
1178
  var $R0 = $R(new RegExp("(as|for|while|until|of|satisfies|then|when|implements)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
1178
1179
  var $R1 = $R(new RegExp("[0-9]", "suy"));
1179
1180
  var $R2 = $R(new RegExp("[&]", "suy"));
@@ -3230,17 +3231,17 @@ ${input.slice(result.pos)}
3230
3231
  }
3231
3232
  var CallExpression$0 = $TS($S($EXPECT($L12, fail, 'CallExpression "super"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3232
3233
  var rest = $3;
3233
- return {
3234
+ return module.processGlob({
3234
3235
  type: "CallExpression",
3235
3236
  children: [$1, ...$2, ...rest.flat()]
3236
- };
3237
+ });
3237
3238
  });
3238
3239
  var CallExpression$1 = $TS($S($EXPECT($L13, fail, 'CallExpression "import"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3239
3240
  var rest = $3;
3240
- return {
3241
+ return module.processGlob({
3241
3242
  type: "CallExpression",
3242
3243
  children: [$1, ...$2, ...rest.flat()]
3243
- };
3244
+ });
3244
3245
  });
3245
3246
  var CallExpression$2 = $TS($S(MemberExpression, NonSuppressedTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3246
3247
  var member = $1;
@@ -3248,10 +3249,10 @@ ${input.slice(result.pos)}
3248
3249
  var rest = $3;
3249
3250
  if (rest.length || trailing.length) {
3250
3251
  rest = rest.flat();
3251
- return {
3252
- type: rest.length && rest[rest.length - 1].type === "Call" ? "CallExpression" : "MemberExpression",
3252
+ return module.processGlob({
3253
+ type: "CallExpression",
3253
3254
  children: [member, ...trailing, ...rest]
3254
- };
3255
+ });
3255
3256
  }
3256
3257
  return member;
3257
3258
  });
@@ -3311,7 +3312,7 @@ ${input.slice(result.pos)}
3311
3312
  return result;
3312
3313
  }
3313
3314
  }
3314
- var OptionalShorthand$0 = $TS($S(QuestionMark, $C(Dot, InsertDot)), function($skip, $loc, $0, $1, $2) {
3315
+ var OptionalShorthand$0 = $TS($S(QuestionMark, OptionalDot), function($skip, $loc, $0, $1, $2) {
3315
3316
  return {
3316
3317
  type: "Optional",
3317
3318
  children: $0
@@ -3339,6 +3340,30 @@ ${input.slice(result.pos)}
3339
3340
  return result;
3340
3341
  }
3341
3342
  }
3343
+ var OptionalDot$0 = Dot;
3344
+ var OptionalDot$1 = InsertDot;
3345
+ function OptionalDot(state) {
3346
+ let eventData;
3347
+ if (state.events) {
3348
+ const result = state.events.enter?.("OptionalDot", state);
3349
+ if (result) {
3350
+ if (result.cache)
3351
+ return result.cache;
3352
+ eventData = result.data;
3353
+ }
3354
+ }
3355
+ if (state.tokenize) {
3356
+ const result = $TOKEN("OptionalDot", state, OptionalDot$0(state) || OptionalDot$1(state));
3357
+ if (state.events)
3358
+ state.events.exit?.("OptionalDot", state, result, eventData);
3359
+ return result;
3360
+ } else {
3361
+ const result = OptionalDot$0(state) || OptionalDot$1(state);
3362
+ if (state.events)
3363
+ state.events.exit?.("OptionalDot", state, result, eventData);
3364
+ return result;
3365
+ }
3366
+ }
3342
3367
  var NonNullAssertion$0 = $T($EXPECT($L14, fail, 'NonNullAssertion "!"'), function(value) {
3343
3368
  return { "type": "NonNullAssertion", "ts": true, "children": value };
3344
3369
  });
@@ -3364,18 +3389,16 @@ ${input.slice(result.pos)}
3364
3389
  return result;
3365
3390
  }
3366
3391
  }
3367
- var MemberExpression$0 = $TS($S(PrimaryExpression, $Q(MemberExpressionRest)), function($skip, $loc, $0, $1, $2) {
3392
+ var MemberExpression$0 = $TS($S($C(PrimaryExpression, SuperProperty, MetaProperty), $Q(MemberExpressionRest)), function($skip, $loc, $0, $1, $2) {
3368
3393
  var rest = $2;
3369
- if (rest.length) {
3370
- return {
3394
+ if (rest.length || Array.isArray($1)) {
3395
+ return module.processGlob({
3371
3396
  type: "MemberExpression",
3372
- children: [$1].concat(rest.flat())
3373
- };
3397
+ children: [$1, ...rest].flat()
3398
+ });
3374
3399
  }
3375
3400
  return $1;
3376
3401
  });
3377
- var MemberExpression$1 = SuperProperty;
3378
- var MemberExpression$2 = MetaProperty;
3379
3402
  function MemberExpression(state) {
3380
3403
  let eventData;
3381
3404
  if (state.events) {
@@ -3387,12 +3410,12 @@ ${input.slice(result.pos)}
3387
3410
  }
3388
3411
  }
3389
3412
  if (state.tokenize) {
3390
- const result = $TOKEN("MemberExpression", state, MemberExpression$0(state) || MemberExpression$1(state) || MemberExpression$2(state));
3413
+ const result = $TOKEN("MemberExpression", state, MemberExpression$0(state));
3391
3414
  if (state.events)
3392
3415
  state.events.exit?.("MemberExpression", state, result, eventData);
3393
3416
  return result;
3394
3417
  } else {
3395
- const result = MemberExpression$0(state) || MemberExpression$1(state) || MemberExpression$2(state);
3418
+ const result = MemberExpression$0(state);
3396
3419
  if (state.events)
3397
3420
  state.events.exit?.("MemberExpression", state, result, eventData);
3398
3421
  return result;
@@ -3408,7 +3431,8 @@ ${input.slice(result.pos)}
3408
3431
  return $2;
3409
3432
  });
3410
3433
  var MemberExpressionRest$1 = PropertyAccess;
3411
- var MemberExpressionRest$2 = NonNullAssertion;
3434
+ var MemberExpressionRest$2 = PropertyGlob;
3435
+ var MemberExpressionRest$3 = NonNullAssertion;
3412
3436
  function MemberExpressionRest(state) {
3413
3437
  let eventData;
3414
3438
  if (state.events) {
@@ -3420,12 +3444,12 @@ ${input.slice(result.pos)}
3420
3444
  }
3421
3445
  }
3422
3446
  if (state.tokenize) {
3423
- const result = $TOKEN("MemberExpressionRest", state, MemberExpressionRest$0(state) || MemberExpressionRest$1(state) || MemberExpressionRest$2(state));
3447
+ const result = $TOKEN("MemberExpressionRest", state, MemberExpressionRest$0(state) || MemberExpressionRest$1(state) || MemberExpressionRest$2(state) || MemberExpressionRest$3(state));
3424
3448
  if (state.events)
3425
3449
  state.events.exit?.("MemberExpressionRest", state, result, eventData);
3426
3450
  return result;
3427
3451
  } else {
3428
- const result = MemberExpressionRest$0(state) || MemberExpressionRest$1(state) || MemberExpressionRest$2(state);
3452
+ const result = MemberExpressionRest$0(state) || MemberExpressionRest$1(state) || MemberExpressionRest$2(state) || MemberExpressionRest$3(state);
3429
3453
  if (state.events)
3430
3454
  state.events.exit?.("MemberExpressionRest", state, result, eventData);
3431
3455
  return result;
@@ -3620,7 +3644,37 @@ ${input.slice(result.pos)}
3620
3644
  return result;
3621
3645
  }
3622
3646
  }
3623
- var SuperProperty$0 = $S($EXPECT($L16, fail, 'SuperProperty "super["'), PostfixedExpression, __, CloseBracket);
3647
+ var PropertyGlob$0 = $TS($S(OptionalDot, BracedObjectLiteral), function($skip, $loc, $0, $1, $2) {
3648
+ var object = $2;
3649
+ return {
3650
+ type: "PropertyGlob",
3651
+ object,
3652
+ children: $0
3653
+ };
3654
+ });
3655
+ function PropertyGlob(state) {
3656
+ let eventData;
3657
+ if (state.events) {
3658
+ const result = state.events.enter?.("PropertyGlob", state);
3659
+ if (result) {
3660
+ if (result.cache)
3661
+ return result.cache;
3662
+ eventData = result.data;
3663
+ }
3664
+ }
3665
+ if (state.tokenize) {
3666
+ const result = $TOKEN("PropertyGlob", state, PropertyGlob$0(state));
3667
+ if (state.events)
3668
+ state.events.exit?.("PropertyGlob", state, result, eventData);
3669
+ return result;
3670
+ } else {
3671
+ const result = PropertyGlob$0(state);
3672
+ if (state.events)
3673
+ state.events.exit?.("PropertyGlob", state, result, eventData);
3674
+ return result;
3675
+ }
3676
+ }
3677
+ var SuperProperty$0 = $S($EXPECT($L12, fail, 'SuperProperty "super"'), MemberBracketContent);
3624
3678
  var SuperProperty$1 = $S($EXPECT($L12, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
3625
3679
  function SuperProperty(state) {
3626
3680
  let eventData;
@@ -3645,7 +3699,7 @@ ${input.slice(result.pos)}
3645
3699
  }
3646
3700
  }
3647
3701
  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) {
3702
+ var MetaProperty$1 = $TS($S($EXPECT($L16, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
3649
3703
  return { $loc, token: $1 };
3650
3704
  });
3651
3705
  function MetaProperty(state) {
@@ -3671,7 +3725,7 @@ ${input.slice(result.pos)}
3671
3725
  }
3672
3726
  }
3673
3727
  var Parameters$0 = NonEmptyParameters;
3674
- var Parameters$1 = $TV($EXPECT($L18, fail, 'Parameters ""'), function($skip, $loc, $0, $1) {
3728
+ var Parameters$1 = $TV($EXPECT($L17, fail, 'Parameters ""'), function($skip, $loc, $0, $1) {
3675
3729
  return {
3676
3730
  type: "Parameters",
3677
3731
  children: [{ $loc, token: "()" }],
@@ -3832,7 +3886,7 @@ ${input.slice(result.pos)}
3832
3886
  }
3833
3887
  }
3834
3888
  var ParameterElementDelimiter$0 = $S($Q(_), Comma);
3835
- var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L19, fail, 'ParameterElementDelimiter ")"')));
3889
+ var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L18, fail, 'ParameterElementDelimiter ")"')));
3836
3890
  var ParameterElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
3837
3891
  return value[1];
3838
3892
  });
@@ -3994,7 +4048,8 @@ ${input.slice(result.pos)}
3994
4048
  var c = $2;
3995
4049
  return {
3996
4050
  type: "ObjectBindingPattern",
3997
- children: [$1, ...c.children, ...$3, $4],
4051
+ children: [$1, ...c.children, $3, $4],
4052
+ content: c.children,
3998
4053
  names: c.names
3999
4054
  };
4000
4055
  });
@@ -4291,23 +4346,32 @@ ${input.slice(result.pos)}
4291
4346
  }
4292
4347
  var BindingProperty$0 = BindingRestProperty;
4293
4348
  var BindingProperty$1 = $TS($S($E(_), PropertyName, __, Colon, $C(BindingIdentifier, BindingPattern), $E(Initializer)), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
4349
+ var name = $2;
4294
4350
  var b = $5;
4351
+ var init = $6;
4295
4352
  return {
4353
+ name,
4354
+ value: b,
4355
+ init,
4296
4356
  names: b.names,
4297
4357
  children: $0
4298
4358
  };
4299
4359
  });
4300
4360
  var BindingProperty$2 = $TS($S(BindingIdentifier, $E(Initializer)), function($skip, $loc, $0, $1, $2) {
4301
4361
  var b = $1;
4362
+ var init = $2;
4302
4363
  if (b.type === "AtBinding") {
4303
4364
  return {
4304
4365
  type: "AtBindingProperty",
4305
4366
  ref: b.ref,
4367
+ init,
4306
4368
  names: [],
4307
4369
  children: $0
4308
4370
  };
4309
4371
  }
4310
4372
  return {
4373
+ name: b,
4374
+ init,
4311
4375
  names: b.names,
4312
4376
  children: $0
4313
4377
  };
@@ -4442,10 +4506,12 @@ ${input.slice(result.pos)}
4442
4506
  children: $0
4443
4507
  };
4444
4508
  });
4445
- var BindingElement$2 = $TV($EXPECT($L18, fail, 'BindingElement ""'), function($skip, $loc, $0, $1) {
4509
+ var BindingElement$2 = $TV($Y($S($E(_), $EXPECT($L19, fail, 'BindingElement ","'))), function($skip, $loc, $0, $1) {
4446
4510
  return {
4447
- type: "ElisionElement",
4448
- children: [],
4511
+ children: [{
4512
+ type: "ElisionElement",
4513
+ children: [""]
4514
+ }],
4449
4515
  names: []
4450
4516
  };
4451
4517
  });
@@ -4513,7 +4579,7 @@ ${input.slice(result.pos)}
4513
4579
  return result;
4514
4580
  }
4515
4581
  }
4516
- var EmptyBindingPattern$0 = $TV($EXPECT($L18, fail, 'EmptyBindingPattern ""'), function($skip, $loc, $0, $1) {
4582
+ var EmptyBindingPattern$0 = $TV($EXPECT($L17, fail, 'EmptyBindingPattern ""'), function($skip, $loc, $0, $1) {
4517
4583
  const ref = {
4518
4584
  type: "Ref",
4519
4585
  base: "ref",
@@ -4989,10 +5055,12 @@ ${input.slice(result.pos)}
4989
5055
  children: [ws, binding]
4990
5056
  };
4991
5057
  });
4992
- var MatchingElement$3 = $TV($EXPECT($L18, fail, 'MatchingElement ""'), function($skip, $loc, $0, $1) {
5058
+ var MatchingElement$3 = $TV($Y($S($E(_), $EXPECT($L19, fail, 'MatchingElement ","'))), function($skip, $loc, $0, $1) {
4993
5059
  return {
4994
- type: "ElisionElement",
4995
- children: [],
5060
+ children: [{
5061
+ type: "ElisionElement",
5062
+ children: [""]
5063
+ }],
4996
5064
  names: []
4997
5065
  };
4998
5066
  });
@@ -5122,7 +5190,7 @@ ${input.slice(result.pos)}
5122
5190
  block
5123
5191
  };
5124
5192
  });
5125
- var FunctionExpression$1 = $TS($S($E(AmpersandUnaryPrefix), Ampersand, $E(AmpersandBlockRHS)), function($skip, $loc, $0, $1, $2, $3) {
5193
+ var FunctionExpression$1 = $TS($S($E(AmpersandUnaryPrefix), $C(Ampersand, $S($N(NumericLiteral), $Y($S($E(QuestionMark), Dot)))), $E(AmpersandBlockRHS)), function($skip, $loc, $0, $1, $2, $3) {
5126
5194
  var prefix = $1;
5127
5195
  var rhs = $3;
5128
5196
  if (!prefix && !rhs)
@@ -5615,7 +5683,7 @@ ${input.slice(result.pos)}
5615
5683
  return result;
5616
5684
  }
5617
5685
  }
5618
- var EmptyBareBlock$0 = $TV($EXPECT($L18, fail, 'EmptyBareBlock ""'), function($skip, $loc, $0, $1) {
5686
+ var EmptyBareBlock$0 = $TV($EXPECT($L17, fail, 'EmptyBareBlock ""'), function($skip, $loc, $0, $1) {
5619
5687
  const expressions = [];
5620
5688
  return {
5621
5689
  type: "BlockStatement",
@@ -6606,6 +6674,7 @@ ${input.slice(result.pos)}
6606
6674
  const children = [open, ...content, close];
6607
6675
  return {
6608
6676
  type: "ObjectExpression",
6677
+ content,
6609
6678
  children,
6610
6679
  names: children.flatMap((c) => {
6611
6680
  return c.names || [];
@@ -6843,7 +6912,7 @@ ${input.slice(result.pos)}
6843
6912
  var ImplicitInlineObjectPropertyDelimiter$1 = $T($S($Y($S($C(Samedent, $Q(_)), NamedProperty)), InsertComma), function(value) {
6844
6913
  return value[1];
6845
6914
  });
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) {
6915
+ 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
6916
  return "";
6848
6917
  });
6849
6918
  var ImplicitInlineObjectPropertyDelimiter$3 = $T($Y(EOS), function(value) {
@@ -6935,7 +7004,7 @@ ${input.slice(result.pos)}
6935
7004
  const value = [{ ...at, token: "this." }, id];
6936
7005
  return {
6937
7006
  type: "Property",
6938
- children: [...ws, id, ": ", ...value],
7007
+ children: [ws, id, ": ", ...value],
6939
7008
  name: id,
6940
7009
  names: id.names,
6941
7010
  value
@@ -6946,7 +7015,7 @@ ${input.slice(result.pos)}
6946
7015
  var prop = $2;
6947
7016
  return {
6948
7017
  ...prop,
6949
- children: [...ws, ...prop.children]
7018
+ children: [ws, ...prop.children]
6950
7019
  };
6951
7020
  });
6952
7021
  var PropertyDefinition$2 = $TS($S(__, $TEXT($EXPECT($R5, fail, "PropertyDefinition /[!+-]/")), PropertyName), function($skip, $loc, $0, $1, $2, $3) {
@@ -6956,7 +7025,7 @@ ${input.slice(result.pos)}
6956
7025
  const value = toggle === "+" ? "true" : "false";
6957
7026
  return {
6958
7027
  type: "Property",
6959
- children: [...ws, id, ": ", value],
7028
+ children: [ws, id, ": ", value],
6960
7029
  name: id,
6961
7030
  names: id.names,
6962
7031
  value
@@ -6969,7 +7038,7 @@ ${input.slice(result.pos)}
6969
7038
  return $skip;
6970
7039
  return {
6971
7040
  ...def,
6972
- children: [...ws, ...def.children]
7041
+ children: [ws, ...def.children]
6973
7042
  };
6974
7043
  });
6975
7044
  var PropertyDefinition$4 = $TS($S(__, DotDotDot, ExtendedExpression), function($skip, $loc, $0, $1, $2, $3) {
@@ -6978,7 +7047,7 @@ ${input.slice(result.pos)}
6978
7047
  var exp = $3;
6979
7048
  return {
6980
7049
  type: "SpreadProperty",
6981
- children: [...ws, dots, exp],
7050
+ children: [ws, dots, exp],
6982
7051
  names: exp.names,
6983
7052
  value: [dots, exp]
6984
7053
  };
@@ -6987,7 +7056,7 @@ ${input.slice(result.pos)}
6987
7056
  var ws = $1;
6988
7057
  var value = $2;
6989
7058
  if (value.type === "Identifier") {
6990
- return { ...value, children: [...ws, ...value.children] };
7059
+ return { ...value, children: [ws, ...value.children] };
6991
7060
  }
6992
7061
  let exp = value, children, i;
6993
7062
  do {
@@ -7232,9 +7301,9 @@ ${input.slice(result.pos)}
7232
7301
  ts: true
7233
7302
  };
7234
7303
  });
7235
- var MethodDefinition$1 = $TS($S(MethodSignature, BracedOrEmptyBlock), function($skip, $loc, $0, $1, $2) {
7304
+ var MethodDefinition$1 = $TS($S(MethodSignature, $N(PropertyAccess), BracedOrEmptyBlock), function($skip, $loc, $0, $1, $2, $3) {
7236
7305
  var signature = $1;
7237
- var block = $2;
7306
+ var block = $3;
7238
7307
  return {
7239
7308
  type: "MethodDefinition",
7240
7309
  children: $0,
@@ -9416,7 +9485,7 @@ ${input.slice(result.pos)}
9416
9485
  }
9417
9486
  }
9418
9487
  var ImpliedColon$0 = $S(__, Colon);
9419
- var ImpliedColon$1 = $TV($EXPECT($L18, fail, 'ImpliedColon ""'), function($skip, $loc, $0, $1) {
9488
+ var ImpliedColon$1 = $TV($EXPECT($L17, fail, 'ImpliedColon ""'), function($skip, $loc, $0, $1) {
9420
9489
  return { $loc, token: ":" };
9421
9490
  });
9422
9491
  function ImpliedColon(state) {
@@ -9670,7 +9739,7 @@ ${input.slice(result.pos)}
9670
9739
  return result;
9671
9740
  }
9672
9741
  }
9673
- var SuppressIndentedApplication$0 = $TV($EXPECT($L18, fail, 'SuppressIndentedApplication ""'), function($skip, $loc, $0, $1) {
9742
+ var SuppressIndentedApplication$0 = $TV($EXPECT($L17, fail, 'SuppressIndentedApplication ""'), function($skip, $loc, $0, $1) {
9674
9743
  module.suppressIndentedApplication = true;
9675
9744
  });
9676
9745
  function SuppressIndentedApplication(state) {
@@ -9695,7 +9764,7 @@ ${input.slice(result.pos)}
9695
9764
  return result;
9696
9765
  }
9697
9766
  }
9698
- var IndentedApplicationAllowed$0 = $TV($EXPECT($L18, fail, 'IndentedApplicationAllowed ""'), function($skip, $loc, $0, $1) {
9767
+ var IndentedApplicationAllowed$0 = $TV($EXPECT($L17, fail, 'IndentedApplicationAllowed ""'), function($skip, $loc, $0, $1) {
9699
9768
  if (module.suppressIndentedApplication)
9700
9769
  return $skip;
9701
9770
  return;
@@ -9722,7 +9791,7 @@ ${input.slice(result.pos)}
9722
9791
  return result;
9723
9792
  }
9724
9793
  }
9725
- var SuppressTrailingMemberProperty$0 = $TV($EXPECT($L18, fail, 'SuppressTrailingMemberProperty ""'), function($skip, $loc, $0, $1) {
9794
+ var SuppressTrailingMemberProperty$0 = $TV($EXPECT($L17, fail, 'SuppressTrailingMemberProperty ""'), function($skip, $loc, $0, $1) {
9726
9795
  module.suppressTrailingMemberProperty.push(true);
9727
9796
  });
9728
9797
  function SuppressTrailingMemberProperty(state) {
@@ -9747,7 +9816,7 @@ ${input.slice(result.pos)}
9747
9816
  return result;
9748
9817
  }
9749
9818
  }
9750
- var TrailingMemberPropertyAllowed$0 = $TV($EXPECT($L18, fail, 'TrailingMemberPropertyAllowed ""'), function($skip, $loc, $0, $1) {
9819
+ var TrailingMemberPropertyAllowed$0 = $TV($EXPECT($L17, fail, 'TrailingMemberPropertyAllowed ""'), function($skip, $loc, $0, $1) {
9751
9820
  if (module.trailingMemberPropertySuppressed)
9752
9821
  return $skip;
9753
9822
  });
@@ -9961,7 +10030,7 @@ ${input.slice(result.pos)}
9961
10030
  return result;
9962
10031
  }
9963
10032
  }
9964
- var ImpliedImport$0 = $TV($EXPECT($L18, fail, 'ImpliedImport ""'), function($skip, $loc, $0, $1) {
10033
+ var ImpliedImport$0 = $TV($EXPECT($L17, fail, 'ImpliedImport ""'), function($skip, $loc, $0, $1) {
9965
10034
  return { $loc, token: "import " };
9966
10035
  });
9967
10036
  function ImpliedImport(state) {
@@ -12405,7 +12474,7 @@ ${input.slice(result.pos)}
12405
12474
  return result;
12406
12475
  }
12407
12476
  }
12408
- var Loc$0 = $TV($EXPECT($L18, fail, 'Loc ""'), function($skip, $loc, $0, $1) {
12477
+ var Loc$0 = $TV($EXPECT($L17, fail, 'Loc ""'), function($skip, $loc, $0, $1) {
12409
12478
  return { $loc, token: "" };
12410
12479
  });
12411
12480
  function Loc(state) {
@@ -12780,7 +12849,7 @@ ${input.slice(result.pos)}
12780
12849
  return result;
12781
12850
  }
12782
12851
  }
12783
- var CloseParen$0 = $TV($EXPECT($L19, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
12852
+ var CloseParen$0 = $TV($EXPECT($L18, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
12784
12853
  return { $loc, token: $1 };
12785
12854
  });
12786
12855
  function CloseParen(state) {
@@ -12855,7 +12924,7 @@ ${input.slice(result.pos)}
12855
12924
  return result;
12856
12925
  }
12857
12926
  }
12858
- var Comma$0 = $TV($EXPECT($L105, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
12927
+ var Comma$0 = $TV($EXPECT($L19, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
12859
12928
  return { $loc, token: $1 };
12860
12929
  });
12861
12930
  function Comma(state) {
@@ -12905,7 +12974,7 @@ ${input.slice(result.pos)}
12905
12974
  return result;
12906
12975
  }
12907
12976
  }
12908
- var Declare$0 = $TS($S($EXPECT($L106, fail, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12977
+ var Declare$0 = $TS($S($EXPECT($L105, fail, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12909
12978
  return { $loc, token: $1 };
12910
12979
  });
12911
12980
  function Declare(state) {
@@ -12930,7 +12999,7 @@ ${input.slice(result.pos)}
12930
12999
  return result;
12931
13000
  }
12932
13001
  }
12933
- var Default$0 = $TS($S($EXPECT($L107, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13002
+ var Default$0 = $TS($S($EXPECT($L106, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12934
13003
  return { $loc, token: $1 };
12935
13004
  });
12936
13005
  function Default(state) {
@@ -12955,7 +13024,7 @@ ${input.slice(result.pos)}
12955
13024
  return result;
12956
13025
  }
12957
13026
  }
12958
- var Delete$0 = $TS($S($EXPECT($L108, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13027
+ var Delete$0 = $TS($S($EXPECT($L107, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12959
13028
  return { $loc, token: $1 };
12960
13029
  });
12961
13030
  function Delete(state) {
@@ -12980,7 +13049,7 @@ ${input.slice(result.pos)}
12980
13049
  return result;
12981
13050
  }
12982
13051
  }
12983
- var Do$0 = $TS($S($EXPECT($L109, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13052
+ var Do$0 = $TS($S($EXPECT($L108, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12984
13053
  return { $loc, token: $1 };
12985
13054
  });
12986
13055
  function Do(state) {
@@ -13030,7 +13099,7 @@ ${input.slice(result.pos)}
13030
13099
  return result;
13031
13100
  }
13032
13101
  }
13033
- var DotDot$0 = $TV($EXPECT($L110, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
13102
+ var DotDot$0 = $TV($EXPECT($L109, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
13034
13103
  return { $loc, token: $1 };
13035
13104
  });
13036
13105
  function DotDot(state) {
@@ -13055,7 +13124,7 @@ ${input.slice(result.pos)}
13055
13124
  return result;
13056
13125
  }
13057
13126
  }
13058
- var DotDotDot$0 = $TV($EXPECT($L111, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
13127
+ var DotDotDot$0 = $TV($EXPECT($L110, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
13059
13128
  return { $loc, token: $1 };
13060
13129
  });
13061
13130
  function DotDotDot(state) {
@@ -13080,7 +13149,7 @@ ${input.slice(result.pos)}
13080
13149
  return result;
13081
13150
  }
13082
13151
  }
13083
- var DoubleColon$0 = $TV($EXPECT($L112, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
13152
+ var DoubleColon$0 = $TV($EXPECT($L111, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
13084
13153
  return { $loc, token: $1 };
13085
13154
  });
13086
13155
  function DoubleColon(state) {
@@ -13105,7 +13174,7 @@ ${input.slice(result.pos)}
13105
13174
  return result;
13106
13175
  }
13107
13176
  }
13108
- var DoubleQuote$0 = $TV($EXPECT($L113, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
13177
+ var DoubleQuote$0 = $TV($EXPECT($L112, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
13109
13178
  return { $loc, token: $1 };
13110
13179
  });
13111
13180
  function DoubleQuote(state) {
@@ -13130,7 +13199,7 @@ ${input.slice(result.pos)}
13130
13199
  return result;
13131
13200
  }
13132
13201
  }
13133
- var Else$0 = $TS($S($EXPECT($L114, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13202
+ var Else$0 = $TS($S($EXPECT($L113, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13134
13203
  return { $loc, token: $1 };
13135
13204
  });
13136
13205
  function Else(state) {
@@ -13180,7 +13249,7 @@ ${input.slice(result.pos)}
13180
13249
  return result;
13181
13250
  }
13182
13251
  }
13183
- var Export$0 = $TS($S($EXPECT($L115, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13252
+ var Export$0 = $TS($S($EXPECT($L114, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13184
13253
  return { $loc, token: $1 };
13185
13254
  });
13186
13255
  function Export(state) {
@@ -13205,7 +13274,7 @@ ${input.slice(result.pos)}
13205
13274
  return result;
13206
13275
  }
13207
13276
  }
13208
- var Extends$0 = $TS($S($EXPECT($L116, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13277
+ var Extends$0 = $TS($S($EXPECT($L115, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13209
13278
  return { $loc, token: $1 };
13210
13279
  });
13211
13280
  function Extends(state) {
@@ -13230,7 +13299,7 @@ ${input.slice(result.pos)}
13230
13299
  return result;
13231
13300
  }
13232
13301
  }
13233
- var Finally$0 = $TS($S($EXPECT($L117, fail, 'Finally "finally"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13302
+ var Finally$0 = $TS($S($EXPECT($L116, fail, 'Finally "finally"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13234
13303
  return { $loc, token: $1 };
13235
13304
  });
13236
13305
  function Finally(state) {
@@ -13255,7 +13324,7 @@ ${input.slice(result.pos)}
13255
13324
  return result;
13256
13325
  }
13257
13326
  }
13258
- var For$0 = $TS($S($EXPECT($L118, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13327
+ var For$0 = $TS($S($EXPECT($L117, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13259
13328
  return { $loc, token: $1 };
13260
13329
  });
13261
13330
  function For(state) {
@@ -13280,7 +13349,7 @@ ${input.slice(result.pos)}
13280
13349
  return result;
13281
13350
  }
13282
13351
  }
13283
- var From$0 = $TS($S($EXPECT($L119, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13352
+ var From$0 = $TS($S($EXPECT($L118, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13284
13353
  return { $loc, token: $1 };
13285
13354
  });
13286
13355
  function From(state) {
@@ -13305,7 +13374,7 @@ ${input.slice(result.pos)}
13305
13374
  return result;
13306
13375
  }
13307
13376
  }
13308
- var Function$0 = $TS($S($EXPECT($L120, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13377
+ var Function$0 = $TS($S($EXPECT($L119, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13309
13378
  return { $loc, token: $1 };
13310
13379
  });
13311
13380
  function Function(state) {
@@ -13330,7 +13399,7 @@ ${input.slice(result.pos)}
13330
13399
  return result;
13331
13400
  }
13332
13401
  }
13333
- var GetOrSet$0 = $TS($S($C($EXPECT($L121, fail, 'GetOrSet "get"'), $EXPECT($L122, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13402
+ var GetOrSet$0 = $TS($S($C($EXPECT($L120, fail, 'GetOrSet "get"'), $EXPECT($L121, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13334
13403
  return { $loc, token: $1, type: "GetOrSet" };
13335
13404
  });
13336
13405
  function GetOrSet(state) {
@@ -13355,7 +13424,7 @@ ${input.slice(result.pos)}
13355
13424
  return result;
13356
13425
  }
13357
13426
  }
13358
- var If$0 = $TV($TEXT($S($EXPECT($L123, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L8, fail, 'If " "')))), function($skip, $loc, $0, $1) {
13427
+ var If$0 = $TV($TEXT($S($EXPECT($L122, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L8, fail, 'If " "')))), function($skip, $loc, $0, $1) {
13359
13428
  return { $loc, token: $1 };
13360
13429
  });
13361
13430
  function If(state) {
@@ -13430,7 +13499,7 @@ ${input.slice(result.pos)}
13430
13499
  return result;
13431
13500
  }
13432
13501
  }
13433
- var LetOrConst$0 = $TS($S($C($EXPECT($L124, fail, 'LetOrConst "let"'), $EXPECT($L125, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13502
+ var LetOrConst$0 = $TS($S($C($EXPECT($L123, fail, 'LetOrConst "let"'), $EXPECT($L124, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13434
13503
  return { $loc, token: $1 };
13435
13504
  });
13436
13505
  function LetOrConst(state) {
@@ -13455,7 +13524,7 @@ ${input.slice(result.pos)}
13455
13524
  return result;
13456
13525
  }
13457
13526
  }
13458
- var Loop$0 = $TS($S($EXPECT($L126, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13527
+ var Loop$0 = $TS($S($EXPECT($L125, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13459
13528
  return { $loc, token: "while(true)" };
13460
13529
  });
13461
13530
  function Loop(state) {
@@ -13480,7 +13549,7 @@ ${input.slice(result.pos)}
13480
13549
  return result;
13481
13550
  }
13482
13551
  }
13483
- var New$0 = $TS($S($EXPECT($L127, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13552
+ var New$0 = $TS($S($EXPECT($L126, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13484
13553
  return { $loc, token: $1 };
13485
13554
  });
13486
13555
  function New(state) {
@@ -13555,7 +13624,7 @@ ${input.slice(result.pos)}
13555
13624
  return result;
13556
13625
  }
13557
13626
  }
13558
- var OpenAngleBracket$0 = $TV($EXPECT($L128, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
13627
+ var OpenAngleBracket$0 = $TV($EXPECT($L127, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
13559
13628
  return { $loc, token: $1 };
13560
13629
  });
13561
13630
  function OpenAngleBracket(state) {
@@ -13580,7 +13649,7 @@ ${input.slice(result.pos)}
13580
13649
  return result;
13581
13650
  }
13582
13651
  }
13583
- var OpenBrace$0 = $TV($EXPECT($L129, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
13652
+ var OpenBrace$0 = $TV($EXPECT($L128, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
13584
13653
  return { $loc, token: $1 };
13585
13654
  });
13586
13655
  function OpenBrace(state) {
@@ -13655,7 +13724,7 @@ ${input.slice(result.pos)}
13655
13724
  return result;
13656
13725
  }
13657
13726
  }
13658
- var Operator$0 = $TS($S($EXPECT($L130, fail, 'Operator "operator"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13727
+ var Operator$0 = $TS($S($EXPECT($L129, fail, 'Operator "operator"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13659
13728
  return { $loc, token: $1 };
13660
13729
  });
13661
13730
  function Operator(state) {
@@ -13680,7 +13749,7 @@ ${input.slice(result.pos)}
13680
13749
  return result;
13681
13750
  }
13682
13751
  }
13683
- var Public$0 = $TS($S($EXPECT($L131, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13752
+ var Public$0 = $TS($S($EXPECT($L130, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13684
13753
  return { $loc, token: $1 };
13685
13754
  });
13686
13755
  function Public(state) {
@@ -13705,7 +13774,7 @@ ${input.slice(result.pos)}
13705
13774
  return result;
13706
13775
  }
13707
13776
  }
13708
- var Private$0 = $TS($S($EXPECT($L132, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13777
+ var Private$0 = $TS($S($EXPECT($L131, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13709
13778
  return { $loc, token: $1 };
13710
13779
  });
13711
13780
  function Private(state) {
@@ -13730,7 +13799,7 @@ ${input.slice(result.pos)}
13730
13799
  return result;
13731
13800
  }
13732
13801
  }
13733
- var Protected$0 = $TS($S($EXPECT($L133, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13802
+ var Protected$0 = $TS($S($EXPECT($L132, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13734
13803
  return { $loc, token: $1 };
13735
13804
  });
13736
13805
  function Protected(state) {
@@ -13755,7 +13824,7 @@ ${input.slice(result.pos)}
13755
13824
  return result;
13756
13825
  }
13757
13826
  }
13758
- var Pipe$0 = $TV($EXPECT($L134, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
13827
+ var Pipe$0 = $TV($EXPECT($L133, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
13759
13828
  return { $loc, token: $1 };
13760
13829
  });
13761
13830
  function Pipe(state) {
@@ -13805,7 +13874,7 @@ ${input.slice(result.pos)}
13805
13874
  return result;
13806
13875
  }
13807
13876
  }
13808
- var Readonly$0 = $TS($S($EXPECT($L135, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13877
+ var Readonly$0 = $TS($S($EXPECT($L134, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13809
13878
  return { $loc, token: $1, ts: true };
13810
13879
  });
13811
13880
  function Readonly(state) {
@@ -13830,7 +13899,7 @@ ${input.slice(result.pos)}
13830
13899
  return result;
13831
13900
  }
13832
13901
  }
13833
- var Return$0 = $TS($S($EXPECT($L136, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13902
+ var Return$0 = $TS($S($EXPECT($L135, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13834
13903
  return { $loc, token: $1 };
13835
13904
  });
13836
13905
  function Return(state) {
@@ -13855,7 +13924,7 @@ ${input.slice(result.pos)}
13855
13924
  return result;
13856
13925
  }
13857
13926
  }
13858
- var Satisfies$0 = $TS($S($EXPECT($L137, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13927
+ var Satisfies$0 = $TS($S($EXPECT($L136, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13859
13928
  return { $loc, token: $1 };
13860
13929
  });
13861
13930
  function Satisfies(state) {
@@ -13905,7 +13974,7 @@ ${input.slice(result.pos)}
13905
13974
  return result;
13906
13975
  }
13907
13976
  }
13908
- var SingleQuote$0 = $TV($EXPECT($L138, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
13977
+ var SingleQuote$0 = $TV($EXPECT($L137, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
13909
13978
  return { $loc, token: $1 };
13910
13979
  });
13911
13980
  function SingleQuote(state) {
@@ -13955,7 +14024,7 @@ ${input.slice(result.pos)}
13955
14024
  return result;
13956
14025
  }
13957
14026
  }
13958
- var Static$0 = $TS($S($EXPECT($L139, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14027
+ var Static$0 = $TS($S($EXPECT($L138, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13959
14028
  return { $loc, token: $1 };
13960
14029
  });
13961
14030
  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 +14052,7 @@ ${input.slice(result.pos)}
13983
14052
  return result;
13984
14053
  }
13985
14054
  }
13986
- var SubstitutionStart$0 = $TV($EXPECT($L140, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
14055
+ var SubstitutionStart$0 = $TV($EXPECT($L139, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
13987
14056
  return { $loc, token: $1 };
13988
14057
  });
13989
14058
  function SubstitutionStart(state) {
@@ -14008,7 +14077,7 @@ ${input.slice(result.pos)}
14008
14077
  return result;
14009
14078
  }
14010
14079
  }
14011
- var Switch$0 = $TS($S($EXPECT($L141, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14080
+ var Switch$0 = $TS($S($EXPECT($L140, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14012
14081
  return { $loc, token: $1 };
14013
14082
  });
14014
14083
  function Switch(state) {
@@ -14033,7 +14102,7 @@ ${input.slice(result.pos)}
14033
14102
  return result;
14034
14103
  }
14035
14104
  }
14036
- var Target$0 = $TS($S($EXPECT($L142, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14105
+ var Target$0 = $TS($S($EXPECT($L141, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14037
14106
  return { $loc, token: $1 };
14038
14107
  });
14039
14108
  function Target(state) {
@@ -14058,7 +14127,7 @@ ${input.slice(result.pos)}
14058
14127
  return result;
14059
14128
  }
14060
14129
  }
14061
- var Then$0 = $TS($S(__, $EXPECT($L143, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
14130
+ var Then$0 = $TS($S(__, $EXPECT($L142, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
14062
14131
  return { $loc, token: "" };
14063
14132
  });
14064
14133
  function Then(state) {
@@ -14083,7 +14152,7 @@ ${input.slice(result.pos)}
14083
14152
  return result;
14084
14153
  }
14085
14154
  }
14086
- var This$0 = $TS($S($EXPECT($L144, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14155
+ var This$0 = $TS($S($EXPECT($L143, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14087
14156
  return { $loc, token: $1 };
14088
14157
  });
14089
14158
  function This(state) {
@@ -14108,7 +14177,7 @@ ${input.slice(result.pos)}
14108
14177
  return result;
14109
14178
  }
14110
14179
  }
14111
- var Throw$0 = $TS($S($EXPECT($L145, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14180
+ var Throw$0 = $TS($S($EXPECT($L144, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14112
14181
  return { $loc, token: $1 };
14113
14182
  });
14114
14183
  function Throw(state) {
@@ -14133,7 +14202,7 @@ ${input.slice(result.pos)}
14133
14202
  return result;
14134
14203
  }
14135
14204
  }
14136
- var TripleDoubleQuote$0 = $TV($EXPECT($L146, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
14205
+ var TripleDoubleQuote$0 = $TV($EXPECT($L145, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
14137
14206
  return { $loc, token: "`" };
14138
14207
  });
14139
14208
  function TripleDoubleQuote(state) {
@@ -14158,7 +14227,7 @@ ${input.slice(result.pos)}
14158
14227
  return result;
14159
14228
  }
14160
14229
  }
14161
- var TripleSingleQuote$0 = $TV($EXPECT($L147, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
14230
+ var TripleSingleQuote$0 = $TV($EXPECT($L146, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
14162
14231
  return { $loc, token: "`" };
14163
14232
  });
14164
14233
  function TripleSingleQuote(state) {
@@ -14183,7 +14252,7 @@ ${input.slice(result.pos)}
14183
14252
  return result;
14184
14253
  }
14185
14254
  }
14186
- var TripleSlash$0 = $TV($EXPECT($L148, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
14255
+ var TripleSlash$0 = $TV($EXPECT($L147, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
14187
14256
  return { $loc, token: "/" };
14188
14257
  });
14189
14258
  function TripleSlash(state) {
@@ -14208,7 +14277,7 @@ ${input.slice(result.pos)}
14208
14277
  return result;
14209
14278
  }
14210
14279
  }
14211
- var TripleTick$0 = $TV($EXPECT($L149, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
14280
+ var TripleTick$0 = $TV($EXPECT($L148, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
14212
14281
  return { $loc, token: "`" };
14213
14282
  });
14214
14283
  function TripleTick(state) {
@@ -14233,7 +14302,7 @@ ${input.slice(result.pos)}
14233
14302
  return result;
14234
14303
  }
14235
14304
  }
14236
- var Try$0 = $TS($S($EXPECT($L150, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14305
+ var Try$0 = $TS($S($EXPECT($L149, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14237
14306
  return { $loc, token: $1 };
14238
14307
  });
14239
14308
  function Try(state) {
@@ -14258,7 +14327,7 @@ ${input.slice(result.pos)}
14258
14327
  return result;
14259
14328
  }
14260
14329
  }
14261
- var Typeof$0 = $TS($S($EXPECT($L151, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14330
+ var Typeof$0 = $TS($S($EXPECT($L150, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14262
14331
  return { $loc, token: $1 };
14263
14332
  });
14264
14333
  function Typeof(state) {
@@ -14283,7 +14352,7 @@ ${input.slice(result.pos)}
14283
14352
  return result;
14284
14353
  }
14285
14354
  }
14286
- var Unless$0 = $TS($S($EXPECT($L152, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14355
+ var Unless$0 = $TS($S($EXPECT($L151, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14287
14356
  return { $loc, token: $1 };
14288
14357
  });
14289
14358
  function Unless(state) {
@@ -14308,7 +14377,7 @@ ${input.slice(result.pos)}
14308
14377
  return result;
14309
14378
  }
14310
14379
  }
14311
- var Until$0 = $TS($S($EXPECT($L153, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14380
+ var Until$0 = $TS($S($EXPECT($L152, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14312
14381
  return { $loc, token: $1 };
14313
14382
  });
14314
14383
  function Until(state) {
@@ -14333,7 +14402,7 @@ ${input.slice(result.pos)}
14333
14402
  return result;
14334
14403
  }
14335
14404
  }
14336
- var Var$0 = $TS($S($EXPECT($L154, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14405
+ var Var$0 = $TS($S($EXPECT($L153, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14337
14406
  return { $loc, token: $1 };
14338
14407
  });
14339
14408
  function Var(state) {
@@ -14358,7 +14427,7 @@ ${input.slice(result.pos)}
14358
14427
  return result;
14359
14428
  }
14360
14429
  }
14361
- var Void$0 = $TS($S($EXPECT($L155, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14430
+ var Void$0 = $TS($S($EXPECT($L154, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14362
14431
  return { $loc, token: $1 };
14363
14432
  });
14364
14433
  function Void(state) {
@@ -14383,7 +14452,7 @@ ${input.slice(result.pos)}
14383
14452
  return result;
14384
14453
  }
14385
14454
  }
14386
- var When$0 = $TS($S($EXPECT($L156, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14455
+ var When$0 = $TS($S($EXPECT($L155, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14387
14456
  return { $loc, token: "case" };
14388
14457
  });
14389
14458
  function When(state) {
@@ -14408,7 +14477,7 @@ ${input.slice(result.pos)}
14408
14477
  return result;
14409
14478
  }
14410
14479
  }
14411
- var While$0 = $TS($S($EXPECT($L157, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14480
+ var While$0 = $TS($S($EXPECT($L156, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14412
14481
  return { $loc, token: $1 };
14413
14482
  });
14414
14483
  function While(state) {
@@ -14433,7 +14502,7 @@ ${input.slice(result.pos)}
14433
14502
  return result;
14434
14503
  }
14435
14504
  }
14436
- var Yield$0 = $TS($S($EXPECT($L158, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14505
+ var Yield$0 = $TS($S($EXPECT($L157, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14437
14506
  return { $loc, token: $1 };
14438
14507
  });
14439
14508
  function Yield(state) {
@@ -14579,7 +14648,7 @@ ${input.slice(result.pos)}
14579
14648
  return result;
14580
14649
  }
14581
14650
  }
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) {
14651
+ 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
14652
  return { type: "JSXElement", children: $0, tag: $2 };
14584
14653
  });
14585
14654
  function JSXSelfClosingElement(state) {
@@ -14630,7 +14699,7 @@ ${input.slice(result.pos)}
14630
14699
  return result;
14631
14700
  }
14632
14701
  }
14633
- var JSXOpeningElement$0 = $S($EXPECT($L128, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L29, fail, 'JSXOpeningElement ">"'));
14702
+ var JSXOpeningElement$0 = $S($EXPECT($L127, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L29, fail, 'JSXOpeningElement ">"'));
14634
14703
  function JSXOpeningElement(state) {
14635
14704
  let eventData;
14636
14705
  if (state.events) {
@@ -14659,7 +14728,7 @@ ${input.slice(result.pos)}
14659
14728
  return $skip;
14660
14729
  return $0;
14661
14730
  });
14662
- var JSXOptionalClosingElement$1 = $EXPECT($L18, fail, 'JSXOptionalClosingElement ""');
14731
+ var JSXOptionalClosingElement$1 = $EXPECT($L17, fail, 'JSXOptionalClosingElement ""');
14663
14732
  function JSXOptionalClosingElement(state) {
14664
14733
  let eventData;
14665
14734
  if (state.events) {
@@ -14682,7 +14751,7 @@ ${input.slice(result.pos)}
14682
14751
  return result;
14683
14752
  }
14684
14753
  }
14685
- var JSXClosingElement$0 = $S($EXPECT($L160, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L29, fail, 'JSXClosingElement ">"'));
14754
+ var JSXClosingElement$0 = $S($EXPECT($L159, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L29, fail, 'JSXClosingElement ">"'));
14686
14755
  function JSXClosingElement(state) {
14687
14756
  let eventData;
14688
14757
  if (state.events) {
@@ -14721,7 +14790,7 @@ ${input.slice(result.pos)}
14721
14790
  ];
14722
14791
  return { type: "JSXFragment", children: parts, jsxChildren: children.jsxChildren };
14723
14792
  });
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) {
14793
+ 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
14794
  var children = $3;
14726
14795
  $0 = $0.slice(1);
14727
14796
  return {
@@ -14752,7 +14821,7 @@ ${input.slice(result.pos)}
14752
14821
  return result;
14753
14822
  }
14754
14823
  }
14755
- var PushJSXOpeningFragment$0 = $TV($EXPECT($L161, fail, 'PushJSXOpeningFragment "<>"'), function($skip, $loc, $0, $1) {
14824
+ var PushJSXOpeningFragment$0 = $TV($EXPECT($L160, fail, 'PushJSXOpeningFragment "<>"'), function($skip, $loc, $0, $1) {
14756
14825
  module.JSXTagStack.push("");
14757
14826
  return $1;
14758
14827
  });
@@ -14783,7 +14852,7 @@ ${input.slice(result.pos)}
14783
14852
  return $skip;
14784
14853
  return $0;
14785
14854
  });
14786
- var JSXOptionalClosingFragment$1 = $EXPECT($L18, fail, 'JSXOptionalClosingFragment ""');
14855
+ var JSXOptionalClosingFragment$1 = $EXPECT($L17, fail, 'JSXOptionalClosingFragment ""');
14787
14856
  function JSXOptionalClosingFragment(state) {
14788
14857
  let eventData;
14789
14858
  if (state.events) {
@@ -14806,7 +14875,7 @@ ${input.slice(result.pos)}
14806
14875
  return result;
14807
14876
  }
14808
14877
  }
14809
- var JSXClosingFragment$0 = $EXPECT($L162, fail, 'JSXClosingFragment "</>"');
14878
+ var JSXClosingFragment$0 = $EXPECT($L161, fail, 'JSXClosingFragment "</>"');
14810
14879
  function JSXClosingFragment(state) {
14811
14880
  let eventData;
14812
14881
  if (state.events) {
@@ -15702,7 +15771,7 @@ ${input.slice(result.pos)}
15702
15771
  return result;
15703
15772
  }
15704
15773
  }
15705
- var JSXComment$0 = $TS($S($EXPECT($L163, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L164, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
15774
+ var JSXComment$0 = $TS($S($EXPECT($L162, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L163, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
15706
15775
  return ["{/*", $2, "*/}"];
15707
15776
  });
15708
15777
  function JSXComment(state) {
@@ -16000,7 +16069,7 @@ ${input.slice(result.pos)}
16000
16069
  return result;
16001
16070
  }
16002
16071
  }
16003
- var TypeKeyword$0 = $S($EXPECT($L165, fail, 'TypeKeyword "type"'), NonIdContinue);
16072
+ var TypeKeyword$0 = $S($EXPECT($L164, fail, 'TypeKeyword "type"'), NonIdContinue);
16004
16073
  function TypeKeyword(state) {
16005
16074
  let eventData;
16006
16075
  if (state.events) {
@@ -16023,7 +16092,7 @@ ${input.slice(result.pos)}
16023
16092
  return result;
16024
16093
  }
16025
16094
  }
16026
- var Interface$0 = $S($EXPECT($L166, fail, 'Interface "interface"'), NonIdContinue);
16095
+ var Interface$0 = $S($EXPECT($L165, fail, 'Interface "interface"'), NonIdContinue);
16027
16096
  function Interface(state) {
16028
16097
  let eventData;
16029
16098
  if (state.events) {
@@ -16046,7 +16115,7 @@ ${input.slice(result.pos)}
16046
16115
  return result;
16047
16116
  }
16048
16117
  }
16049
- var Namespace$0 = $S($EXPECT($L167, fail, 'Namespace "namespace"'), NonIdContinue);
16118
+ var Namespace$0 = $S($EXPECT($L166, fail, 'Namespace "namespace"'), NonIdContinue);
16050
16119
  function Namespace(state) {
16051
16120
  let eventData;
16052
16121
  if (state.events) {
@@ -16294,7 +16363,7 @@ ${input.slice(result.pos)}
16294
16363
  return result;
16295
16364
  }
16296
16365
  }
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)));
16366
+ 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
16367
  function TypeIndexSignature(state) {
16299
16368
  let eventData;
16300
16369
  if (state.events) {
@@ -16366,7 +16435,7 @@ ${input.slice(result.pos)}
16366
16435
  return result;
16367
16436
  }
16368
16437
  }
16369
- var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L168, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
16438
+ var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L167, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
16370
16439
  const children = [...$1, $2];
16371
16440
  if ($3)
16372
16441
  children.push($3);
@@ -16525,10 +16594,10 @@ ${input.slice(result.pos)}
16525
16594
  return result;
16526
16595
  }
16527
16596
  }
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);
16597
+ var TypeUnaryOp$0 = $S($EXPECT($L168, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
16598
+ var TypeUnaryOp$1 = $S($EXPECT($L150, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
16599
+ var TypeUnaryOp$2 = $S($EXPECT($L169, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
16600
+ var TypeUnaryOp$3 = $S($EXPECT($L134, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
16532
16601
  function TypeUnaryOp(state) {
16533
16602
  let eventData;
16534
16603
  if (state.events) {
@@ -16726,7 +16795,7 @@ ${input.slice(result.pos)}
16726
16795
  return result;
16727
16796
  }
16728
16797
  }
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) {
16798
+ 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
16799
  if ($2)
16731
16800
  return $0;
16732
16801
  return $1;
@@ -16755,10 +16824,10 @@ ${input.slice(result.pos)}
16755
16824
  }
16756
16825
  var TypeLiteral$0 = TemplateLiteral;
16757
16826
  var TypeLiteral$1 = Literal;
16758
- var TypeLiteral$2 = $TS($S($EXPECT($L155, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16827
+ var TypeLiteral$2 = $TS($S($EXPECT($L154, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16759
16828
  return { $loc, token: "void" };
16760
16829
  });
16761
- var TypeLiteral$3 = $TV($EXPECT($L171, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
16830
+ var TypeLiteral$3 = $TV($EXPECT($L170, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
16762
16831
  return { $loc, token: "[]" };
16763
16832
  });
16764
16833
  function TypeLiteral(state) {
@@ -16833,7 +16902,7 @@ ${input.slice(result.pos)}
16833
16902
  var InlineInterfacePropertyDelimiter$1 = $T($S($Y($S($C(IndentedFurther, $E(_)), InlineBasicInterfaceProperty)), InsertComma), function(value) {
16834
16903
  return value[1];
16835
16904
  });
16836
- var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($L31, fail, 'InlineInterfacePropertyDelimiter ":"'), $EXPECT($L19, fail, 'InlineInterfacePropertyDelimiter ")"'), $EXPECT($L30, fail, 'InlineInterfacePropertyDelimiter "]"'), $EXPECT($L21, fail, 'InlineInterfacePropertyDelimiter "}"'))));
16905
+ var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($L31, fail, 'InlineInterfacePropertyDelimiter ":"'), $EXPECT($L18, fail, 'InlineInterfacePropertyDelimiter ")"'), $EXPECT($L30, fail, 'InlineInterfacePropertyDelimiter "]"'), $EXPECT($L21, fail, 'InlineInterfacePropertyDelimiter "}"'))));
16837
16906
  var InlineInterfacePropertyDelimiter$3 = $Y(EOS);
16838
16907
  function InlineInterfacePropertyDelimiter(state) {
16839
16908
  let eventData;
@@ -16942,7 +17011,7 @@ ${input.slice(result.pos)}
16942
17011
  return result;
16943
17012
  }
16944
17013
  }
16945
- var TypeArguments$0 = $TS($S($EXPECT($L128, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L29, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
17014
+ var TypeArguments$0 = $TS($S($EXPECT($L127, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L29, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
16946
17015
  return { ts: true, children: $0 };
16947
17016
  });
16948
17017
  function TypeArguments(state) {
@@ -17013,7 +17082,7 @@ ${input.slice(result.pos)}
17013
17082
  return result;
17014
17083
  }
17015
17084
  }
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) {
17085
+ 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
17086
  var parameters = $3;
17018
17087
  return {
17019
17088
  type: "TypeParameters",
@@ -17067,7 +17136,7 @@ ${input.slice(result.pos)}
17067
17136
  return result;
17068
17137
  }
17069
17138
  }
17070
- var TypeConstraint$0 = $S(__, $EXPECT($L116, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
17139
+ var TypeConstraint$0 = $S(__, $EXPECT($L115, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
17071
17140
  function TypeConstraint(state) {
17072
17141
  let eventData;
17073
17142
  if (state.events) {
@@ -17218,7 +17287,7 @@ ${input.slice(result.pos)}
17218
17287
  return result;
17219
17288
  }
17220
17289
  }
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) {
17290
+ 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
17291
  var options = $3;
17223
17292
  return {
17224
17293
  type: "CivetPrologue",
@@ -17379,7 +17448,7 @@ ${input.slice(result.pos)}
17379
17448
  return result;
17380
17449
  }
17381
17450
  }
17382
- var Debugger$0 = $TV($EXPECT($L18, fail, 'Debugger ""'), function($skip, $loc, $0, $1) {
17451
+ var Debugger$0 = $TV($EXPECT($L17, fail, 'Debugger ""'), function($skip, $loc, $0, $1) {
17383
17452
  debugger;
17384
17453
  });
17385
17454
  function Debugger(state) {
@@ -17404,7 +17473,7 @@ ${input.slice(result.pos)}
17404
17473
  return result;
17405
17474
  }
17406
17475
  }
17407
- var InsertSemicolon$0 = $TV($EXPECT($L18, fail, 'InsertSemicolon ""'), function($skip, $loc, $0, $1) {
17476
+ var InsertSemicolon$0 = $TV($EXPECT($L17, fail, 'InsertSemicolon ""'), function($skip, $loc, $0, $1) {
17408
17477
  return { $loc, token: ";" };
17409
17478
  });
17410
17479
  function InsertSemicolon(state) {
@@ -17429,7 +17498,7 @@ ${input.slice(result.pos)}
17429
17498
  return result;
17430
17499
  }
17431
17500
  }
17432
- var InsertOpenParen$0 = $TV($EXPECT($L18, fail, 'InsertOpenParen ""'), function($skip, $loc, $0, $1) {
17501
+ var InsertOpenParen$0 = $TV($EXPECT($L17, fail, 'InsertOpenParen ""'), function($skip, $loc, $0, $1) {
17433
17502
  return { $loc, token: "(" };
17434
17503
  });
17435
17504
  function InsertOpenParen(state) {
@@ -17454,7 +17523,7 @@ ${input.slice(result.pos)}
17454
17523
  return result;
17455
17524
  }
17456
17525
  }
17457
- var InsertCloseParen$0 = $TV($EXPECT($L18, fail, 'InsertCloseParen ""'), function($skip, $loc, $0, $1) {
17526
+ var InsertCloseParen$0 = $TV($EXPECT($L17, fail, 'InsertCloseParen ""'), function($skip, $loc, $0, $1) {
17458
17527
  return { $loc, token: ")" };
17459
17528
  });
17460
17529
  function InsertCloseParen(state) {
@@ -17479,7 +17548,7 @@ ${input.slice(result.pos)}
17479
17548
  return result;
17480
17549
  }
17481
17550
  }
17482
- var InsertOpenBrace$0 = $TV($EXPECT($L18, fail, 'InsertOpenBrace ""'), function($skip, $loc, $0, $1) {
17551
+ var InsertOpenBrace$0 = $TV($EXPECT($L17, fail, 'InsertOpenBrace ""'), function($skip, $loc, $0, $1) {
17483
17552
  return [{ $loc, token: " " }, { $loc, token: "{" }];
17484
17553
  });
17485
17554
  function InsertOpenBrace(state) {
@@ -17504,7 +17573,7 @@ ${input.slice(result.pos)}
17504
17573
  return result;
17505
17574
  }
17506
17575
  }
17507
- var InsertInlineOpenBrace$0 = $TV($EXPECT($L18, fail, 'InsertInlineOpenBrace ""'), function($skip, $loc, $0, $1) {
17576
+ var InsertInlineOpenBrace$0 = $TV($EXPECT($L17, fail, 'InsertInlineOpenBrace ""'), function($skip, $loc, $0, $1) {
17508
17577
  return { $loc, token: "{" };
17509
17578
  });
17510
17579
  function InsertInlineOpenBrace(state) {
@@ -17529,7 +17598,7 @@ ${input.slice(result.pos)}
17529
17598
  return result;
17530
17599
  }
17531
17600
  }
17532
- var InsertCloseBrace$0 = $TV($EXPECT($L18, fail, 'InsertCloseBrace ""'), function($skip, $loc, $0, $1) {
17601
+ var InsertCloseBrace$0 = $TV($EXPECT($L17, fail, 'InsertCloseBrace ""'), function($skip, $loc, $0, $1) {
17533
17602
  return { $loc, token: "}" };
17534
17603
  });
17535
17604
  function InsertCloseBrace(state) {
@@ -17554,7 +17623,7 @@ ${input.slice(result.pos)}
17554
17623
  return result;
17555
17624
  }
17556
17625
  }
17557
- var InsertOpenBracket$0 = $TV($EXPECT($L18, fail, 'InsertOpenBracket ""'), function($skip, $loc, $0, $1) {
17626
+ var InsertOpenBracket$0 = $TV($EXPECT($L17, fail, 'InsertOpenBracket ""'), function($skip, $loc, $0, $1) {
17558
17627
  return { $loc, token: "[" };
17559
17628
  });
17560
17629
  function InsertOpenBracket(state) {
@@ -17579,7 +17648,7 @@ ${input.slice(result.pos)}
17579
17648
  return result;
17580
17649
  }
17581
17650
  }
17582
- var InsertCloseBracket$0 = $TV($EXPECT($L18, fail, 'InsertCloseBracket ""'), function($skip, $loc, $0, $1) {
17651
+ var InsertCloseBracket$0 = $TV($EXPECT($L17, fail, 'InsertCloseBracket ""'), function($skip, $loc, $0, $1) {
17583
17652
  return { $loc, token: "]" };
17584
17653
  });
17585
17654
  function InsertCloseBracket(state) {
@@ -17604,7 +17673,7 @@ ${input.slice(result.pos)}
17604
17673
  return result;
17605
17674
  }
17606
17675
  }
17607
- var InsertComma$0 = $TV($EXPECT($L18, fail, 'InsertComma ""'), function($skip, $loc, $0, $1) {
17676
+ var InsertComma$0 = $TV($EXPECT($L17, fail, 'InsertComma ""'), function($skip, $loc, $0, $1) {
17608
17677
  return { $loc, token: "," };
17609
17678
  });
17610
17679
  function InsertComma(state) {
@@ -17629,7 +17698,7 @@ ${input.slice(result.pos)}
17629
17698
  return result;
17630
17699
  }
17631
17700
  }
17632
- var InsertConst$0 = $TV($EXPECT($L18, fail, 'InsertConst ""'), function($skip, $loc, $0, $1) {
17701
+ var InsertConst$0 = $TV($EXPECT($L17, fail, 'InsertConst ""'), function($skip, $loc, $0, $1) {
17633
17702
  return { $loc, token: "const " };
17634
17703
  });
17635
17704
  function InsertConst(state) {
@@ -17654,7 +17723,7 @@ ${input.slice(result.pos)}
17654
17723
  return result;
17655
17724
  }
17656
17725
  }
17657
- var InsertLet$0 = $TV($EXPECT($L18, fail, 'InsertLet ""'), function($skip, $loc, $0, $1) {
17726
+ var InsertLet$0 = $TV($EXPECT($L17, fail, 'InsertLet ""'), function($skip, $loc, $0, $1) {
17658
17727
  return { $loc, token: "let " };
17659
17728
  });
17660
17729
  function InsertLet(state) {
@@ -17679,7 +17748,7 @@ ${input.slice(result.pos)}
17679
17748
  return result;
17680
17749
  }
17681
17750
  }
17682
- var InsertReadonly$0 = $TV($EXPECT($L18, fail, 'InsertReadonly ""'), function($skip, $loc, $0, $1) {
17751
+ var InsertReadonly$0 = $TV($EXPECT($L17, fail, 'InsertReadonly ""'), function($skip, $loc, $0, $1) {
17683
17752
  return { ts: true, children: [{ $loc, token: "readonly " }] };
17684
17753
  });
17685
17754
  function InsertReadonly(state) {
@@ -17704,7 +17773,7 @@ ${input.slice(result.pos)}
17704
17773
  return result;
17705
17774
  }
17706
17775
  }
17707
- var InsertNewline$0 = $TV($EXPECT($L18, fail, 'InsertNewline ""'), function($skip, $loc, $0, $1) {
17776
+ var InsertNewline$0 = $TV($EXPECT($L17, fail, 'InsertNewline ""'), function($skip, $loc, $0, $1) {
17708
17777
  return "\n";
17709
17778
  });
17710
17779
  function InsertNewline(state) {
@@ -17729,7 +17798,7 @@ ${input.slice(result.pos)}
17729
17798
  return result;
17730
17799
  }
17731
17800
  }
17732
- var InsertIndent$0 = $TV($EXPECT($L18, fail, 'InsertIndent ""'), function($skip, $loc, $0, $1) {
17801
+ var InsertIndent$0 = $TV($EXPECT($L17, fail, 'InsertIndent ""'), function($skip, $loc, $0, $1) {
17733
17802
  return module.currentIndent.token;
17734
17803
  });
17735
17804
  function InsertIndent(state) {
@@ -17754,7 +17823,7 @@ ${input.slice(result.pos)}
17754
17823
  return result;
17755
17824
  }
17756
17825
  }
17757
- var InsertSpace$0 = $TV($EXPECT($L18, fail, 'InsertSpace ""'), function($skip, $loc, $0, $1) {
17826
+ var InsertSpace$0 = $TV($EXPECT($L17, fail, 'InsertSpace ""'), function($skip, $loc, $0, $1) {
17758
17827
  return { $loc, token: " " };
17759
17828
  });
17760
17829
  function InsertSpace(state) {
@@ -17779,7 +17848,7 @@ ${input.slice(result.pos)}
17779
17848
  return result;
17780
17849
  }
17781
17850
  }
17782
- var InsertDot$0 = $TV($EXPECT($L18, fail, 'InsertDot ""'), function($skip, $loc, $0, $1) {
17851
+ var InsertDot$0 = $TV($EXPECT($L17, fail, 'InsertDot ""'), function($skip, $loc, $0, $1) {
17783
17852
  return { $loc, token: "." };
17784
17853
  });
17785
17854
  function InsertDot(state) {
@@ -17804,7 +17873,7 @@ ${input.slice(result.pos)}
17804
17873
  return result;
17805
17874
  }
17806
17875
  }
17807
- var InsertBreak$0 = $TV($EXPECT($L18, fail, 'InsertBreak ""'), function($skip, $loc, $0, $1) {
17876
+ var InsertBreak$0 = $TV($EXPECT($L17, fail, 'InsertBreak ""'), function($skip, $loc, $0, $1) {
17808
17877
  return { $loc, token: ";break;" };
17809
17878
  });
17810
17879
  function InsertBreak(state) {
@@ -17829,7 +17898,7 @@ ${input.slice(result.pos)}
17829
17898
  return result;
17830
17899
  }
17831
17900
  }
17832
- var InsertVar$0 = $TV($EXPECT($L18, fail, 'InsertVar ""'), function($skip, $loc, $0, $1) {
17901
+ var InsertVar$0 = $TV($EXPECT($L17, fail, 'InsertVar ""'), function($skip, $loc, $0, $1) {
17833
17902
  return { $loc, token: "var " };
17834
17903
  });
17835
17904
  function InsertVar(state) {
@@ -17854,7 +17923,7 @@ ${input.slice(result.pos)}
17854
17923
  return result;
17855
17924
  }
17856
17925
  }
17857
- var CoffeeBinaryExistentialEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeBinaryExistentialEnabled ""'), function($skip, $loc, $0, $1) {
17926
+ var CoffeeBinaryExistentialEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeBinaryExistentialEnabled ""'), function($skip, $loc, $0, $1) {
17858
17927
  if (module.config.coffeeBinaryExistential)
17859
17928
  return;
17860
17929
  return $skip;
@@ -17881,7 +17950,7 @@ ${input.slice(result.pos)}
17881
17950
  return result;
17882
17951
  }
17883
17952
  }
17884
- var CoffeeBooleansEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeBooleansEnabled ""'), function($skip, $loc, $0, $1) {
17953
+ var CoffeeBooleansEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeBooleansEnabled ""'), function($skip, $loc, $0, $1) {
17885
17954
  if (module.config.coffeeBooleans)
17886
17955
  return;
17887
17956
  return $skip;
@@ -17908,7 +17977,7 @@ ${input.slice(result.pos)}
17908
17977
  return result;
17909
17978
  }
17910
17979
  }
17911
- var CoffeeClassesEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeClassesEnabled ""'), function($skip, $loc, $0, $1) {
17980
+ var CoffeeClassesEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeClassesEnabled ""'), function($skip, $loc, $0, $1) {
17912
17981
  if (module.config.coffeeClasses)
17913
17982
  return;
17914
17983
  return $skip;
@@ -17935,7 +18004,7 @@ ${input.slice(result.pos)}
17935
18004
  return result;
17936
18005
  }
17937
18006
  }
17938
- var CoffeeCommentEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeCommentEnabled ""'), function($skip, $loc, $0, $1) {
18007
+ var CoffeeCommentEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeCommentEnabled ""'), function($skip, $loc, $0, $1) {
17939
18008
  if (module.config.coffeeComment)
17940
18009
  return;
17941
18010
  return $skip;
@@ -17962,7 +18031,7 @@ ${input.slice(result.pos)}
17962
18031
  return result;
17963
18032
  }
17964
18033
  }
17965
- var CoffeeDoEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeDoEnabled ""'), function($skip, $loc, $0, $1) {
18034
+ var CoffeeDoEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeDoEnabled ""'), function($skip, $loc, $0, $1) {
17966
18035
  if (module.config.coffeeDo)
17967
18036
  return;
17968
18037
  return $skip;
@@ -17989,7 +18058,7 @@ ${input.slice(result.pos)}
17989
18058
  return result;
17990
18059
  }
17991
18060
  }
17992
- var CoffeeForLoopsEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeForLoopsEnabled ""'), function($skip, $loc, $0, $1) {
18061
+ var CoffeeForLoopsEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeForLoopsEnabled ""'), function($skip, $loc, $0, $1) {
17993
18062
  if (module.config.coffeeForLoops)
17994
18063
  return;
17995
18064
  return $skip;
@@ -18016,7 +18085,7 @@ ${input.slice(result.pos)}
18016
18085
  return result;
18017
18086
  }
18018
18087
  }
18019
- var CoffeeInterpolationEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeInterpolationEnabled ""'), function($skip, $loc, $0, $1) {
18088
+ var CoffeeInterpolationEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeInterpolationEnabled ""'), function($skip, $loc, $0, $1) {
18020
18089
  if (module.config.coffeeInterpolation)
18021
18090
  return;
18022
18091
  return $skip;
@@ -18043,7 +18112,7 @@ ${input.slice(result.pos)}
18043
18112
  return result;
18044
18113
  }
18045
18114
  }
18046
- var CoffeeIsntEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeIsntEnabled ""'), function($skip, $loc, $0, $1) {
18115
+ var CoffeeIsntEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeIsntEnabled ""'), function($skip, $loc, $0, $1) {
18047
18116
  if (module.config.coffeeIsnt)
18048
18117
  return;
18049
18118
  return $skip;
@@ -18070,7 +18139,7 @@ ${input.slice(result.pos)}
18070
18139
  return result;
18071
18140
  }
18072
18141
  }
18073
- var CoffeeJSXEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeJSXEnabled ""'), function($skip, $loc, $0, $1) {
18142
+ var CoffeeJSXEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeJSXEnabled ""'), function($skip, $loc, $0, $1) {
18074
18143
  if (module.config.coffeeJSX)
18075
18144
  return;
18076
18145
  return $skip;
@@ -18097,7 +18166,7 @@ ${input.slice(result.pos)}
18097
18166
  return result;
18098
18167
  }
18099
18168
  }
18100
- var CoffeeLineContinuationEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeLineContinuationEnabled ""'), function($skip, $loc, $0, $1) {
18169
+ var CoffeeLineContinuationEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeLineContinuationEnabled ""'), function($skip, $loc, $0, $1) {
18101
18170
  if (module.config.coffeeLineContinuation)
18102
18171
  return;
18103
18172
  return $skip;
@@ -18124,7 +18193,7 @@ ${input.slice(result.pos)}
18124
18193
  return result;
18125
18194
  }
18126
18195
  }
18127
- var CoffeeNotEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeNotEnabled ""'), function($skip, $loc, $0, $1) {
18196
+ var CoffeeNotEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeNotEnabled ""'), function($skip, $loc, $0, $1) {
18128
18197
  if (module.config.coffeeNot)
18129
18198
  return;
18130
18199
  return $skip;
@@ -18151,7 +18220,7 @@ ${input.slice(result.pos)}
18151
18220
  return result;
18152
18221
  }
18153
18222
  }
18154
- var CoffeeOfEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeOfEnabled ""'), function($skip, $loc, $0, $1) {
18223
+ var CoffeeOfEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeOfEnabled ""'), function($skip, $loc, $0, $1) {
18155
18224
  if (module.config.coffeeOf)
18156
18225
  return;
18157
18226
  return $skip;
@@ -18178,7 +18247,7 @@ ${input.slice(result.pos)}
18178
18247
  return result;
18179
18248
  }
18180
18249
  }
18181
- var CoffeePrototypeEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeePrototypeEnabled ""'), function($skip, $loc, $0, $1) {
18250
+ var CoffeePrototypeEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeePrototypeEnabled ""'), function($skip, $loc, $0, $1) {
18182
18251
  if (module.config.coffeePrototype)
18183
18252
  return;
18184
18253
  return $skip;
@@ -18205,7 +18274,7 @@ ${input.slice(result.pos)}
18205
18274
  return result;
18206
18275
  }
18207
18276
  }
18208
- var ObjectIsEnabled$0 = $TV($EXPECT($L18, fail, 'ObjectIsEnabled ""'), function($skip, $loc, $0, $1) {
18277
+ var ObjectIsEnabled$0 = $TV($EXPECT($L17, fail, 'ObjectIsEnabled ""'), function($skip, $loc, $0, $1) {
18209
18278
  if (module.config.objectIs)
18210
18279
  return;
18211
18280
  return $skip;
@@ -18232,7 +18301,7 @@ ${input.slice(result.pos)}
18232
18301
  return result;
18233
18302
  }
18234
18303
  }
18235
- var Reset$0 = $TV($EXPECT($L18, fail, 'Reset ""'), function($skip, $loc, $0, $1) {
18304
+ var Reset$0 = $TV($EXPECT($L17, fail, 'Reset ""'), function($skip, $loc, $0, $1) {
18236
18305
  module.indentLevels = [{
18237
18306
  level: 0,
18238
18307
  token: ""
@@ -18510,13 +18579,69 @@ ${input.slice(result.pos)}
18510
18579
  return result;
18511
18580
  }
18512
18581
  }
18513
- var Init$0 = $TS($S($E(Shebang), $Q(DirectivePrologue), $EXPECT($L18, fail, 'Init ""')), function($skip, $loc, $0, $1, $2, $3) {
18582
+ var Init$0 = $TS($S($E(Shebang), $Q(DirectivePrologue), $EXPECT($L17, fail, 'Init ""')), function($skip, $loc, $0, $1, $2, $3) {
18514
18583
  var directives = $2;
18515
18584
  directives.forEach((directive) => {
18516
18585
  if (directive.type === "CivetPrologue") {
18517
18586
  Object.assign(module.config, directive.config);
18518
18587
  }
18519
18588
  });
18589
+ module.processGlob = (node) => {
18590
+ const { children } = node;
18591
+ for (let i = 0; i < children.length; i++) {
18592
+ const glob = children[i];
18593
+ if (glob?.type === "PropertyGlob") {
18594
+ const prefix = children.slice(0, i).concat(glob.children[0]);
18595
+ const parts = [];
18596
+ for (const part of glob.object.content) {
18597
+ if (part.type === "SpreadProperty") {
18598
+ throw new Error("Glob pattern cannot have ...spread property");
18599
+ }
18600
+ if (part.type === "MethodDefinition") {
18601
+ throw new Error("Glob pattern cannot have method definition");
18602
+ }
18603
+ if (part.value && !["CallExpression", "MemberExpression", "Identifier"].includes(part.value.type)) {
18604
+ throw new Error("Glob pattern must have call or member expression value");
18605
+ }
18606
+ const { name } = part;
18607
+ let value = part.value ?? part.name;
18608
+ const wValue = module.getTrimmingSpace(part.value);
18609
+ value = prefix.concat(module.insertTrimmingSpace(value, ""));
18610
+ if (wValue)
18611
+ value.unshift(wValue);
18612
+ parts.push({
18613
+ type: "Property",
18614
+ name,
18615
+ value,
18616
+ names: part.names,
18617
+ children: [
18618
+ module.isWhitespaceOrEmpty(part.children[0]) && part.children[0],
18619
+ name,
18620
+ module.isWhitespaceOrEmpty(part.children[2]) && part.children[2],
18621
+ part.children[3]?.token === ":" ? part.children[3] : ":",
18622
+ value,
18623
+ part.children[part.children.length - 1]
18624
+ ]
18625
+ });
18626
+ }
18627
+ const object = {
18628
+ type: "ObjectExpression",
18629
+ children: [
18630
+ glob.object.children[0],
18631
+ ...parts,
18632
+ glob.object.children.at(-1)
18633
+ ]
18634
+ };
18635
+ if (i === children.length - 1)
18636
+ return object;
18637
+ return module.processGlob({
18638
+ ...node,
18639
+ children: [object, ...children.slice(i + 1)]
18640
+ });
18641
+ }
18642
+ }
18643
+ return node;
18644
+ };
18520
18645
  module.processUnaryExpression = (pre, exp, post) => {
18521
18646
  if (post?.token === "?") {
18522
18647
  post = {
@@ -18797,6 +18922,8 @@ ${input.slice(result.pos)}
18797
18922
  module.isWhitespaceOrEmpty = function(node) {
18798
18923
  if (!node)
18799
18924
  return true;
18925
+ if (node.type === "Ref")
18926
+ return false;
18800
18927
  if (node.token)
18801
18928
  return node.token.match(/^\s*$/);
18802
18929
  if (node.children)
@@ -18975,6 +19102,16 @@ ${input.slice(result.pos)}
18975
19102
  });
18976
19103
  return target;
18977
19104
  };
19105
+ module.getTrimmingSpace = function(target) {
19106
+ if (!target)
19107
+ return;
19108
+ if (Array.isArray(target))
19109
+ return module.getTrimmingSpace(target[0]);
19110
+ if (target.children)
19111
+ return module.getTrimmingSpace(target.children[0]);
19112
+ if (target.token)
19113
+ return target.token.match(/^ ?/)[0];
19114
+ };
18978
19115
  const initialSpacingRe = /^(?:\r?\n|\n)*((?:\r?\n|\n)\s+)/;
18979
19116
  module.dedentBlockSubstitutions = function($02) {
18980
19117
  const [s, strWithSubstitutions, e] = $02;
@@ -19598,7 +19735,11 @@ ${input.slice(result.pos)}
19598
19735
  const prefix = [];
19599
19736
  switch (pattern.type) {
19600
19737
  case "ArrayMatchingPattern":
19738
+ if (pattern.length === 0)
19739
+ break;
19601
19740
  case "ObjectMatchingPattern": {
19741
+ if (pattern.properties?.length === 0)
19742
+ break;
19602
19743
  let [splices, thisAssignments] = gatherBindingCode(pattern);
19603
19744
  splices = splices.map((s2) => [", ", nonMatcherBindings(s2)]);
19604
19745
  thisAssignments = thisAssignments.map((a) => [indent, a, ";\n"]);
@@ -20034,7 +20175,7 @@ ${input.slice(result.pos)}
20034
20175
  return result;
20035
20176
  }
20036
20177
  }
20037
- var PopIndent$0 = $TV($EXPECT($L18, fail, 'PopIndent ""'), function($skip, $loc, $0, $1) {
20178
+ var PopIndent$0 = $TV($EXPECT($L17, fail, 'PopIndent ""'), function($skip, $loc, $0, $1) {
20038
20179
  if (module.config.verbose) {
20039
20180
  console.log("popping indent", module.indentLevels[module.indentLevels.length - 1], "->", module.indentLevels[module.indentLevels.length - 2]);
20040
20181
  }