@danielx/civet 0.6.41 → 0.6.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -851,14 +851,36 @@ var require_lib = __commonJS({
851
851
  })
852
852
  );
853
853
  }
854
+ function negateCondition(condition) {
855
+ let { expression } = condition;
856
+ const children = condition.children.slice();
857
+ const i = children.indexOf(expression);
858
+ if (i < 0) {
859
+ throw new Error(`Could not find expression in condition`);
860
+ }
861
+ children[i] = expression = {
862
+ type: "UnaryExpression",
863
+ children: [
864
+ "!",
865
+ makeLeftHandSideExpression(expression)
866
+ ]
867
+ };
868
+ return { ...condition, expression, children };
869
+ }
854
870
  function expressionizeIfClause(clause, b, e) {
855
- const children = clause.children.slice(1);
856
- children.push("?", b);
871
+ const { condition } = clause;
872
+ const [...condRest] = condition.children, [closeParen] = condRest.splice(-1);
873
+ const children = [
874
+ ...condRest,
875
+ "?",
876
+ b
877
+ ];
857
878
  if (e) {
858
879
  children.push(e[0], ":", ...e.slice(2));
859
880
  } else {
860
881
  children.push(":void 0");
861
882
  }
883
+ children.push(closeParen);
862
884
  return {
863
885
  type: "IfExpression",
864
886
  children
@@ -1542,7 +1564,6 @@ var require_lib = __commonJS({
1542
1564
  const [, exp, semi] = node;
1543
1565
  if (semi?.type === "SemicolonDelimiter")
1544
1566
  return;
1545
- let indent = getIndent(node);
1546
1567
  if (!exp)
1547
1568
  return;
1548
1569
  switch (exp.type) {
@@ -1967,6 +1988,7 @@ var require_lib = __commonJS({
1967
1988
  case "CallExpression":
1968
1989
  case "MemberExpression":
1969
1990
  case "ParenthesizedExpression":
1991
+ case "IfExpression":
1970
1992
  case "DebuggerExpression":
1971
1993
  case "SwitchExpression":
1972
1994
  case "ThrowExpression":
@@ -2206,7 +2228,7 @@ var require_lib = __commonJS({
2206
2228
  children
2207
2229
  };
2208
2230
  }
2209
- function processDeclarationCondition(condition) {
2231
+ function processDeclarationCondition(condition, rootCondition) {
2210
2232
  if (!(condition.type === "DeclarationCondition")) {
2211
2233
  return;
2212
2234
  }
@@ -2214,7 +2236,7 @@ var require_lib = __commonJS({
2214
2236
  const { decl, bindings } = condition.declaration;
2215
2237
  const binding = bindings[0];
2216
2238
  const { pattern, suffix, initializer, splices, thisAssignments } = binding;
2217
- const initCondition = {
2239
+ Object.assign(condition, {
2218
2240
  type: "AssignmentExpression",
2219
2241
  children: [ref, initializer],
2220
2242
  hoistDec: {
@@ -2222,14 +2244,15 @@ var require_lib = __commonJS({
2222
2244
  children: ["let ", ref, suffix],
2223
2245
  names: []
2224
2246
  },
2247
+ pattern,
2248
+ ref
2249
+ });
2250
+ Object.assign(rootCondition, {
2225
2251
  blockPrefix: [
2226
2252
  ["", [decl, pattern, suffix, " = ", ref, ...splices], ";"],
2227
2253
  ...thisAssignments
2228
- ],
2229
- pattern,
2230
- ref
2231
- };
2232
- Object.assign(condition, initCondition);
2254
+ ]
2255
+ });
2233
2256
  }
2234
2257
  function processDeclarationConditions(node) {
2235
2258
  gatherRecursiveAll(node, (n) => {
@@ -2241,8 +2264,15 @@ var require_lib = __commonJS({
2241
2264
  if (!condition?.expression) {
2242
2265
  return;
2243
2266
  }
2244
- processDeclarationCondition(condition.expression);
2245
- const { ref, pattern } = condition.expression;
2267
+ ;
2268
+ let { expression } = condition;
2269
+ if (typeof expression === "object" && expression != null && "type" in expression && expression.type === "UnaryExpression" && "children" in expression && Array.isArray(expression.children) && expression.children.length === 2 && expression.children[0] === "!" && typeof expression.children[1] === "object" && expression.children[1] != null && "type" in expression.children[1] && expression.children[1].type === "ParenthesizedExpression" && "expression" in expression.children[1]) {
2270
+ const { type: type1, children: [, { type: type2, expression: expression2 }] } = expression;
2271
+ const type = [type1, type2];
2272
+ expression = expression2;
2273
+ }
2274
+ processDeclarationCondition(expression, condition.expression);
2275
+ const { ref, pattern } = expression;
2246
2276
  if (pattern) {
2247
2277
  let conditions = [];
2248
2278
  getPatternConditions(pattern, ref, conditions);
@@ -3534,6 +3564,7 @@ var require_lib = __commonJS({
3534
3564
  maybeRef,
3535
3565
  modifyString,
3536
3566
  needsRef,
3567
+ negateCondition,
3537
3568
  processAssignmentDeclaration,
3538
3569
  processBinaryOpExpression,
3539
3570
  processCallMemberExpression,
@@ -3598,6 +3629,7 @@ var require_parser = __commonJS({
3598
3629
  NestedNonAssignmentExtendedExpression,
3599
3630
  ExpressionizedStatementWithTrailingCallExpressions,
3600
3631
  ExpressionizedStatement,
3632
+ _ExpressionizedStatement,
3601
3633
  Expression,
3602
3634
  Arguments,
3603
3635
  ImplicitArguments,
@@ -3689,6 +3721,7 @@ var require_parser = __commonJS({
3689
3721
  MemberBracketContent,
3690
3722
  SliceParameters,
3691
3723
  AccessStart,
3724
+ PropertyAccessModifier,
3692
3725
  PropertyAccess,
3693
3726
  PropertyGlob,
3694
3727
  PropertyBind,
@@ -3759,12 +3792,14 @@ var require_parser = __commonJS({
3759
3792
  LiteralContent,
3760
3793
  NullLiteral,
3761
3794
  BooleanLiteral,
3795
+ _BooleanLiteral,
3762
3796
  CoffeeScriptBooleanLiteral,
3763
3797
  Identifier,
3764
3798
  IdentifierName,
3765
3799
  IdentifierReference,
3766
3800
  UpcomingAssignment,
3767
3801
  ArrayLiteral,
3802
+ _ArrayLiteral,
3768
3803
  RangeExpression,
3769
3804
  ArrayLiteralContent,
3770
3805
  NestedElementList,
@@ -3806,6 +3841,8 @@ var require_parser = __commonJS({
3806
3841
  IdentifierBinaryOp,
3807
3842
  BinaryOp,
3808
3843
  BinaryOpSymbol,
3844
+ CoffeeOfOp,
3845
+ NotOp,
3809
3846
  Xor,
3810
3847
  Xnor,
3811
3848
  UnaryOp,
@@ -3816,6 +3853,7 @@ var require_parser = __commonJS({
3816
3853
  PostfixedExpression,
3817
3854
  NonPipelinePostfixedExpression,
3818
3855
  PostfixStatement,
3856
+ _PostfixStatement,
3819
3857
  Statement,
3820
3858
  EmptyStatement,
3821
3859
  BlockStatement,
@@ -3835,6 +3873,7 @@ var require_parser = __commonJS({
3835
3873
  NestedBlockExpression,
3836
3874
  BlockExpressionPart,
3837
3875
  IterationStatement,
3876
+ _IterationStatement,
3838
3877
  IterationExpression,
3839
3878
  LoopStatement,
3840
3879
  LoopClause,
@@ -3971,11 +4010,13 @@ var require_parser = __commonJS({
3971
4010
  RegExpCharacter,
3972
4011
  RegularExpressionFlags,
3973
4012
  TemplateLiteral,
4013
+ _TemplateLiteral,
3974
4014
  TemplateSubstitution,
3975
4015
  TemplateCharacters,
3976
4016
  TemplateBlockCharacters,
3977
4017
  ReservedWord,
3978
4018
  Comment,
4019
+ _Comment,
3979
4020
  SingleLineComment,
3980
4021
  JSSingleLineComment,
3981
4022
  MultiLineComment,
@@ -4275,8 +4316,8 @@ var require_parser = __commonJS({
4275
4316
  var $L8 = $L("--");
4276
4317
  var $L9 = $L("=>");
4277
4318
  var $L10 = $L("\u21D2");
4278
- var $L11 = $L(" ");
4279
- var $L12 = $L(":");
4319
+ var $L11 = $L(":");
4320
+ var $L12 = $L(" ");
4280
4321
  var $L13 = $L("implements");
4281
4322
  var $L14 = $L("<:");
4282
4323
  var $L15 = $L("import");
@@ -4348,77 +4389,77 @@ var require_parser = __commonJS({
4348
4389
  var $L81 = $L("\u2A75");
4349
4390
  var $L82 = $L("and");
4350
4391
  var $L83 = $L("&&");
4351
- var $L84 = $L("of");
4352
- var $L85 = $L("or");
4353
- var $L86 = $L("||");
4354
- var $L87 = $L("\u2016");
4355
- var $L88 = $L("^^");
4356
- var $L89 = $L("xor");
4357
- var $L90 = $L("xnor");
4358
- var $L91 = $L("??");
4359
- var $L92 = $L("\u2047");
4360
- var $L93 = $L("instanceof");
4361
- var $L94 = $L("\u2208");
4362
- var $L95 = $L("\u220B");
4363
- var $L96 = $L("\u220C");
4364
- var $L97 = $L("\u2209");
4365
- var $L98 = $L("&");
4366
- var $L99 = $L("|");
4367
- var $L100 = $L(";");
4368
- var $L101 = $L("$:");
4369
- var $L102 = $L("break");
4370
- var $L103 = $L("continue");
4371
- var $L104 = $L("debugger");
4372
- var $L105 = $L("assert");
4373
- var $L106 = $L(":=");
4374
- var $L107 = $L("\u2254");
4375
- var $L108 = $L(".=");
4376
- var $L109 = $L("/*");
4377
- var $L110 = $L("*/");
4378
- var $L111 = $L("\\");
4379
- var $L112 = $L("[");
4380
- var $L113 = $L("`");
4381
- var $L114 = $L(")");
4382
- var $L115 = $L("abstract");
4383
- var $L116 = $L("as");
4384
- var $L117 = $L("@");
4385
- var $L118 = $L("@@");
4386
- var $L119 = $L("async");
4387
- var $L120 = $L("await");
4388
- var $L121 = $L("by");
4389
- var $L122 = $L("case");
4390
- var $L123 = $L("catch");
4391
- var $L124 = $L("class");
4392
- var $L125 = $L("#{");
4393
- var $L126 = $L("declare");
4394
- var $L127 = $L("default");
4395
- var $L128 = $L("delete");
4396
- var $L129 = $L("do");
4397
- var $L130 = $L("..");
4398
- var $L131 = $L("\u2025");
4399
- var $L132 = $L("...");
4400
- var $L133 = $L("\u2026");
4401
- var $L134 = $L("::");
4402
- var $L135 = $L('"');
4403
- var $L136 = $L("each");
4404
- var $L137 = $L("else");
4405
- var $L138 = $L("export");
4406
- var $L139 = $L("extends");
4407
- var $L140 = $L("finally");
4408
- var $L141 = $L("for");
4409
- var $L142 = $L("from");
4410
- var $L143 = $L("function");
4411
- var $L144 = $L("get");
4412
- var $L145 = $L("set");
4413
- var $L146 = $L("#");
4414
- var $L147 = $L("if");
4415
- var $L148 = $L("in");
4416
- var $L149 = $L("let");
4417
- var $L150 = $L("const");
4418
- var $L151 = $L("is");
4419
- var $L152 = $L("loop");
4420
- var $L153 = $L("new");
4421
- var $L154 = $L("not");
4392
+ var $L84 = $L("or");
4393
+ var $L85 = $L("||");
4394
+ var $L86 = $L("\u2016");
4395
+ var $L87 = $L("^^");
4396
+ var $L88 = $L("xor");
4397
+ var $L89 = $L("xnor");
4398
+ var $L90 = $L("??");
4399
+ var $L91 = $L("\u2047");
4400
+ var $L92 = $L("instanceof");
4401
+ var $L93 = $L("\u2208");
4402
+ var $L94 = $L("\u220B");
4403
+ var $L95 = $L("\u220C");
4404
+ var $L96 = $L("\u2209");
4405
+ var $L97 = $L("&");
4406
+ var $L98 = $L("|");
4407
+ var $L99 = $L(";");
4408
+ var $L100 = $L("$:");
4409
+ var $L101 = $L("break");
4410
+ var $L102 = $L("continue");
4411
+ var $L103 = $L("debugger");
4412
+ var $L104 = $L("assert");
4413
+ var $L105 = $L(":=");
4414
+ var $L106 = $L("\u2254");
4415
+ var $L107 = $L(".=");
4416
+ var $L108 = $L("/*");
4417
+ var $L109 = $L("*/");
4418
+ var $L110 = $L("\\");
4419
+ var $L111 = $L("[");
4420
+ var $L112 = $L("`");
4421
+ var $L113 = $L(")");
4422
+ var $L114 = $L("abstract");
4423
+ var $L115 = $L("as");
4424
+ var $L116 = $L("@");
4425
+ var $L117 = $L("@@");
4426
+ var $L118 = $L("async");
4427
+ var $L119 = $L("await");
4428
+ var $L120 = $L("by");
4429
+ var $L121 = $L("case");
4430
+ var $L122 = $L("catch");
4431
+ var $L123 = $L("class");
4432
+ var $L124 = $L("#{");
4433
+ var $L125 = $L("declare");
4434
+ var $L126 = $L("default");
4435
+ var $L127 = $L("delete");
4436
+ var $L128 = $L("do");
4437
+ var $L129 = $L("..");
4438
+ var $L130 = $L("\u2025");
4439
+ var $L131 = $L("...");
4440
+ var $L132 = $L("\u2026");
4441
+ var $L133 = $L("::");
4442
+ var $L134 = $L('"');
4443
+ var $L135 = $L("each");
4444
+ var $L136 = $L("else");
4445
+ var $L137 = $L("export");
4446
+ var $L138 = $L("extends");
4447
+ var $L139 = $L("finally");
4448
+ var $L140 = $L("for");
4449
+ var $L141 = $L("from");
4450
+ var $L142 = $L("function");
4451
+ var $L143 = $L("get");
4452
+ var $L144 = $L("set");
4453
+ var $L145 = $L("#");
4454
+ var $L146 = $L("if");
4455
+ var $L147 = $L("in");
4456
+ var $L148 = $L("let");
4457
+ var $L149 = $L("const");
4458
+ var $L150 = $L("is");
4459
+ var $L151 = $L("loop");
4460
+ var $L152 = $L("new");
4461
+ var $L153 = $L("not");
4462
+ var $L154 = $L("of");
4422
4463
  var $L155 = $L("<");
4423
4464
  var $L156 = $L("operator");
4424
4465
  var $L157 = $L("own");
@@ -4475,74 +4516,91 @@ var require_parser = __commonJS({
4475
4516
  var $L208 = $L("???");
4476
4517
  var $L209 = $L("[]");
4477
4518
  var $L210 = $L("civet");
4478
- var $R0 = $R(new RegExp("(as|of|satisfies|then|when|implements|xor|xnor)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
4479
- var $R1 = $R(new RegExp("[0-9]", "suy"));
4480
- var $R2 = $R(new RegExp("[)}]", "suy"));
4481
- var $R3 = $R(new RegExp("[&]", "suy"));
4482
- var $R4 = $R(new RegExp("[!~+-]+", "suy"));
4483
- var $R5 = $R(new RegExp("(?:\\p{ID_Start}|[_$])(?:\\p{ID_Continue}|[\\u200C\\u200D$])*", "suy"));
4484
- var $R6 = $R(new RegExp("[!+-]", "suy"));
4485
- var $R7 = $R(new RegExp("<(?!\\p{ID_Start}|[_$])", "suy"));
4486
- var $R8 = $R(new RegExp("!\\^\\^?", "suy"));
4487
- var $R9 = $R(new RegExp("(?!\\+\\+|--)[!~+-](?!\\s|[!~+-]*[&.])", "suy"));
4488
- var $R10 = $R(new RegExp("(?=[\\s\\),])", "suy"));
4489
- var $R11 = $R(new RegExp('[^;"\\s]+', "suy"));
4490
- var $R12 = $R(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)n", "suy"));
4491
- var $R13 = $R(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)(?=\\.(?:\\p{ID_Start}|[_$]))", "suy"));
4492
- var $R14 = $R(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)(?:\\.(?:[0-9](?:_[0-9]|[0-9])*))?", "suy"));
4493
- var $R15 = $R(new RegExp("(?:\\.[0-9](?:_[0-9]|[0-9])*)", "suy"));
4494
- var $R16 = $R(new RegExp("(?:[eE][+-]?[0-9]+(?:_[0-9]|[0-9])*)", "suy"));
4495
- var $R17 = $R(new RegExp("0[bB][01](?:[01]|_[01])*n?", "suy"));
4496
- var $R18 = $R(new RegExp("0[oO][0-7](?:[0-7]|_[0-7])*n?", "suy"));
4497
- var $R19 = $R(new RegExp("0[xX][0-9a-fA-F](?:[0-9a-fA-F]|_[0-9a-fA-F])*n?", "suy"));
4498
- var $R20 = $R(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)", "suy"));
4499
- var $R21 = $R(new RegExp('(?:\\\\.|[^"])*', "suy"));
4500
- var $R22 = $R(new RegExp("(?:\\\\.|[^'])*", "suy"));
4501
- var $R23 = $R(new RegExp('(?:"(?!"")|#(?!\\{)|\\\\.|[^#"])+', "suy"));
4502
- var $R24 = $R(new RegExp("(?:'(?!'')|\\\\.|[^'])*", "suy"));
4503
- var $R25 = $R(new RegExp('(?:\\\\.|#(?!\\{)|[^"#])+', "suy"));
4504
- var $R26 = $R(new RegExp("(?:\\\\.|[^\\]])*", "suy"));
4505
- var $R27 = $R(new RegExp("(?:\\\\.)", "suy"));
4506
- var $R28 = $R(new RegExp("[\\s]+", "suy"));
4507
- var $R29 = $R(new RegExp("\\/(?!\\/\\/)", "suy"));
4508
- var $R30 = $R(new RegExp("[^[\\/\\s#\\\\]+", "suy"));
4509
- var $R31 = $R(new RegExp("[*\\/\\r\\n]", "suy"));
4510
- var $R32 = $R(new RegExp("(?:\\\\.|[^[\\/\\r\\n])+", "suy"));
4511
- var $R33 = $R(new RegExp("(?:\\p{ID_Continue}|[\\u200C\\u200D$])*", "suy"));
4512
- var $R34 = $R(new RegExp("(?:\\$(?!\\{)|\\\\.|[^$`])+", "suy"));
4513
- var $R35 = $R(new RegExp("(?:\\$(?!\\{)|`(?!``)|\\\\.|[^$`])+", "suy"));
4514
- var $R36 = $R(new RegExp("(?:on|off|yes|no)(?!\\p{ID_Continue})", "suy"));
4515
- var $R37 = $R(new RegExp("(?:isnt)(?!\\p{ID_Continue})", "suy"));
4516
- var $R38 = $R(new RegExp("(?:by)(?!\\p{ID_Continue})", "suy"));
4517
- var $R39 = $R(new RegExp("(?:of)(?!\\p{ID_Continue})", "suy"));
4518
- var $R40 = $R(new RegExp("(?:and|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|if|import|in|instanceof|interface|is|let|loop|new|not|null|or|private|protected|public|return|static|super|switch|this|throw|true|try|typeof|unless|until|var|void|while|with|yield)(?!\\p{ID_Continue})", "suy"));
4519
- var $R41 = $R(new RegExp("\\/\\/(?!\\/)[^\\r\\n]*", "suy"));
4520
- var $R42 = $R(new RegExp(".", "suy"));
4521
- var $R43 = $R(new RegExp("#(?!##(?!#))([^\\r\\n]*)", "suy"));
4522
- var $R44 = $R(new RegExp("[^]*?###", "suy"));
4523
- var $R45 = $R(new RegExp("###(?!#)", "suy"));
4524
- var $R46 = $R(new RegExp("\\/\\*(?:(?!\\*\\/)[^\\r\\n])*\\*\\/", "suy"));
4525
- var $R47 = $R(new RegExp("[ \\t]+", "suy"));
4526
- var $R48 = $R(new RegExp("(?!\\p{ID_Continue})", "suy"));
4527
- var $R49 = $R(new RegExp("['\u2019]s", "suy"));
4528
- var $R50 = $R(new RegExp("\\s", "suy"));
4529
- var $R51 = $R(new RegExp("(?:\\p{ID_Start}|[_$])(?:\\p{ID_Continue}|[\\u200C\\u200D$-])*", "suy"));
4530
- var $R52 = $R(new RegExp("[\\s>]|\\/>", "suy"));
4531
- var $R53 = $R(new RegExp("(?:[\\w\\-:]+|\\([^()]*\\)|\\[[^\\[\\]]*\\])+", "suy"));
4532
- var $R54 = $R(new RegExp(`"[^"]*"|'[^']*'`, "suy"));
4533
- var $R55 = $R(new RegExp("[<>]", "suy"));
4534
- var $R56 = $R(new RegExp("[!~+-](?!\\s|[!~+-]*&)", "suy"));
4535
- var $R57 = $R(new RegExp("(?:-[^-]|[^-]*)*", "suy"));
4536
- var $R58 = $R(new RegExp("[^{}<>\\r\\n]+", "suy"));
4537
- var $R59 = $R(new RegExp("[+-]?", "suy"));
4538
- var $R60 = $R(new RegExp("[+-]", "suy"));
4539
- var $R61 = $R(new RegExp("#![^\\r\\n]*", "suy"));
4540
- var $R62 = $R(new RegExp("[\\t ]*", "suy"));
4541
- var $R63 = $R(new RegExp("[\\s]*", "suy"));
4542
- var $R64 = $R(new RegExp("\\s+([+-]?)([a-zA-Z0-9-]+)(\\s*=\\s*([a-zA-Z0-9.+-]*))?", "suy"));
4543
- var $R65 = $R(new RegExp("\\/\\/\\/[^\\r\\n]*", "suy"));
4544
- var $R66 = $R(new RegExp("\\r\\n|\\n|\\r|$", "suy"));
4545
- var $R67 = $R(new RegExp("[ \\t]*", "suy"));
4519
+ var $R0 = $R(new RegExp("(?=debugger|if|unless|do|for|loop|until|while|switch|throw|try)", "suy"));
4520
+ var $R1 = $R(new RegExp("(as|of|satisfies|then|when|implements|xor|xnor)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
4521
+ var $R2 = $R(new RegExp("[0-9]", "suy"));
4522
+ var $R3 = $R(new RegExp("[ \\t]", "suy"));
4523
+ var $R4 = $R(new RegExp("(?=['\"`])", "suy"));
4524
+ var $R5 = $R(new RegExp("(?=[\\/?])", "suy"));
4525
+ var $R6 = $R(new RegExp("[)}]", "suy"));
4526
+ var $R7 = $R(new RegExp("[&]", "suy"));
4527
+ var $R8 = $R(new RegExp("[!~+-]+", "suy"));
4528
+ var $R9 = $R(new RegExp(`(?=[0-9.'"tfyno])`, "suy"));
4529
+ var $R10 = $R(new RegExp("(?=true|false|yes|no|on|off)", "suy"));
4530
+ var $R11 = $R(new RegExp("(?=\\p{ID_Start}|[_$])", "suy"));
4531
+ var $R12 = $R(new RegExp("(?:\\p{ID_Start}|[_$])(?:\\p{ID_Continue}|[\\u200C\\u200D$])*", "suy"));
4532
+ var $R13 = $R(new RegExp("(?=\\[)", "suy"));
4533
+ var $R14 = $R(new RegExp("[!+-]", "suy"));
4534
+ var $R15 = $R(new RegExp("<(?!\\p{ID_Start}|[_$])", "suy"));
4535
+ var $R16 = $R(new RegExp("!\\^\\^?", "suy"));
4536
+ var $R17 = $R(new RegExp("(?!\\+\\+|--)[!~+-](?!\\s|[!~+-]*[&.])", "suy"));
4537
+ var $R18 = $R(new RegExp("(?=for|if|loop|unless|until|while)", "suy"));
4538
+ var $R19 = $R(new RegExp("(?=loop|do|for|until|while)", "suy"));
4539
+ var $R20 = $R(new RegExp("(?=[\\s\\),])", "suy"));
4540
+ var $R21 = $R(new RegExp('[^;"\\s]+', "suy"));
4541
+ var $R22 = $R(new RegExp("(?=[0-9.])", "suy"));
4542
+ var $R23 = $R(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)n", "suy"));
4543
+ var $R24 = $R(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)(?=\\.(?:\\p{ID_Start}|[_$]))", "suy"));
4544
+ var $R25 = $R(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)(?:\\.(?:[0-9](?:_[0-9]|[0-9])*))?", "suy"));
4545
+ var $R26 = $R(new RegExp("(?:\\.[0-9](?:_[0-9]|[0-9])*)", "suy"));
4546
+ var $R27 = $R(new RegExp("(?:[eE][+-]?[0-9]+(?:_[0-9]|[0-9])*)", "suy"));
4547
+ var $R28 = $R(new RegExp("0[bB][01](?:[01]|_[01])*n?", "suy"));
4548
+ var $R29 = $R(new RegExp("0[oO][0-7](?:[0-7]|_[0-7])*n?", "suy"));
4549
+ var $R30 = $R(new RegExp("0[xX][0-9a-fA-F](?:[0-9a-fA-F]|_[0-9a-fA-F])*n?", "suy"));
4550
+ var $R31 = $R(new RegExp("(?=[0-9])", "suy"));
4551
+ var $R32 = $R(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)", "suy"));
4552
+ var $R33 = $R(new RegExp('(?:\\\\.|[^"])*', "suy"));
4553
+ var $R34 = $R(new RegExp("(?:\\\\.|[^'])*", "suy"));
4554
+ var $R35 = $R(new RegExp('(?:"(?!"")|#(?!\\{)|\\\\.|[^#"])+', "suy"));
4555
+ var $R36 = $R(new RegExp("(?:'(?!'')|\\\\.|[^'])*", "suy"));
4556
+ var $R37 = $R(new RegExp('(?:\\\\.|#(?!\\{)|[^"#])+', "suy"));
4557
+ var $R38 = $R(new RegExp("(?:\\\\.|[^\\]])*", "suy"));
4558
+ var $R39 = $R(new RegExp("(?:\\\\.)", "suy"));
4559
+ var $R40 = $R(new RegExp("[\\s]+", "suy"));
4560
+ var $R41 = $R(new RegExp("\\/(?!\\/\\/)", "suy"));
4561
+ var $R42 = $R(new RegExp("[^[\\/\\s#\\\\]+", "suy"));
4562
+ var $R43 = $R(new RegExp("[*\\/\\r\\n]", "suy"));
4563
+ var $R44 = $R(new RegExp("(?:\\\\.|[^[\\/\\r\\n])+", "suy"));
4564
+ var $R45 = $R(new RegExp("(?:\\p{ID_Continue}|[\\u200C\\u200D$])*", "suy"));
4565
+ var $R46 = $R(new RegExp("(?=[`'\"])", "suy"));
4566
+ var $R47 = $R(new RegExp("(?:\\$(?!\\{)|\\\\.|[^$`])+", "suy"));
4567
+ var $R48 = $R(new RegExp("(?:\\$(?!\\{)|`(?!``)|\\\\.|[^$`])+", "suy"));
4568
+ var $R49 = $R(new RegExp("(?:on|off|yes|no)(?!\\p{ID_Continue})", "suy"));
4569
+ var $R50 = $R(new RegExp("(?:isnt)(?!\\p{ID_Continue})", "suy"));
4570
+ var $R51 = $R(new RegExp("(?:by)(?!\\p{ID_Continue})", "suy"));
4571
+ var $R52 = $R(new RegExp("(?:of)(?!\\p{ID_Continue})", "suy"));
4572
+ var $R53 = $R(new RegExp("(?:and|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|if|import|in|instanceof|interface|is|let|loop|new|not|null|or|private|protected|public|return|static|super|switch|this|throw|true|try|typeof|unless|until|var|void|while|with|yield)(?!\\p{ID_Continue})", "suy"));
4573
+ var $R54 = $R(new RegExp("(?=\\/|#)", "suy"));
4574
+ var $R55 = $R(new RegExp("\\/\\/(?!\\/)[^\\r\\n]*", "suy"));
4575
+ var $R56 = $R(new RegExp(".", "suy"));
4576
+ var $R57 = $R(new RegExp("#(?!##(?!#))([^\\r\\n]*)", "suy"));
4577
+ var $R58 = $R(new RegExp("[^]*?###", "suy"));
4578
+ var $R59 = $R(new RegExp("###(?!#)", "suy"));
4579
+ var $R60 = $R(new RegExp("\\/\\*(?:(?!\\*\\/)[^\\r\\n])*\\*\\/", "suy"));
4580
+ var $R61 = $R(new RegExp("(?=[ \\t\\/\\\\])", "suy"));
4581
+ var $R62 = $R(new RegExp("[ \\t]+", "suy"));
4582
+ var $R63 = $R(new RegExp("(?=\\s|\\/|#)", "suy"));
4583
+ var $R64 = $R(new RegExp("(?!\\p{ID_Continue})", "suy"));
4584
+ var $R65 = $R(new RegExp("['\u2019]s", "suy"));
4585
+ var $R66 = $R(new RegExp("\\s", "suy"));
4586
+ var $R67 = $R(new RegExp("(?:\\p{ID_Start}|[_$])(?:\\p{ID_Continue}|[\\u200C\\u200D$-])*", "suy"));
4587
+ var $R68 = $R(new RegExp("[\\s>]|\\/>", "suy"));
4588
+ var $R69 = $R(new RegExp("(?:[\\w\\-:]+|\\([^()]*\\)|\\[[^\\[\\]]*\\])+", "suy"));
4589
+ var $R70 = $R(new RegExp(`"[^"]*"|'[^']*'`, "suy"));
4590
+ var $R71 = $R(new RegExp("[<>]", "suy"));
4591
+ var $R72 = $R(new RegExp("[!~+-](?!\\s|[!~+-]*&)", "suy"));
4592
+ var $R73 = $R(new RegExp("(?:-[^-]|[^-]*)*", "suy"));
4593
+ var $R74 = $R(new RegExp("[^{}<>\\r\\n]+", "suy"));
4594
+ var $R75 = $R(new RegExp("[+-]?", "suy"));
4595
+ var $R76 = $R(new RegExp("[+-]", "suy"));
4596
+ var $R77 = $R(new RegExp("#![^\\r\\n]*", "suy"));
4597
+ var $R78 = $R(new RegExp("[\\t ]*", "suy"));
4598
+ var $R79 = $R(new RegExp("[\\s]*", "suy"));
4599
+ var $R80 = $R(new RegExp("\\s+([+-]?)([a-zA-Z0-9-]+)(\\s*=\\s*([a-zA-Z0-9.+-]*))?", "suy"));
4600
+ var $R81 = $R(new RegExp("\\/\\/\\/[^\\r\\n]*", "suy"));
4601
+ var $R82 = $R(new RegExp("(?=[ \\t\\r\\n\\/#]|$)", "suy"));
4602
+ var $R83 = $R(new RegExp("\\r\\n|\\n|\\r|$", "suy"));
4603
+ var $R84 = $R(new RegExp("[ \\t]*", "suy"));
4546
4604
  var Program$0 = $TS($S(Reset, Init, $E(EOS), TopLevelStatements, __), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
4547
4605
  var statements = $4;
4548
4606
  processProgram({
@@ -4673,16 +4731,22 @@ var require_parser = __commonJS({
4673
4731
  function ExpressionizedStatementWithTrailingCallExpressions(ctx, state) {
4674
4732
  return $EVENT(ctx, state, "ExpressionizedStatementWithTrailingCallExpressions", ExpressionizedStatementWithTrailingCallExpressions$0);
4675
4733
  }
4676
- var ExpressionizedStatement$0 = DebuggerExpression;
4677
- var ExpressionizedStatement$1 = IfExpression;
4678
- var ExpressionizedStatement$2 = UnlessExpression;
4679
- var ExpressionizedStatement$3 = IterationExpression;
4680
- var ExpressionizedStatement$4 = SwitchExpression;
4681
- var ExpressionizedStatement$5 = ThrowExpression;
4682
- var ExpressionizedStatement$6 = TryExpression;
4683
- var ExpressionizedStatement$$ = [ExpressionizedStatement$0, ExpressionizedStatement$1, ExpressionizedStatement$2, ExpressionizedStatement$3, ExpressionizedStatement$4, ExpressionizedStatement$5, ExpressionizedStatement$6];
4734
+ var ExpressionizedStatement$0 = $T($S($EXPECT($R0, "ExpressionizedStatement /(?=debugger|if|unless|do|for|loop|until|while|switch|throw|try)/"), _ExpressionizedStatement), function(value) {
4735
+ return value[1];
4736
+ });
4684
4737
  function ExpressionizedStatement(ctx, state) {
4685
- return $EVENT_C(ctx, state, "ExpressionizedStatement", ExpressionizedStatement$$);
4738
+ return $EVENT(ctx, state, "ExpressionizedStatement", ExpressionizedStatement$0);
4739
+ }
4740
+ var _ExpressionizedStatement$0 = DebuggerExpression;
4741
+ var _ExpressionizedStatement$1 = IfExpression;
4742
+ var _ExpressionizedStatement$2 = UnlessExpression;
4743
+ var _ExpressionizedStatement$3 = IterationExpression;
4744
+ var _ExpressionizedStatement$4 = SwitchExpression;
4745
+ var _ExpressionizedStatement$5 = ThrowExpression;
4746
+ var _ExpressionizedStatement$6 = TryExpression;
4747
+ var _ExpressionizedStatement$$ = [_ExpressionizedStatement$0, _ExpressionizedStatement$1, _ExpressionizedStatement$2, _ExpressionizedStatement$3, _ExpressionizedStatement$4, _ExpressionizedStatement$5, _ExpressionizedStatement$6];
4748
+ function _ExpressionizedStatement(ctx, state) {
4749
+ return $EVENT_C(ctx, state, "_ExpressionizedStatement", _ExpressionizedStatement$$);
4686
4750
  }
4687
4751
  var Expression$0 = $TS($S(AssignmentExpression, $Q($S(CommaDelimiter, AssignmentExpression))), function($skip, $loc, $0, $1, $2) {
4688
4752
  if ($2.length == 0)
@@ -4727,7 +4791,7 @@ var require_parser = __commonJS({
4727
4791
  function ApplicationStart(ctx, state) {
4728
4792
  return $EVENT_C(ctx, state, "ApplicationStart", ApplicationStart$$);
4729
4793
  }
4730
- var ForbiddenImplicitCalls$0 = $R$0($EXPECT($R0, "ForbiddenImplicitCalls /(as|of|satisfies|then|when|implements|xor|xnor)(?!\\p{ID_Continue}|[\\u200C\\u200D$])/"));
4794
+ var ForbiddenImplicitCalls$0 = $R$0($EXPECT($R1, "ForbiddenImplicitCalls /(as|of|satisfies|then|when|implements|xor|xnor)(?!\\p{ID_Continue}|[\\u200C\\u200D$])/"));
4731
4795
  var ForbiddenImplicitCalls$1 = $EXPECT($L2, 'ForbiddenImplicitCalls "/ "');
4732
4796
  var ForbiddenImplicitCalls$2 = $S(ClassImplicitCallForbidden, $C(Class, AtAt));
4733
4797
  var ForbiddenImplicitCalls$3 = $S(Identifier, $EXPECT($L3, 'ForbiddenImplicitCalls "="'), Whitespace);
@@ -4759,7 +4823,7 @@ var require_parser = __commonJS({
4759
4823
  function ArgumentsWithTrailingMemberExpressions(ctx, state) {
4760
4824
  return $EVENT(ctx, state, "ArgumentsWithTrailingMemberExpressions", ArgumentsWithTrailingMemberExpressions$0);
4761
4825
  }
4762
- var TrailingMemberExpressions$0 = $TS($S($Q(MemberExpressionRest), $Q($S(IndentedAtLeast, $Y($S($E($EXPECT($L5, 'TrailingMemberExpressions "?"')), $EXPECT($L6, 'TrailingMemberExpressions "."'), $N($EXPECT($R1, "TrailingMemberExpressions /[0-9]/")))), MemberExpressionRest))), function($skip, $loc, $0, $1, $2) {
4826
+ var TrailingMemberExpressions$0 = $TS($S($Q(MemberExpressionRest), $Q($S(IndentedAtLeast, $Y($S($E($EXPECT($L5, 'TrailingMemberExpressions "?"')), $EXPECT($L6, 'TrailingMemberExpressions "."'), $N($EXPECT($R2, "TrailingMemberExpressions /[0-9]/")))), MemberExpressionRest))), function($skip, $loc, $0, $1, $2) {
4763
4827
  return $1.concat($2);
4764
4828
  });
4765
4829
  function TrailingMemberExpressions(ctx, state) {
@@ -4773,7 +4837,7 @@ var require_parser = __commonJS({
4773
4837
  function AllowedTrailingMemberExpressions(ctx, state) {
4774
4838
  return $EVENT_C(ctx, state, "AllowedTrailingMemberExpressions", AllowedTrailingMemberExpressions$$);
4775
4839
  }
4776
- var TrailingCallExpressions$0 = $P($S(IndentedAtLeast, $Y($S($E($EXPECT($L5, 'TrailingCallExpressions "?"')), $EXPECT($L6, 'TrailingCallExpressions "."'), $N($R$0($EXPECT($R1, "TrailingCallExpressions /[0-9]/"))))), $P(CallExpressionRest)));
4840
+ var TrailingCallExpressions$0 = $P($S(IndentedAtLeast, $Y($S($E($EXPECT($L5, 'TrailingCallExpressions "?"')), $EXPECT($L6, 'TrailingCallExpressions "."'), $N($R$0($EXPECT($R2, "TrailingCallExpressions /[0-9]/"))))), $P(CallExpressionRest)));
4777
4841
  function TrailingCallExpressions(ctx, state) {
4778
4842
  return $EVENT(ctx, state, "TrailingCallExpressions", TrailingCallExpressions$0);
4779
4843
  }
@@ -5091,7 +5155,7 @@ var require_parser = __commonJS({
5091
5155
  function FatArrow(ctx, state) {
5092
5156
  return $EVENT(ctx, state, "FatArrow", FatArrow$0);
5093
5157
  }
5094
- var TrailingDeclaration$0 = $S($Q(_), $C(ConstAssignment, LetAssignment));
5158
+ var TrailingDeclaration$0 = $S($E(_), $C(ConstAssignment, LetAssignment));
5095
5159
  function TrailingDeclaration(ctx, state) {
5096
5160
  return $EVENT(ctx, state, "TrailingDeclaration", TrailingDeclaration$0);
5097
5161
  }
@@ -5114,7 +5178,7 @@ var require_parser = __commonJS({
5114
5178
  return $EVENT(ctx, state, "ConditionalExpression", ConditionalExpression$0);
5115
5179
  }
5116
5180
  var TernaryRest$0 = NestedTernaryRest;
5117
- var TernaryRest$1 = $TS($S($N(CoffeeBinaryExistentialEnabled), $Y($EXPECT($L11, 'TernaryRest " "')), $E(_), QuestionMark, ExtendedExpression, __, Colon, ExtendedExpression), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8) {
5181
+ var TernaryRest$1 = $TS($S($N(CoffeeBinaryExistentialEnabled), $Y($EXPECT($R3, "TernaryRest /[ \\t]/")), _, QuestionMark, ExtendedExpression, __, Colon, ExtendedExpression), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8) {
5118
5182
  return $0.slice(2);
5119
5183
  });
5120
5184
  var TernaryRest$$ = [TernaryRest$0, TernaryRest$1];
@@ -5228,7 +5292,7 @@ var require_parser = __commonJS({
5228
5292
  function ClassDeclaration(ctx, state) {
5229
5293
  return $EVENT(ctx, state, "ClassDeclaration", ClassDeclaration$0);
5230
5294
  }
5231
- var ClassExpression$0 = $S($E(Decorators), $E($S(Abstract, __)), Class, $N($EXPECT($L12, 'ClassExpression ":"')), $E(ClassBinding), $E(ClassHeritage), ClassBody);
5295
+ var ClassExpression$0 = $S($E(Decorators), $E($S(Abstract, __)), Class, $N($EXPECT($L11, 'ClassExpression ":"')), $E(ClassBinding), $E(ClassHeritage), ClassBody);
5232
5296
  function ClassExpression(ctx, state) {
5233
5297
  return $EVENT(ctx, state, "ClassExpression", ClassExpression$0);
5234
5298
  }
@@ -5248,7 +5312,7 @@ var require_parser = __commonJS({
5248
5312
  function ExtendsClause(ctx, state) {
5249
5313
  return $EVENT(ctx, state, "ExtendsClause", ExtendsClause$0);
5250
5314
  }
5251
- var ExtendsToken$0 = $TS($S(Loc, __, OpenAngleBracket, $E($EXPECT($L11, 'ExtendsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
5315
+ var ExtendsToken$0 = $TS($S(Loc, __, OpenAngleBracket, $E($EXPECT($L12, 'ExtendsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
5252
5316
  var l = $1;
5253
5317
  var ws = $2;
5254
5318
  var lt = $3;
@@ -5286,7 +5350,7 @@ var require_parser = __commonJS({
5286
5350
  function ImplementsClause(ctx, state) {
5287
5351
  return $EVENT(ctx, state, "ImplementsClause", ImplementsClause$0);
5288
5352
  }
5289
- var ImplementsToken$0 = $TS($S(Loc, __, ImplementsShorthand, $E($EXPECT($L11, 'ImplementsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
5353
+ var ImplementsToken$0 = $TS($S(Loc, __, ImplementsShorthand, $E($EXPECT($L12, 'ImplementsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
5290
5354
  var l = $1;
5291
5355
  var ws = $2;
5292
5356
  var token = $3;
@@ -5516,7 +5580,7 @@ var require_parser = __commonJS({
5516
5580
  function AtThis(ctx, state) {
5517
5581
  return $EVENT(ctx, state, "AtThis", AtThis$0);
5518
5582
  }
5519
- var LeftHandSideExpression$0 = $S($P($S(New, $N($C($EXPECT($L6, 'LeftHandSideExpression "."'), $EXPECT($L12, 'LeftHandSideExpression ":"'))), __)), CallExpression, $E(TypeArguments));
5583
+ var LeftHandSideExpression$0 = $S($P($S(New, $N($C($EXPECT($L6, 'LeftHandSideExpression "."'), $EXPECT($L11, 'LeftHandSideExpression ":"'))), __)), CallExpression, $E(TypeArguments));
5520
5584
  var LeftHandSideExpression$1 = CallExpression;
5521
5585
  var LeftHandSideExpression$$ = [LeftHandSideExpression$0, LeftHandSideExpression$1];
5522
5586
  function LeftHandSideExpression(ctx, state) {
@@ -5554,13 +5618,14 @@ var require_parser = __commonJS({
5554
5618
  return $EVENT_C(ctx, state, "CallExpression", CallExpression$$);
5555
5619
  }
5556
5620
  var CallExpressionRest$0 = MemberExpressionRest;
5557
- var CallExpressionRest$1 = $TV($C(TemplateLiteral, StringLiteral), function($skip, $loc, $0, $1) {
5558
- if ($1.type === "StringLiteral") {
5559
- return "`" + $1.token.slice(1, -1).replace(/(`|\$\{)/g, "\\$1") + "`";
5621
+ var CallExpressionRest$1 = $TS($S($EXPECT($R4, "CallExpressionRest /(?=['\"`])/"), $C(TemplateLiteral, StringLiteral)), function($skip, $loc, $0, $1, $2) {
5622
+ var literal = $2;
5623
+ if (literal.type === "StringLiteral") {
5624
+ return "`" + literal.token.slice(1, -1).replace(/(`|\$\{)/g, "\\$1") + "`";
5560
5625
  }
5561
- return $1;
5626
+ return literal;
5562
5627
  });
5563
- var CallExpressionRest$2 = $TS($S($E($C(OptionalShorthand, NonNullAssertion)), ArgumentsWithTrailingMemberExpressions), function($skip, $loc, $0, $1, $2) {
5628
+ var CallExpressionRest$2 = $TS($S($E(OptionalShorthand), ArgumentsWithTrailingMemberExpressions), function($skip, $loc, $0, $1, $2) {
5564
5629
  if (!$1)
5565
5630
  return $2;
5566
5631
  return [$1, ...$2];
@@ -5569,17 +5634,19 @@ var require_parser = __commonJS({
5569
5634
  function CallExpressionRest(ctx, state) {
5570
5635
  return $EVENT_C(ctx, state, "CallExpressionRest", CallExpressionRest$$);
5571
5636
  }
5572
- var OptionalShorthand$0 = $TS($S($Q(InlineComment), QuestionMark, OptionalDot), function($skip, $loc, $0, $1, $2, $3) {
5637
+ var OptionalShorthand$0 = $TS($S($EXPECT($R5, "OptionalShorthand /(?=[\\/?])/"), $Q(InlineComment), QuestionMark, OptionalDot), function($skip, $loc, $0, $1, $2, $3, $4) {
5573
5638
  return {
5574
5639
  type: "Optional",
5575
5640
  children: $0
5576
5641
  };
5577
5642
  });
5643
+ var OptionalShorthand$1 = NonNullAssertion;
5644
+ var OptionalShorthand$$ = [OptionalShorthand$0, OptionalShorthand$1];
5578
5645
  function OptionalShorthand(ctx, state) {
5579
- return $EVENT(ctx, state, "OptionalShorthand", OptionalShorthand$0);
5646
+ return $EVENT_C(ctx, state, "OptionalShorthand", OptionalShorthand$$);
5580
5647
  }
5581
5648
  var OptionalDot$0 = $S($Q(InlineComment), Dot);
5582
- var OptionalDot$1 = $S(InsertDot, $Q(InlineComment));
5649
+ var OptionalDot$1 = InsertDot;
5583
5650
  var OptionalDot$$ = [OptionalDot$0, OptionalDot$1];
5584
5651
  function OptionalDot(ctx, state) {
5585
5652
  return $EVENT_C(ctx, state, "OptionalDot", OptionalDot$$);
@@ -5623,7 +5690,7 @@ var require_parser = __commonJS({
5623
5690
  function MemberExpressionRest(ctx, state) {
5624
5691
  return $EVENT(ctx, state, "MemberExpressionRest", MemberExpressionRest$0);
5625
5692
  }
5626
- var MemberExpressionRestBody$0 = $TS($S($E($C(OptionalShorthand, NonNullAssertion)), $Q(InlineComment), MemberBracketContent), function($skip, $loc, $0, $1, $2, $3) {
5693
+ var MemberExpressionRestBody$0 = $TS($S($E(OptionalShorthand), $Q(InlineComment), MemberBracketContent), function($skip, $loc, $0, $1, $2, $3) {
5627
5694
  var dot = $1;
5628
5695
  var comments = $2;
5629
5696
  var content = $3;
@@ -5667,35 +5734,21 @@ var require_parser = __commonJS({
5667
5734
  expression
5668
5735
  };
5669
5736
  });
5670
- var MemberBracketContent$1 = $TS($S(Dot, $C(TemplateLiteral, StringLiteral)), function($skip, $loc, $0, $1, $2) {
5671
- var dot = $1;
5672
- var str = $2;
5673
- if (Array.isArray(dot))
5674
- dot = dot[0];
5675
- return {
5676
- type: "Index",
5677
- children: [
5678
- { token: "[", $loc: dot.$loc },
5679
- str,
5680
- "]"
5681
- ]
5682
- };
5683
- });
5684
- var MemberBracketContent$2 = $TS($S(Dot, IntegerLiteral), function($skip, $loc, $0, $1, $2) {
5737
+ var MemberBracketContent$1 = $TS($S(Dot, $C(TemplateLiteral, StringLiteral, IntegerLiteral)), function($skip, $loc, $0, $1, $2) {
5685
5738
  var dot = $1;
5686
- var num = $2;
5739
+ var literal = $2;
5687
5740
  if (Array.isArray(dot))
5688
5741
  dot = dot[0];
5689
5742
  return {
5690
5743
  type: "Index",
5691
5744
  children: [
5692
5745
  { token: "[", $loc: dot.$loc },
5693
- num,
5746
+ literal,
5694
5747
  "]"
5695
5748
  ]
5696
5749
  };
5697
5750
  });
5698
- var MemberBracketContent$3 = $TS($S(Dot, $EXPECT($L18, 'MemberBracketContent "-"'), IntegerLiteral), function($skip, $loc, $0, $1, $2, $3) {
5751
+ var MemberBracketContent$2 = $TS($S(Dot, $EXPECT($L18, 'MemberBracketContent "-"'), IntegerLiteral), function($skip, $loc, $0, $1, $2, $3) {
5699
5752
  var dot = $1;
5700
5753
  var neg = $2;
5701
5754
  var num = $3;
@@ -5705,7 +5758,7 @@ var require_parser = __commonJS({
5705
5758
  { type: "Call", children: ["(", neg, num, ")"] }
5706
5759
  ];
5707
5760
  });
5708
- var MemberBracketContent$$ = [MemberBracketContent$0, MemberBracketContent$1, MemberBracketContent$2, MemberBracketContent$3];
5761
+ var MemberBracketContent$$ = [MemberBracketContent$0, MemberBracketContent$1, MemberBracketContent$2];
5709
5762
  function MemberBracketContent(ctx, state) {
5710
5763
  return $EVENT_C(ctx, state, "MemberBracketContent", MemberBracketContent$$);
5711
5764
  }
@@ -5773,7 +5826,7 @@ var require_parser = __commonJS({
5773
5826
  function SliceParameters(ctx, state) {
5774
5827
  return $EVENT_C(ctx, state, "SliceParameters", SliceParameters$$);
5775
5828
  }
5776
- var AccessStart$0 = $TS($S($E($C(QuestionMark, NonNullAssertion)), Dot, $N(Dot)), function($skip, $loc, $0, $1, $2, $3) {
5829
+ var AccessStart$0 = $TS($S($E(PropertyAccessModifier), Dot, $N(Dot)), function($skip, $loc, $0, $1, $2, $3) {
5777
5830
  if ($1)
5778
5831
  return [$1, $2];
5779
5832
  return $2;
@@ -5781,6 +5834,12 @@ var require_parser = __commonJS({
5781
5834
  function AccessStart(ctx, state) {
5782
5835
  return $EVENT(ctx, state, "AccessStart", AccessStart$0);
5783
5836
  }
5837
+ var PropertyAccessModifier$0 = QuestionMark;
5838
+ var PropertyAccessModifier$1 = NonNullAssertion;
5839
+ var PropertyAccessModifier$$ = [PropertyAccessModifier$0, PropertyAccessModifier$1];
5840
+ function PropertyAccessModifier(ctx, state) {
5841
+ return $EVENT_C(ctx, state, "PropertyAccessModifier", PropertyAccessModifier$$);
5842
+ }
5784
5843
  var PropertyAccess$0 = $TS($S(AccessStart, $Q(InlineComment), $C(IdentifierName, PrivateIdentifier)), function($skip, $loc, $0, $1, $2, $3) {
5785
5844
  var access = $1;
5786
5845
  var comments = $2;
@@ -5813,7 +5872,7 @@ var require_parser = __commonJS({
5813
5872
  function PropertyAccess(ctx, state) {
5814
5873
  return $EVENT_C(ctx, state, "PropertyAccess", PropertyAccess$$);
5815
5874
  }
5816
- var PropertyGlob$0 = $TS($S($S($E($C(QuestionMark, NonNullAssertion)), OptionalDot), $Q(InlineComment), BracedObjectLiteral), function($skip, $loc, $0, $1, $2, $3) {
5875
+ var PropertyGlob$0 = $TS($S($S($E(PropertyAccessModifier), OptionalDot), $Q(InlineComment), BracedObjectLiteral), function($skip, $loc, $0, $1, $2, $3) {
5817
5876
  var dot = $1;
5818
5877
  var object = $3;
5819
5878
  return {
@@ -5826,7 +5885,7 @@ var require_parser = __commonJS({
5826
5885
  function PropertyGlob(ctx, state) {
5827
5886
  return $EVENT(ctx, state, "PropertyGlob", PropertyGlob$0);
5828
5887
  }
5829
- var PropertyBind$0 = $TS($S($E($C(QuestionMark, NonNullAssertion)), At, OptionalDot, $C(IdentifierName, PrivateIdentifier)), function($skip, $loc, $0, $1, $2, $3, $4) {
5888
+ var PropertyBind$0 = $TS($S($E(PropertyAccessModifier), At, OptionalDot, $C(IdentifierName, PrivateIdentifier)), function($skip, $loc, $0, $1, $2, $3, $4) {
5830
5889
  var modifier = $1;
5831
5890
  var dot = $3;
5832
5891
  var id = $4;
@@ -5841,7 +5900,7 @@ var require_parser = __commonJS({
5841
5900
  return $EVENT(ctx, state, "PropertyBind", PropertyBind$0);
5842
5901
  }
5843
5902
  var SuperProperty$0 = $S(Super, MemberBracketContent);
5844
- var SuperProperty$1 = $S(Super, $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
5903
+ var SuperProperty$1 = $S(Super, $N(PropertyAccessModifier), PropertyAccess);
5845
5904
  var SuperProperty$$ = [SuperProperty$0, SuperProperty$1];
5846
5905
  function SuperProperty(ctx, state) {
5847
5906
  return $EVENT_C(ctx, state, "SuperProperty", SuperProperty$$);
@@ -5949,8 +6008,8 @@ var require_parser = __commonJS({
5949
6008
  function NonEmptyParameters(ctx, state) {
5950
6009
  return $EVENT(ctx, state, "NonEmptyParameters", NonEmptyParameters$0);
5951
6010
  }
5952
- var FunctionRestParameter$0 = $TS($S(BindingRestElement, $E(TypeSuffix), ParameterElementDelimiter), function($skip, $loc, $0, $1, $2, $3) {
5953
- var id = $1;
6011
+ var FunctionRestParameter$0 = $TS($S(__, BindingRestElement, $E(TypeSuffix), ParameterElementDelimiter), function($skip, $loc, $0, $1, $2, $3, $4) {
6012
+ var id = $2;
5954
6013
  return {
5955
6014
  type: "FunctionRestParameter",
5956
6015
  children: $0,
@@ -5973,7 +6032,7 @@ var require_parser = __commonJS({
5973
6032
  return $EVENT(ctx, state, "ParameterElement", ParameterElement$0);
5974
6033
  }
5975
6034
  var ParameterElementDelimiter$0 = $S($Q(_), Comma);
5976
- var ParameterElementDelimiter$1 = $Y($S(__, $R$0($EXPECT($R2, "ParameterElementDelimiter /[)}]/"))));
6035
+ var ParameterElementDelimiter$1 = $Y($S(__, $R$0($EXPECT($R6, "ParameterElementDelimiter /[)}]/"))));
5977
6036
  var ParameterElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
5978
6037
  return value[1];
5979
6038
  });
@@ -6047,10 +6106,14 @@ var require_parser = __commonJS({
6047
6106
  return $EVENT_C(ctx, state, "BindingPattern", BindingPattern$$);
6048
6107
  }
6049
6108
  var ObjectBindingPattern$0 = $TS($S($E(_), OpenBrace, ObjectBindingPatternContent, __, CloseBrace), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
6109
+ var ws1 = $1;
6110
+ var open = $2;
6050
6111
  var c = $3;
6112
+ var ws2 = $4;
6113
+ var close = $5;
6051
6114
  return {
6052
6115
  type: "ObjectBindingPattern",
6053
- children: [$1, $2, c.children, $4, $5],
6116
+ children: [ws1, open, c.children, ws2, close],
6054
6117
  names: c.names,
6055
6118
  properties: c.children
6056
6119
  };
@@ -6083,13 +6146,17 @@ var require_parser = __commonJS({
6083
6146
  return $EVENT(ctx, state, "BindingPropertyList", BindingPropertyList$0);
6084
6147
  }
6085
6148
  var ArrayBindingPattern$0 = $TS($S($E(_), OpenBracket, ArrayBindingPatternContent, __, CloseBracket), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
6149
+ var ws1 = $1;
6150
+ var open = $2;
6086
6151
  var c = $3;
6152
+ var ws2 = $4;
6153
+ var close = $5;
6087
6154
  return {
6088
6155
  ...c,
6089
6156
  // names, blockPrefix, length
6090
6157
  type: "ArrayBindingPattern",
6091
6158
  elements: c.children,
6092
- children: [$1, $2, c.children, $4, $5]
6159
+ children: [ws1, open, c.children, ws2, close]
6093
6160
  };
6094
6161
  });
6095
6162
  function ArrayBindingPattern(ctx, state) {
@@ -6531,7 +6598,7 @@ var require_parser = __commonJS({
6531
6598
  function AmpersandBlockRHS(ctx, state) {
6532
6599
  return $EVENT(ctx, state, "AmpersandBlockRHS", AmpersandBlockRHS$0);
6533
6600
  }
6534
- var AmpersandBlockRHSBody$0 = $TS($S($E($S($N(_), $P(CallExpressionRest))), $E(QuestionMark), $E($S($N($EXPECT($R3, "AmpersandBlockRHSBody /[&]/")), $P(BinaryOpRHS)))), function($skip, $loc, $0, $1, $2, $3) {
6601
+ var AmpersandBlockRHSBody$0 = $TS($S($E($S($N(_), $P(CallExpressionRest))), $E(QuestionMark), $E($S($N($EXPECT($R7, "AmpersandBlockRHSBody /[&]/")), $P(BinaryOpRHS)))), function($skip, $loc, $0, $1, $2, $3) {
6535
6602
  var callExpRest = $1;
6536
6603
  var unaryPostfix = $2;
6537
6604
  var binopRHS = $3;
@@ -6561,7 +6628,7 @@ var require_parser = __commonJS({
6561
6628
  function AmpersandBlockRHSBody(ctx, state) {
6562
6629
  return $EVENT(ctx, state, "AmpersandBlockRHSBody", AmpersandBlockRHSBody$0);
6563
6630
  }
6564
- var AmpersandUnaryPrefix$0 = $R$0($EXPECT($R4, "AmpersandUnaryPrefix /[!~+-]+/"));
6631
+ var AmpersandUnaryPrefix$0 = $R$0($EXPECT($R8, "AmpersandUnaryPrefix /[!~+-]+/"));
6565
6632
  function AmpersandUnaryPrefix(ctx, state) {
6566
6633
  return $EVENT(ctx, state, "AmpersandUnaryPrefix", AmpersandUnaryPrefix$0);
6567
6634
  }
@@ -6895,12 +6962,13 @@ var require_parser = __commonJS({
6895
6962
  function BlockStatementPart(ctx, state) {
6896
6963
  return $EVENT(ctx, state, "BlockStatementPart", BlockStatementPart$0);
6897
6964
  }
6898
- var Literal$0 = $TS($S(LiteralContent), function($skip, $loc, $0, $1) {
6965
+ var Literal$0 = $TS($S($EXPECT($R9, `Literal /(?=[0-9.'"tfyno])/`), LiteralContent), function($skip, $loc, $0, $1, $2) {
6966
+ var literal = $2;
6899
6967
  return {
6900
6968
  type: "Literal",
6901
- subtype: $1.type,
6902
- children: $0,
6903
- raw: $1.token
6969
+ subtype: literal.type,
6970
+ children: [literal],
6971
+ raw: literal.token
6904
6972
  };
6905
6973
  });
6906
6974
  function Literal(ctx, state) {
@@ -6920,15 +6988,21 @@ var require_parser = __commonJS({
6920
6988
  function NullLiteral(ctx, state) {
6921
6989
  return $EVENT(ctx, state, "NullLiteral", NullLiteral$0);
6922
6990
  }
6923
- var BooleanLiteral$0 = $T($S(CoffeeBooleansEnabled, CoffeeScriptBooleanLiteral), function(value) {
6991
+ var BooleanLiteral$0 = $T($S($EXPECT($R10, "BooleanLiteral /(?=true|false|yes|no|on|off)/"), _BooleanLiteral), function(value) {
6924
6992
  return value[1];
6925
6993
  });
6926
- var BooleanLiteral$1 = $TS($S($C($EXPECT($L27, 'BooleanLiteral "true"'), $EXPECT($L28, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
6994
+ function BooleanLiteral(ctx, state) {
6995
+ return $EVENT(ctx, state, "BooleanLiteral", BooleanLiteral$0);
6996
+ }
6997
+ var _BooleanLiteral$0 = $T($S(CoffeeBooleansEnabled, CoffeeScriptBooleanLiteral), function(value) {
6998
+ return value[1];
6999
+ });
7000
+ var _BooleanLiteral$1 = $TS($S($C($EXPECT($L27, '_BooleanLiteral "true"'), $EXPECT($L28, '_BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
6927
7001
  return { $loc, token: $1 };
6928
7002
  });
6929
- var BooleanLiteral$$ = [BooleanLiteral$0, BooleanLiteral$1];
6930
- function BooleanLiteral(ctx, state) {
6931
- return $EVENT_C(ctx, state, "BooleanLiteral", BooleanLiteral$$);
7003
+ var _BooleanLiteral$$ = [_BooleanLiteral$0, _BooleanLiteral$1];
7004
+ function _BooleanLiteral(ctx, state) {
7005
+ return $EVENT_C(ctx, state, "_BooleanLiteral", _BooleanLiteral$$);
6932
7006
  }
6933
7007
  var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L29, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L30, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
6934
7008
  return { $loc, token: "true" };
@@ -6940,13 +7014,14 @@ var require_parser = __commonJS({
6940
7014
  function CoffeeScriptBooleanLiteral(ctx, state) {
6941
7015
  return $EVENT_C(ctx, state, "CoffeeScriptBooleanLiteral", CoffeeScriptBooleanLiteral$$);
6942
7016
  }
6943
- var Identifier$0 = $T($S($N(ReservedWord), IdentifierName), function(value) {
6944
- return value[1];
7017
+ var Identifier$0 = $T($S($EXPECT($R11, "Identifier /(?=\\p{ID_Start}|[_$])/"), $N(ReservedWord), IdentifierName), function(value) {
7018
+ var id = value[2];
7019
+ return id;
6945
7020
  });
6946
7021
  function Identifier(ctx, state) {
6947
7022
  return $EVENT(ctx, state, "Identifier", Identifier$0);
6948
7023
  }
6949
- var IdentifierName$0 = $TR($EXPECT($R5, "IdentifierName /(?:\\p{ID_Start}|[_$])(?:\\p{ID_Continue}|[\\u200C\\u200D$])*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
7024
+ var IdentifierName$0 = $TR($EXPECT($R12, "IdentifierName /(?:\\p{ID_Start}|[_$])(?:\\p{ID_Continue}|[\\u200C\\u200D$])*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
6950
7025
  return {
6951
7026
  type: "Identifier",
6952
7027
  name: $0,
@@ -6968,10 +7043,16 @@ var require_parser = __commonJS({
6968
7043
  function UpcomingAssignment(ctx, state) {
6969
7044
  return $EVENT(ctx, state, "UpcomingAssignment", UpcomingAssignment$0);
6970
7045
  }
6971
- var ArrayLiteral$0 = $T($S(ArrayBindingPattern, UpcomingAssignment), function(value) {
7046
+ var ArrayLiteral$0 = $T($S($EXPECT($R13, "ArrayLiteral /(?=\\[)/"), _ArrayLiteral), function(value) {
7047
+ return value[1];
7048
+ });
7049
+ function ArrayLiteral(ctx, state) {
7050
+ return $EVENT(ctx, state, "ArrayLiteral", ArrayLiteral$0);
7051
+ }
7052
+ var _ArrayLiteral$0 = $T($S(ArrayBindingPattern, UpcomingAssignment), function(value) {
6972
7053
  return value[0];
6973
7054
  });
6974
- var ArrayLiteral$1 = $TS($S(OpenBracket, AllowAll, $E($S(ArrayLiteralContent, __, CloseBracket)), RestoreAll), function($skip, $loc, $0, $1, $2, $3, $4) {
7055
+ var _ArrayLiteral$1 = $TS($S(OpenBracket, AllowAll, $E($S(ArrayLiteralContent, __, CloseBracket)), RestoreAll), function($skip, $loc, $0, $1, $2, $3, $4) {
6975
7056
  var open = $1;
6976
7057
  if (!$3)
6977
7058
  return $skip;
@@ -6995,9 +7076,9 @@ var require_parser = __commonJS({
6995
7076
  names
6996
7077
  };
6997
7078
  });
6998
- var ArrayLiteral$$ = [ArrayLiteral$0, ArrayLiteral$1];
6999
- function ArrayLiteral(ctx, state) {
7000
- return $EVENT_C(ctx, state, "ArrayLiteral", ArrayLiteral$$);
7079
+ var _ArrayLiteral$$ = [_ArrayLiteral$0, _ArrayLiteral$1];
7080
+ function _ArrayLiteral(ctx, state) {
7081
+ return $EVENT_C(ctx, state, "_ArrayLiteral", _ArrayLiteral$$);
7001
7082
  }
7002
7083
  var RangeExpression$0 = $TS($S(ExtendedExpression, __, $C(DotDotDot, DotDot), ExtendedExpression), function($skip, $loc, $0, $1, $2, $3, $4) {
7003
7084
  var s = $1;
@@ -7362,7 +7443,7 @@ var require_parser = __commonJS({
7362
7443
  children: [ws, ...prop.children]
7363
7444
  };
7364
7445
  });
7365
- var PropertyDefinition$1 = $TS($S($E(_), $TEXT($EXPECT($R6, "PropertyDefinition /[!+-]/")), PropertyName), function($skip, $loc, $0, $1, $2, $3) {
7446
+ var PropertyDefinition$1 = $TS($S($E(_), $TEXT($EXPECT($R14, "PropertyDefinition /[!+-]/")), PropertyName), function($skip, $loc, $0, $1, $2, $3) {
7366
7447
  var ws = $1;
7367
7448
  var toggle = $2;
7368
7449
  var id = $3;
@@ -7954,7 +8035,7 @@ var require_parser = __commonJS({
7954
8035
  var BinaryOpSymbol$14 = $T($EXPECT($L66, 'BinaryOpSymbol "\xAB"'), function(value) {
7955
8036
  return "<<";
7956
8037
  });
7957
- var BinaryOpSymbol$15 = $TR($EXPECT($R7, "BinaryOpSymbol /<(?!\\p{ID_Start}|[_$])/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
8038
+ var BinaryOpSymbol$15 = $TR($EXPECT($R15, "BinaryOpSymbol /<(?!\\p{ID_Start}|[_$])/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
7958
8039
  return "<";
7959
8040
  });
7960
8041
  var BinaryOpSymbol$16 = $EXPECT($L67, 'BinaryOpSymbol ">>>"');
@@ -7993,36 +8074,33 @@ var require_parser = __commonJS({
7993
8074
  return "&&";
7994
8075
  });
7995
8076
  var BinaryOpSymbol$29 = $EXPECT($L83, 'BinaryOpSymbol "&&"');
7996
- var BinaryOpSymbol$30 = $T($S(CoffeeOfEnabled, $EXPECT($L84, 'BinaryOpSymbol "of"'), NonIdContinue), function(value) {
7997
- return "in";
7998
- });
7999
- var BinaryOpSymbol$31 = $T($S($EXPECT($L85, 'BinaryOpSymbol "or"'), NonIdContinue), function(value) {
8077
+ var BinaryOpSymbol$30 = $T($S($EXPECT($L84, 'BinaryOpSymbol "or"'), NonIdContinue), function(value) {
8000
8078
  return "||";
8001
8079
  });
8002
- var BinaryOpSymbol$32 = $EXPECT($L86, 'BinaryOpSymbol "||"');
8003
- var BinaryOpSymbol$33 = $T($EXPECT($L87, 'BinaryOpSymbol "\u2016"'), function(value) {
8080
+ var BinaryOpSymbol$31 = $EXPECT($L85, 'BinaryOpSymbol "||"');
8081
+ var BinaryOpSymbol$32 = $T($EXPECT($L86, 'BinaryOpSymbol "\u2016"'), function(value) {
8004
8082
  return "||";
8005
8083
  });
8006
- var BinaryOpSymbol$34 = $TV($C($EXPECT($L88, 'BinaryOpSymbol "^^"'), $S($EXPECT($L89, 'BinaryOpSymbol "xor"'), NonIdContinue)), function($skip, $loc, $0, $1) {
8084
+ var BinaryOpSymbol$33 = $TV($C($EXPECT($L87, 'BinaryOpSymbol "^^"'), $S($EXPECT($L88, 'BinaryOpSymbol "xor"'), NonIdContinue)), function($skip, $loc, $0, $1) {
8007
8085
  return {
8008
8086
  call: module2.getRef("xor"),
8009
8087
  special: true
8010
8088
  };
8011
8089
  });
8012
- var BinaryOpSymbol$35 = $TV($C($EXPECT($R8, "BinaryOpSymbol /!\\^\\^?/"), $S($EXPECT($L90, 'BinaryOpSymbol "xnor"'), NonIdContinue)), function($skip, $loc, $0, $1) {
8090
+ var BinaryOpSymbol$34 = $TV($C($EXPECT($R16, "BinaryOpSymbol /!\\^\\^?/"), $S($EXPECT($L89, 'BinaryOpSymbol "xnor"'), NonIdContinue)), function($skip, $loc, $0, $1) {
8013
8091
  return {
8014
8092
  call: module2.getRef("xnor"),
8015
8093
  special: true
8016
8094
  };
8017
8095
  });
8018
- var BinaryOpSymbol$36 = $EXPECT($L91, 'BinaryOpSymbol "??"');
8019
- var BinaryOpSymbol$37 = $T($EXPECT($L92, 'BinaryOpSymbol "\u2047"'), function(value) {
8096
+ var BinaryOpSymbol$35 = $EXPECT($L90, 'BinaryOpSymbol "??"');
8097
+ var BinaryOpSymbol$36 = $T($EXPECT($L91, 'BinaryOpSymbol "\u2047"'), function(value) {
8020
8098
  return "??";
8021
8099
  });
8022
- var BinaryOpSymbol$38 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L5, 'BinaryOpSymbol "?"')), function(value) {
8100
+ var BinaryOpSymbol$37 = $T($S($EXPECT($L5, 'BinaryOpSymbol "?"'), CoffeeBinaryExistentialEnabled), function(value) {
8023
8101
  return "??";
8024
8102
  });
8025
- var BinaryOpSymbol$39 = $TS($S($EXPECT($L93, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
8103
+ var BinaryOpSymbol$38 = $TS($S($EXPECT($L92, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
8026
8104
  return {
8027
8105
  $loc,
8028
8106
  token: $1,
@@ -8031,24 +8109,15 @@ var require_parser = __commonJS({
8031
8109
  // for typeof shorthand
8032
8110
  };
8033
8111
  });
8034
- var BinaryOpSymbol$40 = $TS($S(Not, __, $EXPECT($L93, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4) {
8035
- return {
8036
- $loc,
8037
- token: "instanceof",
8038
- relational: true,
8039
- special: true,
8040
- negated: true
8041
- };
8112
+ var BinaryOpSymbol$39 = $T($S(CoffeeOfEnabled, CoffeeOfOp), function(value) {
8113
+ var op = value[1];
8114
+ return op;
8042
8115
  });
8043
- var BinaryOpSymbol$41 = $TV($C($S($N(CoffeeOfEnabled), Not, __, In), $S(CoffeeOfEnabled, Not, __, $EXPECT($L84, 'BinaryOpSymbol "of"'), NonIdContinue)), function($skip, $loc, $0, $1) {
8044
- return {
8045
- $loc,
8046
- token: "in",
8047
- special: true,
8048
- negated: true
8049
- };
8116
+ var BinaryOpSymbol$40 = $TS($S(Not, __, NotOp), function($skip, $loc, $0, $1, $2, $3) {
8117
+ var op = $3;
8118
+ return { ...op, $loc };
8050
8119
  });
8051
- var BinaryOpSymbol$42 = $TV($C($S(Is, __, In), $EXPECT($L94, 'BinaryOpSymbol "\u2208"')), function($skip, $loc, $0, $1) {
8120
+ var BinaryOpSymbol$41 = $TV($C($S(Is, __, In), $EXPECT($L93, 'BinaryOpSymbol "\u2208"')), function($skip, $loc, $0, $1) {
8052
8121
  return {
8053
8122
  method: "includes",
8054
8123
  relational: true,
@@ -8056,14 +8125,14 @@ var require_parser = __commonJS({
8056
8125
  special: true
8057
8126
  };
8058
8127
  });
8059
- var BinaryOpSymbol$43 = $TV($EXPECT($L95, 'BinaryOpSymbol "\u220B"'), function($skip, $loc, $0, $1) {
8128
+ var BinaryOpSymbol$42 = $TV($EXPECT($L94, 'BinaryOpSymbol "\u220B"'), function($skip, $loc, $0, $1) {
8060
8129
  return {
8061
8130
  method: "includes",
8062
8131
  relational: true,
8063
8132
  special: true
8064
8133
  };
8065
8134
  });
8066
- var BinaryOpSymbol$44 = $TV($EXPECT($L96, 'BinaryOpSymbol "\u220C"'), function($skip, $loc, $0, $1) {
8135
+ var BinaryOpSymbol$43 = $TV($EXPECT($L95, 'BinaryOpSymbol "\u220C"'), function($skip, $loc, $0, $1) {
8067
8136
  return {
8068
8137
  method: "includes",
8069
8138
  relational: true,
@@ -8071,16 +8140,7 @@ var require_parser = __commonJS({
8071
8140
  negated: true
8072
8141
  };
8073
8142
  });
8074
- var BinaryOpSymbol$45 = $TS($S(CoffeeOfEnabled, In), function($skip, $loc, $0, $1, $2) {
8075
- return {
8076
- call: [module2.getRef("indexOf"), ".call"],
8077
- relational: true,
8078
- reversed: true,
8079
- suffix: " >= 0",
8080
- special: true
8081
- };
8082
- });
8083
- var BinaryOpSymbol$46 = $TV($C($S(Is, __, Not, __, In), $EXPECT($L97, 'BinaryOpSymbol "\u2209"')), function($skip, $loc, $0, $1) {
8143
+ var BinaryOpSymbol$44 = $TV($C($S(Is, __, Not, __, In), $EXPECT($L96, 'BinaryOpSymbol "\u2209"')), function($skip, $loc, $0, $1) {
8084
8144
  return {
8085
8145
  method: "includes",
8086
8146
  relational: true,
@@ -8089,16 +8149,7 @@ var require_parser = __commonJS({
8089
8149
  negated: true
8090
8150
  };
8091
8151
  });
8092
- var BinaryOpSymbol$47 = $TS($S(CoffeeOfEnabled, Not, __, In), function($skip, $loc, $0, $1, $2, $3, $4) {
8093
- return {
8094
- call: [module2.getRef("indexOf"), ".call"],
8095
- relational: true,
8096
- reversed: true,
8097
- suffix: " < 0",
8098
- special: true
8099
- };
8100
- });
8101
- var BinaryOpSymbol$48 = $TS($S($N(CoffeeNotEnabled), Is, __, Not), function($skip, $loc, $0, $1, $2, $3, $4) {
8152
+ var BinaryOpSymbol$45 = $TS($S($N(CoffeeNotEnabled), Is, __, Not), function($skip, $loc, $0, $1, $2, $3, $4) {
8102
8153
  if (module2.config.objectIs) {
8103
8154
  return {
8104
8155
  call: module2.getRef("is"),
@@ -8110,7 +8161,7 @@ var require_parser = __commonJS({
8110
8161
  }
8111
8162
  return "!==";
8112
8163
  });
8113
- var BinaryOpSymbol$49 = $TS($S(Is), function($skip, $loc, $0, $1) {
8164
+ var BinaryOpSymbol$46 = $TS($S(Is), function($skip, $loc, $0, $1) {
8114
8165
  if (module2.config.objectIs) {
8115
8166
  return {
8116
8167
  call: module2.getRef("is"),
@@ -8121,34 +8172,86 @@ var require_parser = __commonJS({
8121
8172
  }
8122
8173
  return "===";
8123
8174
  });
8124
- var BinaryOpSymbol$50 = $TS($S(In), function($skip, $loc, $0, $1) {
8125
- return "in";
8126
- });
8127
- var BinaryOpSymbol$51 = $EXPECT($L98, 'BinaryOpSymbol "&"');
8128
- var BinaryOpSymbol$52 = $EXPECT($L17, 'BinaryOpSymbol "^"');
8129
- var BinaryOpSymbol$53 = $EXPECT($L99, 'BinaryOpSymbol "|"');
8130
- var BinaryOpSymbol$$ = [BinaryOpSymbol$0, BinaryOpSymbol$1, BinaryOpSymbol$2, BinaryOpSymbol$3, BinaryOpSymbol$4, BinaryOpSymbol$5, BinaryOpSymbol$6, BinaryOpSymbol$7, BinaryOpSymbol$8, BinaryOpSymbol$9, BinaryOpSymbol$10, BinaryOpSymbol$11, BinaryOpSymbol$12, BinaryOpSymbol$13, BinaryOpSymbol$14, BinaryOpSymbol$15, BinaryOpSymbol$16, BinaryOpSymbol$17, BinaryOpSymbol$18, BinaryOpSymbol$19, BinaryOpSymbol$20, BinaryOpSymbol$21, BinaryOpSymbol$22, BinaryOpSymbol$23, BinaryOpSymbol$24, BinaryOpSymbol$25, BinaryOpSymbol$26, BinaryOpSymbol$27, BinaryOpSymbol$28, BinaryOpSymbol$29, BinaryOpSymbol$30, BinaryOpSymbol$31, BinaryOpSymbol$32, BinaryOpSymbol$33, BinaryOpSymbol$34, BinaryOpSymbol$35, BinaryOpSymbol$36, BinaryOpSymbol$37, BinaryOpSymbol$38, BinaryOpSymbol$39, BinaryOpSymbol$40, BinaryOpSymbol$41, BinaryOpSymbol$42, BinaryOpSymbol$43, BinaryOpSymbol$44, BinaryOpSymbol$45, BinaryOpSymbol$46, BinaryOpSymbol$47, BinaryOpSymbol$48, BinaryOpSymbol$49, BinaryOpSymbol$50, BinaryOpSymbol$51, BinaryOpSymbol$52, BinaryOpSymbol$53];
8175
+ var BinaryOpSymbol$47 = In;
8176
+ var BinaryOpSymbol$48 = $EXPECT($L97, 'BinaryOpSymbol "&"');
8177
+ var BinaryOpSymbol$49 = $EXPECT($L17, 'BinaryOpSymbol "^"');
8178
+ var BinaryOpSymbol$50 = $EXPECT($L98, 'BinaryOpSymbol "|"');
8179
+ var BinaryOpSymbol$$ = [BinaryOpSymbol$0, BinaryOpSymbol$1, BinaryOpSymbol$2, BinaryOpSymbol$3, BinaryOpSymbol$4, BinaryOpSymbol$5, BinaryOpSymbol$6, BinaryOpSymbol$7, BinaryOpSymbol$8, BinaryOpSymbol$9, BinaryOpSymbol$10, BinaryOpSymbol$11, BinaryOpSymbol$12, BinaryOpSymbol$13, BinaryOpSymbol$14, BinaryOpSymbol$15, BinaryOpSymbol$16, BinaryOpSymbol$17, BinaryOpSymbol$18, BinaryOpSymbol$19, BinaryOpSymbol$20, BinaryOpSymbol$21, BinaryOpSymbol$22, BinaryOpSymbol$23, BinaryOpSymbol$24, BinaryOpSymbol$25, BinaryOpSymbol$26, BinaryOpSymbol$27, BinaryOpSymbol$28, BinaryOpSymbol$29, BinaryOpSymbol$30, BinaryOpSymbol$31, BinaryOpSymbol$32, BinaryOpSymbol$33, BinaryOpSymbol$34, BinaryOpSymbol$35, BinaryOpSymbol$36, BinaryOpSymbol$37, BinaryOpSymbol$38, BinaryOpSymbol$39, BinaryOpSymbol$40, BinaryOpSymbol$41, BinaryOpSymbol$42, BinaryOpSymbol$43, BinaryOpSymbol$44, BinaryOpSymbol$45, BinaryOpSymbol$46, BinaryOpSymbol$47, BinaryOpSymbol$48, BinaryOpSymbol$49, BinaryOpSymbol$50];
8131
8180
  function BinaryOpSymbol(ctx, state) {
8132
8181
  return $EVENT_C(ctx, state, "BinaryOpSymbol", BinaryOpSymbol$$);
8133
8182
  }
8134
- var Xor$0 = $EXPECT($L88, 'Xor "^^"');
8135
- var Xor$1 = $S($EXPECT($L89, 'Xor "xor"'), NonIdContinue);
8183
+ var CoffeeOfOp$0 = $T($S(Of), function(value) {
8184
+ return "in";
8185
+ });
8186
+ var CoffeeOfOp$1 = $TS($S(In), function($skip, $loc, $0, $1) {
8187
+ return {
8188
+ call: [module2.getRef("indexOf"), ".call"],
8189
+ relational: true,
8190
+ reversed: true,
8191
+ suffix: " >= 0",
8192
+ special: true
8193
+ };
8194
+ });
8195
+ var CoffeeOfOp$2 = $TS($S(Not, __, Of, NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4) {
8196
+ return {
8197
+ $loc,
8198
+ token: "in",
8199
+ special: true,
8200
+ negated: true
8201
+ };
8202
+ });
8203
+ var CoffeeOfOp$3 = $TS($S(Not, __, In), function($skip, $loc, $0, $1, $2, $3) {
8204
+ return {
8205
+ call: [module2.getRef("indexOf"), ".call"],
8206
+ relational: true,
8207
+ reversed: true,
8208
+ suffix: " < 0",
8209
+ special: true
8210
+ };
8211
+ });
8212
+ var CoffeeOfOp$$ = [CoffeeOfOp$0, CoffeeOfOp$1, CoffeeOfOp$2, CoffeeOfOp$3];
8213
+ function CoffeeOfOp(ctx, state) {
8214
+ return $EVENT_C(ctx, state, "CoffeeOfOp", CoffeeOfOp$$);
8215
+ }
8216
+ var NotOp$0 = $TS($S($EXPECT($L92, 'NotOp "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
8217
+ return {
8218
+ $loc,
8219
+ token: "instanceof",
8220
+ relational: true,
8221
+ special: true,
8222
+ negated: true
8223
+ };
8224
+ });
8225
+ var NotOp$1 = $TS($S(In), function($skip, $loc, $0, $1) {
8226
+ return {
8227
+ $loc,
8228
+ token: "in",
8229
+ special: true,
8230
+ negated: true
8231
+ };
8232
+ });
8233
+ var NotOp$$ = [NotOp$0, NotOp$1];
8234
+ function NotOp(ctx, state) {
8235
+ return $EVENT_C(ctx, state, "NotOp", NotOp$$);
8236
+ }
8237
+ var Xor$0 = $EXPECT($L87, 'Xor "^^"');
8238
+ var Xor$1 = $S($EXPECT($L88, 'Xor "xor"'), NonIdContinue);
8136
8239
  var Xor$$ = [Xor$0, Xor$1];
8137
8240
  function Xor(ctx, state) {
8138
8241
  return $EVENT_C(ctx, state, "Xor", Xor$$);
8139
8242
  }
8140
- var Xnor$0 = $R$0($EXPECT($R8, "Xnor /!\\^\\^?/"));
8141
- var Xnor$1 = $EXPECT($L90, 'Xnor "xnor"');
8243
+ var Xnor$0 = $R$0($EXPECT($R16, "Xnor /!\\^\\^?/"));
8244
+ var Xnor$1 = $EXPECT($L89, 'Xnor "xnor"');
8142
8245
  var Xnor$$ = [Xnor$0, Xnor$1];
8143
8246
  function Xnor(ctx, state) {
8144
8247
  return $EVENT_C(ctx, state, "Xnor", Xnor$$);
8145
8248
  }
8146
- var UnaryOp$0 = $TR($EXPECT($R9, "UnaryOp /(?!\\+\\+|--)[!~+-](?!\\s|[!~+-]*[&.])/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
8249
+ var UnaryOp$0 = $TR($EXPECT($R17, "UnaryOp /(?!\\+\\+|--)[!~+-](?!\\s|[!~+-]*[&.])/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
8147
8250
  return { $loc, token: $0 };
8148
8251
  });
8149
8252
  var UnaryOp$1 = AwaitOp;
8150
- var UnaryOp$2 = $S($C(Delete, Void, Typeof), $N($EXPECT($L12, 'UnaryOp ":"')), $E(_));
8151
- var UnaryOp$3 = $T($S(Not, $E($EXPECT($L11, 'UnaryOp " "')), $E(_)), function(value) {
8253
+ var UnaryOp$2 = $S($C(Delete, Void, Typeof), $N($EXPECT($L11, 'UnaryOp ":"')), $E(_));
8254
+ var UnaryOp$3 = $T($S(Not, $E($EXPECT($L12, 'UnaryOp " "')), $E(_)), function(value) {
8152
8255
  return [value[0], value[2]];
8153
8256
  });
8154
8257
  var UnaryOp$$ = [UnaryOp$0, UnaryOp$1, UnaryOp$2, UnaryOp$3];
@@ -8214,14 +8317,20 @@ var require_parser = __commonJS({
8214
8317
  function NonPipelinePostfixedExpression(ctx, state) {
8215
8318
  return $EVENT(ctx, state, "NonPipelinePostfixedExpression", NonPipelinePostfixedExpression$0);
8216
8319
  }
8217
- var PostfixStatement$0 = ForClause;
8218
- var PostfixStatement$1 = IfClause;
8219
- var PostfixStatement$2 = LoopClause;
8220
- var PostfixStatement$3 = UnlessClause;
8221
- var PostfixStatement$4 = WhileClause;
8222
- var PostfixStatement$$ = [PostfixStatement$0, PostfixStatement$1, PostfixStatement$2, PostfixStatement$3, PostfixStatement$4];
8320
+ var PostfixStatement$0 = $T($S($EXPECT($R18, "PostfixStatement /(?=for|if|loop|unless|until|while)/"), _PostfixStatement), function(value) {
8321
+ return value[1];
8322
+ });
8223
8323
  function PostfixStatement(ctx, state) {
8224
- return $EVENT_C(ctx, state, "PostfixStatement", PostfixStatement$$);
8324
+ return $EVENT(ctx, state, "PostfixStatement", PostfixStatement$0);
8325
+ }
8326
+ var _PostfixStatement$0 = ForClause;
8327
+ var _PostfixStatement$1 = IfClause;
8328
+ var _PostfixStatement$2 = LoopClause;
8329
+ var _PostfixStatement$3 = UnlessClause;
8330
+ var _PostfixStatement$4 = WhileClause;
8331
+ var _PostfixStatement$$ = [_PostfixStatement$0, _PostfixStatement$1, _PostfixStatement$2, _PostfixStatement$3, _PostfixStatement$4];
8332
+ function _PostfixStatement(ctx, state) {
8333
+ return $EVENT_C(ctx, state, "_PostfixStatement", _PostfixStatement$$);
8225
8334
  }
8226
8335
  var Statement$0 = KeywordStatement;
8227
8336
  var Statement$1 = VariableStatement;
@@ -8242,7 +8351,7 @@ var require_parser = __commonJS({
8242
8351
  function Statement(ctx, state) {
8243
8352
  return $EVENT_C(ctx, state, "Statement", Statement$$);
8244
8353
  }
8245
- var EmptyStatement$0 = $TS($S($E(_), $Y($EXPECT($L100, 'EmptyStatement ";"'))), function($skip, $loc, $0, $1, $2) {
8354
+ var EmptyStatement$0 = $TS($S($E(_), $Y($EXPECT($L99, 'EmptyStatement ";"'))), function($skip, $loc, $0, $1, $2) {
8246
8355
  return { type: "EmptyStatement", children: $1 || [] };
8247
8356
  });
8248
8357
  function EmptyStatement(ctx, state) {
@@ -8264,7 +8373,7 @@ var require_parser = __commonJS({
8264
8373
  var w = $3;
8265
8374
  return [id, colon, w];
8266
8375
  });
8267
- var Label$1 = $S($EXPECT($L101, 'Label "$:"'), Whitespace);
8376
+ var Label$1 = $S($EXPECT($L100, 'Label "$:"'), Whitespace);
8268
8377
  var Label$$ = [Label$0, Label$1];
8269
8378
  function Label(ctx, state) {
8270
8379
  return $EVENT_C(ctx, state, "Label", Label$$);
@@ -8313,10 +8422,10 @@ var require_parser = __commonJS({
8313
8422
  kind = { ...kind, token: "if" };
8314
8423
  kind.token += getTrimmingSpace(condition);
8315
8424
  condition = insertTrimmingSpace(condition, "");
8425
+ condition = negateCondition(condition);
8316
8426
  return {
8317
8427
  type: "IfStatement",
8318
- // TODO: Don't add unnecessary parens
8319
- children: [kind, ["(!", condition, ")"]],
8428
+ children: [kind, condition],
8320
8429
  condition
8321
8430
  };
8322
8431
  });
@@ -8437,18 +8546,24 @@ var require_parser = __commonJS({
8437
8546
  function BlockExpressionPart(ctx, state) {
8438
8547
  return $EVENT(ctx, state, "BlockExpressionPart", BlockExpressionPart$0);
8439
8548
  }
8440
- var IterationStatement$0 = LoopStatement;
8441
- var IterationStatement$1 = $T($S($N(CoffeeDoEnabled), DoWhileStatement), function(value) {
8549
+ var IterationStatement$0 = $T($S($EXPECT($R19, "IterationStatement /(?=loop|do|for|until|while)/"), _IterationStatement), function(value) {
8550
+ return value[1];
8551
+ });
8552
+ function IterationStatement(ctx, state) {
8553
+ return $EVENT(ctx, state, "IterationStatement", IterationStatement$0);
8554
+ }
8555
+ var _IterationStatement$0 = LoopStatement;
8556
+ var _IterationStatement$1 = $T($S($N(CoffeeDoEnabled), DoWhileStatement), function(value) {
8442
8557
  return value[1];
8443
8558
  });
8444
- var IterationStatement$2 = $T($S($N(CoffeeDoEnabled), DoStatement), function(value) {
8559
+ var _IterationStatement$2 = $T($S($N(CoffeeDoEnabled), DoStatement), function(value) {
8445
8560
  return value[1];
8446
8561
  });
8447
- var IterationStatement$3 = WhileStatement;
8448
- var IterationStatement$4 = ForStatement;
8449
- var IterationStatement$$ = [IterationStatement$0, IterationStatement$1, IterationStatement$2, IterationStatement$3, IterationStatement$4];
8450
- function IterationStatement(ctx, state) {
8451
- return $EVENT_C(ctx, state, "IterationStatement", IterationStatement$$);
8562
+ var _IterationStatement$3 = WhileStatement;
8563
+ var _IterationStatement$4 = ForStatement;
8564
+ var _IterationStatement$$ = [_IterationStatement$0, _IterationStatement$1, _IterationStatement$2, _IterationStatement$3, _IterationStatement$4];
8565
+ function _IterationStatement(ctx, state) {
8566
+ return $EVENT_C(ctx, state, "_IterationStatement", _IterationStatement$$);
8452
8567
  }
8453
8568
  var IterationExpression$0 = $TS($S($E($S(Async, __)), IterationStatement), function($skip, $loc, $0, $1, $2) {
8454
8569
  var async = $1;
@@ -8519,16 +8634,12 @@ var require_parser = __commonJS({
8519
8634
  var ws = $2;
8520
8635
  var condition = $3;
8521
8636
  if (kind.token === "until") {
8522
- kind.token = "while";
8523
- return {
8524
- type: "IterationStatement",
8525
- children: [kind, ...ws, ["(!", ...condition.children, ")"]],
8526
- condition
8527
- };
8637
+ kind = { ...kind, token: "while" };
8638
+ condition = negateCondition(condition);
8528
8639
  }
8529
8640
  return {
8530
8641
  type: "IterationStatement",
8531
- children: [kind, ...ws, ...condition.children],
8642
+ children: [kind, ws, condition],
8532
8643
  condition
8533
8644
  };
8534
8645
  });
@@ -8787,7 +8898,7 @@ var require_parser = __commonJS({
8787
8898
  names: binding.names
8788
8899
  };
8789
8900
  });
8790
- var ForDeclaration$1 = $TS($S(InsertConst, ForBinding, $EXPECT($R10, "ForDeclaration /(?=[\\s\\),])/")), function($skip, $loc, $0, $1, $2, $3) {
8901
+ var ForDeclaration$1 = $TS($S(InsertConst, ForBinding, $EXPECT($R20, "ForDeclaration /(?=[\\s\\),])/")), function($skip, $loc, $0, $1, $2, $3) {
8791
8902
  var c = $1;
8792
8903
  var binding = $2;
8793
8904
  return {
@@ -9013,7 +9124,7 @@ var require_parser = __commonJS({
9013
9124
  function IgnoreColon(ctx, state) {
9014
9125
  return $EVENT(ctx, state, "IgnoreColon", IgnoreColon$0);
9015
9126
  }
9016
- var TryStatement$0 = $TS($S(Try, $N($EXPECT($L12, 'TryStatement ":"')), NoPostfixBracedOrEmptyBlock, $E(CatchClause), $E(FinallyClause)), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
9127
+ var TryStatement$0 = $TS($S(Try, $N($EXPECT($L11, 'TryStatement ":"')), NoPostfixBracedOrEmptyBlock, $E(CatchClause), $E(FinallyClause)), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
9017
9128
  var t = $1;
9018
9129
  var b = $3;
9019
9130
  var c = $4;
@@ -9321,7 +9432,7 @@ var require_parser = __commonJS({
9321
9432
  };
9322
9433
  });
9323
9434
  var KeywordStatement$2 = DebuggerStatement;
9324
- var KeywordStatement$3 = $T($S(Return, $N($C($EXPECT($L12, 'KeywordStatement ":"'), $EXPECT($L6, 'KeywordStatement "."'), AfterReturnShorthand)), $E(MaybeNestedExpression)), function(value) {
9435
+ var KeywordStatement$3 = $T($S(Return, $N($C($EXPECT($L11, 'KeywordStatement ":"'), $EXPECT($L6, 'KeywordStatement "."'), AfterReturnShorthand)), $E(MaybeNestedExpression)), function(value) {
9325
9436
  var expression = value[2];
9326
9437
  return { "type": "ReturnStatement", "expression": expression, "children": value };
9327
9438
  });
@@ -9342,19 +9453,19 @@ var require_parser = __commonJS({
9342
9453
  function ThrowStatement(ctx, state) {
9343
9454
  return $EVENT(ctx, state, "ThrowStatement", ThrowStatement$0);
9344
9455
  }
9345
- var Break$0 = $TS($S($EXPECT($L102, 'Break "break"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9456
+ var Break$0 = $TS($S($EXPECT($L101, 'Break "break"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9346
9457
  return { $loc, token: $1 };
9347
9458
  });
9348
9459
  function Break(ctx, state) {
9349
9460
  return $EVENT(ctx, state, "Break", Break$0);
9350
9461
  }
9351
- var Continue$0 = $TS($S($EXPECT($L103, 'Continue "continue"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9462
+ var Continue$0 = $TS($S($EXPECT($L102, 'Continue "continue"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9352
9463
  return { $loc, token: $1 };
9353
9464
  });
9354
9465
  function Continue(ctx, state) {
9355
9466
  return $EVENT(ctx, state, "Continue", Continue$0);
9356
9467
  }
9357
- var Debugger$0 = $TS($S($EXPECT($L104, 'Debugger "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9468
+ var Debugger$0 = $TS($S($EXPECT($L103, 'Debugger "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9358
9469
  return { $loc, token: $1 };
9359
9470
  });
9360
9471
  function Debugger(ctx, state) {
@@ -9475,7 +9586,7 @@ var require_parser = __commonJS({
9475
9586
  function FromClause(ctx, state) {
9476
9587
  return $EVENT(ctx, state, "FromClause", FromClause$0);
9477
9588
  }
9478
- var ImportAssertion$0 = $S($E(_), $EXPECT($L105, 'ImportAssertion "assert"'), NonIdContinue, $E(_), ObjectLiteral);
9589
+ var ImportAssertion$0 = $S($E(_), $EXPECT($L104, 'ImportAssertion "assert"'), NonIdContinue, $E(_), ObjectLiteral);
9479
9590
  function ImportAssertion(ctx, state) {
9480
9591
  return $EVENT(ctx, state, "ImportAssertion", ImportAssertion$0);
9481
9592
  }
@@ -9523,7 +9634,7 @@ var require_parser = __commonJS({
9523
9634
  return $EVENT_C(ctx, state, "ImportSpecifier", ImportSpecifier$$);
9524
9635
  }
9525
9636
  var ImportAsToken$0 = $S(__, As);
9526
- var ImportAsToken$1 = $TS($S(Loc, __, Colon, $E($EXPECT($L11, 'ImportAsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
9637
+ var ImportAsToken$1 = $TS($S(Loc, __, Colon, $E($EXPECT($L12, 'ImportAsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
9527
9638
  var l = $1;
9528
9639
  var ws = $2;
9529
9640
  var c = $3;
@@ -9563,7 +9674,7 @@ var require_parser = __commonJS({
9563
9674
  function UnprocessedModuleSpecifier(ctx, state) {
9564
9675
  return $EVENT_C(ctx, state, "UnprocessedModuleSpecifier", UnprocessedModuleSpecifier$$);
9565
9676
  }
9566
- var UnquotedSpecifier$0 = $TV($EXPECT($R11, 'UnquotedSpecifier /[^;"\\s]+/'), function($skip, $loc, $0, $1) {
9677
+ var UnquotedSpecifier$0 = $TV($EXPECT($R21, 'UnquotedSpecifier /[^;"\\s]+/'), function($skip, $loc, $0, $1) {
9567
9678
  var spec = $0;
9568
9679
  return { $loc, token: `"${spec}"` };
9569
9680
  });
@@ -9695,13 +9806,13 @@ var require_parser = __commonJS({
9695
9806
  function LexicalDeclaration(ctx, state) {
9696
9807
  return $EVENT_C(ctx, state, "LexicalDeclaration", LexicalDeclaration$$);
9697
9808
  }
9698
- var ConstAssignment$0 = $TV($C($EXPECT($L106, 'ConstAssignment ":="'), $EXPECT($L107, 'ConstAssignment "\u2254"')), function($skip, $loc, $0, $1) {
9809
+ var ConstAssignment$0 = $TV($C($EXPECT($L105, 'ConstAssignment ":="'), $EXPECT($L106, 'ConstAssignment "\u2254"')), function($skip, $loc, $0, $1) {
9699
9810
  return { $loc, token: "=" };
9700
9811
  });
9701
9812
  function ConstAssignment(ctx, state) {
9702
9813
  return $EVENT(ctx, state, "ConstAssignment", ConstAssignment$0);
9703
9814
  }
9704
- var LetAssignment$0 = $TV($EXPECT($L108, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
9815
+ var LetAssignment$0 = $TV($EXPECT($L107, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
9705
9816
  return { $loc, token: "=" };
9706
9817
  });
9707
9818
  function LetAssignment(ctx, state) {
@@ -9769,8 +9880,9 @@ var require_parser = __commonJS({
9769
9880
  function VariableDeclarationList(ctx, state) {
9770
9881
  return $EVENT(ctx, state, "VariableDeclarationList", VariableDeclarationList$0);
9771
9882
  }
9772
- var NumericLiteral$0 = $TS($S(NumericLiteralKind), function($skip, $loc, $0, $1) {
9773
- return { type: "NumericLiteral", $loc, token: $1 };
9883
+ var NumericLiteral$0 = $TS($S($EXPECT($R22, "NumericLiteral /(?=[0-9.])/"), NumericLiteralKind), function($skip, $loc, $0, $1, $2) {
9884
+ var token = $2;
9885
+ return { type: "NumericLiteral", $loc, token };
9774
9886
  });
9775
9887
  function NumericLiteral(ctx, state) {
9776
9888
  return $EVENT(ctx, state, "NumericLiteral", NumericLiteral$0);
@@ -9784,37 +9896,38 @@ var require_parser = __commonJS({
9784
9896
  function NumericLiteralKind(ctx, state) {
9785
9897
  return $EVENT_C(ctx, state, "NumericLiteralKind", NumericLiteralKind$$);
9786
9898
  }
9787
- var DecimalBigIntegerLiteral$0 = $R$0($EXPECT($R12, "DecimalBigIntegerLiteral /(?:0|[1-9](?:_[0-9]|[0-9])*)n/"));
9899
+ var DecimalBigIntegerLiteral$0 = $R$0($EXPECT($R23, "DecimalBigIntegerLiteral /(?:0|[1-9](?:_[0-9]|[0-9])*)n/"));
9788
9900
  function DecimalBigIntegerLiteral(ctx, state) {
9789
9901
  return $EVENT(ctx, state, "DecimalBigIntegerLiteral", DecimalBigIntegerLiteral$0);
9790
9902
  }
9791
- var DecimalLiteral$0 = $TV($TEXT($EXPECT($R13, "DecimalLiteral /(?:0|[1-9](?:_[0-9]|[0-9])*)(?=\\.(?:\\p{ID_Start}|[_$]))/")), function($skip, $loc, $0, $1) {
9903
+ var DecimalLiteral$0 = $TV($TEXT($EXPECT($R24, "DecimalLiteral /(?:0|[1-9](?:_[0-9]|[0-9])*)(?=\\.(?:\\p{ID_Start}|[_$]))/")), function($skip, $loc, $0, $1) {
9792
9904
  return $1 + ".";
9793
9905
  });
9794
- var DecimalLiteral$1 = $TEXT($S($EXPECT($R14, "DecimalLiteral /(?:0|[1-9](?:_[0-9]|[0-9])*)(?:\\.(?:[0-9](?:_[0-9]|[0-9])*))?/"), $E(ExponentPart)));
9795
- var DecimalLiteral$2 = $TEXT($S($EXPECT($R15, "DecimalLiteral /(?:\\.[0-9](?:_[0-9]|[0-9])*)/"), $E(ExponentPart)));
9906
+ var DecimalLiteral$1 = $TEXT($S($EXPECT($R25, "DecimalLiteral /(?:0|[1-9](?:_[0-9]|[0-9])*)(?:\\.(?:[0-9](?:_[0-9]|[0-9])*))?/"), $E(ExponentPart)));
9907
+ var DecimalLiteral$2 = $TEXT($S($EXPECT($R26, "DecimalLiteral /(?:\\.[0-9](?:_[0-9]|[0-9])*)/"), $E(ExponentPart)));
9796
9908
  var DecimalLiteral$$ = [DecimalLiteral$0, DecimalLiteral$1, DecimalLiteral$2];
9797
9909
  function DecimalLiteral(ctx, state) {
9798
9910
  return $EVENT_C(ctx, state, "DecimalLiteral", DecimalLiteral$$);
9799
9911
  }
9800
- var ExponentPart$0 = $R$0($EXPECT($R16, "ExponentPart /(?:[eE][+-]?[0-9]+(?:_[0-9]|[0-9])*)/"));
9912
+ var ExponentPart$0 = $R$0($EXPECT($R27, "ExponentPart /(?:[eE][+-]?[0-9]+(?:_[0-9]|[0-9])*)/"));
9801
9913
  function ExponentPart(ctx, state) {
9802
9914
  return $EVENT(ctx, state, "ExponentPart", ExponentPart$0);
9803
9915
  }
9804
- var BinaryIntegerLiteral$0 = $R$0($EXPECT($R17, "BinaryIntegerLiteral /0[bB][01](?:[01]|_[01])*n?/"));
9916
+ var BinaryIntegerLiteral$0 = $R$0($EXPECT($R28, "BinaryIntegerLiteral /0[bB][01](?:[01]|_[01])*n?/"));
9805
9917
  function BinaryIntegerLiteral(ctx, state) {
9806
9918
  return $EVENT(ctx, state, "BinaryIntegerLiteral", BinaryIntegerLiteral$0);
9807
9919
  }
9808
- var OctalIntegerLiteral$0 = $R$0($EXPECT($R18, "OctalIntegerLiteral /0[oO][0-7](?:[0-7]|_[0-7])*n?/"));
9920
+ var OctalIntegerLiteral$0 = $R$0($EXPECT($R29, "OctalIntegerLiteral /0[oO][0-7](?:[0-7]|_[0-7])*n?/"));
9809
9921
  function OctalIntegerLiteral(ctx, state) {
9810
9922
  return $EVENT(ctx, state, "OctalIntegerLiteral", OctalIntegerLiteral$0);
9811
9923
  }
9812
- var HexIntegerLiteral$0 = $R$0($EXPECT($R19, "HexIntegerLiteral /0[xX][0-9a-fA-F](?:[0-9a-fA-F]|_[0-9a-fA-F])*n?/"));
9924
+ var HexIntegerLiteral$0 = $R$0($EXPECT($R30, "HexIntegerLiteral /0[xX][0-9a-fA-F](?:[0-9a-fA-F]|_[0-9a-fA-F])*n?/"));
9813
9925
  function HexIntegerLiteral(ctx, state) {
9814
9926
  return $EVENT(ctx, state, "HexIntegerLiteral", HexIntegerLiteral$0);
9815
9927
  }
9816
- var IntegerLiteral$0 = $TS($S(IntegerLiteralKind), function($skip, $loc, $0, $1) {
9817
- return { $loc, token: $1 };
9928
+ var IntegerLiteral$0 = $TS($S($EXPECT($R31, "IntegerLiteral /(?=[0-9])/"), IntegerLiteralKind), function($skip, $loc, $0, $1, $2) {
9929
+ var token = $2;
9930
+ return { $loc, token };
9818
9931
  });
9819
9932
  function IntegerLiteral(ctx, state) {
9820
9933
  return $EVENT(ctx, state, "IntegerLiteral", IntegerLiteral$0);
@@ -9828,7 +9941,7 @@ var require_parser = __commonJS({
9828
9941
  function IntegerLiteralKind(ctx, state) {
9829
9942
  return $EVENT_C(ctx, state, "IntegerLiteralKind", IntegerLiteralKind$$);
9830
9943
  }
9831
- var DecimalIntegerLiteral$0 = $R$0($EXPECT($R20, "DecimalIntegerLiteral /(?:0|[1-9](?:_[0-9]|[0-9])*)/"));
9944
+ var DecimalIntegerLiteral$0 = $R$0($EXPECT($R32, "DecimalIntegerLiteral /(?:0|[1-9](?:_[0-9]|[0-9])*)/"));
9832
9945
  function DecimalIntegerLiteral(ctx, state) {
9833
9946
  return $EVENT(ctx, state, "DecimalIntegerLiteral", DecimalIntegerLiteral$0);
9834
9947
  }
@@ -9852,25 +9965,25 @@ var require_parser = __commonJS({
9852
9965
  function StringLiteral(ctx, state) {
9853
9966
  return $EVENT_C(ctx, state, "StringLiteral", StringLiteral$$);
9854
9967
  }
9855
- var DoubleStringCharacters$0 = $TR($EXPECT($R21, 'DoubleStringCharacters /(?:\\\\.|[^"])*/'), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
9968
+ var DoubleStringCharacters$0 = $TR($EXPECT($R33, 'DoubleStringCharacters /(?:\\\\.|[^"])*/'), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
9856
9969
  return { $loc, token: $0 };
9857
9970
  });
9858
9971
  function DoubleStringCharacters(ctx, state) {
9859
9972
  return $EVENT(ctx, state, "DoubleStringCharacters", DoubleStringCharacters$0);
9860
9973
  }
9861
- var SingleStringCharacters$0 = $TR($EXPECT($R22, "SingleStringCharacters /(?:\\\\.|[^'])*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
9974
+ var SingleStringCharacters$0 = $TR($EXPECT($R34, "SingleStringCharacters /(?:\\\\.|[^'])*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
9862
9975
  return { $loc, token: $0 };
9863
9976
  });
9864
9977
  function SingleStringCharacters(ctx, state) {
9865
9978
  return $EVENT(ctx, state, "SingleStringCharacters", SingleStringCharacters$0);
9866
9979
  }
9867
- var TripleDoubleStringCharacters$0 = $TR($EXPECT($R23, 'TripleDoubleStringCharacters /(?:"(?!"")|#(?!\\{)|\\\\.|[^#"])+/'), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
9980
+ var TripleDoubleStringCharacters$0 = $TR($EXPECT($R35, 'TripleDoubleStringCharacters /(?:"(?!"")|#(?!\\{)|\\\\.|[^#"])+/'), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
9868
9981
  return { $loc, token: $0 };
9869
9982
  });
9870
9983
  function TripleDoubleStringCharacters(ctx, state) {
9871
9984
  return $EVENT(ctx, state, "TripleDoubleStringCharacters", TripleDoubleStringCharacters$0);
9872
9985
  }
9873
- var TripleSingleStringCharacters$0 = $TR($EXPECT($R24, "TripleSingleStringCharacters /(?:'(?!'')|\\\\.|[^'])*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
9986
+ var TripleSingleStringCharacters$0 = $TR($EXPECT($R36, "TripleSingleStringCharacters /(?:'(?!'')|\\\\.|[^'])*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
9874
9987
  return { $loc, token: $0 };
9875
9988
  });
9876
9989
  function TripleSingleStringCharacters(ctx, state) {
@@ -9889,7 +10002,7 @@ var require_parser = __commonJS({
9889
10002
  function CoffeeInterpolatedDoubleQuotedString(ctx, state) {
9890
10003
  return $EVENT(ctx, state, "CoffeeInterpolatedDoubleQuotedString", CoffeeInterpolatedDoubleQuotedString$0);
9891
10004
  }
9892
- var CoffeeDoubleQuotedStringCharacters$0 = $TR($EXPECT($R25, 'CoffeeDoubleQuotedStringCharacters /(?:\\\\.|#(?!\\{)|[^"#])+/'), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10005
+ var CoffeeDoubleQuotedStringCharacters$0 = $TR($EXPECT($R37, 'CoffeeDoubleQuotedStringCharacters /(?:\\\\.|#(?!\\{)|[^"#])+/'), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
9893
10006
  return { $loc, token: $0 };
9894
10007
  });
9895
10008
  function CoffeeDoubleQuotedStringCharacters(ctx, state) {
@@ -9909,7 +10022,7 @@ var require_parser = __commonJS({
9909
10022
  function RegularExpressionClass(ctx, state) {
9910
10023
  return $EVENT(ctx, state, "RegularExpressionClass", RegularExpressionClass$0);
9911
10024
  }
9912
- var RegularExpressionClassCharacters$0 = $TR($EXPECT($R26, "RegularExpressionClassCharacters /(?:\\\\.|[^\\]])*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10025
+ var RegularExpressionClassCharacters$0 = $TR($EXPECT($R38, "RegularExpressionClassCharacters /(?:\\\\.|[^\\]])*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
9913
10026
  return { $loc, token: $0 };
9914
10027
  });
9915
10028
  function RegularExpressionClassCharacters(ctx, state) {
@@ -9963,7 +10076,7 @@ var require_parser = __commonJS({
9963
10076
  var HeregexPart$2 = $T($S(TemplateSubstitution), function(value) {
9964
10077
  return { "type": "Substitution", "children": value[0] };
9965
10078
  });
9966
- var HeregexPart$3 = $TR($EXPECT($R27, "HeregexPart /(?:\\\\.)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10079
+ var HeregexPart$3 = $TR($EXPECT($R39, "HeregexPart /(?:\\\\.)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
9967
10080
  let token = $0;
9968
10081
  switch ($0[1]) {
9969
10082
  case "\n":
@@ -9981,13 +10094,13 @@ var require_parser = __commonJS({
9981
10094
  var HeregexPart$4 = $TS($S(HeregexComment), function($skip, $loc, $0, $1) {
9982
10095
  return { $loc, token: "" };
9983
10096
  });
9984
- var HeregexPart$5 = $TR($EXPECT($R28, "HeregexPart /[\\s]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10097
+ var HeregexPart$5 = $TR($EXPECT($R40, "HeregexPart /[\\s]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
9985
10098
  return { $loc, token: "" };
9986
10099
  });
9987
- var HeregexPart$6 = $TR($EXPECT($R29, "HeregexPart /\\/(?!\\/\\/)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10100
+ var HeregexPart$6 = $TR($EXPECT($R41, "HeregexPart /\\/(?!\\/\\/)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
9988
10101
  return { $loc, token: "\\/" };
9989
10102
  });
9990
- var HeregexPart$7 = $TR($EXPECT($R30, "HeregexPart /[^[\\/\\s#\\\\]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10103
+ var HeregexPart$7 = $TR($EXPECT($R42, "HeregexPart /[^[\\/\\s#\\\\]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
9991
10104
  return { $loc, token: $0 };
9992
10105
  });
9993
10106
  var HeregexPart$$ = [HeregexPart$0, HeregexPart$1, HeregexPart$2, HeregexPart$3, HeregexPart$4, HeregexPart$5, HeregexPart$6, HeregexPart$7];
@@ -10000,7 +10113,7 @@ var require_parser = __commonJS({
10000
10113
  function HeregexComment(ctx, state) {
10001
10114
  return $EVENT_C(ctx, state, "HeregexComment", HeregexComment$$);
10002
10115
  }
10003
- var RegularExpressionBody$0 = $S($N($R$0($EXPECT($R31, "RegularExpressionBody /[*\\/\\r\\n]/"))), $Q(RegExpPart));
10116
+ var RegularExpressionBody$0 = $S($N($R$0($EXPECT($R43, "RegularExpressionBody /[*\\/\\r\\n]/"))), $Q(RegExpPart));
10004
10117
  function RegularExpressionBody(ctx, state) {
10005
10118
  return $EVENT(ctx, state, "RegularExpressionBody", RegularExpressionBody$0);
10006
10119
  }
@@ -10010,27 +10123,33 @@ var require_parser = __commonJS({
10010
10123
  function RegExpPart(ctx, state) {
10011
10124
  return $EVENT_C(ctx, state, "RegExpPart", RegExpPart$$);
10012
10125
  }
10013
- var RegExpCharacter$0 = $R$0($EXPECT($R32, "RegExpCharacter /(?:\\\\.|[^[\\/\\r\\n])+/"));
10126
+ var RegExpCharacter$0 = $R$0($EXPECT($R44, "RegExpCharacter /(?:\\\\.|[^[\\/\\r\\n])+/"));
10014
10127
  function RegExpCharacter(ctx, state) {
10015
10128
  return $EVENT(ctx, state, "RegExpCharacter", RegExpCharacter$0);
10016
10129
  }
10017
- var RegularExpressionFlags$0 = $R$0($EXPECT($R33, "RegularExpressionFlags /(?:\\p{ID_Continue}|[\\u200C\\u200D$])*/"));
10130
+ var RegularExpressionFlags$0 = $R$0($EXPECT($R45, "RegularExpressionFlags /(?:\\p{ID_Continue}|[\\u200C\\u200D$])*/"));
10018
10131
  function RegularExpressionFlags(ctx, state) {
10019
10132
  return $EVENT(ctx, state, "RegularExpressionFlags", RegularExpressionFlags$0);
10020
10133
  }
10021
- var TemplateLiteral$0 = $TS($S(TripleTick, $Q($C(TemplateBlockCharacters, TemplateSubstitution)), TripleTick), function($skip, $loc, $0, $1, $2, $3) {
10134
+ var TemplateLiteral$0 = $T($S($EXPECT($R46, "TemplateLiteral /(?=[`'\"])/"), _TemplateLiteral), function(value) {
10135
+ return value[1];
10136
+ });
10137
+ function TemplateLiteral(ctx, state) {
10138
+ return $EVENT(ctx, state, "TemplateLiteral", TemplateLiteral$0);
10139
+ }
10140
+ var _TemplateLiteral$0 = $TS($S(TripleTick, $Q($C(TemplateBlockCharacters, TemplateSubstitution)), TripleTick), function($skip, $loc, $0, $1, $2, $3) {
10022
10141
  return dedentBlockSubstitutions($0, module2.config.tab);
10023
10142
  });
10024
- var TemplateLiteral$1 = $TS($S(Backtick, $Q($C(TemplateCharacters, TemplateSubstitution)), Backtick), function($skip, $loc, $0, $1, $2, $3) {
10143
+ var _TemplateLiteral$1 = $TS($S(Backtick, $Q($C(TemplateCharacters, TemplateSubstitution)), Backtick), function($skip, $loc, $0, $1, $2, $3) {
10025
10144
  return {
10026
10145
  type: "TemplateLiteral",
10027
10146
  children: $0
10028
10147
  };
10029
10148
  });
10030
- var TemplateLiteral$2 = $TS($S(TripleDoubleQuote, $Q($C(TripleDoubleStringCharacters, CoffeeStringSubstitution)), TripleDoubleQuote), function($skip, $loc, $0, $1, $2, $3) {
10149
+ var _TemplateLiteral$2 = $TS($S(TripleDoubleQuote, $Q($C(TripleDoubleStringCharacters, CoffeeStringSubstitution)), TripleDoubleQuote), function($skip, $loc, $0, $1, $2, $3) {
10031
10150
  return dedentBlockSubstitutions($0, module2.config.tab);
10032
10151
  });
10033
- var TemplateLiteral$3 = $TS($S(TripleSingleQuote, TripleSingleStringCharacters, TripleSingleQuote), function($skip, $loc, $0, $1, $2, $3) {
10152
+ var _TemplateLiteral$3 = $TS($S(TripleSingleQuote, TripleSingleStringCharacters, TripleSingleQuote), function($skip, $loc, $0, $1, $2, $3) {
10034
10153
  var s = $1;
10035
10154
  var str = $2;
10036
10155
  var e = $3;
@@ -10039,41 +10158,47 @@ var require_parser = __commonJS({
10039
10158
  children: [s, dedentBlockString(str, module2.config.tab), e]
10040
10159
  };
10041
10160
  });
10042
- var TemplateLiteral$4 = CoffeeInterpolatedDoubleQuotedString;
10043
- var TemplateLiteral$$ = [TemplateLiteral$0, TemplateLiteral$1, TemplateLiteral$2, TemplateLiteral$3, TemplateLiteral$4];
10044
- function TemplateLiteral(ctx, state) {
10045
- return $EVENT_C(ctx, state, "TemplateLiteral", TemplateLiteral$$);
10161
+ var _TemplateLiteral$4 = CoffeeInterpolatedDoubleQuotedString;
10162
+ var _TemplateLiteral$$ = [_TemplateLiteral$0, _TemplateLiteral$1, _TemplateLiteral$2, _TemplateLiteral$3, _TemplateLiteral$4];
10163
+ function _TemplateLiteral(ctx, state) {
10164
+ return $EVENT_C(ctx, state, "_TemplateLiteral", _TemplateLiteral$$);
10046
10165
  }
10047
10166
  var TemplateSubstitution$0 = $S(SubstitutionStart, PostfixedExpression, __, CloseBrace);
10048
10167
  function TemplateSubstitution(ctx, state) {
10049
10168
  return $EVENT(ctx, state, "TemplateSubstitution", TemplateSubstitution$0);
10050
10169
  }
10051
- var TemplateCharacters$0 = $TR($EXPECT($R34, "TemplateCharacters /(?:\\$(?!\\{)|\\\\.|[^$`])+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10170
+ var TemplateCharacters$0 = $TR($EXPECT($R47, "TemplateCharacters /(?:\\$(?!\\{)|\\\\.|[^$`])+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10052
10171
  return { $loc, token: $0 };
10053
10172
  });
10054
10173
  function TemplateCharacters(ctx, state) {
10055
10174
  return $EVENT(ctx, state, "TemplateCharacters", TemplateCharacters$0);
10056
10175
  }
10057
- var TemplateBlockCharacters$0 = $TR($EXPECT($R35, "TemplateBlockCharacters /(?:\\$(?!\\{)|`(?!``)|\\\\.|[^$`])+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10176
+ var TemplateBlockCharacters$0 = $TR($EXPECT($R48, "TemplateBlockCharacters /(?:\\$(?!\\{)|`(?!``)|\\\\.|[^$`])+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10058
10177
  return { $loc, token: $0 };
10059
10178
  });
10060
10179
  function TemplateBlockCharacters(ctx, state) {
10061
10180
  return $EVENT(ctx, state, "TemplateBlockCharacters", TemplateBlockCharacters$0);
10062
10181
  }
10063
- var ReservedWord$0 = $S(CoffeeBooleansEnabled, $R$0($EXPECT($R36, "ReservedWord /(?:on|off|yes|no)(?!\\p{ID_Continue})/")));
10064
- var ReservedWord$1 = $S(CoffeeIsntEnabled, $R$0($EXPECT($R37, "ReservedWord /(?:isnt)(?!\\p{ID_Continue})/")));
10065
- var ReservedWord$2 = $S(CoffeeForLoopsEnabled, $R$0($EXPECT($R38, "ReservedWord /(?:by)(?!\\p{ID_Continue})/")));
10066
- var ReservedWord$3 = $S(CoffeeOfEnabled, $R$0($EXPECT($R39, "ReservedWord /(?:of)(?!\\p{ID_Continue})/")));
10067
- var ReservedWord$4 = $R$0($EXPECT($R40, "ReservedWord /(?:and|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|if|import|in|instanceof|interface|is|let|loop|new|not|null|or|private|protected|public|return|static|super|switch|this|throw|true|try|typeof|unless|until|var|void|while|with|yield)(?!\\p{ID_Continue})/"));
10182
+ var ReservedWord$0 = $S($R$0($EXPECT($R49, "ReservedWord /(?:on|off|yes|no)(?!\\p{ID_Continue})/")), CoffeeBooleansEnabled);
10183
+ var ReservedWord$1 = $S($R$0($EXPECT($R50, "ReservedWord /(?:isnt)(?!\\p{ID_Continue})/")), CoffeeIsntEnabled);
10184
+ var ReservedWord$2 = $S($R$0($EXPECT($R51, "ReservedWord /(?:by)(?!\\p{ID_Continue})/")), CoffeeForLoopsEnabled);
10185
+ var ReservedWord$3 = $S($R$0($EXPECT($R52, "ReservedWord /(?:of)(?!\\p{ID_Continue})/")), CoffeeOfEnabled);
10186
+ var ReservedWord$4 = $R$0($EXPECT($R53, "ReservedWord /(?:and|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|if|import|in|instanceof|interface|is|let|loop|new|not|null|or|private|protected|public|return|static|super|switch|this|throw|true|try|typeof|unless|until|var|void|while|with|yield)(?!\\p{ID_Continue})/"));
10068
10187
  var ReservedWord$$ = [ReservedWord$0, ReservedWord$1, ReservedWord$2, ReservedWord$3, ReservedWord$4];
10069
10188
  function ReservedWord(ctx, state) {
10070
10189
  return $EVENT_C(ctx, state, "ReservedWord", ReservedWord$$);
10071
10190
  }
10072
- var Comment$0 = MultiLineComment;
10073
- var Comment$1 = SingleLineComment;
10074
- var Comment$$ = [Comment$0, Comment$1];
10191
+ var Comment$0 = $T($S($EXPECT($R54, "Comment /(?=\\/|#)/"), _Comment), function(value) {
10192
+ return value[1];
10193
+ });
10075
10194
  function Comment(ctx, state) {
10076
- return $EVENT_C(ctx, state, "Comment", Comment$$);
10195
+ return $EVENT(ctx, state, "Comment", Comment$0);
10196
+ }
10197
+ var _Comment$0 = MultiLineComment;
10198
+ var _Comment$1 = SingleLineComment;
10199
+ var _Comment$$ = [_Comment$0, _Comment$1];
10200
+ function _Comment(ctx, state) {
10201
+ return $EVENT_C(ctx, state, "_Comment", _Comment$$);
10077
10202
  }
10078
10203
  var SingleLineComment$0 = JSSingleLineComment;
10079
10204
  var SingleLineComment$1 = $S(CoffeeCommentEnabled, CoffeeSingleLineComment);
@@ -10081,7 +10206,7 @@ var require_parser = __commonJS({
10081
10206
  function SingleLineComment(ctx, state) {
10082
10207
  return $EVENT_C(ctx, state, "SingleLineComment", SingleLineComment$$);
10083
10208
  }
10084
- var JSSingleLineComment$0 = $TR($EXPECT($R41, "JSSingleLineComment /\\/\\/(?!\\/)[^\\r\\n]*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10209
+ var JSSingleLineComment$0 = $TR($EXPECT($R55, "JSSingleLineComment /\\/\\/(?!\\/)[^\\r\\n]*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10085
10210
  return { type: "Comment", $loc, token: $0 };
10086
10211
  });
10087
10212
  function JSSingleLineComment(ctx, state) {
@@ -10093,30 +10218,30 @@ var require_parser = __commonJS({
10093
10218
  function MultiLineComment(ctx, state) {
10094
10219
  return $EVENT_C(ctx, state, "MultiLineComment", MultiLineComment$$);
10095
10220
  }
10096
- var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L109, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L110, 'JSMultiLineComment "*/"')), $EXPECT($R42, "JSMultiLineComment /./"))), $EXPECT($L110, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
10221
+ var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L108, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L109, 'JSMultiLineComment "*/"')), $EXPECT($R56, "JSMultiLineComment /./"))), $EXPECT($L109, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
10097
10222
  return { type: "Comment", $loc, token: $1 };
10098
10223
  });
10099
10224
  function JSMultiLineComment(ctx, state) {
10100
10225
  return $EVENT(ctx, state, "JSMultiLineComment", JSMultiLineComment$0);
10101
10226
  }
10102
- var CoffeeSingleLineComment$0 = $TR($EXPECT($R43, "CoffeeSingleLineComment /#(?!##(?!#))([^\\r\\n]*)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10227
+ var CoffeeSingleLineComment$0 = $TR($EXPECT($R57, "CoffeeSingleLineComment /#(?!##(?!#))([^\\r\\n]*)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10103
10228
  return { type: "Comment", $loc, token: `//${$1}` };
10104
10229
  });
10105
10230
  function CoffeeSingleLineComment(ctx, state) {
10106
10231
  return $EVENT(ctx, state, "CoffeeSingleLineComment", CoffeeSingleLineComment$0);
10107
10232
  }
10108
- var CoffeeMultiLineComment$0 = $TS($S(CoffeeHereCommentStart, $TEXT($EXPECT($R44, "CoffeeMultiLineComment /[^]*?###/"))), function($skip, $loc, $0, $1, $2) {
10233
+ var CoffeeMultiLineComment$0 = $TS($S(CoffeeHereCommentStart, $TEXT($EXPECT($R58, "CoffeeMultiLineComment /[^]*?###/"))), function($skip, $loc, $0, $1, $2) {
10109
10234
  $2 = $2.slice(0, $2.length - 3).replace(/\*\//g, "* /");
10110
10235
  return { type: "Comment", $loc, token: `/*${$2}*/` };
10111
10236
  });
10112
10237
  function CoffeeMultiLineComment(ctx, state) {
10113
10238
  return $EVENT(ctx, state, "CoffeeMultiLineComment", CoffeeMultiLineComment$0);
10114
10239
  }
10115
- var CoffeeHereCommentStart$0 = $R$0($EXPECT($R45, "CoffeeHereCommentStart /###(?!#)/"));
10240
+ var CoffeeHereCommentStart$0 = $R$0($EXPECT($R59, "CoffeeHereCommentStart /###(?!#)/"));
10116
10241
  function CoffeeHereCommentStart(ctx, state) {
10117
10242
  return $EVENT(ctx, state, "CoffeeHereCommentStart", CoffeeHereCommentStart$0);
10118
10243
  }
10119
- var InlineComment$0 = $TR($EXPECT($R46, "InlineComment /\\/\\*(?:(?!\\*\\/)[^\\r\\n])*\\*\\//"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10244
+ var InlineComment$0 = $TR($EXPECT($R60, "InlineComment /\\/\\*(?:(?!\\*\\/)[^\\r\\n])*\\*\\//"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10120
10245
  return { $loc, token: $0 };
10121
10246
  });
10122
10247
  function InlineComment(ctx, state) {
@@ -10130,15 +10255,17 @@ var require_parser = __commonJS({
10130
10255
  function TrailingComment(ctx, state) {
10131
10256
  return $EVENT(ctx, state, "TrailingComment", TrailingComment$0);
10132
10257
  }
10133
- var _$0 = $P($C(NonNewlineWhitespace, InlineComment));
10258
+ var _$0 = $T($S($EXPECT($R61, "_ /(?=[ \\t\\/\\\\])/"), $P($C(NonNewlineWhitespace, InlineComment))), function(value) {
10259
+ return value[1];
10260
+ });
10134
10261
  function _(ctx, state) {
10135
10262
  return $EVENT(ctx, state, "_", _$0);
10136
10263
  }
10137
- var NonNewlineWhitespace$0 = $TR($EXPECT($R47, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10264
+ var NonNewlineWhitespace$0 = $TR($EXPECT($R62, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10138
10265
  return { $loc, token: $0 };
10139
10266
  });
10140
- var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L111, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
10141
- return "";
10267
+ var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L110, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
10268
+ return " ";
10142
10269
  });
10143
10270
  var NonNewlineWhitespace$$ = [NonNewlineWhitespace$0, NonNewlineWhitespace$1];
10144
10271
  function NonNewlineWhitespace(ctx, state) {
@@ -10151,11 +10278,15 @@ var require_parser = __commonJS({
10151
10278
  function Trimmed_(ctx, state) {
10152
10279
  return $EVENT(ctx, state, "Trimmed_", Trimmed_$0);
10153
10280
  }
10154
- var __$0 = $Q($C(Whitespace, Comment));
10281
+ var __$0 = $T($S($EXPECT($R63, "__ /(?=\\s|\\/|#)/"), $Q($C(Whitespace, Comment))), function(value) {
10282
+ return value[1];
10283
+ });
10284
+ var __$1 = $EXPECT($L0, '__ ""');
10285
+ var __$$ = [__$0, __$1];
10155
10286
  function __(ctx, state) {
10156
- return $EVENT(ctx, state, "__", __$0);
10287
+ return $EVENT_C(ctx, state, "__", __$$);
10157
10288
  }
10158
- var Whitespace$0 = $TR($EXPECT($R28, "Whitespace /[\\s]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10289
+ var Whitespace$0 = $TR($EXPECT($R40, "Whitespace /[\\s]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10159
10290
  return { $loc, token: $0 };
10160
10291
  });
10161
10292
  function Whitespace(ctx, state) {
@@ -10178,9 +10309,9 @@ var require_parser = __commonJS({
10178
10309
  return $EVENT_C(ctx, state, "SimpleStatementDelimiter", SimpleStatementDelimiter$$);
10179
10310
  }
10180
10311
  var StatementDelimiter$0 = SemicolonDelimiter;
10181
- var StatementDelimiter$1 = $S($Y($S(Nested, $C($EXPECT($L4, 'StatementDelimiter "("'), $EXPECT($L112, 'StatementDelimiter "["'), $EXPECT($L113, 'StatementDelimiter "`"'), $EXPECT($L58, 'StatementDelimiter "+"'), $EXPECT($L18, 'StatementDelimiter "-"'), $EXPECT($L54, 'StatementDelimiter "*"'), $EXPECT($L55, 'StatementDelimiter "/"'), ObjectLiteral, Arrow, FatArrow, $S(Function, $E($S($E(_), Star)), $E(_), $EXPECT($L4, 'StatementDelimiter "("'))))), InsertSemicolon);
10312
+ var StatementDelimiter$1 = $S($Y($S(Nested, $C($EXPECT($L4, 'StatementDelimiter "("'), $EXPECT($L111, 'StatementDelimiter "["'), $EXPECT($L112, 'StatementDelimiter "`"'), $EXPECT($L58, 'StatementDelimiter "+"'), $EXPECT($L18, 'StatementDelimiter "-"'), $EXPECT($L54, 'StatementDelimiter "*"'), $EXPECT($L55, 'StatementDelimiter "/"'), ObjectLiteral, Arrow, FatArrow, $S(Function, $E($S($E(_), Star)), $E(_), $EXPECT($L4, 'StatementDelimiter "("'))))), InsertSemicolon);
10182
10313
  var StatementDelimiter$2 = $Y(EOS);
10183
- var StatementDelimiter$3 = $Y($S($Q(_), $C($EXPECT($L25, 'StatementDelimiter "}"'), $EXPECT($L114, 'StatementDelimiter ")"'), $EXPECT($L34, 'StatementDelimiter "]"'))));
10314
+ var StatementDelimiter$3 = $Y($S($Q(_), $C($EXPECT($L25, 'StatementDelimiter "}"'), $EXPECT($L113, 'StatementDelimiter ")"'), $EXPECT($L34, 'StatementDelimiter "]"'))));
10184
10315
  var StatementDelimiter$$ = [StatementDelimiter$0, StatementDelimiter$1, StatementDelimiter$2, StatementDelimiter$3];
10185
10316
  function StatementDelimiter(ctx, state) {
10186
10317
  return $EVENT_C(ctx, state, "StatementDelimiter", StatementDelimiter$$);
@@ -10194,7 +10325,7 @@ var require_parser = __commonJS({
10194
10325
  function SemicolonDelimiter(ctx, state) {
10195
10326
  return $EVENT(ctx, state, "SemicolonDelimiter", SemicolonDelimiter$0);
10196
10327
  }
10197
- var NonIdContinue$0 = $R$0($EXPECT($R48, "NonIdContinue /(?!\\p{ID_Continue})/"));
10328
+ var NonIdContinue$0 = $R$0($EXPECT($R64, "NonIdContinue /(?!\\p{ID_Continue})/"));
10198
10329
  function NonIdContinue(ctx, state) {
10199
10330
  return $EVENT(ctx, state, "NonIdContinue", NonIdContinue$0);
10200
10331
  }
@@ -10204,73 +10335,73 @@ var require_parser = __commonJS({
10204
10335
  function Loc(ctx, state) {
10205
10336
  return $EVENT(ctx, state, "Loc", Loc$0);
10206
10337
  }
10207
- var Abstract$0 = $TV($TEXT($S($EXPECT($L115, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L11, 'Abstract " "')))), function($skip, $loc, $0, $1) {
10338
+ var Abstract$0 = $TV($TEXT($S($EXPECT($L114, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L12, 'Abstract " "')))), function($skip, $loc, $0, $1) {
10208
10339
  return { $loc, token: $1, ts: true };
10209
10340
  });
10210
10341
  function Abstract(ctx, state) {
10211
10342
  return $EVENT(ctx, state, "Abstract", Abstract$0);
10212
10343
  }
10213
- var Ampersand$0 = $TV($EXPECT($L98, 'Ampersand "&"'), function($skip, $loc, $0, $1) {
10344
+ var Ampersand$0 = $TV($EXPECT($L97, 'Ampersand "&"'), function($skip, $loc, $0, $1) {
10214
10345
  return { $loc, token: $1 };
10215
10346
  });
10216
10347
  function Ampersand(ctx, state) {
10217
10348
  return $EVENT(ctx, state, "Ampersand", Ampersand$0);
10218
10349
  }
10219
- var As$0 = $TS($S($EXPECT($L116, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10350
+ var As$0 = $TS($S($EXPECT($L115, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10220
10351
  return { $loc, token: $1 };
10221
10352
  });
10222
10353
  function As(ctx, state) {
10223
10354
  return $EVENT(ctx, state, "As", As$0);
10224
10355
  }
10225
- var At$0 = $TV($EXPECT($L117, 'At "@"'), function($skip, $loc, $0, $1) {
10356
+ var At$0 = $TV($EXPECT($L116, 'At "@"'), function($skip, $loc, $0, $1) {
10226
10357
  return { $loc, token: $1 };
10227
10358
  });
10228
10359
  function At(ctx, state) {
10229
10360
  return $EVENT(ctx, state, "At", At$0);
10230
10361
  }
10231
- var AtAt$0 = $TV($EXPECT($L118, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
10362
+ var AtAt$0 = $TV($EXPECT($L117, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
10232
10363
  return { $loc, token: "@" };
10233
10364
  });
10234
10365
  function AtAt(ctx, state) {
10235
10366
  return $EVENT(ctx, state, "AtAt", AtAt$0);
10236
10367
  }
10237
- var Async$0 = $TS($S($EXPECT($L119, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10368
+ var Async$0 = $TS($S($EXPECT($L118, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10238
10369
  return { $loc, token: $1, type: "Async" };
10239
10370
  });
10240
10371
  function Async(ctx, state) {
10241
10372
  return $EVENT(ctx, state, "Async", Async$0);
10242
10373
  }
10243
- var Await$0 = $TS($S($EXPECT($L120, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10374
+ var Await$0 = $TS($S($EXPECT($L119, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10244
10375
  return { $loc, token: $1, type: "Await" };
10245
10376
  });
10246
10377
  function Await(ctx, state) {
10247
10378
  return $EVENT(ctx, state, "Await", Await$0);
10248
10379
  }
10249
- var Backtick$0 = $TV($EXPECT($L113, 'Backtick "`"'), function($skip, $loc, $0, $1) {
10380
+ var Backtick$0 = $TV($EXPECT($L112, 'Backtick "`"'), function($skip, $loc, $0, $1) {
10250
10381
  return { $loc, token: $1 };
10251
10382
  });
10252
10383
  function Backtick(ctx, state) {
10253
10384
  return $EVENT(ctx, state, "Backtick", Backtick$0);
10254
10385
  }
10255
- var By$0 = $TS($S($EXPECT($L121, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10386
+ var By$0 = $TS($S($EXPECT($L120, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10256
10387
  return { $loc, token: $1 };
10257
10388
  });
10258
10389
  function By(ctx, state) {
10259
10390
  return $EVENT(ctx, state, "By", By$0);
10260
10391
  }
10261
- var Case$0 = $TS($S($EXPECT($L122, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10392
+ var Case$0 = $TS($S($EXPECT($L121, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10262
10393
  return { $loc, token: $1 };
10263
10394
  });
10264
10395
  function Case(ctx, state) {
10265
10396
  return $EVENT(ctx, state, "Case", Case$0);
10266
10397
  }
10267
- var Catch$0 = $TS($S($EXPECT($L123, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10398
+ var Catch$0 = $TS($S($EXPECT($L122, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10268
10399
  return { $loc, token: $1 };
10269
10400
  });
10270
10401
  function Catch(ctx, state) {
10271
10402
  return $EVENT(ctx, state, "Catch", Catch$0);
10272
10403
  }
10273
- var Class$0 = $TS($S($EXPECT($L124, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10404
+ var Class$0 = $TS($S($EXPECT($L123, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10274
10405
  return { $loc, token: $1 };
10275
10406
  });
10276
10407
  function Class(ctx, state) {
@@ -10288,19 +10419,19 @@ var require_parser = __commonJS({
10288
10419
  function CloseBracket(ctx, state) {
10289
10420
  return $EVENT(ctx, state, "CloseBracket", CloseBracket$0);
10290
10421
  }
10291
- var CloseParen$0 = $TV($EXPECT($L114, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
10422
+ var CloseParen$0 = $TV($EXPECT($L113, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
10292
10423
  return { $loc, token: $1 };
10293
10424
  });
10294
10425
  function CloseParen(ctx, state) {
10295
10426
  return $EVENT(ctx, state, "CloseParen", CloseParen$0);
10296
10427
  }
10297
- var CoffeeSubstitutionStart$0 = $TV($EXPECT($L125, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
10428
+ var CoffeeSubstitutionStart$0 = $TV($EXPECT($L124, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
10298
10429
  return { $loc, token: "${" };
10299
10430
  });
10300
10431
  function CoffeeSubstitutionStart(ctx, state) {
10301
10432
  return $EVENT(ctx, state, "CoffeeSubstitutionStart", CoffeeSubstitutionStart$0);
10302
10433
  }
10303
- var Colon$0 = $TS($S($EXPECT($L12, 'Colon ":"'), $N($EXPECT($L3, 'Colon "="'))), function($skip, $loc, $0, $1, $2) {
10434
+ var Colon$0 = $TS($S($EXPECT($L11, 'Colon ":"'), $N($EXPECT($L3, 'Colon "="'))), function($skip, $loc, $0, $1, $2) {
10304
10435
  return { $loc, token: $1 };
10305
10436
  });
10306
10437
  function Colon(ctx, state) {
@@ -10312,31 +10443,31 @@ var require_parser = __commonJS({
10312
10443
  function Comma(ctx, state) {
10313
10444
  return $EVENT(ctx, state, "Comma", Comma$0);
10314
10445
  }
10315
- var ConstructorShorthand$0 = $TV($EXPECT($L117, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
10446
+ var ConstructorShorthand$0 = $TV($EXPECT($L116, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
10316
10447
  return { $loc, token: "constructor" };
10317
10448
  });
10318
10449
  function ConstructorShorthand(ctx, state) {
10319
10450
  return $EVENT(ctx, state, "ConstructorShorthand", ConstructorShorthand$0);
10320
10451
  }
10321
- var Declare$0 = $TS($S($EXPECT($L126, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10452
+ var Declare$0 = $TS($S($EXPECT($L125, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10322
10453
  return { $loc, token: $1 };
10323
10454
  });
10324
10455
  function Declare(ctx, state) {
10325
10456
  return $EVENT(ctx, state, "Declare", Declare$0);
10326
10457
  }
10327
- var Default$0 = $TS($S($EXPECT($L127, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10458
+ var Default$0 = $TS($S($EXPECT($L126, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10328
10459
  return { $loc, token: $1 };
10329
10460
  });
10330
10461
  function Default(ctx, state) {
10331
10462
  return $EVENT(ctx, state, "Default", Default$0);
10332
10463
  }
10333
- var Delete$0 = $TS($S($EXPECT($L128, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10464
+ var Delete$0 = $TS($S($EXPECT($L127, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10334
10465
  return { $loc, token: $1 };
10335
10466
  });
10336
10467
  function Delete(ctx, state) {
10337
10468
  return $EVENT(ctx, state, "Delete", Delete$0);
10338
10469
  }
10339
- var Do$0 = $TS($S($EXPECT($L129, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10470
+ var Do$0 = $TS($S($EXPECT($L128, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10340
10471
  return { $loc, token: $1 };
10341
10472
  });
10342
10473
  function Do(ctx, state) {
@@ -10345,7 +10476,7 @@ var require_parser = __commonJS({
10345
10476
  var Dot$0 = $TV($EXPECT($L6, 'Dot "."'), function($skip, $loc, $0, $1) {
10346
10477
  return { $loc, token: $1 };
10347
10478
  });
10348
- var Dot$1 = $TS($S($EXPECT($R49, "Dot /['\u2019]s/"), _), function($skip, $loc, $0, $1, $2) {
10479
+ var Dot$1 = $TS($S($EXPECT($R65, "Dot /['\u2019]s/"), _), function($skip, $loc, $0, $1, $2) {
10349
10480
  var ws = $2;
10350
10481
  return [
10351
10482
  { $loc, token: "." },
@@ -10356,45 +10487,45 @@ var require_parser = __commonJS({
10356
10487
  function Dot(ctx, state) {
10357
10488
  return $EVENT_C(ctx, state, "Dot", Dot$$);
10358
10489
  }
10359
- var DotDot$0 = $TS($S($EXPECT($L130, 'DotDot ".."'), $N($EXPECT($L6, 'DotDot "."'))), function($skip, $loc, $0, $1, $2) {
10490
+ var DotDot$0 = $TS($S($EXPECT($L129, 'DotDot ".."'), $N($EXPECT($L6, 'DotDot "."'))), function($skip, $loc, $0, $1, $2) {
10360
10491
  return { $loc, token: $1 };
10361
10492
  });
10362
- var DotDot$1 = $TV($EXPECT($L131, 'DotDot "\u2025"'), function($skip, $loc, $0, $1) {
10493
+ var DotDot$1 = $TV($EXPECT($L130, 'DotDot "\u2025"'), function($skip, $loc, $0, $1) {
10363
10494
  return { $loc, token: ".." };
10364
10495
  });
10365
10496
  var DotDot$$ = [DotDot$0, DotDot$1];
10366
10497
  function DotDot(ctx, state) {
10367
10498
  return $EVENT_C(ctx, state, "DotDot", DotDot$$);
10368
10499
  }
10369
- var DotDotDot$0 = $TV($EXPECT($L132, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
10500
+ var DotDotDot$0 = $TV($EXPECT($L131, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
10370
10501
  return { $loc, token: $1 };
10371
10502
  });
10372
- var DotDotDot$1 = $TV($EXPECT($L133, 'DotDotDot "\u2026"'), function($skip, $loc, $0, $1) {
10503
+ var DotDotDot$1 = $TV($EXPECT($L132, 'DotDotDot "\u2026"'), function($skip, $loc, $0, $1) {
10373
10504
  return { $loc, token: "..." };
10374
10505
  });
10375
10506
  var DotDotDot$$ = [DotDotDot$0, DotDotDot$1];
10376
10507
  function DotDotDot(ctx, state) {
10377
10508
  return $EVENT_C(ctx, state, "DotDotDot", DotDotDot$$);
10378
10509
  }
10379
- var DoubleColon$0 = $TV($EXPECT($L134, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
10510
+ var DoubleColon$0 = $TV($EXPECT($L133, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
10380
10511
  return { $loc, token: $1 };
10381
10512
  });
10382
10513
  function DoubleColon(ctx, state) {
10383
10514
  return $EVENT(ctx, state, "DoubleColon", DoubleColon$0);
10384
10515
  }
10385
- var DoubleQuote$0 = $TV($EXPECT($L135, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
10516
+ var DoubleQuote$0 = $TV($EXPECT($L134, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
10386
10517
  return { $loc, token: $1 };
10387
10518
  });
10388
10519
  function DoubleQuote(ctx, state) {
10389
10520
  return $EVENT(ctx, state, "DoubleQuote", DoubleQuote$0);
10390
10521
  }
10391
- var Each$0 = $TS($S($EXPECT($L136, 'Each "each"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10522
+ var Each$0 = $TS($S($EXPECT($L135, 'Each "each"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10392
10523
  return { $loc, token: $1 };
10393
10524
  });
10394
10525
  function Each(ctx, state) {
10395
10526
  return $EVENT(ctx, state, "Each", Each$0);
10396
10527
  }
10397
- var Else$0 = $TS($S($EXPECT($L137, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10528
+ var Else$0 = $TS($S($EXPECT($L136, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10398
10529
  return { $loc, token: $1 };
10399
10530
  });
10400
10531
  function Else(ctx, state) {
@@ -10406,85 +10537,85 @@ var require_parser = __commonJS({
10406
10537
  function Equals(ctx, state) {
10407
10538
  return $EVENT(ctx, state, "Equals", Equals$0);
10408
10539
  }
10409
- var Export$0 = $TS($S($EXPECT($L138, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10540
+ var Export$0 = $TS($S($EXPECT($L137, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10410
10541
  return { $loc, token: $1 };
10411
10542
  });
10412
10543
  function Export(ctx, state) {
10413
10544
  return $EVENT(ctx, state, "Export", Export$0);
10414
10545
  }
10415
- var Extends$0 = $TS($S($EXPECT($L139, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10546
+ var Extends$0 = $TS($S($EXPECT($L138, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10416
10547
  return { $loc, token: $1 };
10417
10548
  });
10418
10549
  function Extends(ctx, state) {
10419
10550
  return $EVENT(ctx, state, "Extends", Extends$0);
10420
10551
  }
10421
- var Finally$0 = $TS($S($EXPECT($L140, 'Finally "finally"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10552
+ var Finally$0 = $TS($S($EXPECT($L139, 'Finally "finally"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10422
10553
  return { $loc, token: $1 };
10423
10554
  });
10424
10555
  function Finally(ctx, state) {
10425
10556
  return $EVENT(ctx, state, "Finally", Finally$0);
10426
10557
  }
10427
- var For$0 = $TS($S($EXPECT($L141, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10558
+ var For$0 = $TS($S($EXPECT($L140, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10428
10559
  return { $loc, token: $1 };
10429
10560
  });
10430
10561
  function For(ctx, state) {
10431
10562
  return $EVENT(ctx, state, "For", For$0);
10432
10563
  }
10433
- var From$0 = $TS($S($EXPECT($L142, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10564
+ var From$0 = $TS($S($EXPECT($L141, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10434
10565
  return { $loc, token: $1 };
10435
10566
  });
10436
10567
  function From(ctx, state) {
10437
10568
  return $EVENT(ctx, state, "From", From$0);
10438
10569
  }
10439
- var Function$0 = $TS($S($EXPECT($L143, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10570
+ var Function$0 = $TS($S($EXPECT($L142, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10440
10571
  return { $loc, token: $1 };
10441
10572
  });
10442
10573
  function Function(ctx, state) {
10443
10574
  return $EVENT(ctx, state, "Function", Function$0);
10444
10575
  }
10445
- var GetOrSet$0 = $TS($S($C($EXPECT($L144, 'GetOrSet "get"'), $EXPECT($L145, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10576
+ var GetOrSet$0 = $TS($S($C($EXPECT($L143, 'GetOrSet "get"'), $EXPECT($L144, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10446
10577
  return { $loc, token: $1, type: "GetOrSet" };
10447
10578
  });
10448
10579
  function GetOrSet(ctx, state) {
10449
10580
  return $EVENT(ctx, state, "GetOrSet", GetOrSet$0);
10450
10581
  }
10451
- var Hash$0 = $TV($EXPECT($L146, 'Hash "#"'), function($skip, $loc, $0, $1) {
10582
+ var Hash$0 = $TV($EXPECT($L145, 'Hash "#"'), function($skip, $loc, $0, $1) {
10452
10583
  return { $loc, token: $1 };
10453
10584
  });
10454
10585
  function Hash(ctx, state) {
10455
10586
  return $EVENT(ctx, state, "Hash", Hash$0);
10456
10587
  }
10457
- var If$0 = $TV($TEXT($S($EXPECT($L147, 'If "if"'), NonIdContinue, $E($EXPECT($L11, 'If " "')))), function($skip, $loc, $0, $1) {
10588
+ var If$0 = $TV($TEXT($S($EXPECT($L146, 'If "if"'), NonIdContinue, $E($EXPECT($L12, 'If " "')))), function($skip, $loc, $0, $1) {
10458
10589
  return { $loc, token: $1 };
10459
10590
  });
10460
10591
  function If(ctx, state) {
10461
10592
  return $EVENT(ctx, state, "If", If$0);
10462
10593
  }
10463
- var Import$0 = $TS($S($EXPECT($L15, 'Import "import"'), $Y($EXPECT($R50, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
10594
+ var Import$0 = $TS($S($EXPECT($L15, 'Import "import"'), $Y($EXPECT($R66, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
10464
10595
  return { $loc, token: $1 };
10465
10596
  });
10466
10597
  function Import(ctx, state) {
10467
10598
  return $EVENT(ctx, state, "Import", Import$0);
10468
10599
  }
10469
- var In$0 = $TS($S($EXPECT($L148, 'In "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10600
+ var In$0 = $TS($S($EXPECT($L147, 'In "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10470
10601
  return { $loc, token: $1 };
10471
10602
  });
10472
10603
  function In(ctx, state) {
10473
10604
  return $EVENT(ctx, state, "In", In$0);
10474
10605
  }
10475
- var LetOrConst$0 = $TS($S($C($EXPECT($L149, 'LetOrConst "let"'), $EXPECT($L150, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10606
+ var LetOrConst$0 = $TS($S($C($EXPECT($L148, 'LetOrConst "let"'), $EXPECT($L149, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10476
10607
  return { $loc, token: $1 };
10477
10608
  });
10478
10609
  function LetOrConst(ctx, state) {
10479
10610
  return $EVENT(ctx, state, "LetOrConst", LetOrConst$0);
10480
10611
  }
10481
- var Const$0 = $TS($S($EXPECT($L150, 'Const "const"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10612
+ var Const$0 = $TS($S($EXPECT($L149, 'Const "const"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10482
10613
  return { $loc, token: $1 };
10483
10614
  });
10484
10615
  function Const(ctx, state) {
10485
10616
  return $EVENT(ctx, state, "Const", Const$0);
10486
10617
  }
10487
- var Is$0 = $TS($S($EXPECT($L151, 'Is "is"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10618
+ var Is$0 = $TS($S($EXPECT($L150, 'Is "is"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10488
10619
  return { $loc, token: $1 };
10489
10620
  });
10490
10621
  function Is(ctx, state) {
@@ -10496,25 +10627,25 @@ var require_parser = __commonJS({
10496
10627
  function LetOrConstOrVar(ctx, state) {
10497
10628
  return $EVENT_C(ctx, state, "LetOrConstOrVar", LetOrConstOrVar$$);
10498
10629
  }
10499
- var Loop$0 = $TS($S($EXPECT($L152, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10630
+ var Loop$0 = $TS($S($EXPECT($L151, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10500
10631
  return { $loc, token: "while(true)" };
10501
10632
  });
10502
10633
  function Loop(ctx, state) {
10503
10634
  return $EVENT(ctx, state, "Loop", Loop$0);
10504
10635
  }
10505
- var New$0 = $TS($S($EXPECT($L153, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10636
+ var New$0 = $TS($S($EXPECT($L152, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10506
10637
  return { $loc, token: $1 };
10507
10638
  });
10508
10639
  function New(ctx, state) {
10509
10640
  return $EVENT(ctx, state, "New", New$0);
10510
10641
  }
10511
- var Not$0 = $TS($S($EXPECT($L154, 'Not "not"'), NonIdContinue, $N($S($E(_), $EXPECT($L12, 'Not ":"')))), function($skip, $loc, $0, $1, $2, $3) {
10642
+ var Not$0 = $TS($S($EXPECT($L153, 'Not "not"'), NonIdContinue, $N($S($E(_), $EXPECT($L11, 'Not ":"')))), function($skip, $loc, $0, $1, $2, $3) {
10512
10643
  return { $loc, token: "!" };
10513
10644
  });
10514
10645
  function Not(ctx, state) {
10515
10646
  return $EVENT(ctx, state, "Not", Not$0);
10516
10647
  }
10517
- var Of$0 = $TS($S($EXPECT($L84, 'Of "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10648
+ var Of$0 = $TS($S($EXPECT($L154, 'Of "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10518
10649
  return { $loc, token: $1 };
10519
10650
  });
10520
10651
  function Of(ctx, state) {
@@ -10532,7 +10663,7 @@ var require_parser = __commonJS({
10532
10663
  function OpenBrace(ctx, state) {
10533
10664
  return $EVENT(ctx, state, "OpenBrace", OpenBrace$0);
10534
10665
  }
10535
- var OpenBracket$0 = $TV($EXPECT($L112, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
10666
+ var OpenBracket$0 = $TV($EXPECT($L111, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
10536
10667
  return { $loc, token: $1 };
10537
10668
  });
10538
10669
  function OpenBracket(ctx, state) {
@@ -10611,7 +10742,7 @@ var require_parser = __commonJS({
10611
10742
  function Satisfies(ctx, state) {
10612
10743
  return $EVENT(ctx, state, "Satisfies", Satisfies$0);
10613
10744
  }
10614
- var Semicolon$0 = $TV($EXPECT($L100, 'Semicolon ";"'), function($skip, $loc, $0, $1) {
10745
+ var Semicolon$0 = $TV($EXPECT($L99, 'Semicolon ";"'), function($skip, $loc, $0, $1) {
10615
10746
  return { $loc, token: $1 };
10616
10747
  });
10617
10748
  function Semicolon(ctx, state) {
@@ -10632,7 +10763,7 @@ var require_parser = __commonJS({
10632
10763
  var Static$0 = $TS($S($EXPECT($L171, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10633
10764
  return { $loc, token: $1 };
10634
10765
  });
10635
- var Static$1 = $TS($S($EXPECT($L117, 'Static "@"'), $N($C($EXPECT($L4, 'Static "("'), $EXPECT($L117, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
10766
+ var Static$1 = $TS($S($EXPECT($L116, 'Static "@"'), $N($C($EXPECT($L4, 'Static "("'), $EXPECT($L116, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
10636
10767
  return { $loc, token: "static " };
10637
10768
  });
10638
10769
  var Static$$ = [Static$0, Static$1];
@@ -10921,7 +11052,7 @@ var require_parser = __commonJS({
10921
11052
  function JSXClosingFragment(ctx, state) {
10922
11053
  return $EVENT(ctx, state, "JSXClosingFragment", JSXClosingFragment$0);
10923
11054
  }
10924
- var JSXElementName$0 = $TV($Y($S($C($EXPECT($L146, 'JSXElementName "#"'), Dot), JSXShorthandString)), function($skip, $loc, $0, $1) {
11055
+ var JSXElementName$0 = $TV($Y($S($C($EXPECT($L145, 'JSXElementName "#"'), Dot), JSXShorthandString)), function($skip, $loc, $0, $1) {
10925
11056
  return module2.config.defaultElement;
10926
11057
  });
10927
11058
  var JSXElementName$1 = $TEXT($S(JSXIdentifierName, $C($S(Colon, JSXIdentifierName), $Q($S(Dot, JSXIdentifierName)))));
@@ -10929,7 +11060,7 @@ var require_parser = __commonJS({
10929
11060
  function JSXElementName(ctx, state) {
10930
11061
  return $EVENT_C(ctx, state, "JSXElementName", JSXElementName$$);
10931
11062
  }
10932
- var JSXIdentifierName$0 = $R$0($EXPECT($R51, "JSXIdentifierName /(?:\\p{ID_Start}|[_$])(?:\\p{ID_Continue}|[\\u200C\\u200D$-])*/"));
11063
+ var JSXIdentifierName$0 = $R$0($EXPECT($R67, "JSXIdentifierName /(?:\\p{ID_Start}|[_$])(?:\\p{ID_Continue}|[\\u200C\\u200D$-])*/"));
10933
11064
  function JSXIdentifierName(ctx, state) {
10934
11065
  return $EVENT(ctx, state, "JSXIdentifierName", JSXIdentifierName$0);
10935
11066
  }
@@ -11093,7 +11224,7 @@ var require_parser = __commonJS({
11093
11224
  }
11094
11225
  return $skip;
11095
11226
  });
11096
- var JSXAttribute$5 = $TS($S($EXPECT($L146, 'JSXAttribute "#"'), JSXShorthandString), function($skip, $loc, $0, $1, $2) {
11227
+ var JSXAttribute$5 = $TS($S($EXPECT($L145, 'JSXAttribute "#"'), JSXShorthandString), function($skip, $loc, $0, $1, $2) {
11097
11228
  return [" ", "id=", $2];
11098
11229
  });
11099
11230
  var JSXAttribute$6 = $TS($S(Dot, JSXShorthandString), function($skip, $loc, $0, $1, $2) {
@@ -11102,7 +11233,7 @@ var require_parser = __commonJS({
11102
11233
  class: $2
11103
11234
  };
11104
11235
  });
11105
- var JSXAttribute$7 = $TS($S($TEXT($EXPECT($R6, "JSXAttribute /[!+-]/")), JSXAttributeName, $Y(JSXAttributeSpace)), function($skip, $loc, $0, $1, $2, $3) {
11236
+ var JSXAttribute$7 = $TS($S($TEXT($EXPECT($R14, "JSXAttribute /[!+-]/")), JSXAttributeName, $Y(JSXAttributeSpace)), function($skip, $loc, $0, $1, $2, $3) {
11106
11237
  var toggle = $1;
11107
11238
  var id = $2;
11108
11239
  const value = toggle === "+" ? "true" : "false";
@@ -11112,11 +11243,11 @@ var require_parser = __commonJS({
11112
11243
  function JSXAttribute(ctx, state) {
11113
11244
  return $EVENT_C(ctx, state, "JSXAttribute", JSXAttribute$$);
11114
11245
  }
11115
- var JSXAttributeSpace$0 = $R$0($EXPECT($R52, "JSXAttributeSpace /[\\s>]|\\/>/"));
11246
+ var JSXAttributeSpace$0 = $R$0($EXPECT($R68, "JSXAttributeSpace /[\\s>]|\\/>/"));
11116
11247
  function JSXAttributeSpace(ctx, state) {
11117
11248
  return $EVENT(ctx, state, "JSXAttributeSpace", JSXAttributeSpace$0);
11118
11249
  }
11119
- var JSXShorthandString$0 = $TR($EXPECT($R53, "JSXShorthandString /(?:[\\w\\-:]+|\\([^()]*\\)|\\[[^\\[\\]]*\\])+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
11250
+ var JSXShorthandString$0 = $TR($EXPECT($R69, "JSXShorthandString /(?:[\\w\\-:]+|\\([^()]*\\)|\\[[^\\[\\]]*\\])+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
11120
11251
  return quoteString($0);
11121
11252
  });
11122
11253
  var JSXShorthandString$1 = $TS($S(TemplateLiteral), function($skip, $loc, $0, $1) {
@@ -11150,7 +11281,7 @@ var require_parser = __commonJS({
11150
11281
  }
11151
11282
  return [open, value, close];
11152
11283
  });
11153
- var JSXAttributeValue$4 = $R$0($EXPECT($R54, `JSXAttributeValue /"[^"]*"|'[^']*'/`));
11284
+ var JSXAttributeValue$4 = $R$0($EXPECT($R70, `JSXAttributeValue /"[^"]*"|'[^']*'/`));
11154
11285
  var JSXAttributeValue$$ = [JSXAttributeValue$0, JSXAttributeValue$1, JSXAttributeValue$2, JSXAttributeValue$3, JSXAttributeValue$4];
11155
11286
  function JSXAttributeValue(ctx, state) {
11156
11287
  return $EVENT_C(ctx, state, "JSXAttributeValue", JSXAttributeValue$$);
@@ -11163,7 +11294,7 @@ var require_parser = __commonJS({
11163
11294
  function InlineJSXAttributeValue(ctx, state) {
11164
11295
  return $EVENT(ctx, state, "InlineJSXAttributeValue", InlineJSXAttributeValue$0);
11165
11296
  }
11166
- var InlineJSXBinaryOpRHS$0 = $TS($S($N($EXPECT($R55, "InlineJSXBinaryOpRHS /[<>]/")), BinaryOp, InlineJSXUnaryExpression), function($skip, $loc, $0, $1, $2, $3) {
11297
+ var InlineJSXBinaryOpRHS$0 = $TS($S($N($EXPECT($R71, "InlineJSXBinaryOpRHS /[<>]/")), BinaryOp, InlineJSXUnaryExpression), function($skip, $loc, $0, $1, $2, $3) {
11167
11298
  var op = $2;
11168
11299
  var rhs = $3;
11169
11300
  return [[], op, [], rhs];
@@ -11180,7 +11311,7 @@ var require_parser = __commonJS({
11180
11311
  function InlineJSXUnaryExpression(ctx, state) {
11181
11312
  return $EVENT(ctx, state, "InlineJSXUnaryExpression", InlineJSXUnaryExpression$0);
11182
11313
  }
11183
- var InlineJSXUnaryOp$0 = $TR($EXPECT($R56, "InlineJSXUnaryOp /[!~+-](?!\\s|[!~+-]*&)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
11314
+ var InlineJSXUnaryOp$0 = $TR($EXPECT($R72, "InlineJSXUnaryOp /[!~+-](?!\\s|[!~+-]*&)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
11184
11315
  return { $loc, token: $0 };
11185
11316
  });
11186
11317
  function InlineJSXUnaryOp(ctx, state) {
@@ -11247,7 +11378,7 @@ var require_parser = __commonJS({
11247
11378
  }
11248
11379
  return $1;
11249
11380
  });
11250
- var InlineJSXCallExpressionRest$2 = $TS($S($E($C(OptionalShorthand, NonNullAssertion)), ExplicitArguments), function($skip, $loc, $0, $1, $2) {
11381
+ var InlineJSXCallExpressionRest$2 = $TS($S($E(OptionalShorthand), ExplicitArguments), function($skip, $loc, $0, $1, $2) {
11251
11382
  var args = $2;
11252
11383
  args = { type: "Call", children: args };
11253
11384
  if (!$1)
@@ -11271,7 +11402,7 @@ var require_parser = __commonJS({
11271
11402
  function InlineJSXMemberExpression(ctx, state) {
11272
11403
  return $EVENT(ctx, state, "InlineJSXMemberExpression", InlineJSXMemberExpression$0);
11273
11404
  }
11274
- var InlineJSXMemberExpressionRest$0 = $TS($S($E($C(OptionalShorthand, NonNullAssertion)), MemberBracketContent), function($skip, $loc, $0, $1, $2) {
11405
+ var InlineJSXMemberExpressionRest$0 = $TS($S($E(OptionalShorthand), MemberBracketContent), function($skip, $loc, $0, $1, $2) {
11275
11406
  if ($1) {
11276
11407
  if ($1.type === "Optional" && $2.type === "SliceExpression") {
11277
11408
  return [$1.children[0], $2];
@@ -11392,13 +11523,13 @@ var require_parser = __commonJS({
11392
11523
  function JSXComment(ctx, state) {
11393
11524
  return $EVENT(ctx, state, "JSXComment", JSXComment$0);
11394
11525
  }
11395
- var JSXCommentContent$0 = $TR($EXPECT($R57, "JSXCommentContent /(?:-[^-]|[^-]*)*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
11526
+ var JSXCommentContent$0 = $TR($EXPECT($R73, "JSXCommentContent /(?:-[^-]|[^-]*)*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
11396
11527
  return { $loc, token: $0.replace(/\*\//g, "* /") };
11397
11528
  });
11398
11529
  function JSXCommentContent(ctx, state) {
11399
11530
  return $EVENT(ctx, state, "JSXCommentContent", JSXCommentContent$0);
11400
11531
  }
11401
- var JSXText$0 = $TR($EXPECT($R58, "JSXText /[^{}<>\\r\\n]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
11532
+ var JSXText$0 = $TR($EXPECT($R74, "JSXText /[^{}<>\\r\\n]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
11402
11533
  return {
11403
11534
  type: "JSXText",
11404
11535
  token: $0,
@@ -11763,7 +11894,7 @@ var require_parser = __commonJS({
11763
11894
  function TypeProperty(ctx, state) {
11764
11895
  return $EVENT(ctx, state, "TypeProperty", TypeProperty$0);
11765
11896
  }
11766
- var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R59, "TypeIndexSignature /[+-]?/")), Readonly, NotDedented)), OpenBracket, TypeIndex, CloseBracket, $E($S(__, $R$0($EXPECT($R60, "TypeIndexSignature /[+-]/")), $Y($S($E(_), QuestionMark)))));
11897
+ var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R75, "TypeIndexSignature /[+-]?/")), Readonly, NotDedented)), OpenBracket, TypeIndex, CloseBracket, $E($S(__, $R$0($EXPECT($R76, "TypeIndexSignature /[+-]/")), $Y($S($E(_), QuestionMark)))));
11767
11898
  function TypeIndexSignature(ctx, state) {
11768
11899
  return $EVENT(ctx, state, "TypeIndexSignature", TypeIndexSignature$0);
11769
11900
  }
@@ -11814,7 +11945,7 @@ var require_parser = __commonJS({
11814
11945
  function ReturnType(ctx, state) {
11815
11946
  return $EVENT(ctx, state, "ReturnType", ReturnType$0);
11816
11947
  }
11817
- var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($L151, 'TypePredicate "is"'), NonIdContinue, Type))), function($skip, $loc, $0, $1, $2) {
11948
+ var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($L150, 'TypePredicate "is"'), NonIdContinue, Type))), function($skip, $loc, $0, $1, $2) {
11818
11949
  var lhs = $1;
11819
11950
  var rhs = $2;
11820
11951
  if (!rhs)
@@ -11976,7 +12107,7 @@ var require_parser = __commonJS({
11976
12107
  function NestedType(ctx, state) {
11977
12108
  return $EVENT(ctx, state, "NestedType", NestedType$0);
11978
12109
  }
11979
- var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L139, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
12110
+ var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L138, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
11980
12111
  if ($2)
11981
12112
  return $0;
11982
12113
  return $1;
@@ -12036,16 +12167,16 @@ var require_parser = __commonJS({
12036
12167
  var InlineInterfacePropertyDelimiter$1 = $T($S($Y($S($C(IndentedFurther, $E(_)), InlineBasicInterfaceProperty)), InsertComma), function(value) {
12037
12168
  return value[1];
12038
12169
  });
12039
- var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($L12, 'InlineInterfacePropertyDelimiter ":"'), $EXPECT($L114, 'InlineInterfacePropertyDelimiter ")"'), $EXPECT($L34, 'InlineInterfacePropertyDelimiter "]"'), $EXPECT($L25, 'InlineInterfacePropertyDelimiter "}"'))));
12170
+ var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($L11, 'InlineInterfacePropertyDelimiter ":"'), $EXPECT($L113, 'InlineInterfacePropertyDelimiter ")"'), $EXPECT($L34, 'InlineInterfacePropertyDelimiter "]"'), $EXPECT($L25, 'InlineInterfacePropertyDelimiter "}"'))));
12040
12171
  var InlineInterfacePropertyDelimiter$3 = $Y(EOS);
12041
12172
  var InlineInterfacePropertyDelimiter$$ = [InlineInterfacePropertyDelimiter$0, InlineInterfacePropertyDelimiter$1, InlineInterfacePropertyDelimiter$2, InlineInterfacePropertyDelimiter$3];
12042
12173
  function InlineInterfacePropertyDelimiter(ctx, state) {
12043
12174
  return $EVENT_C(ctx, state, "InlineInterfacePropertyDelimiter", InlineInterfacePropertyDelimiter$$);
12044
12175
  }
12045
- var TypeBinaryOp$0 = $TV($EXPECT($L99, 'TypeBinaryOp "|"'), function($skip, $loc, $0, $1) {
12176
+ var TypeBinaryOp$0 = $TV($EXPECT($L98, 'TypeBinaryOp "|"'), function($skip, $loc, $0, $1) {
12046
12177
  return { $loc, token: "|" };
12047
12178
  });
12048
- var TypeBinaryOp$1 = $TV($EXPECT($L98, 'TypeBinaryOp "&"'), function($skip, $loc, $0, $1) {
12179
+ var TypeBinaryOp$1 = $TV($EXPECT($L97, 'TypeBinaryOp "&"'), function($skip, $loc, $0, $1) {
12049
12180
  return { $loc, token: "&" };
12050
12181
  });
12051
12182
  var TypeBinaryOp$$ = [TypeBinaryOp$0, TypeBinaryOp$1];
@@ -12095,11 +12226,11 @@ var require_parser = __commonJS({
12095
12226
  function TypeParameters(ctx, state) {
12096
12227
  return $EVENT(ctx, state, "TypeParameters", TypeParameters$0);
12097
12228
  }
12098
- var TypeParameter$0 = $S(__, $E($S($EXPECT($L150, 'TypeParameter "const"'), $E(_))), Identifier, $E(TypeConstraint), $E(TypeInitializer), TypeParameterDelimiter);
12229
+ var TypeParameter$0 = $S(__, $E($S($EXPECT($L149, 'TypeParameter "const"'), $E(_))), Identifier, $E(TypeConstraint), $E(TypeInitializer), TypeParameterDelimiter);
12099
12230
  function TypeParameter(ctx, state) {
12100
12231
  return $EVENT(ctx, state, "TypeParameter", TypeParameter$0);
12101
12232
  }
12102
- var TypeConstraint$0 = $S(__, $EXPECT($L139, 'TypeConstraint "extends"'), NonIdContinue, Type);
12233
+ var TypeConstraint$0 = $S(__, $EXPECT($L138, 'TypeConstraint "extends"'), NonIdContinue, Type);
12103
12234
  function TypeConstraint(ctx, state) {
12104
12235
  return $EVENT(ctx, state, "TypeConstraint", TypeConstraint$0);
12105
12236
  }
@@ -12122,15 +12253,15 @@ var require_parser = __commonJS({
12122
12253
  function ThisType(ctx, state) {
12123
12254
  return $EVENT(ctx, state, "ThisType", ThisType$0);
12124
12255
  }
12125
- var Shebang$0 = $S($R$0($EXPECT($R61, "Shebang /#![^\\r\\n]*/")), EOL);
12256
+ var Shebang$0 = $S($R$0($EXPECT($R77, "Shebang /#![^\\r\\n]*/")), EOL);
12126
12257
  function Shebang(ctx, state) {
12127
12258
  return $EVENT(ctx, state, "Shebang", Shebang$0);
12128
12259
  }
12129
- var CivetPrologue$0 = $T($S($EXPECT($R62, "CivetPrologue /[\\t ]*/"), DoubleQuote, CivetPrologueContent, DoubleQuote, SimpleStatementDelimiter, $E(EOS)), function(value) {
12260
+ var CivetPrologue$0 = $T($S($EXPECT($R78, "CivetPrologue /[\\t ]*/"), DoubleQuote, CivetPrologueContent, DoubleQuote, SimpleStatementDelimiter, $E(EOS)), function(value) {
12130
12261
  var content = value[2];
12131
12262
  return content;
12132
12263
  });
12133
- var CivetPrologue$1 = $T($S($EXPECT($R62, "CivetPrologue /[\\t ]*/"), SingleQuote, CivetPrologueContent, SingleQuote, SimpleStatementDelimiter, $E(EOS)), function(value) {
12264
+ var CivetPrologue$1 = $T($S($EXPECT($R78, "CivetPrologue /[\\t ]*/"), SingleQuote, CivetPrologueContent, SingleQuote, SimpleStatementDelimiter, $E(EOS)), function(value) {
12134
12265
  var content = value[2];
12135
12266
  return content;
12136
12267
  });
@@ -12138,7 +12269,7 @@ var require_parser = __commonJS({
12138
12269
  function CivetPrologue(ctx, state) {
12139
12270
  return $EVENT_C(ctx, state, "CivetPrologue", CivetPrologue$$);
12140
12271
  }
12141
- var CivetPrologueContent$0 = $TS($S($EXPECT($L210, 'CivetPrologueContent "civet"'), NonIdContinue, $Q(CivetOption), $EXPECT($R63, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3, $4) {
12272
+ var CivetPrologueContent$0 = $TS($S($EXPECT($L210, 'CivetPrologueContent "civet"'), NonIdContinue, $Q(CivetOption), $EXPECT($R79, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3, $4) {
12142
12273
  var options = $3;
12143
12274
  return {
12144
12275
  type: "CivetPrologue",
@@ -12149,7 +12280,7 @@ var require_parser = __commonJS({
12149
12280
  function CivetPrologueContent(ctx, state) {
12150
12281
  return $EVENT(ctx, state, "CivetPrologueContent", CivetPrologueContent$0);
12151
12282
  }
12152
- var CivetOption$0 = $TR($EXPECT($R64, "CivetOption /\\s+([+-]?)([a-zA-Z0-9-]+)(\\s*=\\s*([a-zA-Z0-9.+-]*))?/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
12283
+ var CivetOption$0 = $TR($EXPECT($R80, "CivetOption /\\s+([+-]?)([a-zA-Z0-9-]+)(\\s*=\\s*([a-zA-Z0-9.+-]*))?/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
12153
12284
  const optionName = $2.replace(/-+([a-z]?)/g, (_2, l) => {
12154
12285
  if (l)
12155
12286
  return l.toUpperCase();
@@ -12166,11 +12297,11 @@ var require_parser = __commonJS({
12166
12297
  function CivetOption(ctx, state) {
12167
12298
  return $EVENT(ctx, state, "CivetOption", CivetOption$0);
12168
12299
  }
12169
- var UnknownPrologue$0 = $S($R$0($EXPECT($R62, "UnknownPrologue /[\\t ]*/")), StringLiteral, $TEXT(SimpleStatementDelimiter), EOS);
12300
+ var UnknownPrologue$0 = $S($R$0($EXPECT($R78, "UnknownPrologue /[\\t ]*/")), StringLiteral, $TEXT(SimpleStatementDelimiter), EOS);
12170
12301
  function UnknownPrologue(ctx, state) {
12171
12302
  return $EVENT(ctx, state, "UnknownPrologue", UnknownPrologue$0);
12172
12303
  }
12173
- var TripleSlashDirective$0 = $S($R$0($EXPECT($R65, "TripleSlashDirective /\\/\\/\\/[^\\r\\n]*/")), $E(EOS));
12304
+ var TripleSlashDirective$0 = $S($R$0($EXPECT($R81, "TripleSlashDirective /\\/\\/\\/[^\\r\\n]*/")), $E(EOS));
12174
12305
  function TripleSlashDirective(ctx, state) {
12175
12306
  return $EVENT(ctx, state, "TripleSlashDirective", TripleSlashDirective$0);
12176
12307
  }
@@ -12184,11 +12315,13 @@ var require_parser = __commonJS({
12184
12315
  function PrologueString(ctx, state) {
12185
12316
  return $EVENT_C(ctx, state, "PrologueString", PrologueString$$);
12186
12317
  }
12187
- var EOS$0 = $P(RestOfLine);
12318
+ var EOS$0 = $T($S($EXPECT($R82, "EOS /(?=[ \\t\\r\\n\\/#]|$)/"), $P(RestOfLine)), function(value) {
12319
+ return value[1];
12320
+ });
12188
12321
  function EOS(ctx, state) {
12189
12322
  return $EVENT(ctx, state, "EOS", EOS$0);
12190
12323
  }
12191
- var EOL$0 = $TR($EXPECT($R66, "EOL /\\r\\n|\\n|\\r|$/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
12324
+ var EOL$0 = $TR($EXPECT($R83, "EOL /\\r\\n|\\n|\\r|$/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
12192
12325
  return { $loc, token: $0 };
12193
12326
  });
12194
12327
  function EOL(ctx, state) {
@@ -12682,7 +12815,7 @@ var require_parser = __commonJS({
12682
12815
  function Init(ctx, state) {
12683
12816
  return $EVENT(ctx, state, "Init", Init$0);
12684
12817
  }
12685
- var Indent$0 = $TR($EXPECT($R67, "Indent /[ \\t]*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
12818
+ var Indent$0 = $TR($EXPECT($R84, "Indent /[ \\t]*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
12686
12819
  const level = getIndentLevel($0, module2.config.tab);
12687
12820
  return {
12688
12821
  $loc,
@@ -12804,6 +12937,7 @@ var require_parser = __commonJS({
12804
12937
  exports.NestedNonAssignmentExtendedExpression = NestedNonAssignmentExtendedExpression;
12805
12938
  exports.ExpressionizedStatementWithTrailingCallExpressions = ExpressionizedStatementWithTrailingCallExpressions;
12806
12939
  exports.ExpressionizedStatement = ExpressionizedStatement;
12940
+ exports._ExpressionizedStatement = _ExpressionizedStatement;
12807
12941
  exports.Expression = Expression;
12808
12942
  exports.Arguments = Arguments;
12809
12943
  exports.ImplicitArguments = ImplicitArguments;
@@ -12895,6 +13029,7 @@ var require_parser = __commonJS({
12895
13029
  exports.MemberBracketContent = MemberBracketContent;
12896
13030
  exports.SliceParameters = SliceParameters;
12897
13031
  exports.AccessStart = AccessStart;
13032
+ exports.PropertyAccessModifier = PropertyAccessModifier;
12898
13033
  exports.PropertyAccess = PropertyAccess;
12899
13034
  exports.PropertyGlob = PropertyGlob;
12900
13035
  exports.PropertyBind = PropertyBind;
@@ -12965,12 +13100,14 @@ var require_parser = __commonJS({
12965
13100
  exports.LiteralContent = LiteralContent;
12966
13101
  exports.NullLiteral = NullLiteral;
12967
13102
  exports.BooleanLiteral = BooleanLiteral;
13103
+ exports._BooleanLiteral = _BooleanLiteral;
12968
13104
  exports.CoffeeScriptBooleanLiteral = CoffeeScriptBooleanLiteral;
12969
13105
  exports.Identifier = Identifier;
12970
13106
  exports.IdentifierName = IdentifierName;
12971
13107
  exports.IdentifierReference = IdentifierReference;
12972
13108
  exports.UpcomingAssignment = UpcomingAssignment;
12973
13109
  exports.ArrayLiteral = ArrayLiteral;
13110
+ exports._ArrayLiteral = _ArrayLiteral;
12974
13111
  exports.RangeExpression = RangeExpression;
12975
13112
  exports.ArrayLiteralContent = ArrayLiteralContent;
12976
13113
  exports.NestedElementList = NestedElementList;
@@ -13012,6 +13149,8 @@ var require_parser = __commonJS({
13012
13149
  exports.IdentifierBinaryOp = IdentifierBinaryOp;
13013
13150
  exports.BinaryOp = BinaryOp;
13014
13151
  exports.BinaryOpSymbol = BinaryOpSymbol;
13152
+ exports.CoffeeOfOp = CoffeeOfOp;
13153
+ exports.NotOp = NotOp;
13015
13154
  exports.Xor = Xor;
13016
13155
  exports.Xnor = Xnor;
13017
13156
  exports.UnaryOp = UnaryOp;
@@ -13022,6 +13161,7 @@ var require_parser = __commonJS({
13022
13161
  exports.PostfixedExpression = PostfixedExpression;
13023
13162
  exports.NonPipelinePostfixedExpression = NonPipelinePostfixedExpression;
13024
13163
  exports.PostfixStatement = PostfixStatement;
13164
+ exports._PostfixStatement = _PostfixStatement;
13025
13165
  exports.Statement = Statement;
13026
13166
  exports.EmptyStatement = EmptyStatement;
13027
13167
  exports.BlockStatement = BlockStatement;
@@ -13041,6 +13181,7 @@ var require_parser = __commonJS({
13041
13181
  exports.NestedBlockExpression = NestedBlockExpression;
13042
13182
  exports.BlockExpressionPart = BlockExpressionPart;
13043
13183
  exports.IterationStatement = IterationStatement;
13184
+ exports._IterationStatement = _IterationStatement;
13044
13185
  exports.IterationExpression = IterationExpression;
13045
13186
  exports.LoopStatement = LoopStatement;
13046
13187
  exports.LoopClause = LoopClause;
@@ -13177,11 +13318,13 @@ var require_parser = __commonJS({
13177
13318
  exports.RegExpCharacter = RegExpCharacter;
13178
13319
  exports.RegularExpressionFlags = RegularExpressionFlags;
13179
13320
  exports.TemplateLiteral = TemplateLiteral;
13321
+ exports._TemplateLiteral = _TemplateLiteral;
13180
13322
  exports.TemplateSubstitution = TemplateSubstitution;
13181
13323
  exports.TemplateCharacters = TemplateCharacters;
13182
13324
  exports.TemplateBlockCharacters = TemplateBlockCharacters;
13183
13325
  exports.ReservedWord = ReservedWord;
13184
13326
  exports.Comment = Comment;
13327
+ exports._Comment = _Comment;
13185
13328
  exports.SingleLineComment = SingleLineComment;
13186
13329
  exports.JSSingleLineComment = JSSingleLineComment;
13187
13330
  exports.MultiLineComment = MultiLineComment;
@@ -13496,6 +13639,7 @@ var require_parser = __commonJS({
13496
13639
  makeRef,
13497
13640
  maybeRef,
13498
13641
  modifyString,
13642
+ negateCondition,
13499
13643
  processAssignmentDeclaration,
13500
13644
  processBinaryOpExpression,
13501
13645
  processCallMemberExpression,
@@ -14132,7 +14276,8 @@ function makeCache({ hits, trace } = {}) {
14132
14276
  return;
14133
14277
  }
14134
14278
  ;
14135
- const key = [ruleName, state.pos, ...getStateKey()];
14279
+ const [stateKey, tagKey] = getStateKey();
14280
+ const key = [tagKey, stateKey, state.pos, ruleName];
14136
14281
  if (stateCache.has(key)) {
14137
14282
  if (trace) {
14138
14283
  logs.push("".padStart(stack.length * 2, " ") + ruleName + ":" + state.pos + "\u{1F4B0}");
@@ -14153,12 +14298,9 @@ function makeCache({ hits, trace } = {}) {
14153
14298
  ({ getStateKey } = result.value);
14154
14299
  }
14155
14300
  if (!uncacheable.has(ruleName)) {
14156
- const key = [ruleName, state.pos, ...getStateKey()];
14157
- if (result) {
14158
- stateCache.set(key, { ...result });
14159
- } else {
14160
- stateCache.set(key, result);
14161
- }
14301
+ const [stateKey, tagKey] = getStateKey();
14302
+ const key = [tagKey, stateKey, state.pos, ruleName];
14303
+ stateCache.set(key, result);
14162
14304
  }
14163
14305
  if (parse.config.verbose && result) {
14164
14306
  console.log(`Parsed ${JSON.stringify(state.input.slice(state.pos, result.pos))} [pos ${state.pos}-${result.pos}] as ${ruleName}`);