@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.js CHANGED
@@ -62,7 +62,7 @@ var require_machine = __commonJS({
62
62
  $N: () => $N2,
63
63
  $P: () => $P2,
64
64
  $Q: () => $Q2,
65
- $R: () => $R100,
65
+ $R: () => $R99,
66
66
  $R$0: () => $R$02,
67
67
  $S: () => $S2,
68
68
  $T: () => $T2,
@@ -99,7 +99,7 @@ var require_machine = __commonJS({
99
99
  return;
100
100
  };
101
101
  }
102
- function $R100(regExp) {
102
+ function $R99(regExp) {
103
103
  return function(_ctx, state2) {
104
104
  const { input, pos } = state2;
105
105
  regExp.lastIndex = state2.pos;
@@ -1595,12 +1595,19 @@ function implicitFunctionBlock(f) {
1595
1595
  if (f.abstract || f.block || f.signature?.optional)
1596
1596
  return;
1597
1597
  const { name, parent } = f;
1598
- if (parent?.type === "ExportDeclaration")
1599
- return;
1600
- const expressions = parent?.expressions ?? parent?.elements;
1601
- const currentIndex = expressions?.findIndex(([, def]) => def === f);
1602
- const following = currentIndex >= 0 && expressions[currentIndex + 1]?.[1];
1603
- if (f.type === following?.type && name && name === following.name) {
1598
+ let ancestor = parent;
1599
+ let child = f;
1600
+ if (ancestor?.type === "ExportDeclaration") {
1601
+ child = ancestor;
1602
+ ancestor = ancestor.parent;
1603
+ }
1604
+ const expressions = ancestor?.expressions ?? ancestor?.elements;
1605
+ const currentIndex = expressions?.findIndex(([, def]) => def === child);
1606
+ let following = currentIndex >= 0 && expressions[currentIndex + 1]?.[1];
1607
+ if (following?.type === "ExportDeclaration") {
1608
+ following = following.declaration;
1609
+ }
1610
+ if (f.type === following?.type && name != null && name === following.name) {
1604
1611
  f.ts = true;
1605
1612
  } else {
1606
1613
  const block = makeEmptyBlock();
@@ -3722,24 +3729,21 @@ function processDeclarationConditionStatement(s) {
3722
3729
  }
3723
3730
  });
3724
3731
  if (conditions.length) {
3732
+ let children = condition.children;
3725
3733
  if (s.negated) {
3726
3734
  let m;
3727
3735
  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")) {
3728
3736
  throw new Error("Unsupported negated condition");
3729
3737
  }
3730
- const { children } = condition.expression.children[1];
3731
- const close = children.pop();
3732
- conditions.forEach((c) => {
3733
- return children.push(" && ", c);
3734
- });
3735
- children.push(close);
3736
- } else {
3737
- condition.children.unshift("(");
3738
- conditions.forEach((c) => {
3739
- return condition.children.push(" && ", c);
3740
- });
3741
- condition.children.push(")");
3738
+ ;
3739
+ ({ children } = condition.expression.children[1]);
3740
+ }
3741
+ children.unshift("(");
3742
+ for (let i1 = 0, len1 = conditions.length; i1 < len1; i1++) {
3743
+ const c = conditions[i1];
3744
+ children.push(" && ", c);
3742
3745
  }
3746
+ children.push(")");
3743
3747
  }
3744
3748
  }
3745
3749
  const { blockPrefix } = condition.expression;
@@ -4437,7 +4441,7 @@ function processForInOf($0, getRef) {
4437
4441
  }
4438
4442
  case "in": {
4439
4443
  const expRef2 = maybeRef(exp);
4440
- if (expRef2 !== exp) {
4444
+ if (!(expRef2 === exp)) {
4441
4445
  hoistDec = {
4442
4446
  type: "Declaration",
4443
4447
  children: ["let ", expRef2],
@@ -4448,36 +4452,46 @@ function processForInOf($0, getRef) {
4448
4452
  children: [" ", expRef2, " =", exp]
4449
4453
  };
4450
4454
  }
4451
- let { binding } = declaration;
4452
- if (binding?.type !== "Identifier") {
4455
+ const { binding } = declaration;
4456
+ let { pattern } = binding;
4457
+ if (!(pattern.type === "Identifier")) {
4453
4458
  const keyRef = makeRef("key");
4454
4459
  blockPrefix.push(["", [
4455
4460
  declaration,
4456
4461
  " = ",
4457
4462
  keyRef
4458
4463
  ], ";"]);
4464
+ pattern = keyRef;
4459
4465
  declaration = {
4460
4466
  type: "ForDeclaration",
4461
- binding: binding = keyRef,
4467
+ binding: {
4468
+ type: "Binding",
4469
+ pattern,
4470
+ children: [pattern],
4471
+ names: [],
4472
+ suffix: binding.suffix
4473
+ },
4462
4474
  children: ["const ", keyRef],
4463
4475
  names: []
4464
4476
  };
4465
4477
  }
4466
4478
  if (own) {
4467
4479
  const hasPropRef = getRef("hasProp");
4468
- blockPrefix.push(["", ["if (!", hasPropRef, "(", insertTrimmingSpace(expRef2, ""), ", ", insertTrimmingSpace(binding, ""), ")) continue"], ";"]);
4480
+ blockPrefix.push(["", ["if (!", hasPropRef, "(", insertTrimmingSpace(expRef2, ""), ", ", insertTrimmingSpace(pattern, ""), ")) continue"], ";"]);
4469
4481
  }
4470
4482
  if (decl2) {
4471
4483
  blockPrefix.push(["", {
4472
4484
  type: "Declaration",
4473
- children: [insertTrimmingSpace(ws2, ""), decl2, " = ", insertTrimmingSpace(expRef2, ""), "[", insertTrimmingSpace(binding, ""), "]"],
4485
+ children: [insertTrimmingSpace(ws2, ""), decl2, " = ", insertTrimmingSpace(expRef2, ""), "[", insertTrimmingSpace(pattern, ""), "]"],
4474
4486
  names: decl2.names
4475
4487
  }, ";"]);
4476
4488
  }
4489
+ ;
4477
4490
  break;
4478
4491
  }
4479
- default:
4492
+ default: {
4480
4493
  throw new Error(`for item, index must use 'of' or 'in' instead of '${inOf.token}'`);
4494
+ }
4481
4495
  }
4482
4496
  return {
4483
4497
  declaration,
@@ -4489,9 +4503,9 @@ function processForInOf($0, getRef) {
4489
4503
  }
4490
4504
 
4491
4505
  // source/parser/auto-dec.civet
4506
+ var concatAssign = (lhs, rhs) => (rhs?.[Symbol.isConcatSpreadable] ?? Array.isArray(rhs) ? lhs.push.apply(lhs, rhs) : lhs.push(rhs), lhs);
4492
4507
  function findDecs(statements) {
4493
- const predicate = ($) => $.type === "Declaration";
4494
- const declarations = gatherNodes(statements, predicate);
4508
+ const declarations = gatherNodes(statements, ($) => $.type === "Declaration");
4495
4509
  const declarationNames = declarations.flatMap((d) => d.names);
4496
4510
  return new Set(declarationNames);
4497
4511
  }
@@ -4504,7 +4518,7 @@ function createConstLetDecs(statements, scopes, letOrConst) {
4504
4518
  }
4505
4519
  let declaredIdentifiers = findVarDecs(statements);
4506
4520
  function hasDec(name) {
4507
- return declaredIdentifiers.has(name) || scopes.some((s) => s.has(name));
4521
+ return declaredIdentifiers.has(name) || scopes.some(($1) => $1.has(name));
4508
4522
  }
4509
4523
  function gatherBlockOrOther(statement) {
4510
4524
  return gatherNodes(statement, (s) => s.type === "BlockStatement" || s.type === "AssignmentExpression" || s.type === "Declaration").flatMap((node) => {
@@ -4575,14 +4589,15 @@ function createConstLetDecs(statements, scopes, letOrConst) {
4575
4589
  }
4576
4590
  function createVarDecs(block, scopes, pushVar) {
4577
4591
  function hasDec(name) {
4578
- return scopes.some((s) => s.has(name));
4592
+ return scopes.some(($2) => $2.has(name));
4579
4593
  }
4580
4594
  function findAssignments(statements2, decs2) {
4581
- let assignmentStatements2 = gatherNodes(statements2, (node) => {
4582
- return node.type === "AssignmentExpression";
4583
- });
4595
+ let assignmentStatements2 = gatherNodes(statements2, ($3) => $3.type === "AssignmentExpression");
4584
4596
  if (assignmentStatements2.length) {
4585
- assignmentStatements2 = assignmentStatements2.concat(findAssignments(assignmentStatements2.map((s) => s.children), decs2));
4597
+ concatAssign(
4598
+ assignmentStatements2,
4599
+ findAssignments(assignmentStatements2.map((s) => s.children), decs2)
4600
+ );
4586
4601
  }
4587
4602
  return assignmentStatements2;
4588
4603
  }
@@ -4597,7 +4612,7 @@ function createVarDecs(block, scopes, pushVar) {
4597
4612
  scopes.push(decs);
4598
4613
  const varIds = [];
4599
4614
  const assignmentStatements = findAssignments(statements, scopes);
4600
- const undeclaredIdentifiers = assignmentStatements.flatMap(($1) => $1?.names || []);
4615
+ const undeclaredIdentifiers = assignmentStatements.flatMap(($4) => $4?.names || []);
4601
4616
  undeclaredIdentifiers.filter((x, i, a) => {
4602
4617
  if (!hasDec(x))
4603
4618
  return a.indexOf(x) === i;
@@ -7598,47 +7613,47 @@ var $L171 = (0, import_lib3.$L)("infer");
7598
7613
  var $L172 = (0, import_lib3.$L)("let");
7599
7614
  var $L173 = (0, import_lib3.$L)("const");
7600
7615
  var $L174 = (0, import_lib3.$L)("is");
7601
- var $L175 = (0, import_lib3.$L)("like");
7602
- var $L176 = (0, import_lib3.$L)("loop");
7603
- var $L177 = (0, import_lib3.$L)("new");
7604
- var $L178 = (0, import_lib3.$L)("not");
7605
- var $L179 = (0, import_lib3.$L)("of");
7606
- var $L180 = (0, import_lib3.$L)("[");
7607
- var $L181 = (0, import_lib3.$L)("operator");
7608
- var $L182 = (0, import_lib3.$L)("override");
7609
- var $L183 = (0, import_lib3.$L)("own");
7610
- var $L184 = (0, import_lib3.$L)("public");
7611
- var $L185 = (0, import_lib3.$L)("private");
7612
- var $L186 = (0, import_lib3.$L)("protected");
7613
- var $L187 = (0, import_lib3.$L)("||>");
7614
- var $L188 = (0, import_lib3.$L)("|\u25B7");
7615
- var $L189 = (0, import_lib3.$L)("|>=");
7616
- var $L190 = (0, import_lib3.$L)("\u25B7=");
7617
- var $L191 = (0, import_lib3.$L)("|>");
7618
- var $L192 = (0, import_lib3.$L)("\u25B7");
7619
- var $L193 = (0, import_lib3.$L)("readonly");
7620
- var $L194 = (0, import_lib3.$L)("return");
7621
- var $L195 = (0, import_lib3.$L)("satisfies");
7622
- var $L196 = (0, import_lib3.$L)("'");
7623
- var $L197 = (0, import_lib3.$L)("static");
7624
- var $L198 = (0, import_lib3.$L)("${");
7625
- var $L199 = (0, import_lib3.$L)("super");
7626
- var $L200 = (0, import_lib3.$L)("switch");
7627
- var $L201 = (0, import_lib3.$L)("target");
7628
- var $L202 = (0, import_lib3.$L)("then");
7629
- var $L203 = (0, import_lib3.$L)("this");
7630
- var $L204 = (0, import_lib3.$L)("throw");
7631
- var $L205 = (0, import_lib3.$L)('"""');
7632
- var $L206 = (0, import_lib3.$L)("'''");
7633
- var $L207 = (0, import_lib3.$L)("///");
7634
- var $L208 = (0, import_lib3.$L)("```");
7635
- var $L209 = (0, import_lib3.$L)("try");
7636
- var $L210 = (0, import_lib3.$L)("typeof");
7637
- var $L211 = (0, import_lib3.$L)("undefined");
7638
- var $L212 = (0, import_lib3.$L)("unless");
7639
- var $L213 = (0, import_lib3.$L)("until");
7640
- var $L214 = (0, import_lib3.$L)("using");
7641
- var $L215 = (0, import_lib3.$L)("var");
7616
+ var $L175 = (0, import_lib3.$L)("var");
7617
+ var $L176 = (0, import_lib3.$L)("like");
7618
+ var $L177 = (0, import_lib3.$L)("loop");
7619
+ var $L178 = (0, import_lib3.$L)("new");
7620
+ var $L179 = (0, import_lib3.$L)("not");
7621
+ var $L180 = (0, import_lib3.$L)("of");
7622
+ var $L181 = (0, import_lib3.$L)("[");
7623
+ var $L182 = (0, import_lib3.$L)("operator");
7624
+ var $L183 = (0, import_lib3.$L)("override");
7625
+ var $L184 = (0, import_lib3.$L)("own");
7626
+ var $L185 = (0, import_lib3.$L)("public");
7627
+ var $L186 = (0, import_lib3.$L)("private");
7628
+ var $L187 = (0, import_lib3.$L)("protected");
7629
+ var $L188 = (0, import_lib3.$L)("||>");
7630
+ var $L189 = (0, import_lib3.$L)("|\u25B7");
7631
+ var $L190 = (0, import_lib3.$L)("|>=");
7632
+ var $L191 = (0, import_lib3.$L)("\u25B7=");
7633
+ var $L192 = (0, import_lib3.$L)("|>");
7634
+ var $L193 = (0, import_lib3.$L)("\u25B7");
7635
+ var $L194 = (0, import_lib3.$L)("readonly");
7636
+ var $L195 = (0, import_lib3.$L)("return");
7637
+ var $L196 = (0, import_lib3.$L)("satisfies");
7638
+ var $L197 = (0, import_lib3.$L)("'");
7639
+ var $L198 = (0, import_lib3.$L)("static");
7640
+ var $L199 = (0, import_lib3.$L)("${");
7641
+ var $L200 = (0, import_lib3.$L)("super");
7642
+ var $L201 = (0, import_lib3.$L)("switch");
7643
+ var $L202 = (0, import_lib3.$L)("target");
7644
+ var $L203 = (0, import_lib3.$L)("then");
7645
+ var $L204 = (0, import_lib3.$L)("this");
7646
+ var $L205 = (0, import_lib3.$L)("throw");
7647
+ var $L206 = (0, import_lib3.$L)('"""');
7648
+ var $L207 = (0, import_lib3.$L)("'''");
7649
+ var $L208 = (0, import_lib3.$L)("///");
7650
+ var $L209 = (0, import_lib3.$L)("```");
7651
+ var $L210 = (0, import_lib3.$L)("try");
7652
+ var $L211 = (0, import_lib3.$L)("typeof");
7653
+ var $L212 = (0, import_lib3.$L)("undefined");
7654
+ var $L213 = (0, import_lib3.$L)("unless");
7655
+ var $L214 = (0, import_lib3.$L)("until");
7656
+ var $L215 = (0, import_lib3.$L)("using");
7642
7657
  var $L216 = (0, import_lib3.$L)("void");
7643
7658
  var $L217 = (0, import_lib3.$L)("when");
7644
7659
  var $L218 = (0, import_lib3.$L)("while");
@@ -7693,75 +7708,74 @@ var $R27 = (0, import_lib3.$R)(new RegExp("(?!\\+\\+|--)[!~+-](?!\\s)", "suy"));
7693
7708
  var $R28 = (0, import_lib3.$R)(new RegExp("[:.]", "suy"));
7694
7709
  var $R29 = (0, import_lib3.$R)(new RegExp("(?=for|if|loop|unless|until|while)", "suy"));
7695
7710
  var $R30 = (0, import_lib3.$R)(new RegExp("(?=loop|comptime|do|for|until|while)", "suy"));
7696
- var $R31 = (0, import_lib3.$R)(new RegExp("(?=[\\s\\),])", "suy"));
7697
- var $R32 = (0, import_lib3.$R)(new RegExp('[^;"\\s]+', "suy"));
7698
- var $R33 = (0, import_lib3.$R)(new RegExp("(?=[0-9.])", "suy"));
7699
- var $R34 = (0, import_lib3.$R)(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)n", "suy"));
7700
- var $R35 = (0, import_lib3.$R)(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)(?=\\.(?:\\p{ID_Start}|[_$]))", "suy"));
7701
- var $R36 = (0, import_lib3.$R)(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)(?:\\.(?:[0-9](?:_[0-9]|[0-9])*))?", "suy"));
7702
- var $R37 = (0, import_lib3.$R)(new RegExp("(?:\\.[0-9](?:_[0-9]|[0-9])*)", "suy"));
7703
- var $R38 = (0, import_lib3.$R)(new RegExp("(?:[eE][+-]?[0-9]+(?:_[0-9]|[0-9])*)", "suy"));
7704
- var $R39 = (0, import_lib3.$R)(new RegExp("0[bB][01](?:[01]|_[01])*n?", "suy"));
7705
- var $R40 = (0, import_lib3.$R)(new RegExp("0[oO][0-7](?:[0-7]|_[0-7])*n?", "suy"));
7706
- var $R41 = (0, import_lib3.$R)(new RegExp("0[xX][0-9a-fA-F](?:[0-9a-fA-F]|_[0-9a-fA-F])*n?", "suy"));
7707
- var $R42 = (0, import_lib3.$R)(new RegExp("(?=[0-9])", "suy"));
7708
- var $R43 = (0, import_lib3.$R)(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)", "suy"));
7709
- var $R44 = (0, import_lib3.$R)(new RegExp('(?:\\\\.|[^"])*', "suy"));
7710
- var $R45 = (0, import_lib3.$R)(new RegExp("(?:\\\\.|[^'])*", "suy"));
7711
- var $R46 = (0, import_lib3.$R)(new RegExp('(?:"(?!"")|#(?!\\{)|\\\\.|[^#"])+', "suy"));
7712
- var $R47 = (0, import_lib3.$R)(new RegExp("(?:'(?!'')|\\\\.|[^'])*", "suy"));
7713
- var $R48 = (0, import_lib3.$R)(new RegExp('(?:\\\\.|#(?!\\{)|[^"#])+', "suy"));
7714
- var $R49 = (0, import_lib3.$R)(new RegExp("(?:\\\\.|[^\\]])*", "suy"));
7715
- var $R50 = (0, import_lib3.$R)(new RegExp("(?:\\\\.)", "suy"));
7716
- var $R51 = (0, import_lib3.$R)(new RegExp("[\\s]+", "suy"));
7717
- var $R52 = (0, import_lib3.$R)(new RegExp("\\/(?!\\/\\/)", "suy"));
7718
- var $R53 = (0, import_lib3.$R)(new RegExp("[^[\\/\\s#\\\\]+", "suy"));
7719
- var $R54 = (0, import_lib3.$R)(new RegExp("[*\\/\\r\\n]", "suy"));
7720
- var $R55 = (0, import_lib3.$R)(new RegExp("(?:\\\\.|[^[\\/\\r\\n])+", "suy"));
7721
- var $R56 = (0, import_lib3.$R)(new RegExp("(?:\\p{ID_Continue}|[\\u200C\\u200D$])*", "suy"));
7722
- var $R57 = (0, import_lib3.$R)(new RegExp("(?=[`'\"])", "suy"));
7723
- var $R58 = (0, import_lib3.$R)(new RegExp("(?:\\$(?!\\{)|\\\\.|[^$`])+", "suy"));
7724
- var $R59 = (0, import_lib3.$R)(new RegExp("(?:\\$(?!\\{)|`(?!``)|\\\\.|[^$`])+", "suy"));
7725
- var $R60 = (0, import_lib3.$R)(new RegExp("(?:on|off|yes|no)(?!\\p{ID_Continue})", "suy"));
7726
- var $R61 = (0, import_lib3.$R)(new RegExp("(?:isnt)(?!\\p{ID_Continue})", "suy"));
7727
- var $R62 = (0, import_lib3.$R)(new RegExp("(?:by)(?!\\p{ID_Continue})", "suy"));
7728
- var $R63 = (0, import_lib3.$R)(new RegExp("(?:of)(?!\\p{ID_Continue})", "suy"));
7729
- 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"));
7730
- var $R65 = (0, import_lib3.$R)(new RegExp("(?=\\/|#)", "suy"));
7731
- var $R66 = (0, import_lib3.$R)(new RegExp("\\/\\/(?!\\/)[^\\r\\n]*", "suy"));
7732
- var $R67 = (0, import_lib3.$R)(new RegExp(".", "suy"));
7733
- var $R68 = (0, import_lib3.$R)(new RegExp("#(?!##(?!#))([^\\r\\n]*)", "suy"));
7734
- var $R69 = (0, import_lib3.$R)(new RegExp("[^]*?###", "suy"));
7735
- var $R70 = (0, import_lib3.$R)(new RegExp("###(?!#)", "suy"));
7736
- var $R71 = (0, import_lib3.$R)(new RegExp("\\/\\*(?:(?!\\*\\/)[^\\r\\n])*\\*\\/", "suy"));
7737
- var $R72 = (0, import_lib3.$R)(new RegExp("(?=[ \\t\\/\\\\])", "suy"));
7738
- var $R73 = (0, import_lib3.$R)(new RegExp("(?=\\s|\\/|#)", "suy"));
7739
- var $R74 = (0, import_lib3.$R)(new RegExp("(?!\\p{ID_Continue})", "suy"));
7740
- var $R75 = (0, import_lib3.$R)(new RegExp("[=:]", "suy"));
7741
- var $R76 = (0, import_lib3.$R)(new RegExp("['\u2019]s", "suy"));
7742
- var $R77 = (0, import_lib3.$R)(new RegExp("\\s", "suy"));
7743
- var $R78 = (0, import_lib3.$R)(new RegExp("(?=[<])", "suy"));
7744
- var $R79 = (0, import_lib3.$R)(new RegExp("(?:\\p{ID_Start}|[_$])(?:\\p{ID_Continue}|[\\u200C\\u200D$-])*", "suy"));
7745
- var $R80 = (0, import_lib3.$R)(new RegExp("[!+-]", "suy"));
7746
- var $R81 = (0, import_lib3.$R)(new RegExp("[\\s>]|\\/>", "suy"));
7747
- var $R82 = (0, import_lib3.$R)(new RegExp("(?:[\\w\\-:]+|\\([^()]*\\)|\\[[^\\[\\]]*\\])+", "suy"));
7748
- var $R83 = (0, import_lib3.$R)(new RegExp(`"[^"]*"|'[^']*'`, "suy"));
7749
- var $R84 = (0, import_lib3.$R)(new RegExp("[<>]", "suy"));
7750
- var $R85 = (0, import_lib3.$R)(new RegExp("[!~+-](?!\\s|[!~+-]*&)", "suy"));
7751
- var $R86 = (0, import_lib3.$R)(new RegExp("(?:-[^-]|[^-]*)*", "suy"));
7752
- var $R87 = (0, import_lib3.$R)(new RegExp("[^{}<>\\r\\n]+", "suy"));
7753
- var $R88 = (0, import_lib3.$R)(new RegExp("[+-]?", "suy"));
7754
- var $R89 = (0, import_lib3.$R)(new RegExp("(?=if|unless)", "suy"));
7755
- var $R90 = (0, import_lib3.$R)(new RegExp("[|&<!=\\-\u21D2\u2192]", "suy"));
7756
- var $R91 = (0, import_lib3.$R)(new RegExp("(extends|not|is)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
7757
- var $R92 = (0, import_lib3.$R)(new RegExp("#![^\\r\\n]*", "suy"));
7758
- var $R93 = (0, import_lib3.$R)(new RegExp("[\\t ]*", "suy"));
7759
- var $R94 = (0, import_lib3.$R)(new RegExp("[\\s]*", "suy"));
7760
- var $R95 = (0, import_lib3.$R)(new RegExp("\\s+([+-]?)([a-zA-Z0-9-]+)(\\s*=\\s*([a-zA-Z0-9.+-]*))?", "suy"));
7761
- var $R96 = (0, import_lib3.$R)(new RegExp("\\/\\/\\/[^\\r\\n]*", "suy"));
7762
- var $R97 = (0, import_lib3.$R)(new RegExp("(?=[ \\t\\r\\n\\/#]|$)", "suy"));
7763
- var $R98 = (0, import_lib3.$R)(new RegExp("\\r\\n|\\n|\\r|$", "suy"));
7764
- var $R99 = (0, import_lib3.$R)(new RegExp("[^]*", "suy"));
7711
+ var $R31 = (0, import_lib3.$R)(new RegExp('[^;"\\s]+', "suy"));
7712
+ var $R32 = (0, import_lib3.$R)(new RegExp("(?=[0-9.])", "suy"));
7713
+ var $R33 = (0, import_lib3.$R)(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)n", "suy"));
7714
+ var $R34 = (0, import_lib3.$R)(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)(?=\\.(?:\\p{ID_Start}|[_$]))", "suy"));
7715
+ var $R35 = (0, import_lib3.$R)(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)(?:\\.(?:[0-9](?:_[0-9]|[0-9])*))?", "suy"));
7716
+ var $R36 = (0, import_lib3.$R)(new RegExp("(?:\\.[0-9](?:_[0-9]|[0-9])*)", "suy"));
7717
+ var $R37 = (0, import_lib3.$R)(new RegExp("(?:[eE][+-]?[0-9]+(?:_[0-9]|[0-9])*)", "suy"));
7718
+ var $R38 = (0, import_lib3.$R)(new RegExp("0[bB][01](?:[01]|_[01])*n?", "suy"));
7719
+ var $R39 = (0, import_lib3.$R)(new RegExp("0[oO][0-7](?:[0-7]|_[0-7])*n?", "suy"));
7720
+ var $R40 = (0, import_lib3.$R)(new RegExp("0[xX][0-9a-fA-F](?:[0-9a-fA-F]|_[0-9a-fA-F])*n?", "suy"));
7721
+ var $R41 = (0, import_lib3.$R)(new RegExp("(?=[0-9])", "suy"));
7722
+ var $R42 = (0, import_lib3.$R)(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)", "suy"));
7723
+ var $R43 = (0, import_lib3.$R)(new RegExp('(?:\\\\.|[^"])*', "suy"));
7724
+ var $R44 = (0, import_lib3.$R)(new RegExp("(?:\\\\.|[^'])*", "suy"));
7725
+ var $R45 = (0, import_lib3.$R)(new RegExp('(?:"(?!"")|#(?!\\{)|\\\\.|[^#"])+', "suy"));
7726
+ var $R46 = (0, import_lib3.$R)(new RegExp("(?:'(?!'')|\\\\.|[^'])*", "suy"));
7727
+ var $R47 = (0, import_lib3.$R)(new RegExp('(?:\\\\.|#(?!\\{)|[^"#])+', "suy"));
7728
+ var $R48 = (0, import_lib3.$R)(new RegExp("(?:\\\\.|[^\\]])*", "suy"));
7729
+ var $R49 = (0, import_lib3.$R)(new RegExp("(?:\\\\.)", "suy"));
7730
+ var $R50 = (0, import_lib3.$R)(new RegExp("[\\s]+", "suy"));
7731
+ var $R51 = (0, import_lib3.$R)(new RegExp("\\/(?!\\/\\/)", "suy"));
7732
+ var $R52 = (0, import_lib3.$R)(new RegExp("[^[\\/\\s#\\\\]+", "suy"));
7733
+ var $R53 = (0, import_lib3.$R)(new RegExp("[*\\/\\r\\n]", "suy"));
7734
+ var $R54 = (0, import_lib3.$R)(new RegExp("(?:\\\\.|[^[\\/\\r\\n])+", "suy"));
7735
+ var $R55 = (0, import_lib3.$R)(new RegExp("(?:\\p{ID_Continue}|[\\u200C\\u200D$])*", "suy"));
7736
+ var $R56 = (0, import_lib3.$R)(new RegExp("(?=[`'\"])", "suy"));
7737
+ var $R57 = (0, import_lib3.$R)(new RegExp("(?:\\$(?!\\{)|\\\\.|[^$`])+", "suy"));
7738
+ var $R58 = (0, import_lib3.$R)(new RegExp("(?:\\$(?!\\{)|`(?!``)|\\\\.|[^$`])+", "suy"));
7739
+ var $R59 = (0, import_lib3.$R)(new RegExp("(?:on|off|yes|no)(?!\\p{ID_Continue})", "suy"));
7740
+ var $R60 = (0, import_lib3.$R)(new RegExp("(?:isnt)(?!\\p{ID_Continue})", "suy"));
7741
+ var $R61 = (0, import_lib3.$R)(new RegExp("(?:by)(?!\\p{ID_Continue})", "suy"));
7742
+ var $R62 = (0, import_lib3.$R)(new RegExp("(?:of)(?!\\p{ID_Continue})", "suy"));
7743
+ 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"));
7744
+ var $R64 = (0, import_lib3.$R)(new RegExp("(?=\\/|#)", "suy"));
7745
+ var $R65 = (0, import_lib3.$R)(new RegExp("\\/\\/(?!\\/)[^\\r\\n]*", "suy"));
7746
+ var $R66 = (0, import_lib3.$R)(new RegExp(".", "suy"));
7747
+ var $R67 = (0, import_lib3.$R)(new RegExp("#(?!##(?!#))([^\\r\\n]*)", "suy"));
7748
+ var $R68 = (0, import_lib3.$R)(new RegExp("[^]*?###", "suy"));
7749
+ var $R69 = (0, import_lib3.$R)(new RegExp("###(?!#)", "suy"));
7750
+ var $R70 = (0, import_lib3.$R)(new RegExp("\\/\\*(?:(?!\\*\\/)[^\\r\\n])*\\*\\/", "suy"));
7751
+ var $R71 = (0, import_lib3.$R)(new RegExp("(?=[ \\t\\/\\\\])", "suy"));
7752
+ var $R72 = (0, import_lib3.$R)(new RegExp("(?=\\s|\\/|#)", "suy"));
7753
+ var $R73 = (0, import_lib3.$R)(new RegExp("(?!\\p{ID_Continue})", "suy"));
7754
+ var $R74 = (0, import_lib3.$R)(new RegExp("[=:]", "suy"));
7755
+ var $R75 = (0, import_lib3.$R)(new RegExp("['\u2019]s", "suy"));
7756
+ var $R76 = (0, import_lib3.$R)(new RegExp("\\s", "suy"));
7757
+ var $R77 = (0, import_lib3.$R)(new RegExp("(?=[<])", "suy"));
7758
+ var $R78 = (0, import_lib3.$R)(new RegExp("(?:\\p{ID_Start}|[_$])(?:\\p{ID_Continue}|[\\u200C\\u200D$-])*", "suy"));
7759
+ var $R79 = (0, import_lib3.$R)(new RegExp("[!+-]", "suy"));
7760
+ var $R80 = (0, import_lib3.$R)(new RegExp("[\\s>]|\\/>", "suy"));
7761
+ var $R81 = (0, import_lib3.$R)(new RegExp("(?:[\\w\\-:]+|\\([^()]*\\)|\\[[^\\[\\]]*\\])+", "suy"));
7762
+ var $R82 = (0, import_lib3.$R)(new RegExp(`"[^"]*"|'[^']*'`, "suy"));
7763
+ var $R83 = (0, import_lib3.$R)(new RegExp("[<>]", "suy"));
7764
+ var $R84 = (0, import_lib3.$R)(new RegExp("[!~+-](?!\\s|[!~+-]*&)", "suy"));
7765
+ var $R85 = (0, import_lib3.$R)(new RegExp("(?:-[^-]|[^-]*)*", "suy"));
7766
+ var $R86 = (0, import_lib3.$R)(new RegExp("[^{}<>\\r\\n]+", "suy"));
7767
+ var $R87 = (0, import_lib3.$R)(new RegExp("[+-]?", "suy"));
7768
+ var $R88 = (0, import_lib3.$R)(new RegExp("(?=if|unless)", "suy"));
7769
+ var $R89 = (0, import_lib3.$R)(new RegExp("[|&<!=\\-\u21D2\u2192]", "suy"));
7770
+ var $R90 = (0, import_lib3.$R)(new RegExp("(extends|not|is)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
7771
+ var $R91 = (0, import_lib3.$R)(new RegExp("#![^\\r\\n]*", "suy"));
7772
+ var $R92 = (0, import_lib3.$R)(new RegExp("[\\t ]*", "suy"));
7773
+ var $R93 = (0, import_lib3.$R)(new RegExp("[\\s]*", "suy"));
7774
+ var $R94 = (0, import_lib3.$R)(new RegExp("\\s+([+-]?)([a-zA-Z0-9-]+)(\\s*=\\s*([a-zA-Z0-9.+-]*))?", "suy"));
7775
+ var $R95 = (0, import_lib3.$R)(new RegExp("\\/\\/\\/[^\\r\\n]*", "suy"));
7776
+ var $R96 = (0, import_lib3.$R)(new RegExp("(?=[ \\t\\r\\n\\/#]|$)", "suy"));
7777
+ var $R97 = (0, import_lib3.$R)(new RegExp("\\r\\n|\\n|\\r|$", "suy"));
7778
+ var $R98 = (0, import_lib3.$R)(new RegExp("[^]*", "suy"));
7765
7779
  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) {
7766
7780
  var reset = $1;
7767
7781
  var init = $2;
@@ -9588,17 +9602,24 @@ var Parameters$$ = [Parameters$0, Parameters$1];
9588
9602
  function Parameters(ctx, state2) {
9589
9603
  return (0, import_lib3.$EVENT_C)(ctx, state2, "Parameters", Parameters$$);
9590
9604
  }
9591
- var ShortArrowParameters$0 = ObjectBindingPattern;
9592
- var ShortArrowParameters$1 = ArrayBindingPattern;
9593
- var ShortArrowParameters$$ = [ShortArrowParameters$0, ShortArrowParameters$1];
9605
+ var ShortArrowParameters$0 = (0, import_lib3.$TV)((0, import_lib3.$C)(ObjectBindingPattern, ArrayBindingPattern), function($skip, $loc, $0, $1) {
9606
+ var binding = $0;
9607
+ const { typeSuffix } = binding;
9608
+ return {
9609
+ type: "Parameter",
9610
+ children: [binding, typeSuffix],
9611
+ names: binding.names,
9612
+ typeSuffix
9613
+ };
9614
+ });
9594
9615
  function ShortArrowParameters(ctx, state2) {
9595
- return (0, import_lib3.$EVENT_C)(ctx, state2, "ShortArrowParameters", ShortArrowParameters$$);
9616
+ return (0, import_lib3.$EVENT)(ctx, state2, "ShortArrowParameters", ShortArrowParameters$0);
9596
9617
  }
9597
9618
  var ArrowParameters$0 = (0, import_lib3.$TS)((0, import_lib3.$S)(ShortArrowParameters), function($skip, $loc, $0, $1) {
9598
9619
  return {
9599
9620
  type: "Parameters",
9600
- children: ["(", $0, ")"],
9601
- names: $0.names
9621
+ children: ["(", $1, ")"],
9622
+ names: $1.names
9602
9623
  };
9603
9624
  });
9604
9625
  var ArrowParameters$1 = Parameters;
@@ -13122,23 +13143,13 @@ var ForRangeParameters$$ = [ForRangeParameters$0, ForRangeParameters$1];
13122
13143
  function ForRangeParameters(ctx, state2) {
13123
13144
  return (0, import_lib3.$EVENT_C)(ctx, state2, "ForRangeParameters", ForRangeParameters$$);
13124
13145
  }
13125
- var ForInOfDeclaration$0 = (0, import_lib3.$TS)((0, import_lib3.$S)(Var, ForBinding), function($skip, $loc, $0, $1, $2) {
13126
- var binding = $2;
13127
- return {
13128
- type: "ForDeclaration",
13129
- children: $0,
13130
- declare: $1,
13131
- binding,
13132
- names: binding.names
13133
- };
13134
- });
13135
- var ForInOfDeclaration$1 = ForDeclaration;
13136
- var ForInOfDeclaration$2 = LeftHandSideExpression;
13137
- var ForInOfDeclaration$$ = [ForInOfDeclaration$0, ForInOfDeclaration$1, ForInOfDeclaration$2];
13146
+ var ForInOfDeclaration$0 = ForDeclaration;
13147
+ var ForInOfDeclaration$1 = LeftHandSideExpression;
13148
+ var ForInOfDeclaration$$ = [ForInOfDeclaration$0, ForInOfDeclaration$1];
13138
13149
  function ForInOfDeclaration(ctx, state2) {
13139
13150
  return (0, import_lib3.$EVENT_C)(ctx, state2, "ForInOfDeclaration", ForInOfDeclaration$$);
13140
13151
  }
13141
- var ForDeclaration$0 = (0, import_lib3.$TS)((0, import_lib3.$S)(LetOrConst, ForBinding), function($skip, $loc, $0, $1, $2) {
13152
+ var ForDeclaration$0 = (0, import_lib3.$TS)((0, import_lib3.$S)(LetOrConstOrVar, ForBinding), function($skip, $loc, $0, $1, $2) {
13142
13153
  var c = $1;
13143
13154
  var binding = $2;
13144
13155
  return {
@@ -13149,9 +13160,9 @@ var ForDeclaration$0 = (0, import_lib3.$TS)((0, import_lib3.$S)(LetOrConst, ForB
13149
13160
  names: binding.names
13150
13161
  };
13151
13162
  });
13152
- 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) {
13163
+ 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) {
13153
13164
  var c = $1;
13154
- var binding = $2;
13165
+ var binding = $3;
13155
13166
  return {
13156
13167
  type: "ForDeclaration",
13157
13168
  children: [c, binding],
@@ -13164,11 +13175,22 @@ var ForDeclaration$$ = [ForDeclaration$0, ForDeclaration$1];
13164
13175
  function ForDeclaration(ctx, state2) {
13165
13176
  return (0, import_lib3.$EVENT_C)(ctx, state2, "ForDeclaration", ForDeclaration$$);
13166
13177
  }
13167
- var ForBinding$0 = BindingIdentifier;
13168
- var ForBinding$1 = BindingPattern;
13169
- var ForBinding$$ = [ForBinding$0, ForBinding$1];
13178
+ 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) {
13179
+ var pattern = $1;
13180
+ var suffix = $2;
13181
+ suffix ??= pattern.typeSuffix;
13182
+ return {
13183
+ type: "Binding",
13184
+ children: [pattern, suffix],
13185
+ names: pattern.names,
13186
+ pattern,
13187
+ suffix,
13188
+ splices: [],
13189
+ thisAssignments: []
13190
+ };
13191
+ });
13170
13192
  function ForBinding(ctx, state2) {
13171
- return (0, import_lib3.$EVENT_C)(ctx, state2, "ForBinding", ForBinding$$);
13193
+ return (0, import_lib3.$EVENT)(ctx, state2, "ForBinding", ForBinding$0);
13172
13194
  }
13173
13195
  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) {
13174
13196
  var condition = $2;
@@ -14099,7 +14121,7 @@ var UnprocessedModuleSpecifier$$ = [UnprocessedModuleSpecifier$0, UnprocessedMod
14099
14121
  function UnprocessedModuleSpecifier(ctx, state2) {
14100
14122
  return (0, import_lib3.$EVENT_C)(ctx, state2, "UnprocessedModuleSpecifier", UnprocessedModuleSpecifier$$);
14101
14123
  }
14102
- var UnquotedSpecifier$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($R32, 'UnquotedSpecifier /[^;"\\s]+/'), function($skip, $loc, $0, $1) {
14124
+ var UnquotedSpecifier$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($R31, 'UnquotedSpecifier /[^;"\\s]+/'), function($skip, $loc, $0, $1) {
14103
14125
  var spec = $0;
14104
14126
  return { $loc, token: `"${spec}"` };
14105
14127
  });
@@ -14358,7 +14380,7 @@ var VariableDeclarationList$0 = (0, import_lib3.$TS)((0, import_lib3.$S)(Lexical
14358
14380
  function VariableDeclarationList(ctx, state2) {
14359
14381
  return (0, import_lib3.$EVENT)(ctx, state2, "VariableDeclarationList", VariableDeclarationList$0);
14360
14382
  }
14361
- 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) {
14383
+ 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) {
14362
14384
  var token = $2;
14363
14385
  return { type: "NumericLiteral", $loc, token };
14364
14386
  });
@@ -14374,36 +14396,36 @@ var NumericLiteralKind$$ = [NumericLiteralKind$0, NumericLiteralKind$1, NumericL
14374
14396
  function NumericLiteralKind(ctx, state2) {
14375
14397
  return (0, import_lib3.$EVENT_C)(ctx, state2, "NumericLiteralKind", NumericLiteralKind$$);
14376
14398
  }
14377
- var DecimalBigIntegerLiteral$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R34, "DecimalBigIntegerLiteral /(?:0|[1-9](?:_[0-9]|[0-9])*)n/"));
14399
+ var DecimalBigIntegerLiteral$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R33, "DecimalBigIntegerLiteral /(?:0|[1-9](?:_[0-9]|[0-9])*)n/"));
14378
14400
  function DecimalBigIntegerLiteral(ctx, state2) {
14379
14401
  return (0, import_lib3.$EVENT)(ctx, state2, "DecimalBigIntegerLiteral", DecimalBigIntegerLiteral$0);
14380
14402
  }
14381
- 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) {
14403
+ 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) {
14382
14404
  return $1 + ".";
14383
14405
  });
14384
- 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)));
14385
- 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)));
14406
+ 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)));
14407
+ 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)));
14386
14408
  var DecimalLiteral$$ = [DecimalLiteral$0, DecimalLiteral$1, DecimalLiteral$2];
14387
14409
  function DecimalLiteral(ctx, state2) {
14388
14410
  return (0, import_lib3.$EVENT_C)(ctx, state2, "DecimalLiteral", DecimalLiteral$$);
14389
14411
  }
14390
- var ExponentPart$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R38, "ExponentPart /(?:[eE][+-]?[0-9]+(?:_[0-9]|[0-9])*)/"));
14412
+ var ExponentPart$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R37, "ExponentPart /(?:[eE][+-]?[0-9]+(?:_[0-9]|[0-9])*)/"));
14391
14413
  function ExponentPart(ctx, state2) {
14392
14414
  return (0, import_lib3.$EVENT)(ctx, state2, "ExponentPart", ExponentPart$0);
14393
14415
  }
14394
- var BinaryIntegerLiteral$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R39, "BinaryIntegerLiteral /0[bB][01](?:[01]|_[01])*n?/"));
14416
+ var BinaryIntegerLiteral$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R38, "BinaryIntegerLiteral /0[bB][01](?:[01]|_[01])*n?/"));
14395
14417
  function BinaryIntegerLiteral(ctx, state2) {
14396
14418
  return (0, import_lib3.$EVENT)(ctx, state2, "BinaryIntegerLiteral", BinaryIntegerLiteral$0);
14397
14419
  }
14398
- var OctalIntegerLiteral$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R40, "OctalIntegerLiteral /0[oO][0-7](?:[0-7]|_[0-7])*n?/"));
14420
+ var OctalIntegerLiteral$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R39, "OctalIntegerLiteral /0[oO][0-7](?:[0-7]|_[0-7])*n?/"));
14399
14421
  function OctalIntegerLiteral(ctx, state2) {
14400
14422
  return (0, import_lib3.$EVENT)(ctx, state2, "OctalIntegerLiteral", OctalIntegerLiteral$0);
14401
14423
  }
14402
- 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?/"));
14424
+ 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?/"));
14403
14425
  function HexIntegerLiteral(ctx, state2) {
14404
14426
  return (0, import_lib3.$EVENT)(ctx, state2, "HexIntegerLiteral", HexIntegerLiteral$0);
14405
14427
  }
14406
- 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) {
14428
+ 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) {
14407
14429
  var token = $2;
14408
14430
  return { $loc, token };
14409
14431
  });
@@ -14419,7 +14441,7 @@ var IntegerLiteralKind$$ = [IntegerLiteralKind$0, IntegerLiteralKind$1, IntegerL
14419
14441
  function IntegerLiteralKind(ctx, state2) {
14420
14442
  return (0, import_lib3.$EVENT_C)(ctx, state2, "IntegerLiteralKind", IntegerLiteralKind$$);
14421
14443
  }
14422
- var DecimalIntegerLiteral$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R43, "DecimalIntegerLiteral /(?:0|[1-9](?:_[0-9]|[0-9])*)/"));
14444
+ var DecimalIntegerLiteral$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R42, "DecimalIntegerLiteral /(?:0|[1-9](?:_[0-9]|[0-9])*)/"));
14423
14445
  function DecimalIntegerLiteral(ctx, state2) {
14424
14446
  return (0, import_lib3.$EVENT)(ctx, state2, "DecimalIntegerLiteral", DecimalIntegerLiteral$0);
14425
14447
  }
@@ -14443,25 +14465,25 @@ var StringLiteral$$ = [StringLiteral$0, StringLiteral$1];
14443
14465
  function StringLiteral(ctx, state2) {
14444
14466
  return (0, import_lib3.$EVENT_C)(ctx, state2, "StringLiteral", StringLiteral$$);
14445
14467
  }
14446
- 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) {
14468
+ 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) {
14447
14469
  return { $loc, token: $0 };
14448
14470
  });
14449
14471
  function DoubleStringCharacters(ctx, state2) {
14450
14472
  return (0, import_lib3.$EVENT)(ctx, state2, "DoubleStringCharacters", DoubleStringCharacters$0);
14451
14473
  }
14452
- 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) {
14474
+ 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) {
14453
14475
  return { $loc, token: $0 };
14454
14476
  });
14455
14477
  function SingleStringCharacters(ctx, state2) {
14456
14478
  return (0, import_lib3.$EVENT)(ctx, state2, "SingleStringCharacters", SingleStringCharacters$0);
14457
14479
  }
14458
- 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) {
14480
+ 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) {
14459
14481
  return { $loc, token: $0 };
14460
14482
  });
14461
14483
  function TripleDoubleStringCharacters(ctx, state2) {
14462
14484
  return (0, import_lib3.$EVENT)(ctx, state2, "TripleDoubleStringCharacters", TripleDoubleStringCharacters$0);
14463
14485
  }
14464
- 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) {
14486
+ 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) {
14465
14487
  return { $loc, token: $0 };
14466
14488
  });
14467
14489
  function TripleSingleStringCharacters(ctx, state2) {
@@ -14484,7 +14506,7 @@ var CoffeeInterpolatedDoubleQuotedString$0 = (0, import_lib3.$TS)((0, import_lib
14484
14506
  function CoffeeInterpolatedDoubleQuotedString(ctx, state2) {
14485
14507
  return (0, import_lib3.$EVENT)(ctx, state2, "CoffeeInterpolatedDoubleQuotedString", CoffeeInterpolatedDoubleQuotedString$0);
14486
14508
  }
14487
- 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) {
14509
+ 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) {
14488
14510
  return { $loc, token: $0 };
14489
14511
  });
14490
14512
  function CoffeeDoubleQuotedStringCharacters(ctx, state2) {
@@ -14504,7 +14526,7 @@ var RegularExpressionClass$0 = (0, import_lib3.$TV)((0, import_lib3.$TEXT)((0, i
14504
14526
  function RegularExpressionClass(ctx, state2) {
14505
14527
  return (0, import_lib3.$EVENT)(ctx, state2, "RegularExpressionClass", RegularExpressionClass$0);
14506
14528
  }
14507
- 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) {
14529
+ 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) {
14508
14530
  return { $loc, token: $0 };
14509
14531
  });
14510
14532
  function RegularExpressionClassCharacters(ctx, state2) {
@@ -14561,7 +14583,7 @@ var HeregexPart$1 = (0, import_lib3.$T)((0, import_lib3.$S)(CoffeeStringSubstitu
14561
14583
  var HeregexPart$2 = (0, import_lib3.$T)((0, import_lib3.$S)(TemplateSubstitution), function(value) {
14562
14584
  return { "type": "Substitution", "children": value[0] };
14563
14585
  });
14564
- 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) {
14586
+ 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) {
14565
14587
  let token = $0;
14566
14588
  switch ($0[1]) {
14567
14589
  case "\n":
@@ -14579,13 +14601,13 @@ var HeregexPart$3 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R50, "Heregex
14579
14601
  var HeregexPart$4 = (0, import_lib3.$TS)((0, import_lib3.$S)(HeregexComment), function($skip, $loc, $0, $1) {
14580
14602
  return { $loc, token: "" };
14581
14603
  });
14582
- 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) {
14604
+ 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) {
14583
14605
  return { $loc, token: "" };
14584
14606
  });
14585
- 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) {
14607
+ 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) {
14586
14608
  return { $loc, token: "\\/" };
14587
14609
  });
14588
- 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) {
14610
+ 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) {
14589
14611
  return { $loc, token: $0 };
14590
14612
  });
14591
14613
  var HeregexPart$$ = [HeregexPart$0, HeregexPart$1, HeregexPart$2, HeregexPart$3, HeregexPart$4, HeregexPart$5, HeregexPart$6, HeregexPart$7];
@@ -14598,7 +14620,7 @@ var HeregexComment$$ = [HeregexComment$0, HeregexComment$1];
14598
14620
  function HeregexComment(ctx, state2) {
14599
14621
  return (0, import_lib3.$EVENT_C)(ctx, state2, "HeregexComment", HeregexComment$$);
14600
14622
  }
14601
- 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));
14623
+ 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));
14602
14624
  function RegularExpressionBody(ctx, state2) {
14603
14625
  return (0, import_lib3.$EVENT)(ctx, state2, "RegularExpressionBody", RegularExpressionBody$0);
14604
14626
  }
@@ -14608,15 +14630,15 @@ var RegExpPart$$ = [RegExpPart$0, RegExpPart$1];
14608
14630
  function RegExpPart(ctx, state2) {
14609
14631
  return (0, import_lib3.$EVENT_C)(ctx, state2, "RegExpPart", RegExpPart$$);
14610
14632
  }
14611
- var RegExpCharacter$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R55, "RegExpCharacter /(?:\\\\.|[^[\\/\\r\\n])+/"));
14633
+ var RegExpCharacter$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R54, "RegExpCharacter /(?:\\\\.|[^[\\/\\r\\n])+/"));
14612
14634
  function RegExpCharacter(ctx, state2) {
14613
14635
  return (0, import_lib3.$EVENT)(ctx, state2, "RegExpCharacter", RegExpCharacter$0);
14614
14636
  }
14615
- var RegularExpressionFlags$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R56, "RegularExpressionFlags /(?:\\p{ID_Continue}|[\\u200C\\u200D$])*/"));
14637
+ var RegularExpressionFlags$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R55, "RegularExpressionFlags /(?:\\p{ID_Continue}|[\\u200C\\u200D$])*/"));
14616
14638
  function RegularExpressionFlags(ctx, state2) {
14617
14639
  return (0, import_lib3.$EVENT)(ctx, state2, "RegularExpressionFlags", RegularExpressionFlags$0);
14618
14640
  }
14619
- var TemplateLiteral$0 = (0, import_lib3.$T)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($R57, "TemplateLiteral /(?=[`'\"])/"), _TemplateLiteral), function(value) {
14641
+ var TemplateLiteral$0 = (0, import_lib3.$T)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($R56, "TemplateLiteral /(?=[`'\"])/"), _TemplateLiteral), function(value) {
14620
14642
  return value[1];
14621
14643
  });
14622
14644
  function TemplateLiteral(ctx, state2) {
@@ -14656,28 +14678,28 @@ var TemplateSubstitution$0 = (0, import_lib3.$TS)((0, import_lib3.$S)(Substituti
14656
14678
  function TemplateSubstitution(ctx, state2) {
14657
14679
  return (0, import_lib3.$EVENT)(ctx, state2, "TemplateSubstitution", TemplateSubstitution$0);
14658
14680
  }
14659
- 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) {
14681
+ 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) {
14660
14682
  return { $loc, token: $0 };
14661
14683
  });
14662
14684
  function TemplateCharacters(ctx, state2) {
14663
14685
  return (0, import_lib3.$EVENT)(ctx, state2, "TemplateCharacters", TemplateCharacters$0);
14664
14686
  }
14665
- 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) {
14687
+ 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) {
14666
14688
  return { $loc, token: $0 };
14667
14689
  });
14668
14690
  function TemplateBlockCharacters(ctx, state2) {
14669
14691
  return (0, import_lib3.$EVENT)(ctx, state2, "TemplateBlockCharacters", TemplateBlockCharacters$0);
14670
14692
  }
14671
- 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);
14672
- var ReservedWord$1 = (0, import_lib3.$S)((0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R61, "ReservedWord /(?:isnt)(?!\\p{ID_Continue})/")), CoffeeIsntEnabled);
14673
- var ReservedWord$2 = (0, import_lib3.$S)((0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R62, "ReservedWord /(?:by)(?!\\p{ID_Continue})/")), CoffeeForLoopsEnabled);
14674
- var ReservedWord$3 = (0, import_lib3.$S)((0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R63, "ReservedWord /(?:of)(?!\\p{ID_Continue})/")), CoffeeOfEnabled);
14675
- 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})/"));
14693
+ 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);
14694
+ var ReservedWord$1 = (0, import_lib3.$S)((0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R60, "ReservedWord /(?:isnt)(?!\\p{ID_Continue})/")), CoffeeIsntEnabled);
14695
+ var ReservedWord$2 = (0, import_lib3.$S)((0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R61, "ReservedWord /(?:by)(?!\\p{ID_Continue})/")), CoffeeForLoopsEnabled);
14696
+ var ReservedWord$3 = (0, import_lib3.$S)((0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R62, "ReservedWord /(?:of)(?!\\p{ID_Continue})/")), CoffeeOfEnabled);
14697
+ 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})/"));
14676
14698
  var ReservedWord$$ = [ReservedWord$0, ReservedWord$1, ReservedWord$2, ReservedWord$3, ReservedWord$4];
14677
14699
  function ReservedWord(ctx, state2) {
14678
14700
  return (0, import_lib3.$EVENT_C)(ctx, state2, "ReservedWord", ReservedWord$$);
14679
14701
  }
14680
- var Comment$0 = (0, import_lib3.$T)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($R65, "Comment /(?=\\/|#)/"), _Comment), function(value) {
14702
+ var Comment$0 = (0, import_lib3.$T)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($R64, "Comment /(?=\\/|#)/"), _Comment), function(value) {
14681
14703
  return value[1];
14682
14704
  });
14683
14705
  function Comment(ctx, state2) {
@@ -14695,7 +14717,7 @@ var SingleLineComment$$ = [SingleLineComment$0, SingleLineComment$1];
14695
14717
  function SingleLineComment(ctx, state2) {
14696
14718
  return (0, import_lib3.$EVENT_C)(ctx, state2, "SingleLineComment", SingleLineComment$$);
14697
14719
  }
14698
- 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) {
14720
+ 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) {
14699
14721
  return { type: "Comment", $loc, token: $0 };
14700
14722
  });
14701
14723
  function JSSingleLineComment(ctx, state2) {
@@ -14707,30 +14729,30 @@ var MultiLineComment$$ = [MultiLineComment$0, MultiLineComment$1];
14707
14729
  function MultiLineComment(ctx, state2) {
14708
14730
  return (0, import_lib3.$EVENT_C)(ctx, state2, "MultiLineComment", MultiLineComment$$);
14709
14731
  }
14710
- 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) {
14732
+ 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) {
14711
14733
  return { type: "Comment", $loc, token: $1 };
14712
14734
  });
14713
14735
  function JSMultiLineComment(ctx, state2) {
14714
14736
  return (0, import_lib3.$EVENT)(ctx, state2, "JSMultiLineComment", JSMultiLineComment$0);
14715
14737
  }
14716
- 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) {
14738
+ 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) {
14717
14739
  return { type: "Comment", $loc, token: `//${$1}` };
14718
14740
  });
14719
14741
  function CoffeeSingleLineComment(ctx, state2) {
14720
14742
  return (0, import_lib3.$EVENT)(ctx, state2, "CoffeeSingleLineComment", CoffeeSingleLineComment$0);
14721
14743
  }
14722
- 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) {
14744
+ 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) {
14723
14745
  $2 = $2.slice(0, $2.length - 3).replace(/\*\//g, "* /");
14724
14746
  return { type: "Comment", $loc, token: `/*${$2}*/` };
14725
14747
  });
14726
14748
  function CoffeeMultiLineComment(ctx, state2) {
14727
14749
  return (0, import_lib3.$EVENT)(ctx, state2, "CoffeeMultiLineComment", CoffeeMultiLineComment$0);
14728
14750
  }
14729
- var CoffeeHereCommentStart$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R70, "CoffeeHereCommentStart /###(?!#)/"));
14751
+ var CoffeeHereCommentStart$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R69, "CoffeeHereCommentStart /###(?!#)/"));
14730
14752
  function CoffeeHereCommentStart(ctx, state2) {
14731
14753
  return (0, import_lib3.$EVENT)(ctx, state2, "CoffeeHereCommentStart", CoffeeHereCommentStart$0);
14732
14754
  }
14733
- 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) {
14755
+ 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) {
14734
14756
  return { $loc, token: $0 };
14735
14757
  });
14736
14758
  function InlineComment(ctx, state2) {
@@ -14744,7 +14766,7 @@ var TrailingComment$0 = (0, import_lib3.$S)((0, import_lib3.$E)(_), (0, import_l
14744
14766
  function TrailingComment(ctx, state2) {
14745
14767
  return (0, import_lib3.$EVENT)(ctx, state2, "TrailingComment", TrailingComment$0);
14746
14768
  }
14747
- 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) {
14769
+ 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) {
14748
14770
  return value[1];
14749
14771
  });
14750
14772
  function _(ctx, state2) {
@@ -14767,7 +14789,7 @@ var Trimmed_$0 = (0, import_lib3.$TV)(_, function($skip, $loc, $0, $1) {
14767
14789
  function Trimmed_(ctx, state2) {
14768
14790
  return (0, import_lib3.$EVENT)(ctx, state2, "Trimmed_", Trimmed_$0);
14769
14791
  }
14770
- 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) {
14792
+ 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) {
14771
14793
  return value[1];
14772
14794
  });
14773
14795
  var __$1 = (0, import_lib3.$EXPECT)($L0, '__ ""');
@@ -14775,7 +14797,7 @@ var __$$ = [__$0, __$1];
14775
14797
  function __(ctx, state2) {
14776
14798
  return (0, import_lib3.$EVENT_C)(ctx, state2, "__", __$$);
14777
14799
  }
14778
- 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) {
14800
+ 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) {
14779
14801
  return { $loc, token: $0 };
14780
14802
  });
14781
14803
  function Whitespace(ctx, state2) {
@@ -14813,7 +14835,7 @@ var SemicolonDelimiter$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_l
14813
14835
  function SemicolonDelimiter(ctx, state2) {
14814
14836
  return (0, import_lib3.$EVENT)(ctx, state2, "SemicolonDelimiter", SemicolonDelimiter$0);
14815
14837
  }
14816
- var NonIdContinue$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R74, "NonIdContinue /(?!\\p{ID_Continue})/"));
14838
+ var NonIdContinue$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R73, "NonIdContinue /(?!\\p{ID_Continue})/"));
14817
14839
  function NonIdContinue(ctx, state2) {
14818
14840
  return (0, import_lib3.$EVENT)(ctx, state2, "NonIdContinue", NonIdContinue$0);
14819
14841
  }
@@ -14931,7 +14953,7 @@ var CoffeeSubstitutionStart$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L
14931
14953
  function CoffeeSubstitutionStart(ctx, state2) {
14932
14954
  return (0, import_lib3.$EVENT)(ctx, state2, "CoffeeSubstitutionStart", CoffeeSubstitutionStart$0);
14933
14955
  }
14934
- 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) {
14956
+ 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) {
14935
14957
  return { $loc, token: $1 };
14936
14958
  });
14937
14959
  function Colon(ctx, state2) {
@@ -14982,7 +15004,7 @@ function Do(ctx, state2) {
14982
15004
  var Dot$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L7, 'Dot "."'), function($skip, $loc, $0, $1) {
14983
15005
  return { $loc, token: $1 };
14984
15006
  });
14985
- 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) {
15007
+ 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) {
14986
15008
  var ws = $2;
14987
15009
  return [
14988
15010
  { $loc, token: "." },
@@ -15109,7 +15131,7 @@ var If$0 = (0, import_lib3.$TV)((0, import_lib3.$TEXT)((0, import_lib3.$S)((0, i
15109
15131
  function If(ctx, state2) {
15110
15132
  return (0, import_lib3.$EVENT)(ctx, state2, "If", If$0);
15111
15133
  }
15112
- 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) {
15134
+ 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) {
15113
15135
  return { $loc, token: $1 };
15114
15136
  });
15115
15137
  function Import(ctx, state2) {
@@ -15145,37 +15167,37 @@ var Is$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($L1
15145
15167
  function Is(ctx, state2) {
15146
15168
  return (0, import_lib3.$EVENT)(ctx, state2, "Is", Is$0);
15147
15169
  }
15148
- var LetOrConstOrVar$0 = LetOrConst;
15149
- var LetOrConstOrVar$1 = Var;
15150
- var LetOrConstOrVar$$ = [LetOrConstOrVar$0, LetOrConstOrVar$1];
15170
+ 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) {
15171
+ return { $loc, token: $1 };
15172
+ });
15151
15173
  function LetOrConstOrVar(ctx, state2) {
15152
- return (0, import_lib3.$EVENT_C)(ctx, state2, "LetOrConstOrVar", LetOrConstOrVar$$);
15174
+ return (0, import_lib3.$EVENT)(ctx, state2, "LetOrConstOrVar", LetOrConstOrVar$0);
15153
15175
  }
15154
- 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) {
15176
+ 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) {
15155
15177
  return { $loc, token: $1 };
15156
15178
  });
15157
15179
  function Like(ctx, state2) {
15158
15180
  return (0, import_lib3.$EVENT)(ctx, state2, "Like", Like$0);
15159
15181
  }
15160
- 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) {
15182
+ 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) {
15161
15183
  return { $loc, token: "while" };
15162
15184
  });
15163
15185
  function Loop(ctx, state2) {
15164
15186
  return (0, import_lib3.$EVENT)(ctx, state2, "Loop", Loop$0);
15165
15187
  }
15166
- 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) {
15188
+ 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) {
15167
15189
  return { $loc, token: $1 };
15168
15190
  });
15169
15191
  function New(ctx, state2) {
15170
15192
  return (0, import_lib3.$EVENT)(ctx, state2, "New", New$0);
15171
15193
  }
15172
- 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) {
15194
+ 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) {
15173
15195
  return { $loc, token: "!" };
15174
15196
  });
15175
15197
  function Not(ctx, state2) {
15176
15198
  return (0, import_lib3.$EVENT)(ctx, state2, "Not", Not$0);
15177
15199
  }
15178
- 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) {
15200
+ 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) {
15179
15201
  return { $loc, token: $1 };
15180
15202
  });
15181
15203
  function Of(ctx, state2) {
@@ -15193,7 +15215,7 @@ var OpenBrace$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L1, 'OpenBrace
15193
15215
  function OpenBrace(ctx, state2) {
15194
15216
  return (0, import_lib3.$EVENT)(ctx, state2, "OpenBrace", OpenBrace$0);
15195
15217
  }
15196
- var OpenBracket$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L180, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
15218
+ var OpenBracket$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L181, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
15197
15219
  return { $loc, token: $1 };
15198
15220
  });
15199
15221
  function OpenBracket(ctx, state2) {
@@ -15205,49 +15227,49 @@ var OpenParen$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L4, 'OpenParen
15205
15227
  function OpenParen(ctx, state2) {
15206
15228
  return (0, import_lib3.$EVENT)(ctx, state2, "OpenParen", OpenParen$0);
15207
15229
  }
15208
- 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) {
15230
+ 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) {
15209
15231
  return { $loc, token: $1 };
15210
15232
  });
15211
15233
  function Operator(ctx, state2) {
15212
15234
  return (0, import_lib3.$EVENT)(ctx, state2, "Operator", Operator$0);
15213
15235
  }
15214
- 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) {
15236
+ 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) {
15215
15237
  return { $loc, token: $1, ts: true };
15216
15238
  });
15217
15239
  function Override(ctx, state2) {
15218
15240
  return (0, import_lib3.$EVENT)(ctx, state2, "Override", Override$0);
15219
15241
  }
15220
- 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) {
15242
+ 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) {
15221
15243
  return { $loc, token: $1 };
15222
15244
  });
15223
15245
  function Own(ctx, state2) {
15224
15246
  return (0, import_lib3.$EVENT)(ctx, state2, "Own", Own$0);
15225
15247
  }
15226
- 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) {
15248
+ 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) {
15227
15249
  return { $loc, token: $1 };
15228
15250
  });
15229
15251
  function Public(ctx, state2) {
15230
15252
  return (0, import_lib3.$EVENT)(ctx, state2, "Public", Public$0);
15231
15253
  }
15232
- 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) {
15254
+ 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) {
15233
15255
  return { $loc, token: $1 };
15234
15256
  });
15235
15257
  function Private(ctx, state2) {
15236
15258
  return (0, import_lib3.$EVENT)(ctx, state2, "Private", Private$0);
15237
15259
  }
15238
- 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) {
15260
+ 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) {
15239
15261
  return { $loc, token: $1 };
15240
15262
  });
15241
15263
  function Protected(ctx, state2) {
15242
15264
  return (0, import_lib3.$EVENT)(ctx, state2, "Protected", Protected$0);
15243
15265
  }
15244
- 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) {
15266
+ 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) {
15245
15267
  return { $loc, token: "||>" };
15246
15268
  });
15247
- 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) {
15269
+ 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) {
15248
15270
  return { $loc, token: "|>=" };
15249
15271
  });
15250
- 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) {
15272
+ 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) {
15251
15273
  return { $loc, token: "|>" };
15252
15274
  });
15253
15275
  var Pipe$$ = [Pipe$0, Pipe$1, Pipe$2];
@@ -15260,19 +15282,19 @@ var QuestionMark$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L6, 'Questio
15260
15282
  function QuestionMark(ctx, state2) {
15261
15283
  return (0, import_lib3.$EVENT)(ctx, state2, "QuestionMark", QuestionMark$0);
15262
15284
  }
15263
- 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) {
15285
+ 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) {
15264
15286
  return { $loc, token: $1, ts: true };
15265
15287
  });
15266
15288
  function Readonly(ctx, state2) {
15267
15289
  return (0, import_lib3.$EVENT)(ctx, state2, "Readonly", Readonly$0);
15268
15290
  }
15269
- 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) {
15291
+ 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) {
15270
15292
  return { $loc, token: $1 };
15271
15293
  });
15272
15294
  function Return(ctx, state2) {
15273
15295
  return (0, import_lib3.$EVENT)(ctx, state2, "Return", Return$0);
15274
15296
  }
15275
- 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) {
15297
+ 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) {
15276
15298
  return { $loc, token: $1 };
15277
15299
  });
15278
15300
  function Satisfies(ctx, state2) {
@@ -15284,7 +15306,7 @@ var Semicolon$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L119, 'Semicolo
15284
15306
  function Semicolon(ctx, state2) {
15285
15307
  return (0, import_lib3.$EVENT)(ctx, state2, "Semicolon", Semicolon$0);
15286
15308
  }
15287
- var SingleQuote$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L196, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
15309
+ var SingleQuote$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L197, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
15288
15310
  return { $loc, token: $1 };
15289
15311
  });
15290
15312
  function SingleQuote(ctx, state2) {
@@ -15296,7 +15318,7 @@ var Star$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L75, 'Star "*"'), fu
15296
15318
  function Star(ctx, state2) {
15297
15319
  return (0, import_lib3.$EVENT)(ctx, state2, "Star", Star$0);
15298
15320
  }
15299
- 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) {
15321
+ 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) {
15300
15322
  return { $loc, token: $1 };
15301
15323
  });
15302
15324
  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) {
@@ -15306,109 +15328,109 @@ var Static$$ = [Static$0, Static$1];
15306
15328
  function Static(ctx, state2) {
15307
15329
  return (0, import_lib3.$EVENT_C)(ctx, state2, "Static", Static$$);
15308
15330
  }
15309
- var SubstitutionStart$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L198, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
15331
+ var SubstitutionStart$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L199, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
15310
15332
  return { $loc, token: $1 };
15311
15333
  });
15312
15334
  function SubstitutionStart(ctx, state2) {
15313
15335
  return (0, import_lib3.$EVENT)(ctx, state2, "SubstitutionStart", SubstitutionStart$0);
15314
15336
  }
15315
- 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) {
15337
+ 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) {
15316
15338
  return { $loc, token: $1 };
15317
15339
  });
15318
15340
  function Super(ctx, state2) {
15319
15341
  return (0, import_lib3.$EVENT)(ctx, state2, "Super", Super$0);
15320
15342
  }
15321
- 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) {
15343
+ 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) {
15322
15344
  return { $loc, token: $1 };
15323
15345
  });
15324
15346
  function Switch(ctx, state2) {
15325
15347
  return (0, import_lib3.$EVENT)(ctx, state2, "Switch", Switch$0);
15326
15348
  }
15327
- 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) {
15349
+ 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) {
15328
15350
  return { $loc, token: $1 };
15329
15351
  });
15330
15352
  function Target(ctx, state2) {
15331
15353
  return (0, import_lib3.$EVENT)(ctx, state2, "Target", Target$0);
15332
15354
  }
15333
- 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) {
15355
+ 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) {
15334
15356
  return { $loc, token: "" };
15335
15357
  });
15336
15358
  function Then(ctx, state2) {
15337
15359
  return (0, import_lib3.$EVENT)(ctx, state2, "Then", Then$0);
15338
15360
  }
15339
- 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) {
15361
+ 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) {
15340
15362
  return { $loc, token: $1 };
15341
15363
  });
15342
15364
  function This(ctx, state2) {
15343
15365
  return (0, import_lib3.$EVENT)(ctx, state2, "This", This$0);
15344
15366
  }
15345
- 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) {
15367
+ 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) {
15346
15368
  return { $loc, token: $1 };
15347
15369
  });
15348
15370
  function Throw(ctx, state2) {
15349
15371
  return (0, import_lib3.$EVENT)(ctx, state2, "Throw", Throw$0);
15350
15372
  }
15351
- var TripleDoubleQuote$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L205, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
15373
+ var TripleDoubleQuote$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L206, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
15352
15374
  return { $loc, token: "`" };
15353
15375
  });
15354
15376
  function TripleDoubleQuote(ctx, state2) {
15355
15377
  return (0, import_lib3.$EVENT)(ctx, state2, "TripleDoubleQuote", TripleDoubleQuote$0);
15356
15378
  }
15357
- var TripleSingleQuote$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L206, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
15379
+ var TripleSingleQuote$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L207, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
15358
15380
  return { $loc, token: "`" };
15359
15381
  });
15360
15382
  function TripleSingleQuote(ctx, state2) {
15361
15383
  return (0, import_lib3.$EVENT)(ctx, state2, "TripleSingleQuote", TripleSingleQuote$0);
15362
15384
  }
15363
- var TripleSlash$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L207, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
15385
+ var TripleSlash$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L208, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
15364
15386
  return { $loc, token: "/" };
15365
15387
  });
15366
15388
  function TripleSlash(ctx, state2) {
15367
15389
  return (0, import_lib3.$EVENT)(ctx, state2, "TripleSlash", TripleSlash$0);
15368
15390
  }
15369
- var TripleTick$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L208, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
15391
+ var TripleTick$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L209, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
15370
15392
  return { $loc, token: "`" };
15371
15393
  });
15372
15394
  function TripleTick(ctx, state2) {
15373
15395
  return (0, import_lib3.$EVENT)(ctx, state2, "TripleTick", TripleTick$0);
15374
15396
  }
15375
- 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) {
15397
+ 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) {
15376
15398
  return { $loc, token: $1 };
15377
15399
  });
15378
15400
  function Try(ctx, state2) {
15379
15401
  return (0, import_lib3.$EVENT)(ctx, state2, "Try", Try$0);
15380
15402
  }
15381
- 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) {
15403
+ 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) {
15382
15404
  return { $loc, token: $1 };
15383
15405
  });
15384
15406
  function Typeof(ctx, state2) {
15385
15407
  return (0, import_lib3.$EVENT)(ctx, state2, "Typeof", Typeof$0);
15386
15408
  }
15387
- 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) {
15409
+ 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) {
15388
15410
  return { $loc, token: $1 };
15389
15411
  });
15390
15412
  function Undefined(ctx, state2) {
15391
15413
  return (0, import_lib3.$EVENT)(ctx, state2, "Undefined", Undefined$0);
15392
15414
  }
15393
- 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) {
15415
+ 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) {
15394
15416
  return { $loc, token: $1, negated: true };
15395
15417
  });
15396
15418
  function Unless(ctx, state2) {
15397
15419
  return (0, import_lib3.$EVENT)(ctx, state2, "Unless", Unless$0);
15398
15420
  }
15399
- 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) {
15421
+ 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) {
15400
15422
  return { $loc, token: $1, negated: true };
15401
15423
  });
15402
15424
  function Until(ctx, state2) {
15403
15425
  return (0, import_lib3.$EVENT)(ctx, state2, "Until", Until$0);
15404
15426
  }
15405
- 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) {
15427
+ 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) {
15406
15428
  return { $loc, token: $1 };
15407
15429
  });
15408
15430
  function Using(ctx, state2) {
15409
15431
  return (0, import_lib3.$EVENT)(ctx, state2, "Using", Using$0);
15410
15432
  }
15411
- 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) {
15433
+ 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) {
15412
15434
  return { $loc, token: $1 };
15413
15435
  });
15414
15436
  function Var(ctx, state2) {
@@ -15467,7 +15489,7 @@ var JSXImplicitFragment$0 = (0, import_lib3.$TS)((0, import_lib3.$S)(JSXTag, (0,
15467
15489
  function JSXImplicitFragment(ctx, state2) {
15468
15490
  return (0, import_lib3.$EVENT)(ctx, state2, "JSXImplicitFragment", JSXImplicitFragment$0);
15469
15491
  }
15470
- var JSXTag$0 = (0, import_lib3.$T)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($R78, "JSXTag /(?=[<])/"), _JSXTag), function(value) {
15492
+ var JSXTag$0 = (0, import_lib3.$T)((0, import_lib3.$S)((0, import_lib3.$EXPECT)($R77, "JSXTag /(?=[<])/"), _JSXTag), function(value) {
15471
15493
  return value[1];
15472
15494
  });
15473
15495
  function JSXTag(ctx, state2) {
@@ -15614,7 +15636,7 @@ var JSXElementName$$ = [JSXElementName$0, JSXElementName$1];
15614
15636
  function JSXElementName(ctx, state2) {
15615
15637
  return (0, import_lib3.$EVENT_C)(ctx, state2, "JSXElementName", JSXElementName$$);
15616
15638
  }
15617
- var JSXIdentifierName$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R79, "JSXIdentifierName /(?:\\p{ID_Start}|[_$])(?:\\p{ID_Continue}|[\\u200C\\u200D$-])*/"));
15639
+ var JSXIdentifierName$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R78, "JSXIdentifierName /(?:\\p{ID_Start}|[_$])(?:\\p{ID_Continue}|[\\u200C\\u200D$-])*/"));
15618
15640
  function JSXIdentifierName(ctx, state2) {
15619
15641
  return (0, import_lib3.$EVENT)(ctx, state2, "JSXIdentifierName", JSXIdentifierName$0);
15620
15642
  }
@@ -15793,7 +15815,7 @@ var JSXAttribute$6 = (0, import_lib3.$TS)((0, import_lib3.$S)(Dot, JSXShorthandS
15793
15815
  class: $2
15794
15816
  };
15795
15817
  });
15796
- 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) {
15818
+ 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) {
15797
15819
  var toggle = $1;
15798
15820
  var id = $2;
15799
15821
  const value = toggle === "+" ? "true" : "false";
@@ -15803,11 +15825,11 @@ var JSXAttribute$$ = [JSXAttribute$0, JSXAttribute$1, JSXAttribute$2, JSXAttribu
15803
15825
  function JSXAttribute(ctx, state2) {
15804
15826
  return (0, import_lib3.$EVENT_C)(ctx, state2, "JSXAttribute", JSXAttribute$$);
15805
15827
  }
15806
- var JSXAttributeSpace$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R81, "JSXAttributeSpace /[\\s>]|\\/>/"));
15828
+ var JSXAttributeSpace$0 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R80, "JSXAttributeSpace /[\\s>]|\\/>/"));
15807
15829
  function JSXAttributeSpace(ctx, state2) {
15808
15830
  return (0, import_lib3.$EVENT)(ctx, state2, "JSXAttributeSpace", JSXAttributeSpace$0);
15809
15831
  }
15810
- 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) {
15832
+ 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) {
15811
15833
  return quoteString($0);
15812
15834
  });
15813
15835
  var JSXShorthandString$1 = (0, import_lib3.$TS)((0, import_lib3.$S)(TemplateLiteral), function($skip, $loc, $0, $1) {
@@ -15854,7 +15876,7 @@ var JSXAttributeValue$3 = (0, import_lib3.$TS)((0, import_lib3.$S)(InsertInlineO
15854
15876
  }
15855
15877
  return [open, value, close];
15856
15878
  });
15857
- var JSXAttributeValue$4 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R83, `JSXAttributeValue /"[^"]*"|'[^']*'/`));
15879
+ var JSXAttributeValue$4 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R82, `JSXAttributeValue /"[^"]*"|'[^']*'/`));
15858
15880
  var JSXAttributeValue$$ = [JSXAttributeValue$0, JSXAttributeValue$1, JSXAttributeValue$2, JSXAttributeValue$3, JSXAttributeValue$4];
15859
15881
  function JSXAttributeValue(ctx, state2) {
15860
15882
  return (0, import_lib3.$EVENT_C)(ctx, state2, "JSXAttributeValue", JSXAttributeValue$$);
@@ -15867,7 +15889,7 @@ var InlineJSXAttributeValue$0 = (0, import_lib3.$TS)((0, import_lib3.$S)(InlineJ
15867
15889
  function InlineJSXAttributeValue(ctx, state2) {
15868
15890
  return (0, import_lib3.$EVENT)(ctx, state2, "InlineJSXAttributeValue", InlineJSXAttributeValue$0);
15869
15891
  }
15870
- 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) {
15892
+ 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) {
15871
15893
  var op = $2;
15872
15894
  var rhs = $3;
15873
15895
  return [[], op, [], rhs];
@@ -15884,7 +15906,7 @@ var InlineJSXUnaryExpression$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, im
15884
15906
  function InlineJSXUnaryExpression(ctx, state2) {
15885
15907
  return (0, import_lib3.$EVENT)(ctx, state2, "InlineJSXUnaryExpression", InlineJSXUnaryExpression$0);
15886
15908
  }
15887
- 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) {
15909
+ 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) {
15888
15910
  return { $loc, token: $0 };
15889
15911
  });
15890
15912
  function InlineJSXUnaryOp(ctx, state2) {
@@ -16135,13 +16157,13 @@ var JSXComment$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import_lib3.$EXP
16135
16157
  function JSXComment(ctx, state2) {
16136
16158
  return (0, import_lib3.$EVENT)(ctx, state2, "JSXComment", JSXComment$0);
16137
16159
  }
16138
- 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) {
16160
+ 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) {
16139
16161
  return { $loc, token: $0.replace(/\*\//g, "* /") };
16140
16162
  });
16141
16163
  function JSXCommentContent(ctx, state2) {
16142
16164
  return (0, import_lib3.$EVENT)(ctx, state2, "JSXCommentContent", JSXCommentContent$0);
16143
16165
  }
16144
- 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) {
16166
+ 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) {
16145
16167
  return {
16146
16168
  type: "JSXText",
16147
16169
  token: $0,
@@ -16288,8 +16310,14 @@ var UsingJSModeError$0 = (0, import_lib3.$TV)((0, import_lib3.$EXPECT)($L0, 'Usi
16288
16310
  function UsingJSModeError(ctx, state2) {
16289
16311
  return (0, import_lib3.$EVENT)(ctx, state2, "UsingJSModeError", UsingJSModeError$0);
16290
16312
  }
16291
- 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) {
16292
- return { "ts": true, "children": value };
16313
+ 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) {
16314
+ var d = $3;
16315
+ return {
16316
+ type: "Declaration",
16317
+ ts: true,
16318
+ children: $0,
16319
+ names: d.names ?? []
16320
+ };
16293
16321
  });
16294
16322
  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) {
16295
16323
  var export_ = $1;
@@ -16369,7 +16397,17 @@ var OptionalEquals$$ = [OptionalEquals$0, OptionalEquals$1];
16369
16397
  function OptionalEquals(ctx, state2) {
16370
16398
  return (0, import_lib3.$EVENT_C)(ctx, state2, "OptionalEquals", OptionalEquals$$);
16371
16399
  }
16372
- var TypeLexicalDeclaration$0 = (0, import_lib3.$S)(__, LetOrConstOrVar, TypeDeclarationBinding, (0, import_lib3.$Q)((0, import_lib3.$S)(CommaDelimiter, __, TypeDeclarationBinding)));
16400
+ 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) {
16401
+ var first = $3;
16402
+ var rest = $4;
16403
+ const names = first.names.concat(...rest.map((b) => b[2].names));
16404
+ return {
16405
+ type: "TypeLexicalDeclaration",
16406
+ children: $0,
16407
+ ts: true,
16408
+ names
16409
+ };
16410
+ });
16373
16411
  var TypeLexicalDeclaration$1 = (0, import_lib3.$S)(__, EnumDeclaration);
16374
16412
  var TypeLexicalDeclaration$2 = ClassSignature;
16375
16413
  var TypeLexicalDeclaration$3 = (0, import_lib3.$S)(Namespace, (0, import_lib3.$E)(_), IdentifierName, DeclareBlock);
@@ -16379,7 +16417,13 @@ var TypeLexicalDeclaration$$ = [TypeLexicalDeclaration$0, TypeLexicalDeclaration
16379
16417
  function TypeLexicalDeclaration(ctx, state2) {
16380
16418
  return (0, import_lib3.$EVENT_C)(ctx, state2, "TypeLexicalDeclaration", TypeLexicalDeclaration$$);
16381
16419
  }
16382
- var TypeDeclarationBinding$0 = (0, import_lib3.$S)((0, import_lib3.$C)(BindingPattern, BindingIdentifier), (0, import_lib3.$E)(TypeSuffix));
16420
+ 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) {
16421
+ return {
16422
+ type: "TypeDeclarationBinding",
16423
+ children: $0,
16424
+ names: $1.names
16425
+ };
16426
+ });
16383
16427
  function TypeDeclarationBinding(ctx, state2) {
16384
16428
  return (0, import_lib3.$EVENT)(ctx, state2, "TypeDeclarationBinding", TypeDeclarationBinding$0);
16385
16429
  }
@@ -16648,7 +16692,7 @@ var TypeProperty$0 = (0, import_lib3.$S)((0, import_lib3.$E)((0, import_lib3.$S)
16648
16692
  function TypeProperty(ctx, state2) {
16649
16693
  return (0, import_lib3.$EVENT)(ctx, state2, "TypeProperty", TypeProperty$0);
16650
16694
  }
16651
- 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)))));
16695
+ 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)))));
16652
16696
  function TypeIndexSignature(ctx, state2) {
16653
16697
  return (0, import_lib3.$EVENT)(ctx, state2, "TypeIndexSignature", TypeIndexSignature$0);
16654
16698
  }
@@ -16809,7 +16853,7 @@ function TypeUnarySuffix(ctx, state2) {
16809
16853
  return (0, import_lib3.$EVENT_C)(ctx, state2, "TypeUnarySuffix", TypeUnarySuffix$$);
16810
16854
  }
16811
16855
  var TypeUnaryOp$0 = (0, import_lib3.$S)((0, import_lib3.$EXPECT)($L233, 'TypeUnaryOp "keyof"'), NonIdContinue);
16812
- var TypeUnaryOp$1 = (0, import_lib3.$S)((0, import_lib3.$EXPECT)($L193, 'TypeUnaryOp "readonly"'), NonIdContinue);
16856
+ var TypeUnaryOp$1 = (0, import_lib3.$S)((0, import_lib3.$EXPECT)($L194, 'TypeUnaryOp "readonly"'), NonIdContinue);
16813
16857
  var TypeUnaryOp$$ = [TypeUnaryOp$0, TypeUnaryOp$1];
16814
16858
  function TypeUnaryOp(ctx, state2) {
16815
16859
  return (0, import_lib3.$EVENT_C)(ctx, state2, "TypeUnaryOp", TypeUnaryOp$$);
@@ -17116,7 +17160,7 @@ var TypeWithPostfix$0 = (0, import_lib3.$TS)((0, import_lib3.$S)(TypeConditional
17116
17160
  function TypeWithPostfix(ctx, state2) {
17117
17161
  return (0, import_lib3.$EVENT)(ctx, state2, "TypeWithPostfix", TypeWithPostfix$0);
17118
17162
  }
17119
- 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) {
17163
+ 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) {
17120
17164
  return prepend($1, expressionizeTypeIf($3));
17121
17165
  });
17122
17166
  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) {
@@ -17314,8 +17358,8 @@ function TypeApplicationStart(ctx, state2) {
17314
17358
  return (0, import_lib3.$EVENT_C)(ctx, state2, "TypeApplicationStart", TypeApplicationStart$$);
17315
17359
  }
17316
17360
  var ForbiddenImplicitTypeCalls$0 = ReservedBinary;
17317
- var ForbiddenImplicitTypeCalls$1 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R90, "ForbiddenImplicitTypeCalls /[|&<!=\\-\u21D2\u2192]/"));
17318
- var ForbiddenImplicitTypeCalls$2 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R91, "ForbiddenImplicitTypeCalls /(extends|not|is)(?!\\p{ID_Continue}|[\\u200C\\u200D$])/"));
17361
+ var ForbiddenImplicitTypeCalls$1 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R89, "ForbiddenImplicitTypeCalls /[|&<!=\\-\u21D2\u2192]/"));
17362
+ var ForbiddenImplicitTypeCalls$2 = (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R90, "ForbiddenImplicitTypeCalls /(extends|not|is)(?!\\p{ID_Continue}|[\\u200C\\u200D$])/"));
17319
17363
  var ForbiddenImplicitTypeCalls$$ = [ForbiddenImplicitTypeCalls$0, ForbiddenImplicitTypeCalls$1, ForbiddenImplicitTypeCalls$2];
17320
17364
  function ForbiddenImplicitTypeCalls(ctx, state2) {
17321
17365
  return (0, import_lib3.$EVENT_C)(ctx, state2, "ForbiddenImplicitTypeCalls", ForbiddenImplicitTypeCalls$$);
@@ -17425,15 +17469,15 @@ var ThisType$0 = (0, import_lib3.$T)((0, import_lib3.$S)((0, import_lib3.$E)(_),
17425
17469
  function ThisType(ctx, state2) {
17426
17470
  return (0, import_lib3.$EVENT)(ctx, state2, "ThisType", ThisType$0);
17427
17471
  }
17428
- var Shebang$0 = (0, import_lib3.$S)((0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R92, "Shebang /#![^\\r\\n]*/")), EOL);
17472
+ var Shebang$0 = (0, import_lib3.$S)((0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R91, "Shebang /#![^\\r\\n]*/")), EOL);
17429
17473
  function Shebang(ctx, state2) {
17430
17474
  return (0, import_lib3.$EVENT)(ctx, state2, "Shebang", Shebang$0);
17431
17475
  }
17432
- 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) {
17476
+ 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) {
17433
17477
  var content = value[2];
17434
17478
  return content;
17435
17479
  });
17436
- 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) {
17480
+ 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) {
17437
17481
  var content = value[2];
17438
17482
  return content;
17439
17483
  });
@@ -17441,7 +17485,7 @@ var CivetPrologue$$ = [CivetPrologue$0, CivetPrologue$1];
17441
17485
  function CivetPrologue(ctx, state2) {
17442
17486
  return (0, import_lib3.$EVENT_C)(ctx, state2, "CivetPrologue", CivetPrologue$$);
17443
17487
  }
17444
- 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) {
17488
+ 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) {
17445
17489
  var options = $3;
17446
17490
  return {
17447
17491
  type: "CivetPrologue",
@@ -17452,7 +17496,7 @@ var CivetPrologueContent$0 = (0, import_lib3.$TS)((0, import_lib3.$S)((0, import
17452
17496
  function CivetPrologueContent(ctx, state2) {
17453
17497
  return (0, import_lib3.$EVENT)(ctx, state2, "CivetPrologueContent", CivetPrologueContent$0);
17454
17498
  }
17455
- 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) {
17499
+ 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) {
17456
17500
  const optionName = $2.replace(/-+([a-z]?)/g, (_2, l) => {
17457
17501
  if (l)
17458
17502
  return l.toUpperCase();
@@ -17469,11 +17513,11 @@ var CivetOption$0 = (0, import_lib3.$TR)((0, import_lib3.$EXPECT)($R95, "CivetOp
17469
17513
  function CivetOption(ctx, state2) {
17470
17514
  return (0, import_lib3.$EVENT)(ctx, state2, "CivetOption", CivetOption$0);
17471
17515
  }
17472
- 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);
17516
+ 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);
17473
17517
  function UnknownPrologue(ctx, state2) {
17474
17518
  return (0, import_lib3.$EVENT)(ctx, state2, "UnknownPrologue", UnknownPrologue$0);
17475
17519
  }
17476
- 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));
17520
+ 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));
17477
17521
  function TripleSlashDirective(ctx, state2) {
17478
17522
  return (0, import_lib3.$EVENT)(ctx, state2, "TripleSlashDirective", TripleSlashDirective$0);
17479
17523
  }
@@ -17489,13 +17533,13 @@ var PrologueString$$ = [PrologueString$0, PrologueString$1];
17489
17533
  function PrologueString(ctx, state2) {
17490
17534
  return (0, import_lib3.$EVENT_C)(ctx, state2, "PrologueString", PrologueString$$);
17491
17535
  }
17492
- 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) {
17536
+ 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) {
17493
17537
  return value[1];
17494
17538
  });
17495
17539
  function EOS(ctx, state2) {
17496
17540
  return (0, import_lib3.$EVENT)(ctx, state2, "EOS", EOS$0);
17497
17541
  }
17498
- 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) {
17542
+ 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) {
17499
17543
  return { $loc, token: $0 };
17500
17544
  });
17501
17545
  function EOL(ctx, state2) {
@@ -17892,7 +17936,7 @@ var Prologue$0 = (0, import_lib3.$Q)((0, import_lib3.$C)(TripleSlashDirective, (
17892
17936
  function Prologue(ctx, state2) {
17893
17937
  return (0, import_lib3.$EVENT)(ctx, state2, "Prologue", Prologue$0);
17894
17938
  }
17895
- var ProloguePrefix$0 = (0, import_lib3.$S)(Prologue, (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R99, "ProloguePrefix /[^]*/")));
17939
+ var ProloguePrefix$0 = (0, import_lib3.$S)(Prologue, (0, import_lib3.$R$0)((0, import_lib3.$EXPECT)($R98, "ProloguePrefix /[^]*/")));
17896
17940
  function ProloguePrefix(ctx, state2) {
17897
17941
  return (0, import_lib3.$EVENT)(ctx, state2, "ProloguePrefix", ProloguePrefix$0);
17898
17942
  }
@@ -18649,6 +18693,9 @@ var makeCache = function({ hits, trace } = {}) {
18649
18693
  }
18650
18694
  const [stateKey, tagKey] = getStateKey();
18651
18695
  const key = [tagKey, stateKey, state2.pos, ruleName];
18696
+ if (result != null) {
18697
+ result = { ...result };
18698
+ }
18652
18699
  stateCache.set(key, result);
18653
18700
  if (getConfig().verbose && result) {
18654
18701
  console.log(`Parsed ${JSON.stringify(state2.input.slice(state2.pos, result.pos))} [pos ${state2.pos}-${result.pos}] as ${ruleName}`);