@danielx/civet 0.7.31 → 0.7.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.mjs CHANGED
@@ -60,7 +60,7 @@ var require_machine = __commonJS({
60
60
  $N: () => $N2,
61
61
  $P: () => $P2,
62
62
  $Q: () => $Q2,
63
- $R: () => $R100,
63
+ $R: () => $R99,
64
64
  $R$0: () => $R$02,
65
65
  $S: () => $S2,
66
66
  $T: () => $T2,
@@ -97,7 +97,7 @@ var require_machine = __commonJS({
97
97
  return;
98
98
  };
99
99
  }
100
- function $R100(regExp) {
100
+ function $R99(regExp) {
101
101
  return function(_ctx, state2) {
102
102
  const { input, pos } = state2;
103
103
  regExp.lastIndex = state2.pos;
@@ -1575,12 +1575,19 @@ function implicitFunctionBlock(f) {
1575
1575
  if (f.abstract || f.block || f.signature?.optional)
1576
1576
  return;
1577
1577
  const { name, parent } = f;
1578
- if (parent?.type === "ExportDeclaration")
1579
- return;
1580
- const expressions = parent?.expressions ?? parent?.elements;
1581
- const currentIndex = expressions?.findIndex(([, def]) => def === f);
1582
- const following = currentIndex >= 0 && expressions[currentIndex + 1]?.[1];
1583
- if (f.type === following?.type && name && name === following.name) {
1578
+ let ancestor = parent;
1579
+ let child = f;
1580
+ if (ancestor?.type === "ExportDeclaration") {
1581
+ child = ancestor;
1582
+ ancestor = ancestor.parent;
1583
+ }
1584
+ const expressions = ancestor?.expressions ?? ancestor?.elements;
1585
+ const currentIndex = expressions?.findIndex(([, def]) => def === child);
1586
+ let following = currentIndex >= 0 && expressions[currentIndex + 1]?.[1];
1587
+ if (following?.type === "ExportDeclaration") {
1588
+ following = following.declaration;
1589
+ }
1590
+ if (f.type === following?.type && name != null && name === following.name) {
1584
1591
  f.ts = true;
1585
1592
  } else {
1586
1593
  const block = makeEmptyBlock();
@@ -3702,24 +3709,21 @@ function processDeclarationConditionStatement(s) {
3702
3709
  }
3703
3710
  });
3704
3711
  if (conditions.length) {
3712
+ let children = condition.children;
3705
3713
  if (s.negated) {
3706
3714
  let m;
3707
3715
  if (!(m = condition.expression, typeof m === "object" && m != null && "type" in m && m.type === "UnaryExpression" && "children" in m && Array.isArray(m.children) && len2(m.children, 2) && m.children[0] === "!" && typeof m.children[1] === "object" && m.children[1] != null && "type" in m.children[1] && m.children[1].type === "ParenthesizedExpression")) {
3708
3716
  throw new Error("Unsupported negated condition");
3709
3717
  }
3710
- const { children } = condition.expression.children[1];
3711
- const close = children.pop();
3712
- conditions.forEach((c) => {
3713
- return children.push(" && ", c);
3714
- });
3715
- children.push(close);
3716
- } else {
3717
- condition.children.unshift("(");
3718
- conditions.forEach((c) => {
3719
- return condition.children.push(" && ", c);
3720
- });
3721
- condition.children.push(")");
3718
+ ;
3719
+ ({ children } = condition.expression.children[1]);
3720
+ }
3721
+ children.unshift("(");
3722
+ for (let i1 = 0, len1 = conditions.length; i1 < len1; i1++) {
3723
+ const c = conditions[i1];
3724
+ children.push(" && ", c);
3722
3725
  }
3726
+ children.push(")");
3723
3727
  }
3724
3728
  }
3725
3729
  const { blockPrefix } = condition.expression;
@@ -4417,7 +4421,7 @@ function processForInOf($0, getRef) {
4417
4421
  }
4418
4422
  case "in": {
4419
4423
  const expRef2 = maybeRef(exp);
4420
- if (expRef2 !== exp) {
4424
+ if (!(expRef2 === exp)) {
4421
4425
  hoistDec = {
4422
4426
  type: "Declaration",
4423
4427
  children: ["let ", expRef2],
@@ -4428,36 +4432,46 @@ function processForInOf($0, getRef) {
4428
4432
  children: [" ", expRef2, " =", exp]
4429
4433
  };
4430
4434
  }
4431
- let { binding } = declaration;
4432
- if (binding?.type !== "Identifier") {
4435
+ const { binding } = declaration;
4436
+ let { pattern } = binding;
4437
+ if (!(pattern.type === "Identifier")) {
4433
4438
  const keyRef = makeRef("key");
4434
4439
  blockPrefix.push(["", [
4435
4440
  declaration,
4436
4441
  " = ",
4437
4442
  keyRef
4438
4443
  ], ";"]);
4444
+ pattern = keyRef;
4439
4445
  declaration = {
4440
4446
  type: "ForDeclaration",
4441
- binding: binding = keyRef,
4447
+ binding: {
4448
+ type: "Binding",
4449
+ pattern,
4450
+ children: [pattern],
4451
+ names: [],
4452
+ suffix: binding.suffix
4453
+ },
4442
4454
  children: ["const ", keyRef],
4443
4455
  names: []
4444
4456
  };
4445
4457
  }
4446
4458
  if (own) {
4447
4459
  const hasPropRef = getRef("hasProp");
4448
- blockPrefix.push(["", ["if (!", hasPropRef, "(", insertTrimmingSpace(expRef2, ""), ", ", insertTrimmingSpace(binding, ""), ")) continue"], ";"]);
4460
+ blockPrefix.push(["", ["if (!", hasPropRef, "(", insertTrimmingSpace(expRef2, ""), ", ", insertTrimmingSpace(pattern, ""), ")) continue"], ";"]);
4449
4461
  }
4450
4462
  if (decl2) {
4451
4463
  blockPrefix.push(["", {
4452
4464
  type: "Declaration",
4453
- children: [insertTrimmingSpace(ws2, ""), decl2, " = ", insertTrimmingSpace(expRef2, ""), "[", insertTrimmingSpace(binding, ""), "]"],
4465
+ children: [insertTrimmingSpace(ws2, ""), decl2, " = ", insertTrimmingSpace(expRef2, ""), "[", insertTrimmingSpace(pattern, ""), "]"],
4454
4466
  names: decl2.names
4455
4467
  }, ";"]);
4456
4468
  }
4469
+ ;
4457
4470
  break;
4458
4471
  }
4459
- default:
4472
+ default: {
4460
4473
  throw new Error(`for item, index must use 'of' or 'in' instead of '${inOf.token}'`);
4474
+ }
4461
4475
  }
4462
4476
  return {
4463
4477
  declaration,
@@ -4469,9 +4483,9 @@ function processForInOf($0, getRef) {
4469
4483
  }
4470
4484
 
4471
4485
  // source/parser/auto-dec.civet
4486
+ var concatAssign = (lhs, rhs) => (rhs?.[Symbol.isConcatSpreadable] ?? Array.isArray(rhs) ? lhs.push.apply(lhs, rhs) : lhs.push(rhs), lhs);
4472
4487
  function findDecs(statements) {
4473
- const predicate = ($) => $.type === "Declaration";
4474
- const declarations = gatherNodes(statements, predicate);
4488
+ const declarations = gatherNodes(statements, ($) => $.type === "Declaration");
4475
4489
  const declarationNames = declarations.flatMap((d) => d.names);
4476
4490
  return new Set(declarationNames);
4477
4491
  }
@@ -4484,7 +4498,7 @@ function createConstLetDecs(statements, scopes, letOrConst) {
4484
4498
  }
4485
4499
  let declaredIdentifiers = findVarDecs(statements);
4486
4500
  function hasDec(name) {
4487
- return declaredIdentifiers.has(name) || scopes.some((s) => s.has(name));
4501
+ return declaredIdentifiers.has(name) || scopes.some(($1) => $1.has(name));
4488
4502
  }
4489
4503
  function gatherBlockOrOther(statement) {
4490
4504
  return gatherNodes(statement, (s) => s.type === "BlockStatement" || s.type === "AssignmentExpression" || s.type === "Declaration").flatMap((node) => {
@@ -4555,14 +4569,15 @@ function createConstLetDecs(statements, scopes, letOrConst) {
4555
4569
  }
4556
4570
  function createVarDecs(block, scopes, pushVar) {
4557
4571
  function hasDec(name) {
4558
- return scopes.some((s) => s.has(name));
4572
+ return scopes.some(($2) => $2.has(name));
4559
4573
  }
4560
4574
  function findAssignments(statements2, decs2) {
4561
- let assignmentStatements2 = gatherNodes(statements2, (node) => {
4562
- return node.type === "AssignmentExpression";
4563
- });
4575
+ let assignmentStatements2 = gatherNodes(statements2, ($3) => $3.type === "AssignmentExpression");
4564
4576
  if (assignmentStatements2.length) {
4565
- assignmentStatements2 = assignmentStatements2.concat(findAssignments(assignmentStatements2.map((s) => s.children), decs2));
4577
+ concatAssign(
4578
+ assignmentStatements2,
4579
+ findAssignments(assignmentStatements2.map((s) => s.children), decs2)
4580
+ );
4566
4581
  }
4567
4582
  return assignmentStatements2;
4568
4583
  }
@@ -4577,7 +4592,7 @@ function createVarDecs(block, scopes, pushVar) {
4577
4592
  scopes.push(decs);
4578
4593
  const varIds = [];
4579
4594
  const assignmentStatements = findAssignments(statements, scopes);
4580
- const undeclaredIdentifiers = assignmentStatements.flatMap(($1) => $1?.names || []);
4595
+ const undeclaredIdentifiers = assignmentStatements.flatMap(($4) => $4?.names || []);
4581
4596
  undeclaredIdentifiers.filter((x, i, a) => {
4582
4597
  if (!hasDec(x))
4583
4598
  return a.indexOf(x) === i;
@@ -7578,47 +7593,47 @@ var $L171 = (0, import_lib3.$L)("infer");
7578
7593
  var $L172 = (0, import_lib3.$L)("let");
7579
7594
  var $L173 = (0, import_lib3.$L)("const");
7580
7595
  var $L174 = (0, import_lib3.$L)("is");
7581
- var $L175 = (0, import_lib3.$L)("like");
7582
- var $L176 = (0, import_lib3.$L)("loop");
7583
- var $L177 = (0, import_lib3.$L)("new");
7584
- var $L178 = (0, import_lib3.$L)("not");
7585
- var $L179 = (0, import_lib3.$L)("of");
7586
- var $L180 = (0, import_lib3.$L)("[");
7587
- var $L181 = (0, import_lib3.$L)("operator");
7588
- var $L182 = (0, import_lib3.$L)("override");
7589
- var $L183 = (0, import_lib3.$L)("own");
7590
- var $L184 = (0, import_lib3.$L)("public");
7591
- var $L185 = (0, import_lib3.$L)("private");
7592
- var $L186 = (0, import_lib3.$L)("protected");
7593
- var $L187 = (0, import_lib3.$L)("||>");
7594
- var $L188 = (0, import_lib3.$L)("|\u25B7");
7595
- var $L189 = (0, import_lib3.$L)("|>=");
7596
- var $L190 = (0, import_lib3.$L)("\u25B7=");
7597
- var $L191 = (0, import_lib3.$L)("|>");
7598
- var $L192 = (0, import_lib3.$L)("\u25B7");
7599
- var $L193 = (0, import_lib3.$L)("readonly");
7600
- var $L194 = (0, import_lib3.$L)("return");
7601
- var $L195 = (0, import_lib3.$L)("satisfies");
7602
- var $L196 = (0, import_lib3.$L)("'");
7603
- var $L197 = (0, import_lib3.$L)("static");
7604
- var $L198 = (0, import_lib3.$L)("${");
7605
- var $L199 = (0, import_lib3.$L)("super");
7606
- var $L200 = (0, import_lib3.$L)("switch");
7607
- var $L201 = (0, import_lib3.$L)("target");
7608
- var $L202 = (0, import_lib3.$L)("then");
7609
- var $L203 = (0, import_lib3.$L)("this");
7610
- var $L204 = (0, import_lib3.$L)("throw");
7611
- var $L205 = (0, import_lib3.$L)('"""');
7612
- var $L206 = (0, import_lib3.$L)("'''");
7613
- var $L207 = (0, import_lib3.$L)("///");
7614
- var $L208 = (0, import_lib3.$L)("```");
7615
- var $L209 = (0, import_lib3.$L)("try");
7616
- var $L210 = (0, import_lib3.$L)("typeof");
7617
- var $L211 = (0, import_lib3.$L)("undefined");
7618
- var $L212 = (0, import_lib3.$L)("unless");
7619
- var $L213 = (0, import_lib3.$L)("until");
7620
- var $L214 = (0, import_lib3.$L)("using");
7621
- var $L215 = (0, import_lib3.$L)("var");
7596
+ var $L175 = (0, import_lib3.$L)("var");
7597
+ var $L176 = (0, import_lib3.$L)("like");
7598
+ var $L177 = (0, import_lib3.$L)("loop");
7599
+ var $L178 = (0, import_lib3.$L)("new");
7600
+ var $L179 = (0, import_lib3.$L)("not");
7601
+ var $L180 = (0, import_lib3.$L)("of");
7602
+ var $L181 = (0, import_lib3.$L)("[");
7603
+ var $L182 = (0, import_lib3.$L)("operator");
7604
+ var $L183 = (0, import_lib3.$L)("override");
7605
+ var $L184 = (0, import_lib3.$L)("own");
7606
+ var $L185 = (0, import_lib3.$L)("public");
7607
+ var $L186 = (0, import_lib3.$L)("private");
7608
+ var $L187 = (0, import_lib3.$L)("protected");
7609
+ var $L188 = (0, import_lib3.$L)("||>");
7610
+ var $L189 = (0, import_lib3.$L)("|\u25B7");
7611
+ var $L190 = (0, import_lib3.$L)("|>=");
7612
+ var $L191 = (0, import_lib3.$L)("\u25B7=");
7613
+ var $L192 = (0, import_lib3.$L)("|>");
7614
+ var $L193 = (0, import_lib3.$L)("\u25B7");
7615
+ var $L194 = (0, import_lib3.$L)("readonly");
7616
+ var $L195 = (0, import_lib3.$L)("return");
7617
+ var $L196 = (0, import_lib3.$L)("satisfies");
7618
+ var $L197 = (0, import_lib3.$L)("'");
7619
+ var $L198 = (0, import_lib3.$L)("static");
7620
+ var $L199 = (0, import_lib3.$L)("${");
7621
+ var $L200 = (0, import_lib3.$L)("super");
7622
+ var $L201 = (0, import_lib3.$L)("switch");
7623
+ var $L202 = (0, import_lib3.$L)("target");
7624
+ var $L203 = (0, import_lib3.$L)("then");
7625
+ var $L204 = (0, import_lib3.$L)("this");
7626
+ var $L205 = (0, import_lib3.$L)("throw");
7627
+ var $L206 = (0, import_lib3.$L)('"""');
7628
+ var $L207 = (0, import_lib3.$L)("'''");
7629
+ var $L208 = (0, import_lib3.$L)("///");
7630
+ var $L209 = (0, import_lib3.$L)("```");
7631
+ var $L210 = (0, import_lib3.$L)("try");
7632
+ var $L211 = (0, import_lib3.$L)("typeof");
7633
+ var $L212 = (0, import_lib3.$L)("undefined");
7634
+ var $L213 = (0, import_lib3.$L)("unless");
7635
+ var $L214 = (0, import_lib3.$L)("until");
7636
+ var $L215 = (0, import_lib3.$L)("using");
7622
7637
  var $L216 = (0, import_lib3.$L)("void");
7623
7638
  var $L217 = (0, import_lib3.$L)("when");
7624
7639
  var $L218 = (0, import_lib3.$L)("while");
@@ -7673,75 +7688,74 @@ var $R27 = (0, import_lib3.$R)(new RegExp("(?!\\+\\+|--)[!~+-](?!\\s)", "suy"));
7673
7688
  var $R28 = (0, import_lib3.$R)(new RegExp("[:.]", "suy"));
7674
7689
  var $R29 = (0, import_lib3.$R)(new RegExp("(?=for|if|loop|unless|until|while)", "suy"));
7675
7690
  var $R30 = (0, import_lib3.$R)(new RegExp("(?=loop|comptime|do|for|until|while)", "suy"));
7676
- var $R31 = (0, import_lib3.$R)(new RegExp("(?=[\\s\\),])", "suy"));
7677
- var $R32 = (0, import_lib3.$R)(new RegExp('[^;"\\s]+', "suy"));
7678
- var $R33 = (0, import_lib3.$R)(new RegExp("(?=[0-9.])", "suy"));
7679
- var $R34 = (0, import_lib3.$R)(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)n", "suy"));
7680
- var $R35 = (0, import_lib3.$R)(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)(?=\\.(?:\\p{ID_Start}|[_$]))", "suy"));
7681
- var $R36 = (0, import_lib3.$R)(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)(?:\\.(?:[0-9](?:_[0-9]|[0-9])*))?", "suy"));
7682
- var $R37 = (0, import_lib3.$R)(new RegExp("(?:\\.[0-9](?:_[0-9]|[0-9])*)", "suy"));
7683
- var $R38 = (0, import_lib3.$R)(new RegExp("(?:[eE][+-]?[0-9]+(?:_[0-9]|[0-9])*)", "suy"));
7684
- var $R39 = (0, import_lib3.$R)(new RegExp("0[bB][01](?:[01]|_[01])*n?", "suy"));
7685
- var $R40 = (0, import_lib3.$R)(new RegExp("0[oO][0-7](?:[0-7]|_[0-7])*n?", "suy"));
7686
- var $R41 = (0, import_lib3.$R)(new RegExp("0[xX][0-9a-fA-F](?:[0-9a-fA-F]|_[0-9a-fA-F])*n?", "suy"));
7687
- var $R42 = (0, import_lib3.$R)(new RegExp("(?=[0-9])", "suy"));
7688
- var $R43 = (0, import_lib3.$R)(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)", "suy"));
7689
- var $R44 = (0, import_lib3.$R)(new RegExp('(?:\\\\.|[^"])*', "suy"));
7690
- var $R45 = (0, import_lib3.$R)(new RegExp("(?:\\\\.|[^'])*", "suy"));
7691
- var $R46 = (0, import_lib3.$R)(new RegExp('(?:"(?!"")|#(?!\\{)|\\\\.|[^#"])+', "suy"));
7692
- var $R47 = (0, import_lib3.$R)(new RegExp("(?:'(?!'')|\\\\.|[^'])*", "suy"));
7693
- var $R48 = (0, import_lib3.$R)(new RegExp('(?:\\\\.|#(?!\\{)|[^"#])+', "suy"));
7694
- var $R49 = (0, import_lib3.$R)(new RegExp("(?:\\\\.|[^\\]])*", "suy"));
7695
- var $R50 = (0, import_lib3.$R)(new RegExp("(?:\\\\.)", "suy"));
7696
- var $R51 = (0, import_lib3.$R)(new RegExp("[\\s]+", "suy"));
7697
- var $R52 = (0, import_lib3.$R)(new RegExp("\\/(?!\\/\\/)", "suy"));
7698
- var $R53 = (0, import_lib3.$R)(new RegExp("[^[\\/\\s#\\\\]+", "suy"));
7699
- var $R54 = (0, import_lib3.$R)(new RegExp("[*\\/\\r\\n]", "suy"));
7700
- var $R55 = (0, import_lib3.$R)(new RegExp("(?:\\\\.|[^[\\/\\r\\n])+", "suy"));
7701
- var $R56 = (0, import_lib3.$R)(new RegExp("(?:\\p{ID_Continue}|[\\u200C\\u200D$])*", "suy"));
7702
- var $R57 = (0, import_lib3.$R)(new RegExp("(?=[`'\"])", "suy"));
7703
- var $R58 = (0, import_lib3.$R)(new RegExp("(?:\\$(?!\\{)|\\\\.|[^$`])+", "suy"));
7704
- var $R59 = (0, import_lib3.$R)(new RegExp("(?:\\$(?!\\{)|`(?!``)|\\\\.|[^$`])+", "suy"));
7705
- var $R60 = (0, import_lib3.$R)(new RegExp("(?:on|off|yes|no)(?!\\p{ID_Continue})", "suy"));
7706
- var $R61 = (0, import_lib3.$R)(new RegExp("(?:isnt)(?!\\p{ID_Continue})", "suy"));
7707
- var $R62 = (0, import_lib3.$R)(new RegExp("(?:by)(?!\\p{ID_Continue})", "suy"));
7708
- var $R63 = (0, import_lib3.$R)(new RegExp("(?:of)(?!\\p{ID_Continue})", "suy"));
7709
- var $R64 = (0, import_lib3.$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"));
7710
- var $R65 = (0, import_lib3.$R)(new RegExp("(?=\\/|#)", "suy"));
7711
- var $R66 = (0, import_lib3.$R)(new RegExp("\\/\\/(?!\\/)[^\\r\\n]*", "suy"));
7712
- var $R67 = (0, import_lib3.$R)(new RegExp(".", "suy"));
7713
- var $R68 = (0, import_lib3.$R)(new RegExp("#(?!##(?!#))([^\\r\\n]*)", "suy"));
7714
- var $R69 = (0, import_lib3.$R)(new RegExp("[^]*?###", "suy"));
7715
- var $R70 = (0, import_lib3.$R)(new RegExp("###(?!#)", "suy"));
7716
- var $R71 = (0, import_lib3.$R)(new RegExp("\\/\\*(?:(?!\\*\\/)[^\\r\\n])*\\*\\/", "suy"));
7717
- var $R72 = (0, import_lib3.$R)(new RegExp("(?=[ \\t\\/\\\\])", "suy"));
7718
- var $R73 = (0, import_lib3.$R)(new RegExp("(?=\\s|\\/|#)", "suy"));
7719
- var $R74 = (0, import_lib3.$R)(new RegExp("(?!\\p{ID_Continue})", "suy"));
7720
- var $R75 = (0, import_lib3.$R)(new RegExp("[=:]", "suy"));
7721
- var $R76 = (0, import_lib3.$R)(new RegExp("['\u2019]s", "suy"));
7722
- var $R77 = (0, import_lib3.$R)(new RegExp("\\s", "suy"));
7723
- var $R78 = (0, import_lib3.$R)(new RegExp("(?=[<])", "suy"));
7724
- var $R79 = (0, import_lib3.$R)(new RegExp("(?:\\p{ID_Start}|[_$])(?:\\p{ID_Continue}|[\\u200C\\u200D$-])*", "suy"));
7725
- var $R80 = (0, import_lib3.$R)(new RegExp("[!+-]", "suy"));
7726
- var $R81 = (0, import_lib3.$R)(new RegExp("[\\s>]|\\/>", "suy"));
7727
- var $R82 = (0, import_lib3.$R)(new RegExp("(?:[\\w\\-:]+|\\([^()]*\\)|\\[[^\\[\\]]*\\])+", "suy"));
7728
- var $R83 = (0, import_lib3.$R)(new RegExp(`"[^"]*"|'[^']*'`, "suy"));
7729
- var $R84 = (0, import_lib3.$R)(new RegExp("[<>]", "suy"));
7730
- var $R85 = (0, import_lib3.$R)(new RegExp("[!~+-](?!\\s|[!~+-]*&)", "suy"));
7731
- var $R86 = (0, import_lib3.$R)(new RegExp("(?:-[^-]|[^-]*)*", "suy"));
7732
- var $R87 = (0, import_lib3.$R)(new RegExp("[^{}<>\\r\\n]+", "suy"));
7733
- var $R88 = (0, import_lib3.$R)(new RegExp("[+-]?", "suy"));
7734
- var $R89 = (0, import_lib3.$R)(new RegExp("(?=if|unless)", "suy"));
7735
- var $R90 = (0, import_lib3.$R)(new RegExp("[|&<!=\\-\u21D2\u2192]", "suy"));
7736
- var $R91 = (0, import_lib3.$R)(new RegExp("(extends|not|is)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
7737
- var $R92 = (0, import_lib3.$R)(new RegExp("#![^\\r\\n]*", "suy"));
7738
- var $R93 = (0, import_lib3.$R)(new RegExp("[\\t ]*", "suy"));
7739
- var $R94 = (0, import_lib3.$R)(new RegExp("[\\s]*", "suy"));
7740
- var $R95 = (0, import_lib3.$R)(new RegExp("\\s+([+-]?)([a-zA-Z0-9-]+)(\\s*=\\s*([a-zA-Z0-9.+-]*))?", "suy"));
7741
- var $R96 = (0, import_lib3.$R)(new RegExp("\\/\\/\\/[^\\r\\n]*", "suy"));
7742
- var $R97 = (0, import_lib3.$R)(new RegExp("(?=[ \\t\\r\\n\\/#]|$)", "suy"));
7743
- var $R98 = (0, import_lib3.$R)(new RegExp("\\r\\n|\\n|\\r|$", "suy"));
7744
- var $R99 = (0, import_lib3.$R)(new RegExp("[^]*", "suy"));
7691
+ var $R31 = (0, import_lib3.$R)(new RegExp('[^;"\\s]+', "suy"));
7692
+ var $R32 = (0, import_lib3.$R)(new RegExp("(?=[0-9.])", "suy"));
7693
+ var $R33 = (0, import_lib3.$R)(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)n", "suy"));
7694
+ var $R34 = (0, import_lib3.$R)(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)(?=\\.(?:\\p{ID_Start}|[_$]))", "suy"));
7695
+ var $R35 = (0, import_lib3.$R)(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)(?:\\.(?:[0-9](?:_[0-9]|[0-9])*))?", "suy"));
7696
+ var $R36 = (0, import_lib3.$R)(new RegExp("(?:\\.[0-9](?:_[0-9]|[0-9])*)", "suy"));
7697
+ var $R37 = (0, import_lib3.$R)(new RegExp("(?:[eE][+-]?[0-9]+(?:_[0-9]|[0-9])*)", "suy"));
7698
+ var $R38 = (0, import_lib3.$R)(new RegExp("0[bB][01](?:[01]|_[01])*n?", "suy"));
7699
+ var $R39 = (0, import_lib3.$R)(new RegExp("0[oO][0-7](?:[0-7]|_[0-7])*n?", "suy"));
7700
+ var $R40 = (0, import_lib3.$R)(new RegExp("0[xX][0-9a-fA-F](?:[0-9a-fA-F]|_[0-9a-fA-F])*n?", "suy"));
7701
+ var $R41 = (0, import_lib3.$R)(new RegExp("(?=[0-9])", "suy"));
7702
+ var $R42 = (0, import_lib3.$R)(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)", "suy"));
7703
+ var $R43 = (0, import_lib3.$R)(new RegExp('(?:\\\\.|[^"])*', "suy"));
7704
+ var $R44 = (0, import_lib3.$R)(new RegExp("(?:\\\\.|[^'])*", "suy"));
7705
+ var $R45 = (0, import_lib3.$R)(new RegExp('(?:"(?!"")|#(?!\\{)|\\\\.|[^#"])+', "suy"));
7706
+ var $R46 = (0, import_lib3.$R)(new RegExp("(?:'(?!'')|\\\\.|[^'])*", "suy"));
7707
+ var $R47 = (0, import_lib3.$R)(new RegExp('(?:\\\\.|#(?!\\{)|[^"#])+', "suy"));
7708
+ var $R48 = (0, import_lib3.$R)(new RegExp("(?:\\\\.|[^\\]])*", "suy"));
7709
+ var $R49 = (0, import_lib3.$R)(new RegExp("(?:\\\\.)", "suy"));
7710
+ var $R50 = (0, import_lib3.$R)(new RegExp("[\\s]+", "suy"));
7711
+ var $R51 = (0, import_lib3.$R)(new RegExp("\\/(?!\\/\\/)", "suy"));
7712
+ var $R52 = (0, import_lib3.$R)(new RegExp("[^[\\/\\s#\\\\]+", "suy"));
7713
+ var $R53 = (0, import_lib3.$R)(new RegExp("[*\\/\\r\\n]", "suy"));
7714
+ var $R54 = (0, import_lib3.$R)(new RegExp("(?:\\\\.|[^[\\/\\r\\n])+", "suy"));
7715
+ var $R55 = (0, import_lib3.$R)(new RegExp("(?:\\p{ID_Continue}|[\\u200C\\u200D$])*", "suy"));
7716
+ var $R56 = (0, import_lib3.$R)(new RegExp("(?=[`'\"])", "suy"));
7717
+ var $R57 = (0, import_lib3.$R)(new RegExp("(?:\\$(?!\\{)|\\\\.|[^$`])+", "suy"));
7718
+ var $R58 = (0, import_lib3.$R)(new RegExp("(?:\\$(?!\\{)|`(?!``)|\\\\.|[^$`])+", "suy"));
7719
+ var $R59 = (0, import_lib3.$R)(new RegExp("(?:on|off|yes|no)(?!\\p{ID_Continue})", "suy"));
7720
+ var $R60 = (0, import_lib3.$R)(new RegExp("(?:isnt)(?!\\p{ID_Continue})", "suy"));
7721
+ var $R61 = (0, import_lib3.$R)(new RegExp("(?:by)(?!\\p{ID_Continue})", "suy"));
7722
+ var $R62 = (0, import_lib3.$R)(new RegExp("(?:of)(?!\\p{ID_Continue})", "suy"));
7723
+ var $R63 = (0, import_lib3.$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"));
7724
+ var $R64 = (0, import_lib3.$R)(new RegExp("(?=\\/|#)", "suy"));
7725
+ var $R65 = (0, import_lib3.$R)(new RegExp("\\/\\/(?!\\/)[^\\r\\n]*", "suy"));
7726
+ var $R66 = (0, import_lib3.$R)(new RegExp(".", "suy"));
7727
+ var $R67 = (0, import_lib3.$R)(new RegExp("#(?!##(?!#))([^\\r\\n]*)", "suy"));
7728
+ var $R68 = (0, import_lib3.$R)(new RegExp("[^]*?###", "suy"));
7729
+ var $R69 = (0, import_lib3.$R)(new RegExp("###(?!#)", "suy"));
7730
+ var $R70 = (0, import_lib3.$R)(new RegExp("\\/\\*(?:(?!\\*\\/)[^\\r\\n])*\\*\\/", "suy"));
7731
+ var $R71 = (0, import_lib3.$R)(new RegExp("(?=[ \\t\\/\\\\])", "suy"));
7732
+ var $R72 = (0, import_lib3.$R)(new RegExp("(?=\\s|\\/|#)", "suy"));
7733
+ var $R73 = (0, import_lib3.$R)(new RegExp("(?!\\p{ID_Continue})", "suy"));
7734
+ var $R74 = (0, import_lib3.$R)(new RegExp("[=:]", "suy"));
7735
+ var $R75 = (0, import_lib3.$R)(new RegExp("['\u2019]s", "suy"));
7736
+ var $R76 = (0, import_lib3.$R)(new RegExp("\\s", "suy"));
7737
+ var $R77 = (0, import_lib3.$R)(new RegExp("(?=[<])", "suy"));
7738
+ var $R78 = (0, import_lib3.$R)(new RegExp("(?:\\p{ID_Start}|[_$])(?:\\p{ID_Continue}|[\\u200C\\u200D$-])*", "suy"));
7739
+ var $R79 = (0, import_lib3.$R)(new RegExp("[!+-]", "suy"));
7740
+ var $R80 = (0, import_lib3.$R)(new RegExp("[\\s>]|\\/>", "suy"));
7741
+ var $R81 = (0, import_lib3.$R)(new RegExp("(?:[\\w\\-:]+|\\([^()]*\\)|\\[[^\\[\\]]*\\])+", "suy"));
7742
+ var $R82 = (0, import_lib3.$R)(new RegExp(`"[^"]*"|'[^']*'`, "suy"));
7743
+ var $R83 = (0, import_lib3.$R)(new RegExp("[<>]", "suy"));
7744
+ var $R84 = (0, import_lib3.$R)(new RegExp("[!~+-](?!\\s|[!~+-]*&)", "suy"));
7745
+ var $R85 = (0, import_lib3.$R)(new RegExp("(?:-[^-]|[^-]*)*", "suy"));
7746
+ var $R86 = (0, import_lib3.$R)(new RegExp("[^{}<>\\r\\n]+", "suy"));
7747
+ var $R87 = (0, import_lib3.$R)(new RegExp("[+-]?", "suy"));
7748
+ var $R88 = (0, import_lib3.$R)(new RegExp("(?=if|unless)", "suy"));
7749
+ var $R89 = (0, import_lib3.$R)(new RegExp("[|&<!=\\-\u21D2\u2192]", "suy"));
7750
+ var $R90 = (0, import_lib3.$R)(new RegExp("(extends|not|is)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
7751
+ var $R91 = (0, import_lib3.$R)(new RegExp("#![^\\r\\n]*", "suy"));
7752
+ var $R92 = (0, import_lib3.$R)(new RegExp("[\\t ]*", "suy"));
7753
+ var $R93 = (0, import_lib3.$R)(new RegExp("[\\s]*", "suy"));
7754
+ var $R94 = (0, import_lib3.$R)(new RegExp("\\s+([+-]?)([a-zA-Z0-9-]+)(\\s*=\\s*([a-zA-Z0-9.+-]*))?", "suy"));
7755
+ var $R95 = (0, import_lib3.$R)(new RegExp("\\/\\/\\/[^\\r\\n]*", "suy"));
7756
+ var $R96 = (0, import_lib3.$R)(new RegExp("(?=[ \\t\\r\\n\\/#]|$)", "suy"));
7757
+ var $R97 = (0, import_lib3.$R)(new RegExp("\\r\\n|\\n|\\r|$", "suy"));
7758
+ var $R98 = (0, import_lib3.$R)(new RegExp("[^]*", "suy"));
7745
7759
  var Program$0 = (0, import_lib3.$TS)((0, import_lib3.$S)(Reset, Init, (0, import_lib3.$E)(EOS), TopLevelStatements, __), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
7746
7760
  var reset = $1;
7747
7761
  var init = $2;
@@ -9568,17 +9582,24 @@ var Parameters$$ = [Parameters$0, Parameters$1];
9568
9582
  function Parameters(ctx, state2) {
9569
9583
  return (0, import_lib3.$EVENT_C)(ctx, state2, "Parameters", Parameters$$);
9570
9584
  }
9571
- var ShortArrowParameters$0 = ObjectBindingPattern;
9572
- var ShortArrowParameters$1 = ArrayBindingPattern;
9573
- var ShortArrowParameters$$ = [ShortArrowParameters$0, ShortArrowParameters$1];
9585
+ var ShortArrowParameters$0 = (0, import_lib3.$TV)((0, import_lib3.$C)(ObjectBindingPattern, ArrayBindingPattern), function($skip, $loc, $0, $1) {
9586
+ var binding = $0;
9587
+ const { typeSuffix } = binding;
9588
+ return {
9589
+ type: "Parameter",
9590
+ children: [binding, typeSuffix],
9591
+ names: binding.names,
9592
+ typeSuffix
9593
+ };
9594
+ });
9574
9595
  function ShortArrowParameters(ctx, state2) {
9575
- return (0, import_lib3.$EVENT_C)(ctx, state2, "ShortArrowParameters", ShortArrowParameters$$);
9596
+ return (0, import_lib3.$EVENT)(ctx, state2, "ShortArrowParameters", ShortArrowParameters$0);
9576
9597
  }
9577
9598
  var ArrowParameters$0 = (0, import_lib3.$TS)((0, import_lib3.$S)(ShortArrowParameters), function($skip, $loc, $0, $1) {
9578
9599
  return {
9579
9600
  type: "Parameters",
9580
- children: ["(", $0, ")"],
9581
- names: $0.names
9601
+ children: ["(", $1, ")"],
9602
+ names: $1.names
9582
9603
  };
9583
9604
  });
9584
9605
  var ArrowParameters$1 = Parameters;
@@ -13102,23 +13123,13 @@ var ForRangeParameters$$ = [ForRangeParameters$0, ForRangeParameters$1];
13102
13123
  function ForRangeParameters(ctx, state2) {
13103
13124
  return (0, import_lib3.$EVENT_C)(ctx, state2, "ForRangeParameters", ForRangeParameters$$);
13104
13125
  }
13105
- var ForInOfDeclaration$0 = (0, import_lib3.$TS)((0, import_lib3.$S)(Var, ForBinding), function($skip, $loc, $0, $1, $2) {
13106
- var binding = $2;
13107
- return {
13108
- type: "ForDeclaration",
13109
- children: $0,
13110
- declare: $1,
13111
- binding,
13112
- names: binding.names
13113
- };
13114
- });
13115
- var ForInOfDeclaration$1 = ForDeclaration;
13116
- var ForInOfDeclaration$2 = LeftHandSideExpression;
13117
- var ForInOfDeclaration$$ = [ForInOfDeclaration$0, ForInOfDeclaration$1, ForInOfDeclaration$2];
13126
+ var ForInOfDeclaration$0 = ForDeclaration;
13127
+ var ForInOfDeclaration$1 = LeftHandSideExpression;
13128
+ var ForInOfDeclaration$$ = [ForInOfDeclaration$0, ForInOfDeclaration$1];
13118
13129
  function ForInOfDeclaration(ctx, state2) {
13119
13130
  return (0, import_lib3.$EVENT_C)(ctx, state2, "ForInOfDeclaration", ForInOfDeclaration$$);
13120
13131
  }
13121
- var ForDeclaration$0 = (0, import_lib3.$TS)((0, import_lib3.$S)(LetOrConst, ForBinding), function($skip, $loc, $0, $1, $2) {
13132
+ var ForDeclaration$0 = (0, import_lib3.$TS)((0, import_lib3.$S)(LetOrConstOrVar, ForBinding), function($skip, $loc, $0, $1, $2) {
13122
13133
  var c = $1;
13123
13134
  var binding = $2;
13124
13135
  return {
@@ -13129,9 +13140,9 @@ var ForDeclaration$0 = (0, import_lib3.$TS)((0, import_lib3.$S)(LetOrConst, ForB
13129
13140
  names: binding.names
13130
13141
  };
13131
13142
  });
13132
- var ForDeclaration$1 = (0, import_lib3.$TS)((0, import_lib3.$S)(InsertConst, ForBinding, (0, import_lib3.$EXPECT)($R31, "ForDeclaration /(?=[\\s\\),])/")), function($skip, $loc, $0, $1, $2, $3) {
13143
+ var ForDeclaration$1 = (0, import_lib3.$TS)((0, import_lib3.$S)(InsertConst, (0, import_lib3.$N)(ActualMemberExpression), ForBinding), function($skip, $loc, $0, $1, $2, $3) {
13133
13144
  var c = $1;
13134
- var binding = $2;
13145
+ var binding = $3;
13135
13146
  return {
13136
13147
  type: "ForDeclaration",
13137
13148
  children: [c, binding],
@@ -13144,11 +13155,22 @@ var ForDeclaration$$ = [ForDeclaration$0, ForDeclaration$1];
13144
13155
  function ForDeclaration(ctx, state2) {
13145
13156
  return (0, import_lib3.$EVENT_C)(ctx, state2, "ForDeclaration", ForDeclaration$$);
13146
13157
  }
13147
- var ForBinding$0 = BindingIdentifier;
13148
- var ForBinding$1 = BindingPattern;
13149
- var ForBinding$$ = [ForBinding$0, ForBinding$1];
13158
+ var ForBinding$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$C)(BindingPattern, BindingIdentifier), (0, import_lib3.$E)(TypeSuffix)), function($skip, $loc, $0, $1, $2) {
13159
+ var pattern = $1;
13160
+ var suffix = $2;
13161
+ suffix ??= pattern.typeSuffix;
13162
+ return {
13163
+ type: "Binding",
13164
+ children: [pattern, suffix],
13165
+ names: pattern.names,
13166
+ pattern,
13167
+ suffix,
13168
+ splices: [],
13169
+ thisAssignments: []
13170
+ };
13171
+ });
13150
13172
  function ForBinding(ctx, state2) {
13151
- return (0, import_lib3.$EVENT_C)(ctx, state2, "ForBinding", ForBinding$$);
13173
+ return (0, import_lib3.$EVENT)(ctx, state2, "ForBinding", ForBinding$0);
13152
13174
  }
13153
13175
  var SwitchStatement$0 = (0, import_lib3.$TS)((0, import_lib3.$S)(Switch, (0, import_lib3.$C)(EmptyCondition, Condition), CaseBlock), function($skip, $loc, $0, $1, $2, $3) {
13154
13176
  var condition = $2;
@@ -14079,7 +14101,7 @@ var UnprocessedModuleSpecifier$$ = [UnprocessedModuleSpecifier$0, UnprocessedMod
14079
14101
  function UnprocessedModuleSpecifier(ctx, state2) {
14080
14102
  return (0, import_lib3.$EVENT_C)(ctx, state2, "UnprocessedModuleSpecifier", UnprocessedModuleSpecifier$$);
14081
14103
  }
14082
- var UnquotedSpecifier$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($R32, 'UnquotedSpecifier /[^;"\\s]+/'), function($skip, $loc, $0, $1) {
14104
+ var UnquotedSpecifier$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($R31, 'UnquotedSpecifier /[^;"\\s]+/'), function($skip, $loc, $0, $1) {
14083
14105
  var spec = $0;
14084
14106
  return { $loc, token: `"${spec}"` };
14085
14107
  });
@@ -14338,7 +14360,7 @@ var VariableDeclarationList$0 = (0, import_lib3.$TS)((0, import_lib3.$S)(Lexical
14338
14360
  function VariableDeclarationList(ctx, state2) {
14339
14361
  return (0, import_lib3.$EVENT)(ctx, state2, "VariableDeclarationList", VariableDeclarationList$0);
14340
14362
  }
14341
- var NumericLiteral$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($R33, "NumericLiteral /(?=[0-9.])/"), NumericLiteralKind), function($skip, $loc, $0, $1, $2) {
14363
+ var NumericLiteral$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($R32, "NumericLiteral /(?=[0-9.])/"), NumericLiteralKind), function($skip, $loc, $0, $1, $2) {
14342
14364
  var token = $2;
14343
14365
  return { type: "NumericLiteral", $loc, token };
14344
14366
  });
@@ -14354,36 +14376,36 @@ var NumericLiteralKind$$ = [NumericLiteralKind$0, NumericLiteralKind$1, NumericL
14354
14376
  function NumericLiteralKind(ctx, state2) {
14355
14377
  return (0, import_lib3.$EVENT_C)(ctx, state2, "NumericLiteralKind", NumericLiteralKind$$);
14356
14378
  }
14357
- var DecimalBigIntegerLiteral$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R34, "DecimalBigIntegerLiteral /(?:0|[1-9](?:_[0-9]|[0-9])*)n/"));
14379
+ var DecimalBigIntegerLiteral$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R33, "DecimalBigIntegerLiteral /(?:0|[1-9](?:_[0-9]|[0-9])*)n/"));
14358
14380
  function DecimalBigIntegerLiteral(ctx, state2) {
14359
14381
  return (0, import_lib3.$EVENT)(ctx, state2, "DecimalBigIntegerLiteral", DecimalBigIntegerLiteral$0);
14360
14382
  }
14361
- var DecimalLiteral$0 = (0, import_lib3.$TV)((0, import_lib3.$TEXT)((0, import_lib3.$EXPECT)($R35, "DecimalLiteral /(?:0|[1-9](?:_[0-9]|[0-9])*)(?=\\.(?:\\p{ID_Start}|[_$]))/")), function($skip, $loc, $0, $1) {
14383
+ var DecimalLiteral$0 = (0, import_lib3.$TV)((0, import_lib3.$TEXT)((0, import_lib3.$EXPECT)($R34, "DecimalLiteral /(?:0|[1-9](?:_[0-9]|[0-9])*)(?=\\.(?:\\p{ID_Start}|[_$]))/")), function($skip, $loc, $0, $1) {
14362
14384
  return $1 + ".";
14363
14385
  });
14364
- var DecimalLiteral$1 = (0, import_lib3.$TEXT)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($R36, "DecimalLiteral /(?:0|[1-9](?:_[0-9]|[0-9])*)(?:\\.(?:[0-9](?:_[0-9]|[0-9])*))?/"), (0, import_lib3.$E)(ExponentPart)));
14365
- var DecimalLiteral$2 = (0, import_lib3.$TEXT)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($R37, "DecimalLiteral /(?:\\.[0-9](?:_[0-9]|[0-9])*)/"), (0, import_lib3.$E)(ExponentPart)));
14386
+ var DecimalLiteral$1 = (0, import_lib3.$TEXT)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($R35, "DecimalLiteral /(?:0|[1-9](?:_[0-9]|[0-9])*)(?:\\.(?:[0-9](?:_[0-9]|[0-9])*))?/"), (0, import_lib3.$E)(ExponentPart)));
14387
+ var DecimalLiteral$2 = (0, import_lib3.$TEXT)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($R36, "DecimalLiteral /(?:\\.[0-9](?:_[0-9]|[0-9])*)/"), (0, import_lib3.$E)(ExponentPart)));
14366
14388
  var DecimalLiteral$$ = [DecimalLiteral$0, DecimalLiteral$1, DecimalLiteral$2];
14367
14389
  function DecimalLiteral(ctx, state2) {
14368
14390
  return (0, import_lib3.$EVENT_C)(ctx, state2, "DecimalLiteral", DecimalLiteral$$);
14369
14391
  }
14370
- var ExponentPart$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R38, "ExponentPart /(?:[eE][+-]?[0-9]+(?:_[0-9]|[0-9])*)/"));
14392
+ var ExponentPart$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R37, "ExponentPart /(?:[eE][+-]?[0-9]+(?:_[0-9]|[0-9])*)/"));
14371
14393
  function ExponentPart(ctx, state2) {
14372
14394
  return (0, import_lib3.$EVENT)(ctx, state2, "ExponentPart", ExponentPart$0);
14373
14395
  }
14374
- var BinaryIntegerLiteral$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R39, "BinaryIntegerLiteral /0[bB][01](?:[01]|_[01])*n?/"));
14396
+ var BinaryIntegerLiteral$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R38, "BinaryIntegerLiteral /0[bB][01](?:[01]|_[01])*n?/"));
14375
14397
  function BinaryIntegerLiteral(ctx, state2) {
14376
14398
  return (0, import_lib3.$EVENT)(ctx, state2, "BinaryIntegerLiteral", BinaryIntegerLiteral$0);
14377
14399
  }
14378
- var OctalIntegerLiteral$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R40, "OctalIntegerLiteral /0[oO][0-7](?:[0-7]|_[0-7])*n?/"));
14400
+ var OctalIntegerLiteral$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R39, "OctalIntegerLiteral /0[oO][0-7](?:[0-7]|_[0-7])*n?/"));
14379
14401
  function OctalIntegerLiteral(ctx, state2) {
14380
14402
  return (0, import_lib3.$EVENT)(ctx, state2, "OctalIntegerLiteral", OctalIntegerLiteral$0);
14381
14403
  }
14382
- var HexIntegerLiteral$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R41, "HexIntegerLiteral /0[xX][0-9a-fA-F](?:[0-9a-fA-F]|_[0-9a-fA-F])*n?/"));
14404
+ var HexIntegerLiteral$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R40, "HexIntegerLiteral /0[xX][0-9a-fA-F](?:[0-9a-fA-F]|_[0-9a-fA-F])*n?/"));
14383
14405
  function HexIntegerLiteral(ctx, state2) {
14384
14406
  return (0, import_lib3.$EVENT)(ctx, state2, "HexIntegerLiteral", HexIntegerLiteral$0);
14385
14407
  }
14386
- var IntegerLiteral$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($R42, "IntegerLiteral /(?=[0-9])/"), IntegerLiteralKind), function($skip, $loc, $0, $1, $2) {
14408
+ var IntegerLiteral$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($R41, "IntegerLiteral /(?=[0-9])/"), IntegerLiteralKind), function($skip, $loc, $0, $1, $2) {
14387
14409
  var token = $2;
14388
14410
  return { $loc, token };
14389
14411
  });
@@ -14399,7 +14421,7 @@ var IntegerLiteralKind$$ = [IntegerLiteralKind$0, IntegerLiteralKind$1, IntegerL
14399
14421
  function IntegerLiteralKind(ctx, state2) {
14400
14422
  return (0, import_lib3.$EVENT_C)(ctx, state2, "IntegerLiteralKind", IntegerLiteralKind$$);
14401
14423
  }
14402
- var DecimalIntegerLiteral$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R43, "DecimalIntegerLiteral /(?:0|[1-9](?:_[0-9]|[0-9])*)/"));
14424
+ var DecimalIntegerLiteral$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R42, "DecimalIntegerLiteral /(?:0|[1-9](?:_[0-9]|[0-9])*)/"));
14403
14425
  function DecimalIntegerLiteral(ctx, state2) {
14404
14426
  return (0, import_lib3.$EVENT)(ctx, state2, "DecimalIntegerLiteral", DecimalIntegerLiteral$0);
14405
14427
  }
@@ -14423,25 +14445,25 @@ var StringLiteral$$ = [StringLiteral$0, StringLiteral$1];
14423
14445
  function StringLiteral(ctx, state2) {
14424
14446
  return (0, import_lib3.$EVENT_C)(ctx, state2, "StringLiteral", StringLiteral$$);
14425
14447
  }
14426
- var DoubleStringCharacters$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R44, 'DoubleStringCharacters /(?:\\\\.|[^"])*/'), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14448
+ var DoubleStringCharacters$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R43, 'DoubleStringCharacters /(?:\\\\.|[^"])*/'), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14427
14449
  return { $loc, token: $0 };
14428
14450
  });
14429
14451
  function DoubleStringCharacters(ctx, state2) {
14430
14452
  return (0, import_lib3.$EVENT)(ctx, state2, "DoubleStringCharacters", DoubleStringCharacters$0);
14431
14453
  }
14432
- var SingleStringCharacters$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R45, "SingleStringCharacters /(?:\\\\.|[^'])*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14454
+ var SingleStringCharacters$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R44, "SingleStringCharacters /(?:\\\\.|[^'])*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14433
14455
  return { $loc, token: $0 };
14434
14456
  });
14435
14457
  function SingleStringCharacters(ctx, state2) {
14436
14458
  return (0, import_lib3.$EVENT)(ctx, state2, "SingleStringCharacters", SingleStringCharacters$0);
14437
14459
  }
14438
- var TripleDoubleStringCharacters$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R46, 'TripleDoubleStringCharacters /(?:"(?!"")|#(?!\\{)|\\\\.|[^#"])+/'), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14460
+ var TripleDoubleStringCharacters$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R45, 'TripleDoubleStringCharacters /(?:"(?!"")|#(?!\\{)|\\\\.|[^#"])+/'), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14439
14461
  return { $loc, token: $0 };
14440
14462
  });
14441
14463
  function TripleDoubleStringCharacters(ctx, state2) {
14442
14464
  return (0, import_lib3.$EVENT)(ctx, state2, "TripleDoubleStringCharacters", TripleDoubleStringCharacters$0);
14443
14465
  }
14444
- var TripleSingleStringCharacters$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R47, "TripleSingleStringCharacters /(?:'(?!'')|\\\\.|[^'])*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14466
+ var TripleSingleStringCharacters$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R46, "TripleSingleStringCharacters /(?:'(?!'')|\\\\.|[^'])*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14445
14467
  return { $loc, token: $0 };
14446
14468
  });
14447
14469
  function TripleSingleStringCharacters(ctx, state2) {
@@ -14464,7 +14486,7 @@ var CoffeeInterpolatedDoubleQuotedString$0 = (0, import_lib3.$TS)((0, import_lib
14464
14486
  function CoffeeInterpolatedDoubleQuotedString(ctx, state2) {
14465
14487
  return (0, import_lib3.$EVENT)(ctx, state2, "CoffeeInterpolatedDoubleQuotedString", CoffeeInterpolatedDoubleQuotedString$0);
14466
14488
  }
14467
- var CoffeeDoubleQuotedStringCharacters$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R48, 'CoffeeDoubleQuotedStringCharacters /(?:\\\\.|#(?!\\{)|[^"#])+/'), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14489
+ var CoffeeDoubleQuotedStringCharacters$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R47, 'CoffeeDoubleQuotedStringCharacters /(?:\\\\.|#(?!\\{)|[^"#])+/'), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14468
14490
  return { $loc, token: $0 };
14469
14491
  });
14470
14492
  function CoffeeDoubleQuotedStringCharacters(ctx, state2) {
@@ -14484,7 +14506,7 @@ var RegularExpressionClass$0 = (0, import_lib3.$TV)((0, import_lib3.$TEXT)((0, i
14484
14506
  function RegularExpressionClass(ctx, state2) {
14485
14507
  return (0, import_lib3.$EVENT)(ctx, state2, "RegularExpressionClass", RegularExpressionClass$0);
14486
14508
  }
14487
- var RegularExpressionClassCharacters$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R49, "RegularExpressionClassCharacters /(?:\\\\.|[^\\]])*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14509
+ var RegularExpressionClassCharacters$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R48, "RegularExpressionClassCharacters /(?:\\\\.|[^\\]])*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14488
14510
  return { $loc, token: $0 };
14489
14511
  });
14490
14512
  function RegularExpressionClassCharacters(ctx, state2) {
@@ -14541,7 +14563,7 @@ var HeregexPart$1 = (0, import_lib3.$T)((0, import_lib3.$S)(CoffeeStringSubstitu
14541
14563
  var HeregexPart$2 = (0, import_lib3.$T)((0, import_lib3.$S)(TemplateSubstitution), function(value) {
14542
14564
  return { "type": "Substitution", "children": value[0] };
14543
14565
  });
14544
- var HeregexPart$3 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R50, "HeregexPart /(?:\\\\.)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14566
+ var HeregexPart$3 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R49, "HeregexPart /(?:\\\\.)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14545
14567
  let token = $0;
14546
14568
  switch ($0[1]) {
14547
14569
  case "\n":
@@ -14559,13 +14581,13 @@ var HeregexPart$3 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R50, "Heregex
14559
14581
  var HeregexPart$4 = (0, import_lib3.$TS)((0, import_lib3.$S)(HeregexComment), function($skip, $loc, $0, $1) {
14560
14582
  return { $loc, token: "" };
14561
14583
  });
14562
- var HeregexPart$5 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R51, "HeregexPart /[\\s]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14584
+ var HeregexPart$5 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R50, "HeregexPart /[\\s]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14563
14585
  return { $loc, token: "" };
14564
14586
  });
14565
- var HeregexPart$6 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R52, "HeregexPart /\\/(?!\\/\\/)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14587
+ var HeregexPart$6 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R51, "HeregexPart /\\/(?!\\/\\/)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14566
14588
  return { $loc, token: "\\/" };
14567
14589
  });
14568
- var HeregexPart$7 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R53, "HeregexPart /[^[\\/\\s#\\\\]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14590
+ var HeregexPart$7 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R52, "HeregexPart /[^[\\/\\s#\\\\]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14569
14591
  return { $loc, token: $0 };
14570
14592
  });
14571
14593
  var HeregexPart$$ = [HeregexPart$0, HeregexPart$1, HeregexPart$2, HeregexPart$3, HeregexPart$4, HeregexPart$5, HeregexPart$6, HeregexPart$7];
@@ -14578,7 +14600,7 @@ var HeregexComment$$ = [HeregexComment$0, HeregexComment$1];
14578
14600
  function HeregexComment(ctx, state2) {
14579
14601
  return (0, import_lib3.$EVENT_C)(ctx, state2, "HeregexComment", HeregexComment$$);
14580
14602
  }
14581
- var RegularExpressionBody$0 = (0, import_lib3.$S)((0, import_lib3.$N)((0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R54, "RegularExpressionBody /[*\\/\\r\\n]/"))), (0, import_lib3.$Q)(RegExpPart));
14603
+ var RegularExpressionBody$0 = (0, import_lib3.$S)((0, import_lib3.$N)((0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R53, "RegularExpressionBody /[*\\/\\r\\n]/"))), (0, import_lib3.$Q)(RegExpPart));
14582
14604
  function RegularExpressionBody(ctx, state2) {
14583
14605
  return (0, import_lib3.$EVENT)(ctx, state2, "RegularExpressionBody", RegularExpressionBody$0);
14584
14606
  }
@@ -14588,15 +14610,15 @@ var RegExpPart$$ = [RegExpPart$0, RegExpPart$1];
14588
14610
  function RegExpPart(ctx, state2) {
14589
14611
  return (0, import_lib3.$EVENT_C)(ctx, state2, "RegExpPart", RegExpPart$$);
14590
14612
  }
14591
- var RegExpCharacter$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R55, "RegExpCharacter /(?:\\\\.|[^[\\/\\r\\n])+/"));
14613
+ var RegExpCharacter$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R54, "RegExpCharacter /(?:\\\\.|[^[\\/\\r\\n])+/"));
14592
14614
  function RegExpCharacter(ctx, state2) {
14593
14615
  return (0, import_lib3.$EVENT)(ctx, state2, "RegExpCharacter", RegExpCharacter$0);
14594
14616
  }
14595
- var RegularExpressionFlags$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R56, "RegularExpressionFlags /(?:\\p{ID_Continue}|[\\u200C\\u200D$])*/"));
14617
+ var RegularExpressionFlags$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R55, "RegularExpressionFlags /(?:\\p{ID_Continue}|[\\u200C\\u200D$])*/"));
14596
14618
  function RegularExpressionFlags(ctx, state2) {
14597
14619
  return (0, import_lib3.$EVENT)(ctx, state2, "RegularExpressionFlags", RegularExpressionFlags$0);
14598
14620
  }
14599
- var TemplateLiteral$0 = (0, import_lib3.$T)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($R57, "TemplateLiteral /(?=[`'\"])/"), _TemplateLiteral), function(value) {
14621
+ var TemplateLiteral$0 = (0, import_lib3.$T)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($R56, "TemplateLiteral /(?=[`'\"])/"), _TemplateLiteral), function(value) {
14600
14622
  return value[1];
14601
14623
  });
14602
14624
  function TemplateLiteral(ctx, state2) {
@@ -14636,28 +14658,28 @@ var TemplateSubstitution$0 = (0, import_lib3.$TS)((0, import_lib3.$S)(Substituti
14636
14658
  function TemplateSubstitution(ctx, state2) {
14637
14659
  return (0, import_lib3.$EVENT)(ctx, state2, "TemplateSubstitution", TemplateSubstitution$0);
14638
14660
  }
14639
- var TemplateCharacters$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R58, "TemplateCharacters /(?:\\$(?!\\{)|\\\\.|[^$`])+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14661
+ var TemplateCharacters$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R57, "TemplateCharacters /(?:\\$(?!\\{)|\\\\.|[^$`])+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14640
14662
  return { $loc, token: $0 };
14641
14663
  });
14642
14664
  function TemplateCharacters(ctx, state2) {
14643
14665
  return (0, import_lib3.$EVENT)(ctx, state2, "TemplateCharacters", TemplateCharacters$0);
14644
14666
  }
14645
- var TemplateBlockCharacters$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R59, "TemplateBlockCharacters /(?:\\$(?!\\{)|`(?!``)|\\\\.|[^$`])+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14667
+ var TemplateBlockCharacters$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R58, "TemplateBlockCharacters /(?:\\$(?!\\{)|`(?!``)|\\\\.|[^$`])+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14646
14668
  return { $loc, token: $0 };
14647
14669
  });
14648
14670
  function TemplateBlockCharacters(ctx, state2) {
14649
14671
  return (0, import_lib3.$EVENT)(ctx, state2, "TemplateBlockCharacters", TemplateBlockCharacters$0);
14650
14672
  }
14651
- var ReservedWord$0 = (0, import_lib3.$S)((0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R60, "ReservedWord /(?:on|off|yes|no)(?!\\p{ID_Continue})/")), CoffeeBooleansEnabled);
14652
- var ReservedWord$1 = (0, import_lib3.$S)((0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R61, "ReservedWord /(?:isnt)(?!\\p{ID_Continue})/")), CoffeeIsntEnabled);
14653
- var ReservedWord$2 = (0, import_lib3.$S)((0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R62, "ReservedWord /(?:by)(?!\\p{ID_Continue})/")), CoffeeForLoopsEnabled);
14654
- var ReservedWord$3 = (0, import_lib3.$S)((0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R63, "ReservedWord /(?:of)(?!\\p{ID_Continue})/")), CoffeeOfEnabled);
14655
- var ReservedWord$4 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R64, "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})/"));
14673
+ var ReservedWord$0 = (0, import_lib3.$S)((0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R59, "ReservedWord /(?:on|off|yes|no)(?!\\p{ID_Continue})/")), CoffeeBooleansEnabled);
14674
+ var ReservedWord$1 = (0, import_lib3.$S)((0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R60, "ReservedWord /(?:isnt)(?!\\p{ID_Continue})/")), CoffeeIsntEnabled);
14675
+ var ReservedWord$2 = (0, import_lib3.$S)((0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R61, "ReservedWord /(?:by)(?!\\p{ID_Continue})/")), CoffeeForLoopsEnabled);
14676
+ var ReservedWord$3 = (0, import_lib3.$S)((0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R62, "ReservedWord /(?:of)(?!\\p{ID_Continue})/")), CoffeeOfEnabled);
14677
+ var ReservedWord$4 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R63, "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})/"));
14656
14678
  var ReservedWord$$ = [ReservedWord$0, ReservedWord$1, ReservedWord$2, ReservedWord$3, ReservedWord$4];
14657
14679
  function ReservedWord(ctx, state2) {
14658
14680
  return (0, import_lib3.$EVENT_C)(ctx, state2, "ReservedWord", ReservedWord$$);
14659
14681
  }
14660
- var Comment$0 = (0, import_lib3.$T)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($R65, "Comment /(?=\\/|#)/"), _Comment), function(value) {
14682
+ var Comment$0 = (0, import_lib3.$T)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($R64, "Comment /(?=\\/|#)/"), _Comment), function(value) {
14661
14683
  return value[1];
14662
14684
  });
14663
14685
  function Comment(ctx, state2) {
@@ -14675,7 +14697,7 @@ var SingleLineComment$$ = [SingleLineComment$0, SingleLineComment$1];
14675
14697
  function SingleLineComment(ctx, state2) {
14676
14698
  return (0, import_lib3.$EVENT_C)(ctx, state2, "SingleLineComment", SingleLineComment$$);
14677
14699
  }
14678
- var JSSingleLineComment$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R66, "JSSingleLineComment /\\/\\/(?!\\/)[^\\r\\n]*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14700
+ var JSSingleLineComment$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R65, "JSSingleLineComment /\\/\\/(?!\\/)[^\\r\\n]*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14679
14701
  return { type: "Comment", $loc, token: $0 };
14680
14702
  });
14681
14703
  function JSSingleLineComment(ctx, state2) {
@@ -14687,30 +14709,30 @@ var MultiLineComment$$ = [MultiLineComment$0, MultiLineComment$1];
14687
14709
  function MultiLineComment(ctx, state2) {
14688
14710
  return (0, import_lib3.$EVENT_C)(ctx, state2, "MultiLineComment", MultiLineComment$$);
14689
14711
  }
14690
- var JSMultiLineComment$0 = (0, import_lib3.$TV)((0, import_lib3.$TEXT)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L130, 'JSMultiLineComment "/*"'), (0, import_lib3.$Q)((0, import_lib3.$S)((0, import_lib3.$N)((0, import_lib3.$EXPECT)($L131, 'JSMultiLineComment "*/"')), (0, import_lib3.$EXPECT)($R67, "JSMultiLineComment /./"))), (0, import_lib3.$EXPECT)($L131, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
14712
+ var JSMultiLineComment$0 = (0, import_lib3.$TV)((0, import_lib3.$TEXT)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L130, 'JSMultiLineComment "/*"'), (0, import_lib3.$Q)((0, import_lib3.$S)((0, import_lib3.$N)((0, import_lib3.$EXPECT)($L131, 'JSMultiLineComment "*/"')), (0, import_lib3.$EXPECT)($R66, "JSMultiLineComment /./"))), (0, import_lib3.$EXPECT)($L131, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
14691
14713
  return { type: "Comment", $loc, token: $1 };
14692
14714
  });
14693
14715
  function JSMultiLineComment(ctx, state2) {
14694
14716
  return (0, import_lib3.$EVENT)(ctx, state2, "JSMultiLineComment", JSMultiLineComment$0);
14695
14717
  }
14696
- var CoffeeSingleLineComment$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R68, "CoffeeSingleLineComment /#(?!##(?!#))([^\\r\\n]*)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14718
+ var CoffeeSingleLineComment$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R67, "CoffeeSingleLineComment /#(?!##(?!#))([^\\r\\n]*)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14697
14719
  return { type: "Comment", $loc, token: `//${$1}` };
14698
14720
  });
14699
14721
  function CoffeeSingleLineComment(ctx, state2) {
14700
14722
  return (0, import_lib3.$EVENT)(ctx, state2, "CoffeeSingleLineComment", CoffeeSingleLineComment$0);
14701
14723
  }
14702
- var CoffeeMultiLineComment$0 = (0, import_lib3.$TS)((0, import_lib3.$S)(CoffeeHereCommentStart, (0, import_lib3.$TEXT)((0, import_lib3.$EXPECT)($R69, "CoffeeMultiLineComment /[^]*?###/"))), function($skip, $loc, $0, $1, $2) {
14724
+ var CoffeeMultiLineComment$0 = (0, import_lib3.$TS)((0, import_lib3.$S)(CoffeeHereCommentStart, (0, import_lib3.$TEXT)((0, import_lib3.$EXPECT)($R68, "CoffeeMultiLineComment /[^]*?###/"))), function($skip, $loc, $0, $1, $2) {
14703
14725
  $2 = $2.slice(0, $2.length - 3).replace(/\*\//g, "* /");
14704
14726
  return { type: "Comment", $loc, token: `/*${$2}*/` };
14705
14727
  });
14706
14728
  function CoffeeMultiLineComment(ctx, state2) {
14707
14729
  return (0, import_lib3.$EVENT)(ctx, state2, "CoffeeMultiLineComment", CoffeeMultiLineComment$0);
14708
14730
  }
14709
- var CoffeeHereCommentStart$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R70, "CoffeeHereCommentStart /###(?!#)/"));
14731
+ var CoffeeHereCommentStart$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R69, "CoffeeHereCommentStart /###(?!#)/"));
14710
14732
  function CoffeeHereCommentStart(ctx, state2) {
14711
14733
  return (0, import_lib3.$EVENT)(ctx, state2, "CoffeeHereCommentStart", CoffeeHereCommentStart$0);
14712
14734
  }
14713
- var InlineComment$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R71, "InlineComment /\\/\\*(?:(?!\\*\\/)[^\\r\\n])*\\*\\//"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14735
+ var InlineComment$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R70, "InlineComment /\\/\\*(?:(?!\\*\\/)[^\\r\\n])*\\*\\//"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14714
14736
  return { $loc, token: $0 };
14715
14737
  });
14716
14738
  function InlineComment(ctx, state2) {
@@ -14724,7 +14746,7 @@ var TrailingComment$0 = (0, import_lib3.$S)((0, import_lib3.$E)(_), (0, import_l
14724
14746
  function TrailingComment(ctx, state2) {
14725
14747
  return (0, import_lib3.$EVENT)(ctx, state2, "TrailingComment", TrailingComment$0);
14726
14748
  }
14727
- var _$0 = (0, import_lib3.$T)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($R72, "_ /(?=[ \\t\\/\\\\])/"), (0, import_lib3.$P)((0, import_lib3.$C)(NonNewlineWhitespace, InlineComment))), function(value) {
14749
+ var _$0 = (0, import_lib3.$T)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($R71, "_ /(?=[ \\t\\/\\\\])/"), (0, import_lib3.$P)((0, import_lib3.$C)(NonNewlineWhitespace, InlineComment))), function(value) {
14728
14750
  return value[1];
14729
14751
  });
14730
14752
  function _(ctx, state2) {
@@ -14747,7 +14769,7 @@ var Trimmed_$0 = (0, import_lib3.$TV)(_, function($skip, $loc, $0, $1) {
14747
14769
  function Trimmed_(ctx, state2) {
14748
14770
  return (0, import_lib3.$EVENT)(ctx, state2, "Trimmed_", Trimmed_$0);
14749
14771
  }
14750
- var __$0 = (0, import_lib3.$T)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($R73, "__ /(?=\\s|\\/|#)/"), (0, import_lib3.$Q)((0, import_lib3.$C)(Whitespace, Comment))), function(value) {
14772
+ var __$0 = (0, import_lib3.$T)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($R72, "__ /(?=\\s|\\/|#)/"), (0, import_lib3.$Q)((0, import_lib3.$C)(Whitespace, Comment))), function(value) {
14751
14773
  return value[1];
14752
14774
  });
14753
14775
  var __$1 = (0, import_lib3.$EXPECT)($L0, '__ ""');
@@ -14755,7 +14777,7 @@ var __$$ = [__$0, __$1];
14755
14777
  function __(ctx, state2) {
14756
14778
  return (0, import_lib3.$EVENT_C)(ctx, state2, "__", __$$);
14757
14779
  }
14758
- var Whitespace$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R51, "Whitespace /[\\s]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14780
+ var Whitespace$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R50, "Whitespace /[\\s]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14759
14781
  return { $loc, token: $0 };
14760
14782
  });
14761
14783
  function Whitespace(ctx, state2) {
@@ -14793,7 +14815,7 @@ var SemicolonDelimiter$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_l
14793
14815
  function SemicolonDelimiter(ctx, state2) {
14794
14816
  return (0, import_lib3.$EVENT)(ctx, state2, "SemicolonDelimiter", SemicolonDelimiter$0);
14795
14817
  }
14796
- var NonIdContinue$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R74, "NonIdContinue /(?!\\p{ID_Continue})/"));
14818
+ var NonIdContinue$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R73, "NonIdContinue /(?!\\p{ID_Continue})/"));
14797
14819
  function NonIdContinue(ctx, state2) {
14798
14820
  return (0, import_lib3.$EVENT)(ctx, state2, "NonIdContinue", NonIdContinue$0);
14799
14821
  }
@@ -14911,7 +14933,7 @@ var CoffeeSubstitutionStart$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L
14911
14933
  function CoffeeSubstitutionStart(ctx, state2) {
14912
14934
  return (0, import_lib3.$EVENT)(ctx, state2, "CoffeeSubstitutionStart", CoffeeSubstitutionStart$0);
14913
14935
  }
14914
- var Colon$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L16, 'Colon ":"'), (0, import_lib3.$N)((0, import_lib3.$EXPECT)($R75, "Colon /[=:]/"))), function($skip, $loc, $0, $1, $2) {
14936
+ var Colon$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L16, 'Colon ":"'), (0, import_lib3.$N)((0, import_lib3.$EXPECT)($R74, "Colon /[=:]/"))), function($skip, $loc, $0, $1, $2) {
14915
14937
  return { $loc, token: $1 };
14916
14938
  });
14917
14939
  function Colon(ctx, state2) {
@@ -14962,7 +14984,7 @@ function Do(ctx, state2) {
14962
14984
  var Dot$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L7, 'Dot "."'), function($skip, $loc, $0, $1) {
14963
14985
  return { $loc, token: $1 };
14964
14986
  });
14965
- var Dot$1 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($R76, "Dot /['\u2019]s/"), Trimmed_), function($skip, $loc, $0, $1, $2) {
14987
+ var Dot$1 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($R75, "Dot /['\u2019]s/"), Trimmed_), function($skip, $loc, $0, $1, $2) {
14966
14988
  var ws = $2;
14967
14989
  return [
14968
14990
  { $loc, token: "." },
@@ -15089,7 +15111,7 @@ var If$0 = (0, import_lib3.$TV)((0, import_lib3.$TEXT)((0, import_lib3.$S)((0, i
15089
15111
  function If(ctx, state2) {
15090
15112
  return (0, import_lib3.$EVENT)(ctx, state2, "If", If$0);
15091
15113
  }
15092
- var Import$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L15, 'Import "import"'), (0, import_lib3.$Y)((0, import_lib3.$EXPECT)($R77, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
15114
+ var Import$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L15, 'Import "import"'), (0, import_lib3.$Y)((0, import_lib3.$EXPECT)($R76, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
15093
15115
  return { $loc, token: $1 };
15094
15116
  });
15095
15117
  function Import(ctx, state2) {
@@ -15125,37 +15147,37 @@ var Is$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L1
15125
15147
  function Is(ctx, state2) {
15126
15148
  return (0, import_lib3.$EVENT)(ctx, state2, "Is", Is$0);
15127
15149
  }
15128
- var LetOrConstOrVar$0 = LetOrConst;
15129
- var LetOrConstOrVar$1 = Var;
15130
- var LetOrConstOrVar$$ = [LetOrConstOrVar$0, LetOrConstOrVar$1];
15150
+ var LetOrConstOrVar$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$C)((0, import_lib3.$EXPECT)($L172, 'LetOrConstOrVar "let"'), (0, import_lib3.$EXPECT)($L173, 'LetOrConstOrVar "const"'), (0, import_lib3.$EXPECT)($L175, 'LetOrConstOrVar "var"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15151
+ return { $loc, token: $1 };
15152
+ });
15131
15153
  function LetOrConstOrVar(ctx, state2) {
15132
- return (0, import_lib3.$EVENT_C)(ctx, state2, "LetOrConstOrVar", LetOrConstOrVar$$);
15154
+ return (0, import_lib3.$EVENT)(ctx, state2, "LetOrConstOrVar", LetOrConstOrVar$0);
15133
15155
  }
15134
- var Like$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L175, 'Like "like"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15156
+ var Like$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L176, 'Like "like"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15135
15157
  return { $loc, token: $1 };
15136
15158
  });
15137
15159
  function Like(ctx, state2) {
15138
15160
  return (0, import_lib3.$EVENT)(ctx, state2, "Like", Like$0);
15139
15161
  }
15140
- var Loop$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L176, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15162
+ var Loop$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L177, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15141
15163
  return { $loc, token: "while" };
15142
15164
  });
15143
15165
  function Loop(ctx, state2) {
15144
15166
  return (0, import_lib3.$EVENT)(ctx, state2, "Loop", Loop$0);
15145
15167
  }
15146
- var New$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L177, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15168
+ var New$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L178, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15147
15169
  return { $loc, token: $1 };
15148
15170
  });
15149
15171
  function New(ctx, state2) {
15150
15172
  return (0, import_lib3.$EVENT)(ctx, state2, "New", New$0);
15151
15173
  }
15152
- var Not$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L178, 'Not "not"'), NonIdContinue, (0, import_lib3.$N)((0, import_lib3.$S)((0, import_lib3.$E)(_), (0, import_lib3.$EXPECT)($L16, 'Not ":"')))), function($skip, $loc, $0, $1, $2, $3) {
15174
+ var Not$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L179, 'Not "not"'), NonIdContinue, (0, import_lib3.$N)((0, import_lib3.$S)((0, import_lib3.$E)(_), (0, import_lib3.$EXPECT)($L16, 'Not ":"')))), function($skip, $loc, $0, $1, $2, $3) {
15153
15175
  return { $loc, token: "!" };
15154
15176
  });
15155
15177
  function Not(ctx, state2) {
15156
15178
  return (0, import_lib3.$EVENT)(ctx, state2, "Not", Not$0);
15157
15179
  }
15158
- var Of$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L179, 'Of "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15180
+ var Of$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L180, 'Of "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15159
15181
  return { $loc, token: $1 };
15160
15182
  });
15161
15183
  function Of(ctx, state2) {
@@ -15173,7 +15195,7 @@ var OpenBrace$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L1, 'OpenBrace
15173
15195
  function OpenBrace(ctx, state2) {
15174
15196
  return (0, import_lib3.$EVENT)(ctx, state2, "OpenBrace", OpenBrace$0);
15175
15197
  }
15176
- var OpenBracket$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L180, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
15198
+ var OpenBracket$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L181, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
15177
15199
  return { $loc, token: $1 };
15178
15200
  });
15179
15201
  function OpenBracket(ctx, state2) {
@@ -15185,49 +15207,49 @@ var OpenParen$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L4, 'OpenParen
15185
15207
  function OpenParen(ctx, state2) {
15186
15208
  return (0, import_lib3.$EVENT)(ctx, state2, "OpenParen", OpenParen$0);
15187
15209
  }
15188
- var Operator$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L181, 'Operator "operator"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15210
+ var Operator$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L182, 'Operator "operator"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15189
15211
  return { $loc, token: $1 };
15190
15212
  });
15191
15213
  function Operator(ctx, state2) {
15192
15214
  return (0, import_lib3.$EVENT)(ctx, state2, "Operator", Operator$0);
15193
15215
  }
15194
- var Override$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L182, 'Override "override"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15216
+ var Override$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L183, 'Override "override"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15195
15217
  return { $loc, token: $1, ts: true };
15196
15218
  });
15197
15219
  function Override(ctx, state2) {
15198
15220
  return (0, import_lib3.$EVENT)(ctx, state2, "Override", Override$0);
15199
15221
  }
15200
- var Own$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L183, 'Own "own"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15222
+ var Own$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L184, 'Own "own"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15201
15223
  return { $loc, token: $1 };
15202
15224
  });
15203
15225
  function Own(ctx, state2) {
15204
15226
  return (0, import_lib3.$EVENT)(ctx, state2, "Own", Own$0);
15205
15227
  }
15206
- var Public$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L184, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15228
+ var Public$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L185, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15207
15229
  return { $loc, token: $1 };
15208
15230
  });
15209
15231
  function Public(ctx, state2) {
15210
15232
  return (0, import_lib3.$EVENT)(ctx, state2, "Public", Public$0);
15211
15233
  }
15212
- var Private$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L185, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15234
+ var Private$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L186, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15213
15235
  return { $loc, token: $1 };
15214
15236
  });
15215
15237
  function Private(ctx, state2) {
15216
15238
  return (0, import_lib3.$EVENT)(ctx, state2, "Private", Private$0);
15217
15239
  }
15218
- var Protected$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L186, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15240
+ var Protected$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L187, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15219
15241
  return { $loc, token: $1 };
15220
15242
  });
15221
15243
  function Protected(ctx, state2) {
15222
15244
  return (0, import_lib3.$EVENT)(ctx, state2, "Protected", Protected$0);
15223
15245
  }
15224
- var Pipe$0 = (0, import_lib3.$TV)((0, import_lib3.$C)((0, import_lib3.$EXPECT)($L187, 'Pipe "||>"'), (0, import_lib3.$EXPECT)($L188, 'Pipe "|\u25B7"')), function($skip, $loc, $0, $1) {
15246
+ var Pipe$0 = (0, import_lib3.$TV)((0, import_lib3.$C)((0, import_lib3.$EXPECT)($L188, 'Pipe "||>"'), (0, import_lib3.$EXPECT)($L189, 'Pipe "|\u25B7"')), function($skip, $loc, $0, $1) {
15225
15247
  return { $loc, token: "||>" };
15226
15248
  });
15227
- var Pipe$1 = (0, import_lib3.$TV)((0, import_lib3.$C)((0, import_lib3.$EXPECT)($L189, 'Pipe "|>="'), (0, import_lib3.$EXPECT)($L190, 'Pipe "\u25B7="')), function($skip, $loc, $0, $1) {
15249
+ var Pipe$1 = (0, import_lib3.$TV)((0, import_lib3.$C)((0, import_lib3.$EXPECT)($L190, 'Pipe "|>="'), (0, import_lib3.$EXPECT)($L191, 'Pipe "\u25B7="')), function($skip, $loc, $0, $1) {
15228
15250
  return { $loc, token: "|>=" };
15229
15251
  });
15230
- var Pipe$2 = (0, import_lib3.$TV)((0, import_lib3.$C)((0, import_lib3.$EXPECT)($L191, 'Pipe "|>"'), (0, import_lib3.$EXPECT)($L192, 'Pipe "\u25B7"')), function($skip, $loc, $0, $1) {
15252
+ var Pipe$2 = (0, import_lib3.$TV)((0, import_lib3.$C)((0, import_lib3.$EXPECT)($L192, 'Pipe "|>"'), (0, import_lib3.$EXPECT)($L193, 'Pipe "\u25B7"')), function($skip, $loc, $0, $1) {
15231
15253
  return { $loc, token: "|>" };
15232
15254
  });
15233
15255
  var Pipe$$ = [Pipe$0, Pipe$1, Pipe$2];
@@ -15240,19 +15262,19 @@ var QuestionMark$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L6, 'Questio
15240
15262
  function QuestionMark(ctx, state2) {
15241
15263
  return (0, import_lib3.$EVENT)(ctx, state2, "QuestionMark", QuestionMark$0);
15242
15264
  }
15243
- var Readonly$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L193, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15265
+ var Readonly$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L194, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15244
15266
  return { $loc, token: $1, ts: true };
15245
15267
  });
15246
15268
  function Readonly(ctx, state2) {
15247
15269
  return (0, import_lib3.$EVENT)(ctx, state2, "Readonly", Readonly$0);
15248
15270
  }
15249
- var Return$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L194, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15271
+ var Return$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L195, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15250
15272
  return { $loc, token: $1 };
15251
15273
  });
15252
15274
  function Return(ctx, state2) {
15253
15275
  return (0, import_lib3.$EVENT)(ctx, state2, "Return", Return$0);
15254
15276
  }
15255
- var Satisfies$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L195, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15277
+ var Satisfies$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L196, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15256
15278
  return { $loc, token: $1 };
15257
15279
  });
15258
15280
  function Satisfies(ctx, state2) {
@@ -15264,7 +15286,7 @@ var Semicolon$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L119, 'Semicolo
15264
15286
  function Semicolon(ctx, state2) {
15265
15287
  return (0, import_lib3.$EVENT)(ctx, state2, "Semicolon", Semicolon$0);
15266
15288
  }
15267
- var SingleQuote$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L196, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
15289
+ var SingleQuote$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L197, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
15268
15290
  return { $loc, token: $1 };
15269
15291
  });
15270
15292
  function SingleQuote(ctx, state2) {
@@ -15276,7 +15298,7 @@ var Star$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L75, 'Star "*"'), fu
15276
15298
  function Star(ctx, state2) {
15277
15299
  return (0, import_lib3.$EVENT)(ctx, state2, "Star", Star$0);
15278
15300
  }
15279
- var Static$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L197, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15301
+ var Static$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L198, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15280
15302
  return { $loc, token: $1 };
15281
15303
  });
15282
15304
  var Static$1 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L136, 'Static "@"'), (0, import_lib3.$N)((0, import_lib3.$C)((0, import_lib3.$EXPECT)($L4, 'Static "("'), (0, import_lib3.$EXPECT)($L136, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
@@ -15286,109 +15308,109 @@ var Static$$ = [Static$0, Static$1];
15286
15308
  function Static(ctx, state2) {
15287
15309
  return (0, import_lib3.$EVENT_C)(ctx, state2, "Static", Static$$);
15288
15310
  }
15289
- var SubstitutionStart$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L198, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
15311
+ var SubstitutionStart$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L199, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
15290
15312
  return { $loc, token: $1 };
15291
15313
  });
15292
15314
  function SubstitutionStart(ctx, state2) {
15293
15315
  return (0, import_lib3.$EVENT)(ctx, state2, "SubstitutionStart", SubstitutionStart$0);
15294
15316
  }
15295
- var Super$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L199, 'Super "super"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15317
+ var Super$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L200, 'Super "super"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15296
15318
  return { $loc, token: $1 };
15297
15319
  });
15298
15320
  function Super(ctx, state2) {
15299
15321
  return (0, import_lib3.$EVENT)(ctx, state2, "Super", Super$0);
15300
15322
  }
15301
- var Switch$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L200, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15323
+ var Switch$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L201, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15302
15324
  return { $loc, token: $1 };
15303
15325
  });
15304
15326
  function Switch(ctx, state2) {
15305
15327
  return (0, import_lib3.$EVENT)(ctx, state2, "Switch", Switch$0);
15306
15328
  }
15307
- var Target$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L201, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15329
+ var Target$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L202, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15308
15330
  return { $loc, token: $1 };
15309
15331
  });
15310
15332
  function Target(ctx, state2) {
15311
15333
  return (0, import_lib3.$EVENT)(ctx, state2, "Target", Target$0);
15312
15334
  }
15313
- var Then$0 = (0, import_lib3.$TS)((0, import_lib3.$S)(__, (0, import_lib3.$EXPECT)($L202, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
15335
+ var Then$0 = (0, import_lib3.$TS)((0, import_lib3.$S)(__, (0, import_lib3.$EXPECT)($L203, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
15314
15336
  return { $loc, token: "" };
15315
15337
  });
15316
15338
  function Then(ctx, state2) {
15317
15339
  return (0, import_lib3.$EVENT)(ctx, state2, "Then", Then$0);
15318
15340
  }
15319
- var This$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L203, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15341
+ var This$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L204, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15320
15342
  return { $loc, token: $1 };
15321
15343
  });
15322
15344
  function This(ctx, state2) {
15323
15345
  return (0, import_lib3.$EVENT)(ctx, state2, "This", This$0);
15324
15346
  }
15325
- var Throw$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L204, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15347
+ var Throw$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L205, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15326
15348
  return { $loc, token: $1 };
15327
15349
  });
15328
15350
  function Throw(ctx, state2) {
15329
15351
  return (0, import_lib3.$EVENT)(ctx, state2, "Throw", Throw$0);
15330
15352
  }
15331
- var TripleDoubleQuote$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L205, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
15353
+ var TripleDoubleQuote$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L206, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
15332
15354
  return { $loc, token: "`" };
15333
15355
  });
15334
15356
  function TripleDoubleQuote(ctx, state2) {
15335
15357
  return (0, import_lib3.$EVENT)(ctx, state2, "TripleDoubleQuote", TripleDoubleQuote$0);
15336
15358
  }
15337
- var TripleSingleQuote$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L206, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
15359
+ var TripleSingleQuote$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L207, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
15338
15360
  return { $loc, token: "`" };
15339
15361
  });
15340
15362
  function TripleSingleQuote(ctx, state2) {
15341
15363
  return (0, import_lib3.$EVENT)(ctx, state2, "TripleSingleQuote", TripleSingleQuote$0);
15342
15364
  }
15343
- var TripleSlash$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L207, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
15365
+ var TripleSlash$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L208, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
15344
15366
  return { $loc, token: "/" };
15345
15367
  });
15346
15368
  function TripleSlash(ctx, state2) {
15347
15369
  return (0, import_lib3.$EVENT)(ctx, state2, "TripleSlash", TripleSlash$0);
15348
15370
  }
15349
- var TripleTick$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L208, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
15371
+ var TripleTick$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L209, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
15350
15372
  return { $loc, token: "`" };
15351
15373
  });
15352
15374
  function TripleTick(ctx, state2) {
15353
15375
  return (0, import_lib3.$EVENT)(ctx, state2, "TripleTick", TripleTick$0);
15354
15376
  }
15355
- var Try$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L209, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15377
+ var Try$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L210, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15356
15378
  return { $loc, token: $1 };
15357
15379
  });
15358
15380
  function Try(ctx, state2) {
15359
15381
  return (0, import_lib3.$EVENT)(ctx, state2, "Try", Try$0);
15360
15382
  }
15361
- var Typeof$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L210, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15383
+ var Typeof$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L211, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15362
15384
  return { $loc, token: $1 };
15363
15385
  });
15364
15386
  function Typeof(ctx, state2) {
15365
15387
  return (0, import_lib3.$EVENT)(ctx, state2, "Typeof", Typeof$0);
15366
15388
  }
15367
- var Undefined$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L211, 'Undefined "undefined"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15389
+ var Undefined$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L212, 'Undefined "undefined"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15368
15390
  return { $loc, token: $1 };
15369
15391
  });
15370
15392
  function Undefined(ctx, state2) {
15371
15393
  return (0, import_lib3.$EVENT)(ctx, state2, "Undefined", Undefined$0);
15372
15394
  }
15373
- var Unless$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L212, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15395
+ var Unless$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L213, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15374
15396
  return { $loc, token: $1, negated: true };
15375
15397
  });
15376
15398
  function Unless(ctx, state2) {
15377
15399
  return (0, import_lib3.$EVENT)(ctx, state2, "Unless", Unless$0);
15378
15400
  }
15379
- var Until$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L213, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15401
+ var Until$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L214, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15380
15402
  return { $loc, token: $1, negated: true };
15381
15403
  });
15382
15404
  function Until(ctx, state2) {
15383
15405
  return (0, import_lib3.$EVENT)(ctx, state2, "Until", Until$0);
15384
15406
  }
15385
- var Using$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L214, 'Using "using"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15407
+ var Using$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L215, 'Using "using"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15386
15408
  return { $loc, token: $1 };
15387
15409
  });
15388
15410
  function Using(ctx, state2) {
15389
15411
  return (0, import_lib3.$EVENT)(ctx, state2, "Using", Using$0);
15390
15412
  }
15391
- var Var$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L215, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15413
+ var Var$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L175, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15392
15414
  return { $loc, token: $1 };
15393
15415
  });
15394
15416
  function Var(ctx, state2) {
@@ -15447,7 +15469,7 @@ var JSXImplicitFragment$0 = (0, import_lib3.$TS)((0, import_lib3.$S)(JSXTag, (0,
15447
15469
  function JSXImplicitFragment(ctx, state2) {
15448
15470
  return (0, import_lib3.$EVENT)(ctx, state2, "JSXImplicitFragment", JSXImplicitFragment$0);
15449
15471
  }
15450
- var JSXTag$0 = (0, import_lib3.$T)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($R78, "JSXTag /(?=[<])/"), _JSXTag), function(value) {
15472
+ var JSXTag$0 = (0, import_lib3.$T)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($R77, "JSXTag /(?=[<])/"), _JSXTag), function(value) {
15451
15473
  return value[1];
15452
15474
  });
15453
15475
  function JSXTag(ctx, state2) {
@@ -15594,7 +15616,7 @@ var JSXElementName$$ = [JSXElementName$0, JSXElementName$1];
15594
15616
  function JSXElementName(ctx, state2) {
15595
15617
  return (0, import_lib3.$EVENT_C)(ctx, state2, "JSXElementName", JSXElementName$$);
15596
15618
  }
15597
- var JSXIdentifierName$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R79, "JSXIdentifierName /(?:\\p{ID_Start}|[_$])(?:\\p{ID_Continue}|[\\u200C\\u200D$-])*/"));
15619
+ var JSXIdentifierName$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R78, "JSXIdentifierName /(?:\\p{ID_Start}|[_$])(?:\\p{ID_Continue}|[\\u200C\\u200D$-])*/"));
15598
15620
  function JSXIdentifierName(ctx, state2) {
15599
15621
  return (0, import_lib3.$EVENT)(ctx, state2, "JSXIdentifierName", JSXIdentifierName$0);
15600
15622
  }
@@ -15773,7 +15795,7 @@ var JSXAttribute$6 = (0, import_lib3.$TS)((0, import_lib3.$S)(Dot, JSXShorthandS
15773
15795
  class: $2
15774
15796
  };
15775
15797
  });
15776
- var JSXAttribute$7 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$TEXT)((0, import_lib3.$EXPECT)($R80, "JSXAttribute /[!+-]/")), JSXAttributeName, (0, import_lib3.$Y)(JSXAttributeSpace)), function($skip, $loc, $0, $1, $2, $3) {
15798
+ var JSXAttribute$7 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$TEXT)((0, import_lib3.$EXPECT)($R79, "JSXAttribute /[!+-]/")), JSXAttributeName, (0, import_lib3.$Y)(JSXAttributeSpace)), function($skip, $loc, $0, $1, $2, $3) {
15777
15799
  var toggle = $1;
15778
15800
  var id = $2;
15779
15801
  const value = toggle === "+" ? "true" : "false";
@@ -15783,11 +15805,11 @@ var JSXAttribute$$ = [JSXAttribute$0, JSXAttribute$1, JSXAttribute$2, JSXAttribu
15783
15805
  function JSXAttribute(ctx, state2) {
15784
15806
  return (0, import_lib3.$EVENT_C)(ctx, state2, "JSXAttribute", JSXAttribute$$);
15785
15807
  }
15786
- var JSXAttributeSpace$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R81, "JSXAttributeSpace /[\\s>]|\\/>/"));
15808
+ var JSXAttributeSpace$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R80, "JSXAttributeSpace /[\\s>]|\\/>/"));
15787
15809
  function JSXAttributeSpace(ctx, state2) {
15788
15810
  return (0, import_lib3.$EVENT)(ctx, state2, "JSXAttributeSpace", JSXAttributeSpace$0);
15789
15811
  }
15790
- var JSXShorthandString$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R82, "JSXShorthandString /(?:[\\w\\-:]+|\\([^()]*\\)|\\[[^\\[\\]]*\\])+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
15812
+ var JSXShorthandString$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R81, "JSXShorthandString /(?:[\\w\\-:]+|\\([^()]*\\)|\\[[^\\[\\]]*\\])+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
15791
15813
  return quoteString($0);
15792
15814
  });
15793
15815
  var JSXShorthandString$1 = (0, import_lib3.$TS)((0, import_lib3.$S)(TemplateLiteral), function($skip, $loc, $0, $1) {
@@ -15834,7 +15856,7 @@ var JSXAttributeValue$3 = (0, import_lib3.$TS)((0, import_lib3.$S)(InsertInlineO
15834
15856
  }
15835
15857
  return [open, value, close];
15836
15858
  });
15837
- var JSXAttributeValue$4 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R83, `JSXAttributeValue /"[^"]*"|'[^']*'/`));
15859
+ var JSXAttributeValue$4 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R82, `JSXAttributeValue /"[^"]*"|'[^']*'/`));
15838
15860
  var JSXAttributeValue$$ = [JSXAttributeValue$0, JSXAttributeValue$1, JSXAttributeValue$2, JSXAttributeValue$3, JSXAttributeValue$4];
15839
15861
  function JSXAttributeValue(ctx, state2) {
15840
15862
  return (0, import_lib3.$EVENT_C)(ctx, state2, "JSXAttributeValue", JSXAttributeValue$$);
@@ -15847,7 +15869,7 @@ var InlineJSXAttributeValue$0 = (0, import_lib3.$TS)((0, import_lib3.$S)(InlineJ
15847
15869
  function InlineJSXAttributeValue(ctx, state2) {
15848
15870
  return (0, import_lib3.$EVENT)(ctx, state2, "InlineJSXAttributeValue", InlineJSXAttributeValue$0);
15849
15871
  }
15850
- var InlineJSXBinaryOpRHS$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$N)((0, import_lib3.$EXPECT)($R84, "InlineJSXBinaryOpRHS /[<>]/")), BinaryOp, InlineJSXUnaryExpression), function($skip, $loc, $0, $1, $2, $3) {
15872
+ var InlineJSXBinaryOpRHS$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$N)((0, import_lib3.$EXPECT)($R83, "InlineJSXBinaryOpRHS /[<>]/")), BinaryOp, InlineJSXUnaryExpression), function($skip, $loc, $0, $1, $2, $3) {
15851
15873
  var op = $2;
15852
15874
  var rhs = $3;
15853
15875
  return [[], op, [], rhs];
@@ -15864,7 +15886,7 @@ var InlineJSXUnaryExpression$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, im
15864
15886
  function InlineJSXUnaryExpression(ctx, state2) {
15865
15887
  return (0, import_lib3.$EVENT)(ctx, state2, "InlineJSXUnaryExpression", InlineJSXUnaryExpression$0);
15866
15888
  }
15867
- var InlineJSXUnaryOp$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R85, "InlineJSXUnaryOp /[!~+-](?!\\s|[!~+-]*&)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
15889
+ var InlineJSXUnaryOp$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R84, "InlineJSXUnaryOp /[!~+-](?!\\s|[!~+-]*&)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
15868
15890
  return { $loc, token: $0 };
15869
15891
  });
15870
15892
  function InlineJSXUnaryOp(ctx, state2) {
@@ -16115,13 +16137,13 @@ var JSXComment$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXP
16115
16137
  function JSXComment(ctx, state2) {
16116
16138
  return (0, import_lib3.$EVENT)(ctx, state2, "JSXComment", JSXComment$0);
16117
16139
  }
16118
- var JSXCommentContent$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R86, "JSXCommentContent /(?:-[^-]|[^-]*)*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
16140
+ var JSXCommentContent$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R85, "JSXCommentContent /(?:-[^-]|[^-]*)*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
16119
16141
  return { $loc, token: $0.replace(/\*\//g, "* /") };
16120
16142
  });
16121
16143
  function JSXCommentContent(ctx, state2) {
16122
16144
  return (0, import_lib3.$EVENT)(ctx, state2, "JSXCommentContent", JSXCommentContent$0);
16123
16145
  }
16124
- var JSXText$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R87, "JSXText /[^{}<>\\r\\n]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
16146
+ var JSXText$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R86, "JSXText /[^{}<>\\r\\n]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
16125
16147
  return {
16126
16148
  type: "JSXText",
16127
16149
  token: $0,
@@ -16268,8 +16290,14 @@ var UsingJSModeError$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L0, 'Usi
16268
16290
  function UsingJSModeError(ctx, state2) {
16269
16291
  return (0, import_lib3.$EVENT)(ctx, state2, "UsingJSModeError", UsingJSModeError$0);
16270
16292
  }
16271
- var TypeDeclaration$0 = (0, import_lib3.$T)((0, import_lib3.$S)((0, import_lib3.$E)((0, import_lib3.$S)(Export, (0, import_lib3.$E)(_))), (0, import_lib3.$S)(Declare, (0, import_lib3.$E)(_)), TypeLexicalDeclaration), function(value) {
16272
- return { "ts": true, "children": value };
16293
+ var TypeDeclaration$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$E)((0, import_lib3.$S)(Export, (0, import_lib3.$E)(_))), (0, import_lib3.$S)(Declare, (0, import_lib3.$E)(_)), TypeLexicalDeclaration), function($skip, $loc, $0, $1, $2, $3) {
16294
+ var d = $3;
16295
+ return {
16296
+ type: "Declaration",
16297
+ ts: true,
16298
+ children: $0,
16299
+ names: d.names ?? []
16300
+ };
16273
16301
  });
16274
16302
  var TypeDeclaration$1 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$E)((0, import_lib3.$S)(Export, (0, import_lib3.$E)(_))), (0, import_lib3.$E)((0, import_lib3.$S)(Declare, (0, import_lib3.$E)(_))), TypeDeclarationRest), function($skip, $loc, $0, $1, $2, $3) {
16275
16303
  var export_ = $1;
@@ -16349,7 +16377,17 @@ var OptionalEquals$$ = [OptionalEquals$0, OptionalEquals$1];
16349
16377
  function OptionalEquals(ctx, state2) {
16350
16378
  return (0, import_lib3.$EVENT_C)(ctx, state2, "OptionalEquals", OptionalEquals$$);
16351
16379
  }
16352
- var TypeLexicalDeclaration$0 = (0, import_lib3.$S)(__, LetOrConstOrVar, TypeDeclarationBinding, (0, import_lib3.$Q)((0, import_lib3.$S)(CommaDelimiter, __, TypeDeclarationBinding)));
16380
+ var TypeLexicalDeclaration$0 = (0, import_lib3.$TS)((0, import_lib3.$S)(__, LetOrConstOrVar, TypeDeclarationBinding, (0, import_lib3.$Q)((0, import_lib3.$S)(CommaDelimiter, __, TypeDeclarationBinding))), function($skip, $loc, $0, $1, $2, $3, $4) {
16381
+ var first = $3;
16382
+ var rest = $4;
16383
+ const names = first.names.concat(...rest.map((b) => b[2].names));
16384
+ return {
16385
+ type: "TypeLexicalDeclaration",
16386
+ children: $0,
16387
+ ts: true,
16388
+ names
16389
+ };
16390
+ });
16353
16391
  var TypeLexicalDeclaration$1 = (0, import_lib3.$S)(__, EnumDeclaration);
16354
16392
  var TypeLexicalDeclaration$2 = ClassSignature;
16355
16393
  var TypeLexicalDeclaration$3 = (0, import_lib3.$S)(Namespace, (0, import_lib3.$E)(_), IdentifierName, DeclareBlock);
@@ -16359,7 +16397,13 @@ var TypeLexicalDeclaration$$ = [TypeLexicalDeclaration$0, TypeLexicalDeclaration
16359
16397
  function TypeLexicalDeclaration(ctx, state2) {
16360
16398
  return (0, import_lib3.$EVENT_C)(ctx, state2, "TypeLexicalDeclaration", TypeLexicalDeclaration$$);
16361
16399
  }
16362
- var TypeDeclarationBinding$0 = (0, import_lib3.$S)((0, import_lib3.$C)(BindingPattern, BindingIdentifier), (0, import_lib3.$E)(TypeSuffix));
16400
+ var TypeDeclarationBinding$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$C)(BindingPattern, BindingIdentifier), (0, import_lib3.$E)(TypeSuffix)), function($skip, $loc, $0, $1, $2) {
16401
+ return {
16402
+ type: "TypeDeclarationBinding",
16403
+ children: $0,
16404
+ names: $1.names
16405
+ };
16406
+ });
16363
16407
  function TypeDeclarationBinding(ctx, state2) {
16364
16408
  return (0, import_lib3.$EVENT)(ctx, state2, "TypeDeclarationBinding", TypeDeclarationBinding$0);
16365
16409
  }
@@ -16628,7 +16672,7 @@ var TypeProperty$0 = (0, import_lib3.$S)((0, import_lib3.$E)((0, import_lib3.$S)
16628
16672
  function TypeProperty(ctx, state2) {
16629
16673
  return (0, import_lib3.$EVENT)(ctx, state2, "TypeProperty", TypeProperty$0);
16630
16674
  }
16631
- var TypeIndexSignature$0 = (0, import_lib3.$S)((0, import_lib3.$E)((0, import_lib3.$S)((0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R88, "TypeIndexSignature /[+-]?/")), Readonly, NotDedented)), OpenBracket, TypeIndex, CloseBracket, (0, import_lib3.$E)((0, import_lib3.$S)(__, (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R13, "TypeIndexSignature /[+-]/")), (0, import_lib3.$Y)((0, import_lib3.$S)((0, import_lib3.$E)(_), QuestionMark)))));
16675
+ var TypeIndexSignature$0 = (0, import_lib3.$S)((0, import_lib3.$E)((0, import_lib3.$S)((0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R87, "TypeIndexSignature /[+-]?/")), Readonly, NotDedented)), OpenBracket, TypeIndex, CloseBracket, (0, import_lib3.$E)((0, import_lib3.$S)(__, (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R13, "TypeIndexSignature /[+-]/")), (0, import_lib3.$Y)((0, import_lib3.$S)((0, import_lib3.$E)(_), QuestionMark)))));
16632
16676
  function TypeIndexSignature(ctx, state2) {
16633
16677
  return (0, import_lib3.$EVENT)(ctx, state2, "TypeIndexSignature", TypeIndexSignature$0);
16634
16678
  }
@@ -16789,7 +16833,7 @@ function TypeUnarySuffix(ctx, state2) {
16789
16833
  return (0, import_lib3.$EVENT_C)(ctx, state2, "TypeUnarySuffix", TypeUnarySuffix$$);
16790
16834
  }
16791
16835
  var TypeUnaryOp$0 = (0, import_lib3.$S)((0, import_lib3.$EXPECT)($L233, 'TypeUnaryOp "keyof"'), NonIdContinue);
16792
- var TypeUnaryOp$1 = (0, import_lib3.$S)((0, import_lib3.$EXPECT)($L193, 'TypeUnaryOp "readonly"'), NonIdContinue);
16836
+ var TypeUnaryOp$1 = (0, import_lib3.$S)((0, import_lib3.$EXPECT)($L194, 'TypeUnaryOp "readonly"'), NonIdContinue);
16793
16837
  var TypeUnaryOp$$ = [TypeUnaryOp$0, TypeUnaryOp$1];
16794
16838
  function TypeUnaryOp(ctx, state2) {
16795
16839
  return (0, import_lib3.$EVENT_C)(ctx, state2, "TypeUnaryOp", TypeUnaryOp$$);
@@ -17096,7 +17140,7 @@ var TypeWithPostfix$0 = (0, import_lib3.$TS)((0, import_lib3.$S)(TypeConditional
17096
17140
  function TypeWithPostfix(ctx, state2) {
17097
17141
  return (0, import_lib3.$EVENT)(ctx, state2, "TypeWithPostfix", TypeWithPostfix$0);
17098
17142
  }
17099
- var TypeConditional$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$E)(_), (0, import_lib3.$EXPECT)($R89, "TypeConditional /(?=if|unless)/"), TypeIfThenElse), function($skip, $loc, $0, $1, $2, $3) {
17143
+ var TypeConditional$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$E)(_), (0, import_lib3.$EXPECT)($R88, "TypeConditional /(?=if|unless)/"), TypeIfThenElse), function($skip, $loc, $0, $1, $2, $3) {
17100
17144
  return prepend($1, expressionizeTypeIf($3));
17101
17145
  });
17102
17146
  var TypeConditional$1 = (0, import_lib3.$TS)((0, import_lib3.$S)(TypeCondition, NotDedented, QuestionMark, __, Type, __, Colon, __, Type), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
@@ -17294,8 +17338,8 @@ function TypeApplicationStart(ctx, state2) {
17294
17338
  return (0, import_lib3.$EVENT_C)(ctx, state2, "TypeApplicationStart", TypeApplicationStart$$);
17295
17339
  }
17296
17340
  var ForbiddenImplicitTypeCalls$0 = ReservedBinary;
17297
- var ForbiddenImplicitTypeCalls$1 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R90, "ForbiddenImplicitTypeCalls /[|&<!=\\-\u21D2\u2192]/"));
17298
- var ForbiddenImplicitTypeCalls$2 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R91, "ForbiddenImplicitTypeCalls /(extends|not|is)(?!\\p{ID_Continue}|[\\u200C\\u200D$])/"));
17341
+ var ForbiddenImplicitTypeCalls$1 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R89, "ForbiddenImplicitTypeCalls /[|&<!=\\-\u21D2\u2192]/"));
17342
+ var ForbiddenImplicitTypeCalls$2 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R90, "ForbiddenImplicitTypeCalls /(extends|not|is)(?!\\p{ID_Continue}|[\\u200C\\u200D$])/"));
17299
17343
  var ForbiddenImplicitTypeCalls$$ = [ForbiddenImplicitTypeCalls$0, ForbiddenImplicitTypeCalls$1, ForbiddenImplicitTypeCalls$2];
17300
17344
  function ForbiddenImplicitTypeCalls(ctx, state2) {
17301
17345
  return (0, import_lib3.$EVENT_C)(ctx, state2, "ForbiddenImplicitTypeCalls", ForbiddenImplicitTypeCalls$$);
@@ -17405,15 +17449,15 @@ var ThisType$0 = (0, import_lib3.$T)((0, import_lib3.$S)((0, import_lib3.$E)(_),
17405
17449
  function ThisType(ctx, state2) {
17406
17450
  return (0, import_lib3.$EVENT)(ctx, state2, "ThisType", ThisType$0);
17407
17451
  }
17408
- var Shebang$0 = (0, import_lib3.$S)((0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R92, "Shebang /#![^\\r\\n]*/")), EOL);
17452
+ var Shebang$0 = (0, import_lib3.$S)((0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R91, "Shebang /#![^\\r\\n]*/")), EOL);
17409
17453
  function Shebang(ctx, state2) {
17410
17454
  return (0, import_lib3.$EVENT)(ctx, state2, "Shebang", Shebang$0);
17411
17455
  }
17412
- var CivetPrologue$0 = (0, import_lib3.$T)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($R93, "CivetPrologue /[\\t ]*/"), DoubleQuote, CivetPrologueContent, DoubleQuote, SimpleStatementDelimiter, (0, import_lib3.$EXPECT)($R20, "CivetPrologue /[ \\t]*/"), (0, import_lib3.$C)(EOL, (0, import_lib3.$Y)(RestOfLine))), function(value) {
17456
+ var CivetPrologue$0 = (0, import_lib3.$T)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($R92, "CivetPrologue /[\\t ]*/"), DoubleQuote, CivetPrologueContent, DoubleQuote, SimpleStatementDelimiter, (0, import_lib3.$EXPECT)($R20, "CivetPrologue /[ \\t]*/"), (0, import_lib3.$C)(EOL, (0, import_lib3.$Y)(RestOfLine))), function(value) {
17413
17457
  var content = value[2];
17414
17458
  return content;
17415
17459
  });
17416
- var CivetPrologue$1 = (0, import_lib3.$T)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($R93, "CivetPrologue /[\\t ]*/"), SingleQuote, CivetPrologueContent, SingleQuote, SimpleStatementDelimiter, (0, import_lib3.$EXPECT)($R20, "CivetPrologue /[ \\t]*/"), (0, import_lib3.$C)(EOL, (0, import_lib3.$Y)(RestOfLine))), function(value) {
17460
+ var CivetPrologue$1 = (0, import_lib3.$T)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($R92, "CivetPrologue /[\\t ]*/"), SingleQuote, CivetPrologueContent, SingleQuote, SimpleStatementDelimiter, (0, import_lib3.$EXPECT)($R20, "CivetPrologue /[ \\t]*/"), (0, import_lib3.$C)(EOL, (0, import_lib3.$Y)(RestOfLine))), function(value) {
17417
17461
  var content = value[2];
17418
17462
  return content;
17419
17463
  });
@@ -17421,7 +17465,7 @@ var CivetPrologue$$ = [CivetPrologue$0, CivetPrologue$1];
17421
17465
  function CivetPrologue(ctx, state2) {
17422
17466
  return (0, import_lib3.$EVENT_C)(ctx, state2, "CivetPrologue", CivetPrologue$$);
17423
17467
  }
17424
- var CivetPrologueContent$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L238, 'CivetPrologueContent "civet"'), NonIdContinue, (0, import_lib3.$Q)(CivetOption), (0, import_lib3.$EXPECT)($R94, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3, $4) {
17468
+ var CivetPrologueContent$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L238, 'CivetPrologueContent "civet"'), NonIdContinue, (0, import_lib3.$Q)(CivetOption), (0, import_lib3.$EXPECT)($R93, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3, $4) {
17425
17469
  var options = $3;
17426
17470
  return {
17427
17471
  type: "CivetPrologue",
@@ -17432,7 +17476,7 @@ var CivetPrologueContent$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import
17432
17476
  function CivetPrologueContent(ctx, state2) {
17433
17477
  return (0, import_lib3.$EVENT)(ctx, state2, "CivetPrologueContent", CivetPrologueContent$0);
17434
17478
  }
17435
- var CivetOption$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R95, "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) {
17479
+ var CivetOption$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R94, "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) {
17436
17480
  const optionName = $2.replace(/-+([a-z]?)/g, (_2, l) => {
17437
17481
  if (l)
17438
17482
  return l.toUpperCase();
@@ -17449,11 +17493,11 @@ var CivetOption$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R95, "CivetOp
17449
17493
  function CivetOption(ctx, state2) {
17450
17494
  return (0, import_lib3.$EVENT)(ctx, state2, "CivetOption", CivetOption$0);
17451
17495
  }
17452
- var UnknownPrologue$0 = (0, import_lib3.$S)((0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R93, "UnknownPrologue /[\\t ]*/")), StringLiteral, (0, import_lib3.$TEXT)(SimpleStatementDelimiter), EOS);
17496
+ var UnknownPrologue$0 = (0, import_lib3.$S)((0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R92, "UnknownPrologue /[\\t ]*/")), StringLiteral, (0, import_lib3.$TEXT)(SimpleStatementDelimiter), EOS);
17453
17497
  function UnknownPrologue(ctx, state2) {
17454
17498
  return (0, import_lib3.$EVENT)(ctx, state2, "UnknownPrologue", UnknownPrologue$0);
17455
17499
  }
17456
- var TripleSlashDirective$0 = (0, import_lib3.$S)((0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R96, "TripleSlashDirective /\\/\\/\\/[^\\r\\n]*/")), (0, import_lib3.$E)(EOS));
17500
+ var TripleSlashDirective$0 = (0, import_lib3.$S)((0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R95, "TripleSlashDirective /\\/\\/\\/[^\\r\\n]*/")), (0, import_lib3.$E)(EOS));
17457
17501
  function TripleSlashDirective(ctx, state2) {
17458
17502
  return (0, import_lib3.$EVENT)(ctx, state2, "TripleSlashDirective", TripleSlashDirective$0);
17459
17503
  }
@@ -17469,13 +17513,13 @@ var PrologueString$$ = [PrologueString$0, PrologueString$1];
17469
17513
  function PrologueString(ctx, state2) {
17470
17514
  return (0, import_lib3.$EVENT_C)(ctx, state2, "PrologueString", PrologueString$$);
17471
17515
  }
17472
- var EOS$0 = (0, import_lib3.$T)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($R97, "EOS /(?=[ \\t\\r\\n\\/#]|$)/"), (0, import_lib3.$P)(RestOfLine)), function(value) {
17516
+ var EOS$0 = (0, import_lib3.$T)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($R96, "EOS /(?=[ \\t\\r\\n\\/#]|$)/"), (0, import_lib3.$P)(RestOfLine)), function(value) {
17473
17517
  return value[1];
17474
17518
  });
17475
17519
  function EOS(ctx, state2) {
17476
17520
  return (0, import_lib3.$EVENT)(ctx, state2, "EOS", EOS$0);
17477
17521
  }
17478
- var EOL$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R98, "EOL /\\r\\n|\\n|\\r|$/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
17522
+ var EOL$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R97, "EOL /\\r\\n|\\n|\\r|$/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
17479
17523
  return { $loc, token: $0 };
17480
17524
  });
17481
17525
  function EOL(ctx, state2) {
@@ -17872,7 +17916,7 @@ var Prologue$0 = (0, import_lib3.$Q)((0, import_lib3.$C)(TripleSlashDirective, (
17872
17916
  function Prologue(ctx, state2) {
17873
17917
  return (0, import_lib3.$EVENT)(ctx, state2, "Prologue", Prologue$0);
17874
17918
  }
17875
- var ProloguePrefix$0 = (0, import_lib3.$S)(Prologue, (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R99, "ProloguePrefix /[^]*/")));
17919
+ var ProloguePrefix$0 = (0, import_lib3.$S)(Prologue, (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R98, "ProloguePrefix /[^]*/")));
17876
17920
  function ProloguePrefix(ctx, state2) {
17877
17921
  return (0, import_lib3.$EVENT)(ctx, state2, "ProloguePrefix", ProloguePrefix$0);
17878
17922
  }
@@ -18629,6 +18673,9 @@ var makeCache = function({ hits, trace } = {}) {
18629
18673
  }
18630
18674
  const [stateKey, tagKey] = getStateKey();
18631
18675
  const key = [tagKey, stateKey, state2.pos, ruleName];
18676
+ if (result != null) {
18677
+ result = { ...result };
18678
+ }
18632
18679
  stateCache.set(key, result);
18633
18680
  if (getConfig().verbose && result) {
18634
18681
  console.log(`Parsed ${JSON.stringify(state2.input.slice(state2.pos, result.pos))} [pos ${state2.pos}-${result.pos}] as ${ruleName}`);