@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/browser.js CHANGED
@@ -501,12 +501,14 @@ ${input.slice(result.pos)}
501
501
  CallExpression,
502
502
  CallExpressionRest,
503
503
  OptionalShorthand,
504
+ OptionalDot,
504
505
  NonNullAssertion,
505
506
  MemberExpression,
506
507
  MemberExpressionRest,
507
508
  MemberBracketContent,
508
509
  SliceParameters,
509
510
  PropertyAccess,
511
+ PropertyGlob,
510
512
  SuperProperty,
511
513
  MetaProperty,
512
514
  Parameters,
@@ -1020,10 +1022,10 @@ ${input.slice(result.pos)}
1020
1022
  var $L13 = $L("import");
1021
1023
  var $L14 = $L("!");
1022
1024
  var $L15 = $L("-");
1023
- var $L16 = $L("super[");
1024
- var $L17 = $L("import.meta");
1025
- var $L18 = $L("");
1026
- var $L19 = $L(")");
1025
+ var $L16 = $L("import.meta");
1026
+ var $L17 = $L("");
1027
+ var $L18 = $L(")");
1028
+ var $L19 = $L(",");
1027
1029
  var $L20 = $L("->");
1028
1030
  var $L21 = $L("}");
1029
1031
  var $L22 = $L("null");
@@ -1109,74 +1111,73 @@ ${input.slice(result.pos)}
1109
1111
  var $L102 = $L("catch");
1110
1112
  var $L103 = $L("class");
1111
1113
  var $L104 = $L("#{");
1112
- var $L105 = $L(",");
1113
- var $L106 = $L("declare");
1114
- var $L107 = $L("default");
1115
- var $L108 = $L("delete");
1116
- var $L109 = $L("do");
1117
- var $L110 = $L("..");
1118
- var $L111 = $L("...");
1119
- var $L112 = $L("::");
1120
- var $L113 = $L('"');
1121
- var $L114 = $L("else");
1122
- var $L115 = $L("export");
1123
- var $L116 = $L("extends");
1124
- var $L117 = $L("finally");
1125
- var $L118 = $L("for");
1126
- var $L119 = $L("from");
1127
- var $L120 = $L("function");
1128
- var $L121 = $L("get");
1129
- var $L122 = $L("set");
1130
- var $L123 = $L("if");
1131
- var $L124 = $L("let");
1132
- var $L125 = $L("const");
1133
- var $L126 = $L("loop");
1134
- var $L127 = $L("new");
1135
- var $L128 = $L("<");
1136
- var $L129 = $L("{");
1137
- var $L130 = $L("operator");
1138
- var $L131 = $L("public");
1139
- var $L132 = $L("private");
1140
- var $L133 = $L("protected");
1141
- var $L134 = $L("|>");
1142
- var $L135 = $L("readonly");
1143
- var $L136 = $L("return");
1144
- var $L137 = $L("satisfies");
1145
- var $L138 = $L("'");
1146
- var $L139 = $L("static");
1147
- var $L140 = $L("${");
1148
- var $L141 = $L("switch");
1149
- var $L142 = $L("target");
1150
- var $L143 = $L("then");
1151
- var $L144 = $L("this");
1152
- var $L145 = $L("throw");
1153
- var $L146 = $L('"""');
1154
- var $L147 = $L("'''");
1155
- var $L148 = $L("///");
1156
- var $L149 = $L("```");
1157
- var $L150 = $L("try");
1158
- var $L151 = $L("typeof");
1159
- var $L152 = $L("unless");
1160
- var $L153 = $L("until");
1161
- var $L154 = $L("var");
1162
- var $L155 = $L("void");
1163
- var $L156 = $L("when");
1164
- var $L157 = $L("while");
1165
- var $L158 = $L("yield");
1166
- var $L159 = $L("/>");
1167
- var $L160 = $L("</");
1168
- var $L161 = $L("<>");
1169
- var $L162 = $L("</>");
1170
- var $L163 = $L("<!--");
1171
- var $L164 = $L("-->");
1172
- var $L165 = $L("type");
1173
- var $L166 = $L("interface");
1174
- var $L167 = $L("namespace");
1175
- var $L168 = $L("asserts");
1176
- var $L169 = $L("keyof");
1177
- var $L170 = $L("infer");
1178
- var $L171 = $L("[]");
1179
- var $L172 = $L("civet");
1114
+ var $L105 = $L("declare");
1115
+ var $L106 = $L("default");
1116
+ var $L107 = $L("delete");
1117
+ var $L108 = $L("do");
1118
+ var $L109 = $L("..");
1119
+ var $L110 = $L("...");
1120
+ var $L111 = $L("::");
1121
+ var $L112 = $L('"');
1122
+ var $L113 = $L("else");
1123
+ var $L114 = $L("export");
1124
+ var $L115 = $L("extends");
1125
+ var $L116 = $L("finally");
1126
+ var $L117 = $L("for");
1127
+ var $L118 = $L("from");
1128
+ var $L119 = $L("function");
1129
+ var $L120 = $L("get");
1130
+ var $L121 = $L("set");
1131
+ var $L122 = $L("if");
1132
+ var $L123 = $L("let");
1133
+ var $L124 = $L("const");
1134
+ var $L125 = $L("loop");
1135
+ var $L126 = $L("new");
1136
+ var $L127 = $L("<");
1137
+ var $L128 = $L("{");
1138
+ var $L129 = $L("operator");
1139
+ var $L130 = $L("public");
1140
+ var $L131 = $L("private");
1141
+ var $L132 = $L("protected");
1142
+ var $L133 = $L("|>");
1143
+ var $L134 = $L("readonly");
1144
+ var $L135 = $L("return");
1145
+ var $L136 = $L("satisfies");
1146
+ var $L137 = $L("'");
1147
+ var $L138 = $L("static");
1148
+ var $L139 = $L("${");
1149
+ var $L140 = $L("switch");
1150
+ var $L141 = $L("target");
1151
+ var $L142 = $L("then");
1152
+ var $L143 = $L("this");
1153
+ var $L144 = $L("throw");
1154
+ var $L145 = $L('"""');
1155
+ var $L146 = $L("'''");
1156
+ var $L147 = $L("///");
1157
+ var $L148 = $L("```");
1158
+ var $L149 = $L("try");
1159
+ var $L150 = $L("typeof");
1160
+ var $L151 = $L("unless");
1161
+ var $L152 = $L("until");
1162
+ var $L153 = $L("var");
1163
+ var $L154 = $L("void");
1164
+ var $L155 = $L("when");
1165
+ var $L156 = $L("while");
1166
+ var $L157 = $L("yield");
1167
+ var $L158 = $L("/>");
1168
+ var $L159 = $L("</");
1169
+ var $L160 = $L("<>");
1170
+ var $L161 = $L("</>");
1171
+ var $L162 = $L("<!--");
1172
+ var $L163 = $L("-->");
1173
+ var $L164 = $L("type");
1174
+ var $L165 = $L("interface");
1175
+ var $L166 = $L("namespace");
1176
+ var $L167 = $L("asserts");
1177
+ var $L168 = $L("keyof");
1178
+ var $L169 = $L("infer");
1179
+ var $L170 = $L("[]");
1180
+ var $L171 = $L("civet");
1180
1181
  var $R0 = $R(new RegExp("(as|for|while|until|of|satisfies|then|when|implements)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
1181
1182
  var $R1 = $R(new RegExp("[0-9]", "suy"));
1182
1183
  var $R2 = $R(new RegExp("[&]", "suy"));
@@ -3233,17 +3234,17 @@ ${input.slice(result.pos)}
3233
3234
  }
3234
3235
  var CallExpression$0 = $TS($S($EXPECT($L12, fail, 'CallExpression "super"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3235
3236
  var rest = $3;
3236
- return {
3237
+ return module.processGlob({
3237
3238
  type: "CallExpression",
3238
3239
  children: [$1, ...$2, ...rest.flat()]
3239
- };
3240
+ });
3240
3241
  });
3241
3242
  var CallExpression$1 = $TS($S($EXPECT($L13, fail, 'CallExpression "import"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3242
3243
  var rest = $3;
3243
- return {
3244
+ return module.processGlob({
3244
3245
  type: "CallExpression",
3245
3246
  children: [$1, ...$2, ...rest.flat()]
3246
- };
3247
+ });
3247
3248
  });
3248
3249
  var CallExpression$2 = $TS($S(MemberExpression, NonSuppressedTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3249
3250
  var member = $1;
@@ -3251,10 +3252,10 @@ ${input.slice(result.pos)}
3251
3252
  var rest = $3;
3252
3253
  if (rest.length || trailing.length) {
3253
3254
  rest = rest.flat();
3254
- return {
3255
- type: rest.length && rest[rest.length - 1].type === "Call" ? "CallExpression" : "MemberExpression",
3255
+ return module.processGlob({
3256
+ type: "CallExpression",
3256
3257
  children: [member, ...trailing, ...rest]
3257
- };
3258
+ });
3258
3259
  }
3259
3260
  return member;
3260
3261
  });
@@ -3314,7 +3315,7 @@ ${input.slice(result.pos)}
3314
3315
  return result;
3315
3316
  }
3316
3317
  }
3317
- var OptionalShorthand$0 = $TS($S(QuestionMark, $C(Dot, InsertDot)), function($skip, $loc, $0, $1, $2) {
3318
+ var OptionalShorthand$0 = $TS($S(QuestionMark, OptionalDot), function($skip, $loc, $0, $1, $2) {
3318
3319
  return {
3319
3320
  type: "Optional",
3320
3321
  children: $0
@@ -3342,6 +3343,30 @@ ${input.slice(result.pos)}
3342
3343
  return result;
3343
3344
  }
3344
3345
  }
3346
+ var OptionalDot$0 = Dot;
3347
+ var OptionalDot$1 = InsertDot;
3348
+ function OptionalDot(state) {
3349
+ let eventData;
3350
+ if (state.events) {
3351
+ const result = state.events.enter?.("OptionalDot", state);
3352
+ if (result) {
3353
+ if (result.cache)
3354
+ return result.cache;
3355
+ eventData = result.data;
3356
+ }
3357
+ }
3358
+ if (state.tokenize) {
3359
+ const result = $TOKEN("OptionalDot", state, OptionalDot$0(state) || OptionalDot$1(state));
3360
+ if (state.events)
3361
+ state.events.exit?.("OptionalDot", state, result, eventData);
3362
+ return result;
3363
+ } else {
3364
+ const result = OptionalDot$0(state) || OptionalDot$1(state);
3365
+ if (state.events)
3366
+ state.events.exit?.("OptionalDot", state, result, eventData);
3367
+ return result;
3368
+ }
3369
+ }
3345
3370
  var NonNullAssertion$0 = $T($EXPECT($L14, fail, 'NonNullAssertion "!"'), function(value) {
3346
3371
  return { "type": "NonNullAssertion", "ts": true, "children": value };
3347
3372
  });
@@ -3367,18 +3392,16 @@ ${input.slice(result.pos)}
3367
3392
  return result;
3368
3393
  }
3369
3394
  }
3370
- var MemberExpression$0 = $TS($S(PrimaryExpression, $Q(MemberExpressionRest)), function($skip, $loc, $0, $1, $2) {
3395
+ var MemberExpression$0 = $TS($S($C(PrimaryExpression, SuperProperty, MetaProperty), $Q(MemberExpressionRest)), function($skip, $loc, $0, $1, $2) {
3371
3396
  var rest = $2;
3372
- if (rest.length) {
3373
- return {
3397
+ if (rest.length || Array.isArray($1)) {
3398
+ return module.processGlob({
3374
3399
  type: "MemberExpression",
3375
- children: [$1].concat(rest.flat())
3376
- };
3400
+ children: [$1, ...rest].flat()
3401
+ });
3377
3402
  }
3378
3403
  return $1;
3379
3404
  });
3380
- var MemberExpression$1 = SuperProperty;
3381
- var MemberExpression$2 = MetaProperty;
3382
3405
  function MemberExpression(state) {
3383
3406
  let eventData;
3384
3407
  if (state.events) {
@@ -3390,12 +3413,12 @@ ${input.slice(result.pos)}
3390
3413
  }
3391
3414
  }
3392
3415
  if (state.tokenize) {
3393
- const result = $TOKEN("MemberExpression", state, MemberExpression$0(state) || MemberExpression$1(state) || MemberExpression$2(state));
3416
+ const result = $TOKEN("MemberExpression", state, MemberExpression$0(state));
3394
3417
  if (state.events)
3395
3418
  state.events.exit?.("MemberExpression", state, result, eventData);
3396
3419
  return result;
3397
3420
  } else {
3398
- const result = MemberExpression$0(state) || MemberExpression$1(state) || MemberExpression$2(state);
3421
+ const result = MemberExpression$0(state);
3399
3422
  if (state.events)
3400
3423
  state.events.exit?.("MemberExpression", state, result, eventData);
3401
3424
  return result;
@@ -3411,7 +3434,8 @@ ${input.slice(result.pos)}
3411
3434
  return $2;
3412
3435
  });
3413
3436
  var MemberExpressionRest$1 = PropertyAccess;
3414
- var MemberExpressionRest$2 = NonNullAssertion;
3437
+ var MemberExpressionRest$2 = PropertyGlob;
3438
+ var MemberExpressionRest$3 = NonNullAssertion;
3415
3439
  function MemberExpressionRest(state) {
3416
3440
  let eventData;
3417
3441
  if (state.events) {
@@ -3423,12 +3447,12 @@ ${input.slice(result.pos)}
3423
3447
  }
3424
3448
  }
3425
3449
  if (state.tokenize) {
3426
- const result = $TOKEN("MemberExpressionRest", state, MemberExpressionRest$0(state) || MemberExpressionRest$1(state) || MemberExpressionRest$2(state));
3450
+ const result = $TOKEN("MemberExpressionRest", state, MemberExpressionRest$0(state) || MemberExpressionRest$1(state) || MemberExpressionRest$2(state) || MemberExpressionRest$3(state));
3427
3451
  if (state.events)
3428
3452
  state.events.exit?.("MemberExpressionRest", state, result, eventData);
3429
3453
  return result;
3430
3454
  } else {
3431
- const result = MemberExpressionRest$0(state) || MemberExpressionRest$1(state) || MemberExpressionRest$2(state);
3455
+ const result = MemberExpressionRest$0(state) || MemberExpressionRest$1(state) || MemberExpressionRest$2(state) || MemberExpressionRest$3(state);
3432
3456
  if (state.events)
3433
3457
  state.events.exit?.("MemberExpressionRest", state, result, eventData);
3434
3458
  return result;
@@ -3623,7 +3647,37 @@ ${input.slice(result.pos)}
3623
3647
  return result;
3624
3648
  }
3625
3649
  }
3626
- var SuperProperty$0 = $S($EXPECT($L16, fail, 'SuperProperty "super["'), PostfixedExpression, __, CloseBracket);
3650
+ var PropertyGlob$0 = $TS($S(OptionalDot, BracedObjectLiteral), function($skip, $loc, $0, $1, $2) {
3651
+ var object = $2;
3652
+ return {
3653
+ type: "PropertyGlob",
3654
+ object,
3655
+ children: $0
3656
+ };
3657
+ });
3658
+ function PropertyGlob(state) {
3659
+ let eventData;
3660
+ if (state.events) {
3661
+ const result = state.events.enter?.("PropertyGlob", state);
3662
+ if (result) {
3663
+ if (result.cache)
3664
+ return result.cache;
3665
+ eventData = result.data;
3666
+ }
3667
+ }
3668
+ if (state.tokenize) {
3669
+ const result = $TOKEN("PropertyGlob", state, PropertyGlob$0(state));
3670
+ if (state.events)
3671
+ state.events.exit?.("PropertyGlob", state, result, eventData);
3672
+ return result;
3673
+ } else {
3674
+ const result = PropertyGlob$0(state);
3675
+ if (state.events)
3676
+ state.events.exit?.("PropertyGlob", state, result, eventData);
3677
+ return result;
3678
+ }
3679
+ }
3680
+ var SuperProperty$0 = $S($EXPECT($L12, fail, 'SuperProperty "super"'), MemberBracketContent);
3627
3681
  var SuperProperty$1 = $S($EXPECT($L12, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
3628
3682
  function SuperProperty(state) {
3629
3683
  let eventData;
@@ -3648,7 +3702,7 @@ ${input.slice(result.pos)}
3648
3702
  }
3649
3703
  }
3650
3704
  var MetaProperty$0 = $S(New, Dot, Target);
3651
- var MetaProperty$1 = $TS($S($EXPECT($L17, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
3705
+ var MetaProperty$1 = $TS($S($EXPECT($L16, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
3652
3706
  return { $loc, token: $1 };
3653
3707
  });
3654
3708
  function MetaProperty(state) {
@@ -3674,7 +3728,7 @@ ${input.slice(result.pos)}
3674
3728
  }
3675
3729
  }
3676
3730
  var Parameters$0 = NonEmptyParameters;
3677
- var Parameters$1 = $TV($EXPECT($L18, fail, 'Parameters ""'), function($skip, $loc, $0, $1) {
3731
+ var Parameters$1 = $TV($EXPECT($L17, fail, 'Parameters ""'), function($skip, $loc, $0, $1) {
3678
3732
  return {
3679
3733
  type: "Parameters",
3680
3734
  children: [{ $loc, token: "()" }],
@@ -3835,7 +3889,7 @@ ${input.slice(result.pos)}
3835
3889
  }
3836
3890
  }
3837
3891
  var ParameterElementDelimiter$0 = $S($Q(_), Comma);
3838
- var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L19, fail, 'ParameterElementDelimiter ")"')));
3892
+ var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L18, fail, 'ParameterElementDelimiter ")"')));
3839
3893
  var ParameterElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
3840
3894
  return value[1];
3841
3895
  });
@@ -3997,7 +4051,8 @@ ${input.slice(result.pos)}
3997
4051
  var c = $2;
3998
4052
  return {
3999
4053
  type: "ObjectBindingPattern",
4000
- children: [$1, ...c.children, ...$3, $4],
4054
+ children: [$1, ...c.children, $3, $4],
4055
+ content: c.children,
4001
4056
  names: c.names
4002
4057
  };
4003
4058
  });
@@ -4294,23 +4349,32 @@ ${input.slice(result.pos)}
4294
4349
  }
4295
4350
  var BindingProperty$0 = BindingRestProperty;
4296
4351
  var BindingProperty$1 = $TS($S($E(_), PropertyName, __, Colon, $C(BindingIdentifier, BindingPattern), $E(Initializer)), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
4352
+ var name = $2;
4297
4353
  var b = $5;
4354
+ var init = $6;
4298
4355
  return {
4356
+ name,
4357
+ value: b,
4358
+ init,
4299
4359
  names: b.names,
4300
4360
  children: $0
4301
4361
  };
4302
4362
  });
4303
4363
  var BindingProperty$2 = $TS($S(BindingIdentifier, $E(Initializer)), function($skip, $loc, $0, $1, $2) {
4304
4364
  var b = $1;
4365
+ var init = $2;
4305
4366
  if (b.type === "AtBinding") {
4306
4367
  return {
4307
4368
  type: "AtBindingProperty",
4308
4369
  ref: b.ref,
4370
+ init,
4309
4371
  names: [],
4310
4372
  children: $0
4311
4373
  };
4312
4374
  }
4313
4375
  return {
4376
+ name: b,
4377
+ init,
4314
4378
  names: b.names,
4315
4379
  children: $0
4316
4380
  };
@@ -4445,10 +4509,12 @@ ${input.slice(result.pos)}
4445
4509
  children: $0
4446
4510
  };
4447
4511
  });
4448
- var BindingElement$2 = $TV($EXPECT($L18, fail, 'BindingElement ""'), function($skip, $loc, $0, $1) {
4512
+ var BindingElement$2 = $TV($Y($S($E(_), $EXPECT($L19, fail, 'BindingElement ","'))), function($skip, $loc, $0, $1) {
4449
4513
  return {
4450
- type: "ElisionElement",
4451
- children: [],
4514
+ children: [{
4515
+ type: "ElisionElement",
4516
+ children: [""]
4517
+ }],
4452
4518
  names: []
4453
4519
  };
4454
4520
  });
@@ -4516,7 +4582,7 @@ ${input.slice(result.pos)}
4516
4582
  return result;
4517
4583
  }
4518
4584
  }
4519
- var EmptyBindingPattern$0 = $TV($EXPECT($L18, fail, 'EmptyBindingPattern ""'), function($skip, $loc, $0, $1) {
4585
+ var EmptyBindingPattern$0 = $TV($EXPECT($L17, fail, 'EmptyBindingPattern ""'), function($skip, $loc, $0, $1) {
4520
4586
  const ref = {
4521
4587
  type: "Ref",
4522
4588
  base: "ref",
@@ -4992,10 +5058,12 @@ ${input.slice(result.pos)}
4992
5058
  children: [ws, binding]
4993
5059
  };
4994
5060
  });
4995
- var MatchingElement$3 = $TV($EXPECT($L18, fail, 'MatchingElement ""'), function($skip, $loc, $0, $1) {
5061
+ var MatchingElement$3 = $TV($Y($S($E(_), $EXPECT($L19, fail, 'MatchingElement ","'))), function($skip, $loc, $0, $1) {
4996
5062
  return {
4997
- type: "ElisionElement",
4998
- children: [],
5063
+ children: [{
5064
+ type: "ElisionElement",
5065
+ children: [""]
5066
+ }],
4999
5067
  names: []
5000
5068
  };
5001
5069
  });
@@ -5125,7 +5193,7 @@ ${input.slice(result.pos)}
5125
5193
  block
5126
5194
  };
5127
5195
  });
5128
- var FunctionExpression$1 = $TS($S($E(AmpersandUnaryPrefix), Ampersand, $E(AmpersandBlockRHS)), function($skip, $loc, $0, $1, $2, $3) {
5196
+ 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) {
5129
5197
  var prefix = $1;
5130
5198
  var rhs = $3;
5131
5199
  if (!prefix && !rhs)
@@ -5618,7 +5686,7 @@ ${input.slice(result.pos)}
5618
5686
  return result;
5619
5687
  }
5620
5688
  }
5621
- var EmptyBareBlock$0 = $TV($EXPECT($L18, fail, 'EmptyBareBlock ""'), function($skip, $loc, $0, $1) {
5689
+ var EmptyBareBlock$0 = $TV($EXPECT($L17, fail, 'EmptyBareBlock ""'), function($skip, $loc, $0, $1) {
5622
5690
  const expressions = [];
5623
5691
  return {
5624
5692
  type: "BlockStatement",
@@ -6609,6 +6677,7 @@ ${input.slice(result.pos)}
6609
6677
  const children = [open, ...content, close];
6610
6678
  return {
6611
6679
  type: "ObjectExpression",
6680
+ content,
6612
6681
  children,
6613
6682
  names: children.flatMap((c) => {
6614
6683
  return c.names || [];
@@ -6846,7 +6915,7 @@ ${input.slice(result.pos)}
6846
6915
  var ImplicitInlineObjectPropertyDelimiter$1 = $T($S($Y($S($C(Samedent, $Q(_)), NamedProperty)), InsertComma), function(value) {
6847
6916
  return value[1];
6848
6917
  });
6849
- 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) {
6918
+ 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) {
6850
6919
  return "";
6851
6920
  });
6852
6921
  var ImplicitInlineObjectPropertyDelimiter$3 = $T($Y(EOS), function(value) {
@@ -6938,7 +7007,7 @@ ${input.slice(result.pos)}
6938
7007
  const value = [{ ...at, token: "this." }, id];
6939
7008
  return {
6940
7009
  type: "Property",
6941
- children: [...ws, id, ": ", ...value],
7010
+ children: [ws, id, ": ", ...value],
6942
7011
  name: id,
6943
7012
  names: id.names,
6944
7013
  value
@@ -6949,7 +7018,7 @@ ${input.slice(result.pos)}
6949
7018
  var prop = $2;
6950
7019
  return {
6951
7020
  ...prop,
6952
- children: [...ws, ...prop.children]
7021
+ children: [ws, ...prop.children]
6953
7022
  };
6954
7023
  });
6955
7024
  var PropertyDefinition$2 = $TS($S(__, $TEXT($EXPECT($R5, fail, "PropertyDefinition /[!+-]/")), PropertyName), function($skip, $loc, $0, $1, $2, $3) {
@@ -6959,7 +7028,7 @@ ${input.slice(result.pos)}
6959
7028
  const value = toggle === "+" ? "true" : "false";
6960
7029
  return {
6961
7030
  type: "Property",
6962
- children: [...ws, id, ": ", value],
7031
+ children: [ws, id, ": ", value],
6963
7032
  name: id,
6964
7033
  names: id.names,
6965
7034
  value
@@ -6972,7 +7041,7 @@ ${input.slice(result.pos)}
6972
7041
  return $skip;
6973
7042
  return {
6974
7043
  ...def,
6975
- children: [...ws, ...def.children]
7044
+ children: [ws, ...def.children]
6976
7045
  };
6977
7046
  });
6978
7047
  var PropertyDefinition$4 = $TS($S(__, DotDotDot, ExtendedExpression), function($skip, $loc, $0, $1, $2, $3) {
@@ -6981,7 +7050,7 @@ ${input.slice(result.pos)}
6981
7050
  var exp = $3;
6982
7051
  return {
6983
7052
  type: "SpreadProperty",
6984
- children: [...ws, dots, exp],
7053
+ children: [ws, dots, exp],
6985
7054
  names: exp.names,
6986
7055
  value: [dots, exp]
6987
7056
  };
@@ -6990,7 +7059,7 @@ ${input.slice(result.pos)}
6990
7059
  var ws = $1;
6991
7060
  var value = $2;
6992
7061
  if (value.type === "Identifier") {
6993
- return { ...value, children: [...ws, ...value.children] };
7062
+ return { ...value, children: [ws, ...value.children] };
6994
7063
  }
6995
7064
  let exp = value, children, i;
6996
7065
  do {
@@ -7235,9 +7304,9 @@ ${input.slice(result.pos)}
7235
7304
  ts: true
7236
7305
  };
7237
7306
  });
7238
- var MethodDefinition$1 = $TS($S(MethodSignature, BracedOrEmptyBlock), function($skip, $loc, $0, $1, $2) {
7307
+ var MethodDefinition$1 = $TS($S(MethodSignature, $N(PropertyAccess), BracedOrEmptyBlock), function($skip, $loc, $0, $1, $2, $3) {
7239
7308
  var signature = $1;
7240
- var block = $2;
7309
+ var block = $3;
7241
7310
  return {
7242
7311
  type: "MethodDefinition",
7243
7312
  children: $0,
@@ -9419,7 +9488,7 @@ ${input.slice(result.pos)}
9419
9488
  }
9420
9489
  }
9421
9490
  var ImpliedColon$0 = $S(__, Colon);
9422
- var ImpliedColon$1 = $TV($EXPECT($L18, fail, 'ImpliedColon ""'), function($skip, $loc, $0, $1) {
9491
+ var ImpliedColon$1 = $TV($EXPECT($L17, fail, 'ImpliedColon ""'), function($skip, $loc, $0, $1) {
9423
9492
  return { $loc, token: ":" };
9424
9493
  });
9425
9494
  function ImpliedColon(state) {
@@ -9673,7 +9742,7 @@ ${input.slice(result.pos)}
9673
9742
  return result;
9674
9743
  }
9675
9744
  }
9676
- var SuppressIndentedApplication$0 = $TV($EXPECT($L18, fail, 'SuppressIndentedApplication ""'), function($skip, $loc, $0, $1) {
9745
+ var SuppressIndentedApplication$0 = $TV($EXPECT($L17, fail, 'SuppressIndentedApplication ""'), function($skip, $loc, $0, $1) {
9677
9746
  module.suppressIndentedApplication = true;
9678
9747
  });
9679
9748
  function SuppressIndentedApplication(state) {
@@ -9698,7 +9767,7 @@ ${input.slice(result.pos)}
9698
9767
  return result;
9699
9768
  }
9700
9769
  }
9701
- var IndentedApplicationAllowed$0 = $TV($EXPECT($L18, fail, 'IndentedApplicationAllowed ""'), function($skip, $loc, $0, $1) {
9770
+ var IndentedApplicationAllowed$0 = $TV($EXPECT($L17, fail, 'IndentedApplicationAllowed ""'), function($skip, $loc, $0, $1) {
9702
9771
  if (module.suppressIndentedApplication)
9703
9772
  return $skip;
9704
9773
  return;
@@ -9725,7 +9794,7 @@ ${input.slice(result.pos)}
9725
9794
  return result;
9726
9795
  }
9727
9796
  }
9728
- var SuppressTrailingMemberProperty$0 = $TV($EXPECT($L18, fail, 'SuppressTrailingMemberProperty ""'), function($skip, $loc, $0, $1) {
9797
+ var SuppressTrailingMemberProperty$0 = $TV($EXPECT($L17, fail, 'SuppressTrailingMemberProperty ""'), function($skip, $loc, $0, $1) {
9729
9798
  module.suppressTrailingMemberProperty.push(true);
9730
9799
  });
9731
9800
  function SuppressTrailingMemberProperty(state) {
@@ -9750,7 +9819,7 @@ ${input.slice(result.pos)}
9750
9819
  return result;
9751
9820
  }
9752
9821
  }
9753
- var TrailingMemberPropertyAllowed$0 = $TV($EXPECT($L18, fail, 'TrailingMemberPropertyAllowed ""'), function($skip, $loc, $0, $1) {
9822
+ var TrailingMemberPropertyAllowed$0 = $TV($EXPECT($L17, fail, 'TrailingMemberPropertyAllowed ""'), function($skip, $loc, $0, $1) {
9754
9823
  if (module.trailingMemberPropertySuppressed)
9755
9824
  return $skip;
9756
9825
  });
@@ -9964,7 +10033,7 @@ ${input.slice(result.pos)}
9964
10033
  return result;
9965
10034
  }
9966
10035
  }
9967
- var ImpliedImport$0 = $TV($EXPECT($L18, fail, 'ImpliedImport ""'), function($skip, $loc, $0, $1) {
10036
+ var ImpliedImport$0 = $TV($EXPECT($L17, fail, 'ImpliedImport ""'), function($skip, $loc, $0, $1) {
9968
10037
  return { $loc, token: "import " };
9969
10038
  });
9970
10039
  function ImpliedImport(state) {
@@ -12408,7 +12477,7 @@ ${input.slice(result.pos)}
12408
12477
  return result;
12409
12478
  }
12410
12479
  }
12411
- var Loc$0 = $TV($EXPECT($L18, fail, 'Loc ""'), function($skip, $loc, $0, $1) {
12480
+ var Loc$0 = $TV($EXPECT($L17, fail, 'Loc ""'), function($skip, $loc, $0, $1) {
12412
12481
  return { $loc, token: "" };
12413
12482
  });
12414
12483
  function Loc(state) {
@@ -12783,7 +12852,7 @@ ${input.slice(result.pos)}
12783
12852
  return result;
12784
12853
  }
12785
12854
  }
12786
- var CloseParen$0 = $TV($EXPECT($L19, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
12855
+ var CloseParen$0 = $TV($EXPECT($L18, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
12787
12856
  return { $loc, token: $1 };
12788
12857
  });
12789
12858
  function CloseParen(state) {
@@ -12858,7 +12927,7 @@ ${input.slice(result.pos)}
12858
12927
  return result;
12859
12928
  }
12860
12929
  }
12861
- var Comma$0 = $TV($EXPECT($L105, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
12930
+ var Comma$0 = $TV($EXPECT($L19, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
12862
12931
  return { $loc, token: $1 };
12863
12932
  });
12864
12933
  function Comma(state) {
@@ -12908,7 +12977,7 @@ ${input.slice(result.pos)}
12908
12977
  return result;
12909
12978
  }
12910
12979
  }
12911
- var Declare$0 = $TS($S($EXPECT($L106, fail, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12980
+ var Declare$0 = $TS($S($EXPECT($L105, fail, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12912
12981
  return { $loc, token: $1 };
12913
12982
  });
12914
12983
  function Declare(state) {
@@ -12933,7 +13002,7 @@ ${input.slice(result.pos)}
12933
13002
  return result;
12934
13003
  }
12935
13004
  }
12936
- var Default$0 = $TS($S($EXPECT($L107, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13005
+ var Default$0 = $TS($S($EXPECT($L106, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12937
13006
  return { $loc, token: $1 };
12938
13007
  });
12939
13008
  function Default(state) {
@@ -12958,7 +13027,7 @@ ${input.slice(result.pos)}
12958
13027
  return result;
12959
13028
  }
12960
13029
  }
12961
- var Delete$0 = $TS($S($EXPECT($L108, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13030
+ var Delete$0 = $TS($S($EXPECT($L107, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12962
13031
  return { $loc, token: $1 };
12963
13032
  });
12964
13033
  function Delete(state) {
@@ -12983,7 +13052,7 @@ ${input.slice(result.pos)}
12983
13052
  return result;
12984
13053
  }
12985
13054
  }
12986
- var Do$0 = $TS($S($EXPECT($L109, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13055
+ var Do$0 = $TS($S($EXPECT($L108, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12987
13056
  return { $loc, token: $1 };
12988
13057
  });
12989
13058
  function Do(state) {
@@ -13033,7 +13102,7 @@ ${input.slice(result.pos)}
13033
13102
  return result;
13034
13103
  }
13035
13104
  }
13036
- var DotDot$0 = $TV($EXPECT($L110, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
13105
+ var DotDot$0 = $TV($EXPECT($L109, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
13037
13106
  return { $loc, token: $1 };
13038
13107
  });
13039
13108
  function DotDot(state) {
@@ -13058,7 +13127,7 @@ ${input.slice(result.pos)}
13058
13127
  return result;
13059
13128
  }
13060
13129
  }
13061
- var DotDotDot$0 = $TV($EXPECT($L111, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
13130
+ var DotDotDot$0 = $TV($EXPECT($L110, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
13062
13131
  return { $loc, token: $1 };
13063
13132
  });
13064
13133
  function DotDotDot(state) {
@@ -13083,7 +13152,7 @@ ${input.slice(result.pos)}
13083
13152
  return result;
13084
13153
  }
13085
13154
  }
13086
- var DoubleColon$0 = $TV($EXPECT($L112, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
13155
+ var DoubleColon$0 = $TV($EXPECT($L111, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
13087
13156
  return { $loc, token: $1 };
13088
13157
  });
13089
13158
  function DoubleColon(state) {
@@ -13108,7 +13177,7 @@ ${input.slice(result.pos)}
13108
13177
  return result;
13109
13178
  }
13110
13179
  }
13111
- var DoubleQuote$0 = $TV($EXPECT($L113, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
13180
+ var DoubleQuote$0 = $TV($EXPECT($L112, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
13112
13181
  return { $loc, token: $1 };
13113
13182
  });
13114
13183
  function DoubleQuote(state) {
@@ -13133,7 +13202,7 @@ ${input.slice(result.pos)}
13133
13202
  return result;
13134
13203
  }
13135
13204
  }
13136
- var Else$0 = $TS($S($EXPECT($L114, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13205
+ var Else$0 = $TS($S($EXPECT($L113, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13137
13206
  return { $loc, token: $1 };
13138
13207
  });
13139
13208
  function Else(state) {
@@ -13183,7 +13252,7 @@ ${input.slice(result.pos)}
13183
13252
  return result;
13184
13253
  }
13185
13254
  }
13186
- var Export$0 = $TS($S($EXPECT($L115, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13255
+ var Export$0 = $TS($S($EXPECT($L114, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13187
13256
  return { $loc, token: $1 };
13188
13257
  });
13189
13258
  function Export(state) {
@@ -13208,7 +13277,7 @@ ${input.slice(result.pos)}
13208
13277
  return result;
13209
13278
  }
13210
13279
  }
13211
- var Extends$0 = $TS($S($EXPECT($L116, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13280
+ var Extends$0 = $TS($S($EXPECT($L115, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13212
13281
  return { $loc, token: $1 };
13213
13282
  });
13214
13283
  function Extends(state) {
@@ -13233,7 +13302,7 @@ ${input.slice(result.pos)}
13233
13302
  return result;
13234
13303
  }
13235
13304
  }
13236
- var Finally$0 = $TS($S($EXPECT($L117, fail, 'Finally "finally"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13305
+ var Finally$0 = $TS($S($EXPECT($L116, fail, 'Finally "finally"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13237
13306
  return { $loc, token: $1 };
13238
13307
  });
13239
13308
  function Finally(state) {
@@ -13258,7 +13327,7 @@ ${input.slice(result.pos)}
13258
13327
  return result;
13259
13328
  }
13260
13329
  }
13261
- var For$0 = $TS($S($EXPECT($L118, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13330
+ var For$0 = $TS($S($EXPECT($L117, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13262
13331
  return { $loc, token: $1 };
13263
13332
  });
13264
13333
  function For(state) {
@@ -13283,7 +13352,7 @@ ${input.slice(result.pos)}
13283
13352
  return result;
13284
13353
  }
13285
13354
  }
13286
- var From$0 = $TS($S($EXPECT($L119, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13355
+ var From$0 = $TS($S($EXPECT($L118, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13287
13356
  return { $loc, token: $1 };
13288
13357
  });
13289
13358
  function From(state) {
@@ -13308,7 +13377,7 @@ ${input.slice(result.pos)}
13308
13377
  return result;
13309
13378
  }
13310
13379
  }
13311
- var Function$0 = $TS($S($EXPECT($L120, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13380
+ var Function$0 = $TS($S($EXPECT($L119, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13312
13381
  return { $loc, token: $1 };
13313
13382
  });
13314
13383
  function Function(state) {
@@ -13333,7 +13402,7 @@ ${input.slice(result.pos)}
13333
13402
  return result;
13334
13403
  }
13335
13404
  }
13336
- var GetOrSet$0 = $TS($S($C($EXPECT($L121, fail, 'GetOrSet "get"'), $EXPECT($L122, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13405
+ var GetOrSet$0 = $TS($S($C($EXPECT($L120, fail, 'GetOrSet "get"'), $EXPECT($L121, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13337
13406
  return { $loc, token: $1, type: "GetOrSet" };
13338
13407
  });
13339
13408
  function GetOrSet(state) {
@@ -13358,7 +13427,7 @@ ${input.slice(result.pos)}
13358
13427
  return result;
13359
13428
  }
13360
13429
  }
13361
- var If$0 = $TV($TEXT($S($EXPECT($L123, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L8, fail, 'If " "')))), function($skip, $loc, $0, $1) {
13430
+ var If$0 = $TV($TEXT($S($EXPECT($L122, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L8, fail, 'If " "')))), function($skip, $loc, $0, $1) {
13362
13431
  return { $loc, token: $1 };
13363
13432
  });
13364
13433
  function If(state) {
@@ -13433,7 +13502,7 @@ ${input.slice(result.pos)}
13433
13502
  return result;
13434
13503
  }
13435
13504
  }
13436
- var LetOrConst$0 = $TS($S($C($EXPECT($L124, fail, 'LetOrConst "let"'), $EXPECT($L125, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13505
+ var LetOrConst$0 = $TS($S($C($EXPECT($L123, fail, 'LetOrConst "let"'), $EXPECT($L124, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13437
13506
  return { $loc, token: $1 };
13438
13507
  });
13439
13508
  function LetOrConst(state) {
@@ -13458,7 +13527,7 @@ ${input.slice(result.pos)}
13458
13527
  return result;
13459
13528
  }
13460
13529
  }
13461
- var Loop$0 = $TS($S($EXPECT($L126, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13530
+ var Loop$0 = $TS($S($EXPECT($L125, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13462
13531
  return { $loc, token: "while(true)" };
13463
13532
  });
13464
13533
  function Loop(state) {
@@ -13483,7 +13552,7 @@ ${input.slice(result.pos)}
13483
13552
  return result;
13484
13553
  }
13485
13554
  }
13486
- var New$0 = $TS($S($EXPECT($L127, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13555
+ var New$0 = $TS($S($EXPECT($L126, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13487
13556
  return { $loc, token: $1 };
13488
13557
  });
13489
13558
  function New(state) {
@@ -13558,7 +13627,7 @@ ${input.slice(result.pos)}
13558
13627
  return result;
13559
13628
  }
13560
13629
  }
13561
- var OpenAngleBracket$0 = $TV($EXPECT($L128, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
13630
+ var OpenAngleBracket$0 = $TV($EXPECT($L127, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
13562
13631
  return { $loc, token: $1 };
13563
13632
  });
13564
13633
  function OpenAngleBracket(state) {
@@ -13583,7 +13652,7 @@ ${input.slice(result.pos)}
13583
13652
  return result;
13584
13653
  }
13585
13654
  }
13586
- var OpenBrace$0 = $TV($EXPECT($L129, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
13655
+ var OpenBrace$0 = $TV($EXPECT($L128, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
13587
13656
  return { $loc, token: $1 };
13588
13657
  });
13589
13658
  function OpenBrace(state) {
@@ -13658,7 +13727,7 @@ ${input.slice(result.pos)}
13658
13727
  return result;
13659
13728
  }
13660
13729
  }
13661
- var Operator$0 = $TS($S($EXPECT($L130, fail, 'Operator "operator"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13730
+ var Operator$0 = $TS($S($EXPECT($L129, fail, 'Operator "operator"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13662
13731
  return { $loc, token: $1 };
13663
13732
  });
13664
13733
  function Operator(state) {
@@ -13683,7 +13752,7 @@ ${input.slice(result.pos)}
13683
13752
  return result;
13684
13753
  }
13685
13754
  }
13686
- var Public$0 = $TS($S($EXPECT($L131, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13755
+ var Public$0 = $TS($S($EXPECT($L130, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13687
13756
  return { $loc, token: $1 };
13688
13757
  });
13689
13758
  function Public(state) {
@@ -13708,7 +13777,7 @@ ${input.slice(result.pos)}
13708
13777
  return result;
13709
13778
  }
13710
13779
  }
13711
- var Private$0 = $TS($S($EXPECT($L132, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13780
+ var Private$0 = $TS($S($EXPECT($L131, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13712
13781
  return { $loc, token: $1 };
13713
13782
  });
13714
13783
  function Private(state) {
@@ -13733,7 +13802,7 @@ ${input.slice(result.pos)}
13733
13802
  return result;
13734
13803
  }
13735
13804
  }
13736
- var Protected$0 = $TS($S($EXPECT($L133, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13805
+ var Protected$0 = $TS($S($EXPECT($L132, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13737
13806
  return { $loc, token: $1 };
13738
13807
  });
13739
13808
  function Protected(state) {
@@ -13758,7 +13827,7 @@ ${input.slice(result.pos)}
13758
13827
  return result;
13759
13828
  }
13760
13829
  }
13761
- var Pipe$0 = $TV($EXPECT($L134, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
13830
+ var Pipe$0 = $TV($EXPECT($L133, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
13762
13831
  return { $loc, token: $1 };
13763
13832
  });
13764
13833
  function Pipe(state) {
@@ -13808,7 +13877,7 @@ ${input.slice(result.pos)}
13808
13877
  return result;
13809
13878
  }
13810
13879
  }
13811
- var Readonly$0 = $TS($S($EXPECT($L135, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13880
+ var Readonly$0 = $TS($S($EXPECT($L134, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13812
13881
  return { $loc, token: $1, ts: true };
13813
13882
  });
13814
13883
  function Readonly(state) {
@@ -13833,7 +13902,7 @@ ${input.slice(result.pos)}
13833
13902
  return result;
13834
13903
  }
13835
13904
  }
13836
- var Return$0 = $TS($S($EXPECT($L136, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13905
+ var Return$0 = $TS($S($EXPECT($L135, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13837
13906
  return { $loc, token: $1 };
13838
13907
  });
13839
13908
  function Return(state) {
@@ -13858,7 +13927,7 @@ ${input.slice(result.pos)}
13858
13927
  return result;
13859
13928
  }
13860
13929
  }
13861
- var Satisfies$0 = $TS($S($EXPECT($L137, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13930
+ var Satisfies$0 = $TS($S($EXPECT($L136, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13862
13931
  return { $loc, token: $1 };
13863
13932
  });
13864
13933
  function Satisfies(state) {
@@ -13908,7 +13977,7 @@ ${input.slice(result.pos)}
13908
13977
  return result;
13909
13978
  }
13910
13979
  }
13911
- var SingleQuote$0 = $TV($EXPECT($L138, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
13980
+ var SingleQuote$0 = $TV($EXPECT($L137, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
13912
13981
  return { $loc, token: $1 };
13913
13982
  });
13914
13983
  function SingleQuote(state) {
@@ -13958,7 +14027,7 @@ ${input.slice(result.pos)}
13958
14027
  return result;
13959
14028
  }
13960
14029
  }
13961
- var Static$0 = $TS($S($EXPECT($L139, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14030
+ var Static$0 = $TS($S($EXPECT($L138, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13962
14031
  return { $loc, token: $1 };
13963
14032
  });
13964
14033
  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) {
@@ -13986,7 +14055,7 @@ ${input.slice(result.pos)}
13986
14055
  return result;
13987
14056
  }
13988
14057
  }
13989
- var SubstitutionStart$0 = $TV($EXPECT($L140, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
14058
+ var SubstitutionStart$0 = $TV($EXPECT($L139, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
13990
14059
  return { $loc, token: $1 };
13991
14060
  });
13992
14061
  function SubstitutionStart(state) {
@@ -14011,7 +14080,7 @@ ${input.slice(result.pos)}
14011
14080
  return result;
14012
14081
  }
14013
14082
  }
14014
- var Switch$0 = $TS($S($EXPECT($L141, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14083
+ var Switch$0 = $TS($S($EXPECT($L140, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14015
14084
  return { $loc, token: $1 };
14016
14085
  });
14017
14086
  function Switch(state) {
@@ -14036,7 +14105,7 @@ ${input.slice(result.pos)}
14036
14105
  return result;
14037
14106
  }
14038
14107
  }
14039
- var Target$0 = $TS($S($EXPECT($L142, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14108
+ var Target$0 = $TS($S($EXPECT($L141, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14040
14109
  return { $loc, token: $1 };
14041
14110
  });
14042
14111
  function Target(state) {
@@ -14061,7 +14130,7 @@ ${input.slice(result.pos)}
14061
14130
  return result;
14062
14131
  }
14063
14132
  }
14064
- var Then$0 = $TS($S(__, $EXPECT($L143, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
14133
+ var Then$0 = $TS($S(__, $EXPECT($L142, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
14065
14134
  return { $loc, token: "" };
14066
14135
  });
14067
14136
  function Then(state) {
@@ -14086,7 +14155,7 @@ ${input.slice(result.pos)}
14086
14155
  return result;
14087
14156
  }
14088
14157
  }
14089
- var This$0 = $TS($S($EXPECT($L144, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14158
+ var This$0 = $TS($S($EXPECT($L143, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14090
14159
  return { $loc, token: $1 };
14091
14160
  });
14092
14161
  function This(state) {
@@ -14111,7 +14180,7 @@ ${input.slice(result.pos)}
14111
14180
  return result;
14112
14181
  }
14113
14182
  }
14114
- var Throw$0 = $TS($S($EXPECT($L145, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14183
+ var Throw$0 = $TS($S($EXPECT($L144, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14115
14184
  return { $loc, token: $1 };
14116
14185
  });
14117
14186
  function Throw(state) {
@@ -14136,7 +14205,7 @@ ${input.slice(result.pos)}
14136
14205
  return result;
14137
14206
  }
14138
14207
  }
14139
- var TripleDoubleQuote$0 = $TV($EXPECT($L146, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
14208
+ var TripleDoubleQuote$0 = $TV($EXPECT($L145, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
14140
14209
  return { $loc, token: "`" };
14141
14210
  });
14142
14211
  function TripleDoubleQuote(state) {
@@ -14161,7 +14230,7 @@ ${input.slice(result.pos)}
14161
14230
  return result;
14162
14231
  }
14163
14232
  }
14164
- var TripleSingleQuote$0 = $TV($EXPECT($L147, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
14233
+ var TripleSingleQuote$0 = $TV($EXPECT($L146, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
14165
14234
  return { $loc, token: "`" };
14166
14235
  });
14167
14236
  function TripleSingleQuote(state) {
@@ -14186,7 +14255,7 @@ ${input.slice(result.pos)}
14186
14255
  return result;
14187
14256
  }
14188
14257
  }
14189
- var TripleSlash$0 = $TV($EXPECT($L148, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
14258
+ var TripleSlash$0 = $TV($EXPECT($L147, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
14190
14259
  return { $loc, token: "/" };
14191
14260
  });
14192
14261
  function TripleSlash(state) {
@@ -14211,7 +14280,7 @@ ${input.slice(result.pos)}
14211
14280
  return result;
14212
14281
  }
14213
14282
  }
14214
- var TripleTick$0 = $TV($EXPECT($L149, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
14283
+ var TripleTick$0 = $TV($EXPECT($L148, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
14215
14284
  return { $loc, token: "`" };
14216
14285
  });
14217
14286
  function TripleTick(state) {
@@ -14236,7 +14305,7 @@ ${input.slice(result.pos)}
14236
14305
  return result;
14237
14306
  }
14238
14307
  }
14239
- var Try$0 = $TS($S($EXPECT($L150, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14308
+ var Try$0 = $TS($S($EXPECT($L149, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14240
14309
  return { $loc, token: $1 };
14241
14310
  });
14242
14311
  function Try(state) {
@@ -14261,7 +14330,7 @@ ${input.slice(result.pos)}
14261
14330
  return result;
14262
14331
  }
14263
14332
  }
14264
- var Typeof$0 = $TS($S($EXPECT($L151, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14333
+ var Typeof$0 = $TS($S($EXPECT($L150, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14265
14334
  return { $loc, token: $1 };
14266
14335
  });
14267
14336
  function Typeof(state) {
@@ -14286,7 +14355,7 @@ ${input.slice(result.pos)}
14286
14355
  return result;
14287
14356
  }
14288
14357
  }
14289
- var Unless$0 = $TS($S($EXPECT($L152, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14358
+ var Unless$0 = $TS($S($EXPECT($L151, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14290
14359
  return { $loc, token: $1 };
14291
14360
  });
14292
14361
  function Unless(state) {
@@ -14311,7 +14380,7 @@ ${input.slice(result.pos)}
14311
14380
  return result;
14312
14381
  }
14313
14382
  }
14314
- var Until$0 = $TS($S($EXPECT($L153, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14383
+ var Until$0 = $TS($S($EXPECT($L152, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14315
14384
  return { $loc, token: $1 };
14316
14385
  });
14317
14386
  function Until(state) {
@@ -14336,7 +14405,7 @@ ${input.slice(result.pos)}
14336
14405
  return result;
14337
14406
  }
14338
14407
  }
14339
- var Var$0 = $TS($S($EXPECT($L154, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14408
+ var Var$0 = $TS($S($EXPECT($L153, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14340
14409
  return { $loc, token: $1 };
14341
14410
  });
14342
14411
  function Var(state) {
@@ -14361,7 +14430,7 @@ ${input.slice(result.pos)}
14361
14430
  return result;
14362
14431
  }
14363
14432
  }
14364
- var Void$0 = $TS($S($EXPECT($L155, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14433
+ var Void$0 = $TS($S($EXPECT($L154, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14365
14434
  return { $loc, token: $1 };
14366
14435
  });
14367
14436
  function Void(state) {
@@ -14386,7 +14455,7 @@ ${input.slice(result.pos)}
14386
14455
  return result;
14387
14456
  }
14388
14457
  }
14389
- var When$0 = $TS($S($EXPECT($L156, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14458
+ var When$0 = $TS($S($EXPECT($L155, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14390
14459
  return { $loc, token: "case" };
14391
14460
  });
14392
14461
  function When(state) {
@@ -14411,7 +14480,7 @@ ${input.slice(result.pos)}
14411
14480
  return result;
14412
14481
  }
14413
14482
  }
14414
- var While$0 = $TS($S($EXPECT($L157, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14483
+ var While$0 = $TS($S($EXPECT($L156, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14415
14484
  return { $loc, token: $1 };
14416
14485
  });
14417
14486
  function While(state) {
@@ -14436,7 +14505,7 @@ ${input.slice(result.pos)}
14436
14505
  return result;
14437
14506
  }
14438
14507
  }
14439
- var Yield$0 = $TS($S($EXPECT($L158, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14508
+ var Yield$0 = $TS($S($EXPECT($L157, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14440
14509
  return { $loc, token: $1 };
14441
14510
  });
14442
14511
  function Yield(state) {
@@ -14582,7 +14651,7 @@ ${input.slice(result.pos)}
14582
14651
  return result;
14583
14652
  }
14584
14653
  }
14585
- 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) {
14654
+ 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) {
14586
14655
  return { type: "JSXElement", children: $0, tag: $2 };
14587
14656
  });
14588
14657
  function JSXSelfClosingElement(state) {
@@ -14633,7 +14702,7 @@ ${input.slice(result.pos)}
14633
14702
  return result;
14634
14703
  }
14635
14704
  }
14636
- var JSXOpeningElement$0 = $S($EXPECT($L128, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L29, fail, 'JSXOpeningElement ">"'));
14705
+ var JSXOpeningElement$0 = $S($EXPECT($L127, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L29, fail, 'JSXOpeningElement ">"'));
14637
14706
  function JSXOpeningElement(state) {
14638
14707
  let eventData;
14639
14708
  if (state.events) {
@@ -14662,7 +14731,7 @@ ${input.slice(result.pos)}
14662
14731
  return $skip;
14663
14732
  return $0;
14664
14733
  });
14665
- var JSXOptionalClosingElement$1 = $EXPECT($L18, fail, 'JSXOptionalClosingElement ""');
14734
+ var JSXOptionalClosingElement$1 = $EXPECT($L17, fail, 'JSXOptionalClosingElement ""');
14666
14735
  function JSXOptionalClosingElement(state) {
14667
14736
  let eventData;
14668
14737
  if (state.events) {
@@ -14685,7 +14754,7 @@ ${input.slice(result.pos)}
14685
14754
  return result;
14686
14755
  }
14687
14756
  }
14688
- var JSXClosingElement$0 = $S($EXPECT($L160, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L29, fail, 'JSXClosingElement ">"'));
14757
+ var JSXClosingElement$0 = $S($EXPECT($L159, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L29, fail, 'JSXClosingElement ">"'));
14689
14758
  function JSXClosingElement(state) {
14690
14759
  let eventData;
14691
14760
  if (state.events) {
@@ -14724,7 +14793,7 @@ ${input.slice(result.pos)}
14724
14793
  ];
14725
14794
  return { type: "JSXFragment", children: parts, jsxChildren: children.jsxChildren };
14726
14795
  });
14727
- var JSXFragment$1 = $TS($S(CoffeeJSXEnabled, $EXPECT($L161, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), JSXClosingFragment), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
14796
+ var JSXFragment$1 = $TS($S(CoffeeJSXEnabled, $EXPECT($L160, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), JSXClosingFragment), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
14728
14797
  var children = $3;
14729
14798
  $0 = $0.slice(1);
14730
14799
  return {
@@ -14755,7 +14824,7 @@ ${input.slice(result.pos)}
14755
14824
  return result;
14756
14825
  }
14757
14826
  }
14758
- var PushJSXOpeningFragment$0 = $TV($EXPECT($L161, fail, 'PushJSXOpeningFragment "<>"'), function($skip, $loc, $0, $1) {
14827
+ var PushJSXOpeningFragment$0 = $TV($EXPECT($L160, fail, 'PushJSXOpeningFragment "<>"'), function($skip, $loc, $0, $1) {
14759
14828
  module.JSXTagStack.push("");
14760
14829
  return $1;
14761
14830
  });
@@ -14786,7 +14855,7 @@ ${input.slice(result.pos)}
14786
14855
  return $skip;
14787
14856
  return $0;
14788
14857
  });
14789
- var JSXOptionalClosingFragment$1 = $EXPECT($L18, fail, 'JSXOptionalClosingFragment ""');
14858
+ var JSXOptionalClosingFragment$1 = $EXPECT($L17, fail, 'JSXOptionalClosingFragment ""');
14790
14859
  function JSXOptionalClosingFragment(state) {
14791
14860
  let eventData;
14792
14861
  if (state.events) {
@@ -14809,7 +14878,7 @@ ${input.slice(result.pos)}
14809
14878
  return result;
14810
14879
  }
14811
14880
  }
14812
- var JSXClosingFragment$0 = $EXPECT($L162, fail, 'JSXClosingFragment "</>"');
14881
+ var JSXClosingFragment$0 = $EXPECT($L161, fail, 'JSXClosingFragment "</>"');
14813
14882
  function JSXClosingFragment(state) {
14814
14883
  let eventData;
14815
14884
  if (state.events) {
@@ -15705,7 +15774,7 @@ ${input.slice(result.pos)}
15705
15774
  return result;
15706
15775
  }
15707
15776
  }
15708
- var JSXComment$0 = $TS($S($EXPECT($L163, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L164, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
15777
+ var JSXComment$0 = $TS($S($EXPECT($L162, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L163, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
15709
15778
  return ["{/*", $2, "*/}"];
15710
15779
  });
15711
15780
  function JSXComment(state) {
@@ -16003,7 +16072,7 @@ ${input.slice(result.pos)}
16003
16072
  return result;
16004
16073
  }
16005
16074
  }
16006
- var TypeKeyword$0 = $S($EXPECT($L165, fail, 'TypeKeyword "type"'), NonIdContinue);
16075
+ var TypeKeyword$0 = $S($EXPECT($L164, fail, 'TypeKeyword "type"'), NonIdContinue);
16007
16076
  function TypeKeyword(state) {
16008
16077
  let eventData;
16009
16078
  if (state.events) {
@@ -16026,7 +16095,7 @@ ${input.slice(result.pos)}
16026
16095
  return result;
16027
16096
  }
16028
16097
  }
16029
- var Interface$0 = $S($EXPECT($L166, fail, 'Interface "interface"'), NonIdContinue);
16098
+ var Interface$0 = $S($EXPECT($L165, fail, 'Interface "interface"'), NonIdContinue);
16030
16099
  function Interface(state) {
16031
16100
  let eventData;
16032
16101
  if (state.events) {
@@ -16049,7 +16118,7 @@ ${input.slice(result.pos)}
16049
16118
  return result;
16050
16119
  }
16051
16120
  }
16052
- var Namespace$0 = $S($EXPECT($L167, fail, 'Namespace "namespace"'), NonIdContinue);
16121
+ var Namespace$0 = $S($EXPECT($L166, fail, 'Namespace "namespace"'), NonIdContinue);
16053
16122
  function Namespace(state) {
16054
16123
  let eventData;
16055
16124
  if (state.events) {
@@ -16297,7 +16366,7 @@ ${input.slice(result.pos)}
16297
16366
  return result;
16298
16367
  }
16299
16368
  }
16300
- 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)));
16369
+ 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)));
16301
16370
  function TypeIndexSignature(state) {
16302
16371
  let eventData;
16303
16372
  if (state.events) {
@@ -16369,7 +16438,7 @@ ${input.slice(result.pos)}
16369
16438
  return result;
16370
16439
  }
16371
16440
  }
16372
- var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L168, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
16441
+ var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L167, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
16373
16442
  const children = [...$1, $2];
16374
16443
  if ($3)
16375
16444
  children.push($3);
@@ -16528,10 +16597,10 @@ ${input.slice(result.pos)}
16528
16597
  return result;
16529
16598
  }
16530
16599
  }
16531
- var TypeUnaryOp$0 = $S($EXPECT($L169, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
16532
- var TypeUnaryOp$1 = $S($EXPECT($L151, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
16533
- var TypeUnaryOp$2 = $S($EXPECT($L170, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
16534
- var TypeUnaryOp$3 = $S($EXPECT($L135, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
16600
+ var TypeUnaryOp$0 = $S($EXPECT($L168, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
16601
+ var TypeUnaryOp$1 = $S($EXPECT($L150, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
16602
+ var TypeUnaryOp$2 = $S($EXPECT($L169, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
16603
+ var TypeUnaryOp$3 = $S($EXPECT($L134, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
16535
16604
  function TypeUnaryOp(state) {
16536
16605
  let eventData;
16537
16606
  if (state.events) {
@@ -16729,7 +16798,7 @@ ${input.slice(result.pos)}
16729
16798
  return result;
16730
16799
  }
16731
16800
  }
16732
- 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) {
16801
+ 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) {
16733
16802
  if ($2)
16734
16803
  return $0;
16735
16804
  return $1;
@@ -16758,10 +16827,10 @@ ${input.slice(result.pos)}
16758
16827
  }
16759
16828
  var TypeLiteral$0 = TemplateLiteral;
16760
16829
  var TypeLiteral$1 = Literal;
16761
- var TypeLiteral$2 = $TS($S($EXPECT($L155, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16830
+ var TypeLiteral$2 = $TS($S($EXPECT($L154, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16762
16831
  return { $loc, token: "void" };
16763
16832
  });
16764
- var TypeLiteral$3 = $TV($EXPECT($L171, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
16833
+ var TypeLiteral$3 = $TV($EXPECT($L170, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
16765
16834
  return { $loc, token: "[]" };
16766
16835
  });
16767
16836
  function TypeLiteral(state) {
@@ -16836,7 +16905,7 @@ ${input.slice(result.pos)}
16836
16905
  var InlineInterfacePropertyDelimiter$1 = $T($S($Y($S($C(IndentedFurther, $E(_)), InlineBasicInterfaceProperty)), InsertComma), function(value) {
16837
16906
  return value[1];
16838
16907
  });
16839
- var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($L31, fail, 'InlineInterfacePropertyDelimiter ":"'), $EXPECT($L19, fail, 'InlineInterfacePropertyDelimiter ")"'), $EXPECT($L30, fail, 'InlineInterfacePropertyDelimiter "]"'), $EXPECT($L21, fail, 'InlineInterfacePropertyDelimiter "}"'))));
16908
+ var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($L31, fail, 'InlineInterfacePropertyDelimiter ":"'), $EXPECT($L18, fail, 'InlineInterfacePropertyDelimiter ")"'), $EXPECT($L30, fail, 'InlineInterfacePropertyDelimiter "]"'), $EXPECT($L21, fail, 'InlineInterfacePropertyDelimiter "}"'))));
16840
16909
  var InlineInterfacePropertyDelimiter$3 = $Y(EOS);
16841
16910
  function InlineInterfacePropertyDelimiter(state) {
16842
16911
  let eventData;
@@ -16945,7 +17014,7 @@ ${input.slice(result.pos)}
16945
17014
  return result;
16946
17015
  }
16947
17016
  }
16948
- var TypeArguments$0 = $TS($S($EXPECT($L128, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L29, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
17017
+ var TypeArguments$0 = $TS($S($EXPECT($L127, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L29, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
16949
17018
  return { ts: true, children: $0 };
16950
17019
  });
16951
17020
  function TypeArguments(state) {
@@ -17016,7 +17085,7 @@ ${input.slice(result.pos)}
17016
17085
  return result;
17017
17086
  }
17018
17087
  }
17019
- var TypeParameters$0 = $TS($S(__, $EXPECT($L128, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L29, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
17088
+ var TypeParameters$0 = $TS($S(__, $EXPECT($L127, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L29, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
17020
17089
  var parameters = $3;
17021
17090
  return {
17022
17091
  type: "TypeParameters",
@@ -17070,7 +17139,7 @@ ${input.slice(result.pos)}
17070
17139
  return result;
17071
17140
  }
17072
17141
  }
17073
- var TypeConstraint$0 = $S(__, $EXPECT($L116, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
17142
+ var TypeConstraint$0 = $S(__, $EXPECT($L115, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
17074
17143
  function TypeConstraint(state) {
17075
17144
  let eventData;
17076
17145
  if (state.events) {
@@ -17221,7 +17290,7 @@ ${input.slice(result.pos)}
17221
17290
  return result;
17222
17291
  }
17223
17292
  }
17224
- 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) {
17293
+ 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) {
17225
17294
  var options = $3;
17226
17295
  return {
17227
17296
  type: "CivetPrologue",
@@ -17382,7 +17451,7 @@ ${input.slice(result.pos)}
17382
17451
  return result;
17383
17452
  }
17384
17453
  }
17385
- var Debugger$0 = $TV($EXPECT($L18, fail, 'Debugger ""'), function($skip, $loc, $0, $1) {
17454
+ var Debugger$0 = $TV($EXPECT($L17, fail, 'Debugger ""'), function($skip, $loc, $0, $1) {
17386
17455
  debugger;
17387
17456
  });
17388
17457
  function Debugger(state) {
@@ -17407,7 +17476,7 @@ ${input.slice(result.pos)}
17407
17476
  return result;
17408
17477
  }
17409
17478
  }
17410
- var InsertSemicolon$0 = $TV($EXPECT($L18, fail, 'InsertSemicolon ""'), function($skip, $loc, $0, $1) {
17479
+ var InsertSemicolon$0 = $TV($EXPECT($L17, fail, 'InsertSemicolon ""'), function($skip, $loc, $0, $1) {
17411
17480
  return { $loc, token: ";" };
17412
17481
  });
17413
17482
  function InsertSemicolon(state) {
@@ -17432,7 +17501,7 @@ ${input.slice(result.pos)}
17432
17501
  return result;
17433
17502
  }
17434
17503
  }
17435
- var InsertOpenParen$0 = $TV($EXPECT($L18, fail, 'InsertOpenParen ""'), function($skip, $loc, $0, $1) {
17504
+ var InsertOpenParen$0 = $TV($EXPECT($L17, fail, 'InsertOpenParen ""'), function($skip, $loc, $0, $1) {
17436
17505
  return { $loc, token: "(" };
17437
17506
  });
17438
17507
  function InsertOpenParen(state) {
@@ -17457,7 +17526,7 @@ ${input.slice(result.pos)}
17457
17526
  return result;
17458
17527
  }
17459
17528
  }
17460
- var InsertCloseParen$0 = $TV($EXPECT($L18, fail, 'InsertCloseParen ""'), function($skip, $loc, $0, $1) {
17529
+ var InsertCloseParen$0 = $TV($EXPECT($L17, fail, 'InsertCloseParen ""'), function($skip, $loc, $0, $1) {
17461
17530
  return { $loc, token: ")" };
17462
17531
  });
17463
17532
  function InsertCloseParen(state) {
@@ -17482,7 +17551,7 @@ ${input.slice(result.pos)}
17482
17551
  return result;
17483
17552
  }
17484
17553
  }
17485
- var InsertOpenBrace$0 = $TV($EXPECT($L18, fail, 'InsertOpenBrace ""'), function($skip, $loc, $0, $1) {
17554
+ var InsertOpenBrace$0 = $TV($EXPECT($L17, fail, 'InsertOpenBrace ""'), function($skip, $loc, $0, $1) {
17486
17555
  return [{ $loc, token: " " }, { $loc, token: "{" }];
17487
17556
  });
17488
17557
  function InsertOpenBrace(state) {
@@ -17507,7 +17576,7 @@ ${input.slice(result.pos)}
17507
17576
  return result;
17508
17577
  }
17509
17578
  }
17510
- var InsertInlineOpenBrace$0 = $TV($EXPECT($L18, fail, 'InsertInlineOpenBrace ""'), function($skip, $loc, $0, $1) {
17579
+ var InsertInlineOpenBrace$0 = $TV($EXPECT($L17, fail, 'InsertInlineOpenBrace ""'), function($skip, $loc, $0, $1) {
17511
17580
  return { $loc, token: "{" };
17512
17581
  });
17513
17582
  function InsertInlineOpenBrace(state) {
@@ -17532,7 +17601,7 @@ ${input.slice(result.pos)}
17532
17601
  return result;
17533
17602
  }
17534
17603
  }
17535
- var InsertCloseBrace$0 = $TV($EXPECT($L18, fail, 'InsertCloseBrace ""'), function($skip, $loc, $0, $1) {
17604
+ var InsertCloseBrace$0 = $TV($EXPECT($L17, fail, 'InsertCloseBrace ""'), function($skip, $loc, $0, $1) {
17536
17605
  return { $loc, token: "}" };
17537
17606
  });
17538
17607
  function InsertCloseBrace(state) {
@@ -17557,7 +17626,7 @@ ${input.slice(result.pos)}
17557
17626
  return result;
17558
17627
  }
17559
17628
  }
17560
- var InsertOpenBracket$0 = $TV($EXPECT($L18, fail, 'InsertOpenBracket ""'), function($skip, $loc, $0, $1) {
17629
+ var InsertOpenBracket$0 = $TV($EXPECT($L17, fail, 'InsertOpenBracket ""'), function($skip, $loc, $0, $1) {
17561
17630
  return { $loc, token: "[" };
17562
17631
  });
17563
17632
  function InsertOpenBracket(state) {
@@ -17582,7 +17651,7 @@ ${input.slice(result.pos)}
17582
17651
  return result;
17583
17652
  }
17584
17653
  }
17585
- var InsertCloseBracket$0 = $TV($EXPECT($L18, fail, 'InsertCloseBracket ""'), function($skip, $loc, $0, $1) {
17654
+ var InsertCloseBracket$0 = $TV($EXPECT($L17, fail, 'InsertCloseBracket ""'), function($skip, $loc, $0, $1) {
17586
17655
  return { $loc, token: "]" };
17587
17656
  });
17588
17657
  function InsertCloseBracket(state) {
@@ -17607,7 +17676,7 @@ ${input.slice(result.pos)}
17607
17676
  return result;
17608
17677
  }
17609
17678
  }
17610
- var InsertComma$0 = $TV($EXPECT($L18, fail, 'InsertComma ""'), function($skip, $loc, $0, $1) {
17679
+ var InsertComma$0 = $TV($EXPECT($L17, fail, 'InsertComma ""'), function($skip, $loc, $0, $1) {
17611
17680
  return { $loc, token: "," };
17612
17681
  });
17613
17682
  function InsertComma(state) {
@@ -17632,7 +17701,7 @@ ${input.slice(result.pos)}
17632
17701
  return result;
17633
17702
  }
17634
17703
  }
17635
- var InsertConst$0 = $TV($EXPECT($L18, fail, 'InsertConst ""'), function($skip, $loc, $0, $1) {
17704
+ var InsertConst$0 = $TV($EXPECT($L17, fail, 'InsertConst ""'), function($skip, $loc, $0, $1) {
17636
17705
  return { $loc, token: "const " };
17637
17706
  });
17638
17707
  function InsertConst(state) {
@@ -17657,7 +17726,7 @@ ${input.slice(result.pos)}
17657
17726
  return result;
17658
17727
  }
17659
17728
  }
17660
- var InsertLet$0 = $TV($EXPECT($L18, fail, 'InsertLet ""'), function($skip, $loc, $0, $1) {
17729
+ var InsertLet$0 = $TV($EXPECT($L17, fail, 'InsertLet ""'), function($skip, $loc, $0, $1) {
17661
17730
  return { $loc, token: "let " };
17662
17731
  });
17663
17732
  function InsertLet(state) {
@@ -17682,7 +17751,7 @@ ${input.slice(result.pos)}
17682
17751
  return result;
17683
17752
  }
17684
17753
  }
17685
- var InsertReadonly$0 = $TV($EXPECT($L18, fail, 'InsertReadonly ""'), function($skip, $loc, $0, $1) {
17754
+ var InsertReadonly$0 = $TV($EXPECT($L17, fail, 'InsertReadonly ""'), function($skip, $loc, $0, $1) {
17686
17755
  return { ts: true, children: [{ $loc, token: "readonly " }] };
17687
17756
  });
17688
17757
  function InsertReadonly(state) {
@@ -17707,7 +17776,7 @@ ${input.slice(result.pos)}
17707
17776
  return result;
17708
17777
  }
17709
17778
  }
17710
- var InsertNewline$0 = $TV($EXPECT($L18, fail, 'InsertNewline ""'), function($skip, $loc, $0, $1) {
17779
+ var InsertNewline$0 = $TV($EXPECT($L17, fail, 'InsertNewline ""'), function($skip, $loc, $0, $1) {
17711
17780
  return "\n";
17712
17781
  });
17713
17782
  function InsertNewline(state) {
@@ -17732,7 +17801,7 @@ ${input.slice(result.pos)}
17732
17801
  return result;
17733
17802
  }
17734
17803
  }
17735
- var InsertIndent$0 = $TV($EXPECT($L18, fail, 'InsertIndent ""'), function($skip, $loc, $0, $1) {
17804
+ var InsertIndent$0 = $TV($EXPECT($L17, fail, 'InsertIndent ""'), function($skip, $loc, $0, $1) {
17736
17805
  return module.currentIndent.token;
17737
17806
  });
17738
17807
  function InsertIndent(state) {
@@ -17757,7 +17826,7 @@ ${input.slice(result.pos)}
17757
17826
  return result;
17758
17827
  }
17759
17828
  }
17760
- var InsertSpace$0 = $TV($EXPECT($L18, fail, 'InsertSpace ""'), function($skip, $loc, $0, $1) {
17829
+ var InsertSpace$0 = $TV($EXPECT($L17, fail, 'InsertSpace ""'), function($skip, $loc, $0, $1) {
17761
17830
  return { $loc, token: " " };
17762
17831
  });
17763
17832
  function InsertSpace(state) {
@@ -17782,7 +17851,7 @@ ${input.slice(result.pos)}
17782
17851
  return result;
17783
17852
  }
17784
17853
  }
17785
- var InsertDot$0 = $TV($EXPECT($L18, fail, 'InsertDot ""'), function($skip, $loc, $0, $1) {
17854
+ var InsertDot$0 = $TV($EXPECT($L17, fail, 'InsertDot ""'), function($skip, $loc, $0, $1) {
17786
17855
  return { $loc, token: "." };
17787
17856
  });
17788
17857
  function InsertDot(state) {
@@ -17807,7 +17876,7 @@ ${input.slice(result.pos)}
17807
17876
  return result;
17808
17877
  }
17809
17878
  }
17810
- var InsertBreak$0 = $TV($EXPECT($L18, fail, 'InsertBreak ""'), function($skip, $loc, $0, $1) {
17879
+ var InsertBreak$0 = $TV($EXPECT($L17, fail, 'InsertBreak ""'), function($skip, $loc, $0, $1) {
17811
17880
  return { $loc, token: ";break;" };
17812
17881
  });
17813
17882
  function InsertBreak(state) {
@@ -17832,7 +17901,7 @@ ${input.slice(result.pos)}
17832
17901
  return result;
17833
17902
  }
17834
17903
  }
17835
- var InsertVar$0 = $TV($EXPECT($L18, fail, 'InsertVar ""'), function($skip, $loc, $0, $1) {
17904
+ var InsertVar$0 = $TV($EXPECT($L17, fail, 'InsertVar ""'), function($skip, $loc, $0, $1) {
17836
17905
  return { $loc, token: "var " };
17837
17906
  });
17838
17907
  function InsertVar(state) {
@@ -17857,7 +17926,7 @@ ${input.slice(result.pos)}
17857
17926
  return result;
17858
17927
  }
17859
17928
  }
17860
- var CoffeeBinaryExistentialEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeBinaryExistentialEnabled ""'), function($skip, $loc, $0, $1) {
17929
+ var CoffeeBinaryExistentialEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeBinaryExistentialEnabled ""'), function($skip, $loc, $0, $1) {
17861
17930
  if (module.config.coffeeBinaryExistential)
17862
17931
  return;
17863
17932
  return $skip;
@@ -17884,7 +17953,7 @@ ${input.slice(result.pos)}
17884
17953
  return result;
17885
17954
  }
17886
17955
  }
17887
- var CoffeeBooleansEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeBooleansEnabled ""'), function($skip, $loc, $0, $1) {
17956
+ var CoffeeBooleansEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeBooleansEnabled ""'), function($skip, $loc, $0, $1) {
17888
17957
  if (module.config.coffeeBooleans)
17889
17958
  return;
17890
17959
  return $skip;
@@ -17911,7 +17980,7 @@ ${input.slice(result.pos)}
17911
17980
  return result;
17912
17981
  }
17913
17982
  }
17914
- var CoffeeClassesEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeClassesEnabled ""'), function($skip, $loc, $0, $1) {
17983
+ var CoffeeClassesEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeClassesEnabled ""'), function($skip, $loc, $0, $1) {
17915
17984
  if (module.config.coffeeClasses)
17916
17985
  return;
17917
17986
  return $skip;
@@ -17938,7 +18007,7 @@ ${input.slice(result.pos)}
17938
18007
  return result;
17939
18008
  }
17940
18009
  }
17941
- var CoffeeCommentEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeCommentEnabled ""'), function($skip, $loc, $0, $1) {
18010
+ var CoffeeCommentEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeCommentEnabled ""'), function($skip, $loc, $0, $1) {
17942
18011
  if (module.config.coffeeComment)
17943
18012
  return;
17944
18013
  return $skip;
@@ -17965,7 +18034,7 @@ ${input.slice(result.pos)}
17965
18034
  return result;
17966
18035
  }
17967
18036
  }
17968
- var CoffeeDoEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeDoEnabled ""'), function($skip, $loc, $0, $1) {
18037
+ var CoffeeDoEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeDoEnabled ""'), function($skip, $loc, $0, $1) {
17969
18038
  if (module.config.coffeeDo)
17970
18039
  return;
17971
18040
  return $skip;
@@ -17992,7 +18061,7 @@ ${input.slice(result.pos)}
17992
18061
  return result;
17993
18062
  }
17994
18063
  }
17995
- var CoffeeForLoopsEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeForLoopsEnabled ""'), function($skip, $loc, $0, $1) {
18064
+ var CoffeeForLoopsEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeForLoopsEnabled ""'), function($skip, $loc, $0, $1) {
17996
18065
  if (module.config.coffeeForLoops)
17997
18066
  return;
17998
18067
  return $skip;
@@ -18019,7 +18088,7 @@ ${input.slice(result.pos)}
18019
18088
  return result;
18020
18089
  }
18021
18090
  }
18022
- var CoffeeInterpolationEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeInterpolationEnabled ""'), function($skip, $loc, $0, $1) {
18091
+ var CoffeeInterpolationEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeInterpolationEnabled ""'), function($skip, $loc, $0, $1) {
18023
18092
  if (module.config.coffeeInterpolation)
18024
18093
  return;
18025
18094
  return $skip;
@@ -18046,7 +18115,7 @@ ${input.slice(result.pos)}
18046
18115
  return result;
18047
18116
  }
18048
18117
  }
18049
- var CoffeeIsntEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeIsntEnabled ""'), function($skip, $loc, $0, $1) {
18118
+ var CoffeeIsntEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeIsntEnabled ""'), function($skip, $loc, $0, $1) {
18050
18119
  if (module.config.coffeeIsnt)
18051
18120
  return;
18052
18121
  return $skip;
@@ -18073,7 +18142,7 @@ ${input.slice(result.pos)}
18073
18142
  return result;
18074
18143
  }
18075
18144
  }
18076
- var CoffeeJSXEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeJSXEnabled ""'), function($skip, $loc, $0, $1) {
18145
+ var CoffeeJSXEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeJSXEnabled ""'), function($skip, $loc, $0, $1) {
18077
18146
  if (module.config.coffeeJSX)
18078
18147
  return;
18079
18148
  return $skip;
@@ -18100,7 +18169,7 @@ ${input.slice(result.pos)}
18100
18169
  return result;
18101
18170
  }
18102
18171
  }
18103
- var CoffeeLineContinuationEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeLineContinuationEnabled ""'), function($skip, $loc, $0, $1) {
18172
+ var CoffeeLineContinuationEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeLineContinuationEnabled ""'), function($skip, $loc, $0, $1) {
18104
18173
  if (module.config.coffeeLineContinuation)
18105
18174
  return;
18106
18175
  return $skip;
@@ -18127,7 +18196,7 @@ ${input.slice(result.pos)}
18127
18196
  return result;
18128
18197
  }
18129
18198
  }
18130
- var CoffeeNotEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeNotEnabled ""'), function($skip, $loc, $0, $1) {
18199
+ var CoffeeNotEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeNotEnabled ""'), function($skip, $loc, $0, $1) {
18131
18200
  if (module.config.coffeeNot)
18132
18201
  return;
18133
18202
  return $skip;
@@ -18154,7 +18223,7 @@ ${input.slice(result.pos)}
18154
18223
  return result;
18155
18224
  }
18156
18225
  }
18157
- var CoffeeOfEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeOfEnabled ""'), function($skip, $loc, $0, $1) {
18226
+ var CoffeeOfEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeOfEnabled ""'), function($skip, $loc, $0, $1) {
18158
18227
  if (module.config.coffeeOf)
18159
18228
  return;
18160
18229
  return $skip;
@@ -18181,7 +18250,7 @@ ${input.slice(result.pos)}
18181
18250
  return result;
18182
18251
  }
18183
18252
  }
18184
- var CoffeePrototypeEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeePrototypeEnabled ""'), function($skip, $loc, $0, $1) {
18253
+ var CoffeePrototypeEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeePrototypeEnabled ""'), function($skip, $loc, $0, $1) {
18185
18254
  if (module.config.coffeePrototype)
18186
18255
  return;
18187
18256
  return $skip;
@@ -18208,7 +18277,7 @@ ${input.slice(result.pos)}
18208
18277
  return result;
18209
18278
  }
18210
18279
  }
18211
- var ObjectIsEnabled$0 = $TV($EXPECT($L18, fail, 'ObjectIsEnabled ""'), function($skip, $loc, $0, $1) {
18280
+ var ObjectIsEnabled$0 = $TV($EXPECT($L17, fail, 'ObjectIsEnabled ""'), function($skip, $loc, $0, $1) {
18212
18281
  if (module.config.objectIs)
18213
18282
  return;
18214
18283
  return $skip;
@@ -18235,7 +18304,7 @@ ${input.slice(result.pos)}
18235
18304
  return result;
18236
18305
  }
18237
18306
  }
18238
- var Reset$0 = $TV($EXPECT($L18, fail, 'Reset ""'), function($skip, $loc, $0, $1) {
18307
+ var Reset$0 = $TV($EXPECT($L17, fail, 'Reset ""'), function($skip, $loc, $0, $1) {
18239
18308
  module.indentLevels = [{
18240
18309
  level: 0,
18241
18310
  token: ""
@@ -18513,13 +18582,69 @@ ${input.slice(result.pos)}
18513
18582
  return result;
18514
18583
  }
18515
18584
  }
18516
- var Init$0 = $TS($S($E(Shebang), $Q(DirectivePrologue), $EXPECT($L18, fail, 'Init ""')), function($skip, $loc, $0, $1, $2, $3) {
18585
+ var Init$0 = $TS($S($E(Shebang), $Q(DirectivePrologue), $EXPECT($L17, fail, 'Init ""')), function($skip, $loc, $0, $1, $2, $3) {
18517
18586
  var directives = $2;
18518
18587
  directives.forEach((directive) => {
18519
18588
  if (directive.type === "CivetPrologue") {
18520
18589
  Object.assign(module.config, directive.config);
18521
18590
  }
18522
18591
  });
18592
+ module.processGlob = (node) => {
18593
+ const { children } = node;
18594
+ for (let i = 0; i < children.length; i++) {
18595
+ const glob = children[i];
18596
+ if (glob?.type === "PropertyGlob") {
18597
+ const prefix = children.slice(0, i).concat(glob.children[0]);
18598
+ const parts = [];
18599
+ for (const part of glob.object.content) {
18600
+ if (part.type === "SpreadProperty") {
18601
+ throw new Error("Glob pattern cannot have ...spread property");
18602
+ }
18603
+ if (part.type === "MethodDefinition") {
18604
+ throw new Error("Glob pattern cannot have method definition");
18605
+ }
18606
+ if (part.value && !["CallExpression", "MemberExpression", "Identifier"].includes(part.value.type)) {
18607
+ throw new Error("Glob pattern must have call or member expression value");
18608
+ }
18609
+ const { name } = part;
18610
+ let value = part.value ?? part.name;
18611
+ const wValue = module.getTrimmingSpace(part.value);
18612
+ value = prefix.concat(module.insertTrimmingSpace(value, ""));
18613
+ if (wValue)
18614
+ value.unshift(wValue);
18615
+ parts.push({
18616
+ type: "Property",
18617
+ name,
18618
+ value,
18619
+ names: part.names,
18620
+ children: [
18621
+ module.isWhitespaceOrEmpty(part.children[0]) && part.children[0],
18622
+ name,
18623
+ module.isWhitespaceOrEmpty(part.children[2]) && part.children[2],
18624
+ part.children[3]?.token === ":" ? part.children[3] : ":",
18625
+ value,
18626
+ part.children[part.children.length - 1]
18627
+ ]
18628
+ });
18629
+ }
18630
+ const object = {
18631
+ type: "ObjectExpression",
18632
+ children: [
18633
+ glob.object.children[0],
18634
+ ...parts,
18635
+ glob.object.children.at(-1)
18636
+ ]
18637
+ };
18638
+ if (i === children.length - 1)
18639
+ return object;
18640
+ return module.processGlob({
18641
+ ...node,
18642
+ children: [object, ...children.slice(i + 1)]
18643
+ });
18644
+ }
18645
+ }
18646
+ return node;
18647
+ };
18523
18648
  module.processUnaryExpression = (pre, exp, post) => {
18524
18649
  if (post?.token === "?") {
18525
18650
  post = {
@@ -18800,6 +18925,8 @@ ${input.slice(result.pos)}
18800
18925
  module.isWhitespaceOrEmpty = function(node) {
18801
18926
  if (!node)
18802
18927
  return true;
18928
+ if (node.type === "Ref")
18929
+ return false;
18803
18930
  if (node.token)
18804
18931
  return node.token.match(/^\s*$/);
18805
18932
  if (node.children)
@@ -18978,6 +19105,16 @@ ${input.slice(result.pos)}
18978
19105
  });
18979
19106
  return target;
18980
19107
  };
19108
+ module.getTrimmingSpace = function(target) {
19109
+ if (!target)
19110
+ return;
19111
+ if (Array.isArray(target))
19112
+ return module.getTrimmingSpace(target[0]);
19113
+ if (target.children)
19114
+ return module.getTrimmingSpace(target.children[0]);
19115
+ if (target.token)
19116
+ return target.token.match(/^ ?/)[0];
19117
+ };
18981
19118
  const initialSpacingRe = /^(?:\r?\n|\n)*((?:\r?\n|\n)\s+)/;
18982
19119
  module.dedentBlockSubstitutions = function($02) {
18983
19120
  const [s, strWithSubstitutions, e] = $02;
@@ -19601,7 +19738,11 @@ ${input.slice(result.pos)}
19601
19738
  const prefix = [];
19602
19739
  switch (pattern.type) {
19603
19740
  case "ArrayMatchingPattern":
19741
+ if (pattern.length === 0)
19742
+ break;
19604
19743
  case "ObjectMatchingPattern": {
19744
+ if (pattern.properties?.length === 0)
19745
+ break;
19605
19746
  let [splices, thisAssignments] = gatherBindingCode(pattern);
19606
19747
  splices = splices.map((s2) => [", ", nonMatcherBindings(s2)]);
19607
19748
  thisAssignments = thisAssignments.map((a) => [indent, a, ";\n"]);
@@ -20037,7 +20178,7 @@ ${input.slice(result.pos)}
20037
20178
  return result;
20038
20179
  }
20039
20180
  }
20040
- var PopIndent$0 = $TV($EXPECT($L18, fail, 'PopIndent ""'), function($skip, $loc, $0, $1) {
20181
+ var PopIndent$0 = $TV($EXPECT($L17, fail, 'PopIndent ""'), function($skip, $loc, $0, $1) {
20041
20182
  if (module.config.verbose) {
20042
20183
  console.log("popping indent", module.indentLevels[module.indentLevels.length - 1], "->", module.indentLevels[module.indentLevels.length - 2]);
20043
20184
  }