@danielx/civet 0.6.21 → 0.6.23

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
@@ -26,9 +26,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  ));
27
27
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
28
 
29
- // source/lib.js
29
+ // source/lib.ts
30
30
  var require_lib = __commonJS({
31
- "source/lib.js"(exports, module2) {
31
+ "source/lib.ts"(exports, module2) {
32
32
  "use strict";
33
33
  function addParentPointers(node, parent) {
34
34
  if (node == null)
@@ -48,6 +48,25 @@ var require_lib = __commonJS({
48
48
  }
49
49
  }
50
50
  }
51
+ function updateParentPointers(node, parent, depth = 1) {
52
+ if (node == null)
53
+ return;
54
+ if (typeof node !== "object")
55
+ return;
56
+ if (Array.isArray(node)) {
57
+ for (const child of node) {
58
+ updateParentPointers(child, parent, depth);
59
+ }
60
+ return;
61
+ }
62
+ if (parent != null)
63
+ node.parent = parent;
64
+ if (depth && node.children) {
65
+ for (const child of node.children) {
66
+ updateParentPointers(child, node, depth - 1);
67
+ }
68
+ }
69
+ }
51
70
  function addPostfixStatement(statement, ws, post) {
52
71
  let children, expressions;
53
72
  if (post.blockPrefix?.length) {
@@ -337,25 +356,26 @@ var require_lib = __commonJS({
337
356
  };
338
357
  }
339
358
  function expressionizeIteration(exp) {
340
- const i = exp.children.indexOf(exp.block);
341
- if (exp.subtype === "DoStatement") {
342
- insertReturn(exp.block);
343
- exp.children.splice(i, 1, ...wrapIIFE(exp.children, exp.async));
359
+ const { async, subtype, block, children, statement } = exp;
360
+ const i = children.indexOf(statement);
361
+ if (i < 0) {
362
+ throw new Error("Could not find iteration statement in iteration expression");
363
+ }
364
+ if (subtype === "DoStatement") {
365
+ insertReturn(block);
366
+ children.splice(i, 1, ...wrapIIFE(statement, async));
344
367
  return;
345
368
  }
346
369
  const resultsRef = makeRef("results");
347
- insertPush(exp.block, resultsRef);
348
- exp.children.splice(
370
+ insertPush(block, resultsRef);
371
+ children.splice(
349
372
  i,
350
373
  1,
351
- wrapIIFE([
352
- "const ",
353
- resultsRef,
354
- "=[];",
355
- ...exp.children,
356
- "; return ",
357
- resultsRef
358
- ], exp.async)
374
+ ...wrapIIFE([
375
+ ["", ["const ", resultsRef, "=[]"], ";"],
376
+ ...children,
377
+ ["", ["; return ", resultsRef]]
378
+ ], async)
359
379
  );
360
380
  }
361
381
  function processBinaryOpExpression($0) {
@@ -685,6 +705,7 @@ var require_lib = __commonJS({
685
705
  }
686
706
  function processParams(f) {
687
707
  const { type, parameters, block } = f;
708
+ const isConstructor = f.name === "constructor";
688
709
  if (type === "ArrowFunction" && parameters && parameters.tp && parameters.tp.parameters.length === 1) {
689
710
  parameters.tp.parameters.push(",");
690
711
  }
@@ -701,7 +722,7 @@ var require_lib = __commonJS({
701
722
  indent = expressions[0][0];
702
723
  }
703
724
  const [splices, thisAssignments] = gatherBindingCode(parameters, {
704
- injectParamProps: f.name === "constructor"
725
+ injectParamProps: isConstructor
705
726
  });
706
727
  const delimiter = {
707
728
  type: "SemicolonDelimiter",
@@ -713,6 +734,23 @@ var require_lib = __commonJS({
713
734
  children: [indent, ...s.children, delimiter]
714
735
  } : [indent, s, delimiter]
715
736
  );
737
+ if (!prefix.length)
738
+ return;
739
+ if (isConstructor) {
740
+ const superCalls = gatherNodes(expressions, (exp) => exp.type === "CallExpression" && exp.children[0]?.token === "super");
741
+ if (superCalls.length) {
742
+ const { child } = findAncestor(
743
+ superCalls[0],
744
+ (ancestor) => ancestor === block
745
+ );
746
+ const index = findChildIndex(expressions, child);
747
+ if (index < 0) {
748
+ throw new Error("Could not find super call within top-level expressions");
749
+ }
750
+ expressions.splice(index + 1, 0, ...prefix);
751
+ return;
752
+ }
753
+ }
716
754
  expressions.unshift(...prefix);
717
755
  }
718
756
  function removeParentPointers(node) {
@@ -733,6 +771,24 @@ var require_lib = __commonJS({
733
771
  }
734
772
  }
735
773
  }
774
+ function findChildIndex(parent, child) {
775
+ const children = Array.isArray(parent) ? parent : parent.children;
776
+ const len = children.length;
777
+ for (let i = 0; i < len; i++) {
778
+ const c = children[i];
779
+ if (c === child || Array.isArray(c) && arrayRecurse(c))
780
+ return i;
781
+ }
782
+ function arrayRecurse(array) {
783
+ const len2 = array.length;
784
+ for (let i = 0; i < len2; i++) {
785
+ const c = array[i];
786
+ if (c === child || Array.isArray(c) && arrayRecurse(c))
787
+ return true;
788
+ }
789
+ }
790
+ return -1;
791
+ }
736
792
  function findAncestor(node, predicate, stopPredicate) {
737
793
  let { parent } = node;
738
794
  while (parent && !stopPredicate?.(parent, node)) {
@@ -828,11 +884,15 @@ var require_lib = __commonJS({
828
884
  }
829
885
  function insertHoistDec(block, node, dec) {
830
886
  const { expressions } = block;
831
- const index = expressions.findIndex(([, s]) => node === s);
887
+ const index = expressions.findIndex((exp) => exp === node || Array.isArray(exp) && exp[1] === node);
832
888
  if (index < 0)
833
889
  throw new Error("Couldn't find expression in block for hoistable declaration.");
834
- const indent = expressions[index][0];
835
- expressions.splice(index, 0, [indent, dec, ";"]);
890
+ if (expressions[index] === node) {
891
+ expressions.splice(index, 0, ["", dec, ";"]);
892
+ } else {
893
+ const indent = expressions[index][0];
894
+ expressions.splice(index, 0, [indent, dec, ";"]);
895
+ }
836
896
  }
837
897
  function patternAsValue(pattern) {
838
898
  switch (pattern.type) {
@@ -1028,22 +1088,22 @@ var require_lib = __commonJS({
1028
1088
  if (target.token)
1029
1089
  return target.token.match(/^ ?/)[0];
1030
1090
  }
1031
- function processForInOf($0) {
1032
- let [awaits, each, open, declaration, declaration2, ws, inOf, exp, step, close] = $0;
1091
+ function processForInOf($0, getRef) {
1092
+ let [awaits, eachOwn, open, declaration, declaration2, ws, inOf, exp, step, close] = $0;
1033
1093
  if (exp.type === "RangeExpression" && inOf.token === "of" && !declaration2) {
1034
1094
  return forRange(open, declaration, exp, step, close);
1035
1095
  } else if (step) {
1036
1096
  throw new Error("for..of/in cannot use 'by' except with range literals");
1037
1097
  }
1038
- let eachError;
1098
+ let eachOwnError;
1039
1099
  let hoistDec, blockPrefix = [];
1040
- if (each) {
1100
+ if (eachOwn && eachOwn[0].token === "each") {
1041
1101
  if (inOf.token === "of") {
1042
1102
  const counterRef = makeRef("i");
1043
1103
  const lenRef = makeRef("len");
1044
- const expRef = maybeRef(exp);
1104
+ const expRef2 = maybeRef(exp);
1045
1105
  const increment = "++";
1046
- let indexAssignment, assignmentNames = [...declaration.names];
1106
+ let assignmentNames = [...declaration.names];
1047
1107
  if (declaration2) {
1048
1108
  const [, , ws22, decl22] = declaration2;
1049
1109
  blockPrefix.push(["", [
@@ -1054,34 +1114,46 @@ var require_lib = __commonJS({
1054
1114
  ], ";"]);
1055
1115
  assignmentNames.push(...decl22.names);
1056
1116
  }
1057
- const expRefDec = expRef !== exp ? [insertTrimmingSpace(expRef, " "), " = ", insertTrimmingSpace(exp, ""), ", "] : [];
1117
+ const expRefDec = expRef2 !== exp ? [insertTrimmingSpace(expRef2, " "), " = ", insertTrimmingSpace(exp, ""), ", "] : [];
1058
1118
  blockPrefix.push(["", {
1059
1119
  type: "AssignmentExpression",
1060
- children: [declaration, " = ", insertTrimmingSpace(expRef, ""), "[", counterRef, "]"],
1120
+ children: [declaration, " = ", insertTrimmingSpace(expRef2, ""), "[", counterRef, "]"],
1061
1121
  names: assignmentNames
1062
1122
  }, ";"]);
1063
1123
  declaration = {
1064
1124
  type: "Declaration",
1065
- children: ["let ", ...expRefDec, counterRef, " = 0, ", lenRef, " = ", insertTrimmingSpace(expRef, ""), ".length"],
1125
+ children: ["let ", ...expRefDec, counterRef, " = 0, ", lenRef, " = ", insertTrimmingSpace(expRef2, ""), ".length"],
1066
1126
  names: []
1067
1127
  };
1068
1128
  const condition = [counterRef, " < ", lenRef, "; "];
1069
1129
  const children = [open, declaration, "; ", condition, counterRef, increment, close];
1070
1130
  return { declaration, children, blockPrefix };
1071
1131
  } else {
1072
- eachError = {
1132
+ eachOwnError = {
1073
1133
  type: "Error",
1074
1134
  message: "'each' is only meaningful in for..of loops"
1075
1135
  };
1076
1136
  }
1077
1137
  }
1078
- if (!declaration2) {
1138
+ let own = eachOwn && eachOwn[0].token === "own";
1139
+ let expRef;
1140
+ if (own && inOf.token !== "in") {
1141
+ own = false;
1142
+ eachOwnError = {
1143
+ type: "Error",
1144
+ message: "'own' is only meaningful in for..in loops"
1145
+ };
1146
+ }
1147
+ if (!declaration2 && !own) {
1079
1148
  return {
1080
1149
  declaration,
1081
- children: [awaits, eachError, open, declaration, ws, inOf, exp, step, close]
1150
+ blockPrefix,
1151
+ children: [awaits, eachOwnError, open, declaration, ws, inOf, expRef ?? exp, step, close]
1082
1152
  };
1083
1153
  }
1084
- const [, , ws2, decl2] = declaration2;
1154
+ let ws2, decl2;
1155
+ if (declaration2)
1156
+ [, , ws2, decl2] = declaration2;
1085
1157
  switch (inOf.token) {
1086
1158
  case "of": {
1087
1159
  const counterRef = makeRef("i");
@@ -1098,16 +1170,16 @@ var require_lib = __commonJS({
1098
1170
  break;
1099
1171
  }
1100
1172
  case "in": {
1101
- const expRef = maybeRef(exp);
1102
- if (expRef !== exp) {
1173
+ const expRef2 = maybeRef(exp);
1174
+ if (expRef2 !== exp) {
1103
1175
  hoistDec = {
1104
1176
  type: "Declaration",
1105
- children: ["let ", expRef],
1177
+ children: ["let ", expRef2],
1106
1178
  names: []
1107
1179
  };
1108
1180
  exp = {
1109
1181
  type: "AssignmentExpression",
1110
- children: [" ", expRef, " =", exp]
1182
+ children: [" ", expRef2, " =", exp]
1111
1183
  };
1112
1184
  }
1113
1185
  let { binding } = declaration;
@@ -1125,11 +1197,17 @@ var require_lib = __commonJS({
1125
1197
  names: []
1126
1198
  };
1127
1199
  }
1128
- blockPrefix.push(["", {
1129
- type: "Declaration",
1130
- children: [insertTrimmingSpace(ws2, ""), decl2, " = ", insertTrimmingSpace(expRef, ""), "[", insertTrimmingSpace(binding, ""), "]"],
1131
- names: decl2.names
1132
- }, ";"]);
1200
+ if (own) {
1201
+ const hasPropRef = getRef("hasProp");
1202
+ blockPrefix.push(["", "if (!", hasPropRef, "(", insertTrimmingSpace(expRef2, ""), ", ", insertTrimmingSpace(binding, ""), ")) continue", ";"]);
1203
+ }
1204
+ if (decl2) {
1205
+ blockPrefix.push(["", {
1206
+ type: "Declaration",
1207
+ children: [insertTrimmingSpace(ws2, ""), decl2, " = ", insertTrimmingSpace(expRef2, ""), "[", insertTrimmingSpace(binding, ""), "]"],
1208
+ names: decl2.names
1209
+ }, ";"]);
1210
+ }
1133
1211
  break;
1134
1212
  }
1135
1213
  default:
@@ -1137,7 +1215,7 @@ var require_lib = __commonJS({
1137
1215
  }
1138
1216
  return {
1139
1217
  declaration,
1140
- children: [awaits, eachError, open, declaration, ws, inOf, exp, step, close],
1218
+ children: [awaits, eachOwnError, open, declaration, ws, inOf, exp, step, close],
1141
1219
  blockPrefix,
1142
1220
  hoistDec
1143
1221
  };
@@ -1400,11 +1478,11 @@ var require_lib = __commonJS({
1400
1478
  }
1401
1479
  return makeRef(base);
1402
1480
  }
1403
- function makeRef(base = "ref") {
1481
+ function makeRef(base = "ref", id = base) {
1404
1482
  return {
1405
1483
  type: "Ref",
1406
1484
  base,
1407
- id: base
1485
+ id
1408
1486
  };
1409
1487
  }
1410
1488
  function maybeRef(exp, base = "ref") {
@@ -1663,20 +1741,20 @@ var require_lib = __commonJS({
1663
1741
  });
1664
1742
  }
1665
1743
  function attachPostfixStatementAsExpression(exp, post) {
1666
- let clause;
1667
1744
  switch (post[1].type) {
1668
1745
  case "ForStatement":
1669
1746
  case "IterationStatement":
1670
- case "DoStatement":
1671
- clause = addPostfixStatement(exp, ...post);
1747
+ case "DoStatement": {
1748
+ const statement = addPostfixStatement(exp, ...post);
1672
1749
  return {
1673
1750
  type: "IterationExpression",
1674
- children: [clause],
1675
- block: clause.block
1751
+ children: [statement],
1752
+ block: statement.block,
1753
+ statement
1676
1754
  };
1755
+ }
1677
1756
  case "IfStatement":
1678
- clause = expressionizeIfClause(post[1], exp);
1679
- return clause;
1757
+ return expressionizeIfClause(post[1], exp);
1680
1758
  default:
1681
1759
  throw new Error("Unknown postfix statement");
1682
1760
  }
@@ -1891,12 +1969,7 @@ var require_lib = __commonJS({
1891
1969
  input: key
1892
1970
  })) {
1893
1971
  shared.forEach((p) => {
1894
- const ref = {
1895
- type: "Ref",
1896
- base: `_${key}`,
1897
- id: key
1898
- };
1899
- aliasBinding(p, ref);
1972
+ aliasBinding(p, makeRef(`_${key}`, key));
1900
1973
  });
1901
1974
  return;
1902
1975
  }
@@ -2167,8 +2240,8 @@ var require_lib = __commonJS({
2167
2240
  processFunctions(statements, config);
2168
2241
  processSwitchExpressions(statements);
2169
2242
  processTryExpressions(statements);
2170
- hoistRefDecs(statements);
2171
2243
  gatherRecursiveAll(statements, (n) => n.type === "IterationExpression").forEach((e) => expressionizeIteration(e));
2244
+ hoistRefDecs(statements);
2172
2245
  statements.unshift(...m.prelude);
2173
2246
  if (config.autoLet) {
2174
2247
  createLetDecs(statements, []);
@@ -2611,13 +2684,14 @@ var require_lib = __commonJS({
2611
2684
  prefix = "(()=>";
2612
2685
  suffix = ")()";
2613
2686
  }
2614
- const expressions = Array.isArray(exp) ? [[...exp]] : [exp];
2687
+ const expressions = Array.isArray(exp) ? [...exp] : [exp];
2615
2688
  const block = {
2616
2689
  type: "BlockStatement",
2617
2690
  expressions,
2618
2691
  children: ["{", expressions, "}"],
2619
2692
  bare: false
2620
2693
  };
2694
+ updateParentPointers(block);
2621
2695
  return [
2622
2696
  prefix,
2623
2697
  block,
@@ -3175,6 +3249,7 @@ ${input.slice(result.pos)}
3175
3249
  AccessModifier,
3176
3250
  FieldDefinition,
3177
3251
  ThisLiteral,
3252
+ PrivateThis,
3178
3253
  AtThis,
3179
3254
  LeftHandSideExpression,
3180
3255
  CallExpression,
@@ -3526,6 +3601,7 @@ ${input.slice(result.pos)}
3526
3601
  From,
3527
3602
  Function,
3528
3603
  GetOrSet,
3604
+ Hash,
3529
3605
  If,
3530
3606
  Import,
3531
3607
  In,
@@ -3542,6 +3618,7 @@ ${input.slice(result.pos)}
3542
3618
  OpenBracket,
3543
3619
  OpenParen,
3544
3620
  Operator,
3621
+ Own,
3545
3622
  Public,
3546
3623
  Private,
3547
3624
  Protected,
@@ -3555,6 +3632,7 @@ ${input.slice(result.pos)}
3555
3632
  Star,
3556
3633
  Static,
3557
3634
  SubstitutionStart,
3635
+ Super,
3558
3636
  Switch,
3559
3637
  Target,
3560
3638
  Then,
@@ -3760,164 +3838,164 @@ ${input.slice(result.pos)}
3760
3838
  var $L12 = $L(":");
3761
3839
  var $L13 = $L("implements");
3762
3840
  var $L14 = $L("<:");
3763
- var $L15 = $L("#");
3764
- var $L16 = $L("super");
3765
- var $L17 = $L("import");
3766
- var $L18 = $L("!");
3767
- var $L19 = $L("^");
3768
- var $L20 = $L("-");
3769
- var $L21 = $L("import.meta");
3770
- var $L22 = $L("return.value");
3771
- var $L23 = $L(",");
3772
- var $L24 = $L("->");
3773
- var $L25 = $L("\u2192");
3774
- var $L26 = $L("}");
3775
- var $L27 = $L("null");
3776
- var $L28 = $L("true");
3777
- var $L29 = $L("false");
3778
- var $L30 = $L("yes");
3779
- var $L31 = $L("on");
3780
- var $L32 = $L("no");
3781
- var $L33 = $L("off");
3782
- var $L34 = $L(">");
3783
- var $L35 = $L("]");
3784
- var $L36 = $L("**=");
3785
- var $L37 = $L("*=");
3786
- var $L38 = $L("/=");
3787
- var $L39 = $L("%=");
3788
- var $L40 = $L("+=");
3789
- var $L41 = $L("-=");
3790
- var $L42 = $L("<<=");
3791
- var $L43 = $L(">>>=");
3792
- var $L44 = $L(">>=");
3793
- var $L45 = $L("&&=");
3794
- var $L46 = $L("&=");
3795
- var $L47 = $L("^=");
3796
- var $L48 = $L("||=");
3797
- var $L49 = $L("|=");
3798
- var $L50 = $L("??=");
3799
- var $L51 = $L("?=");
3800
- var $L52 = $L("and=");
3801
- var $L53 = $L("or=");
3802
- var $L54 = $L("**");
3803
- var $L55 = $L("*");
3804
- var $L56 = $L("/");
3805
- var $L57 = $L("%%");
3806
- var $L58 = $L("%");
3807
- var $L59 = $L("+");
3808
- var $L60 = $L("<=");
3809
- var $L61 = $L("\u2264");
3810
- var $L62 = $L(">=");
3811
- var $L63 = $L("\u2265");
3812
- var $L64 = $L("<?");
3813
- var $L65 = $L("!<?");
3814
- var $L66 = $L("<<");
3815
- var $L67 = $L("\xAB");
3816
- var $L68 = $L(">>>");
3817
- var $L69 = $L("\u22D9");
3818
- var $L70 = $L(">>");
3819
- var $L71 = $L("\xBB");
3820
- var $L72 = $L("!==");
3821
- var $L73 = $L("\u2262");
3822
- var $L74 = $L("!=");
3823
- var $L75 = $L("\u2260");
3824
- var $L76 = $L("isnt");
3825
- var $L77 = $L("===");
3826
- var $L78 = $L("\u2263");
3827
- var $L79 = $L("\u2A76");
3828
- var $L80 = $L("==");
3829
- var $L81 = $L("\u2261");
3830
- var $L82 = $L("\u2A75");
3831
- var $L83 = $L("and");
3832
- var $L84 = $L("&&");
3833
- var $L85 = $L("of");
3834
- var $L86 = $L("or");
3835
- var $L87 = $L("||");
3836
- var $L88 = $L("\u2016");
3837
- var $L89 = $L("^^");
3838
- var $L90 = $L("xor");
3839
- var $L91 = $L("xnor");
3840
- var $L92 = $L("??");
3841
- var $L93 = $L("\u2047");
3842
- var $L94 = $L("instanceof");
3843
- var $L95 = $L("\u2208");
3844
- var $L96 = $L("\u220B");
3845
- var $L97 = $L("\u220C");
3846
- var $L98 = $L("\u2209");
3847
- var $L99 = $L("&");
3848
- var $L100 = $L("|");
3849
- var $L101 = $L(";");
3850
- var $L102 = $L("$:");
3851
- var $L103 = $L("own");
3852
- var $L104 = $L("break");
3853
- var $L105 = $L("continue");
3854
- var $L106 = $L("debugger");
3855
- var $L107 = $L("assert");
3856
- var $L108 = $L(":=");
3857
- var $L109 = $L("\u2254");
3858
- var $L110 = $L(".=");
3859
- var $L111 = $L("/*");
3860
- var $L112 = $L("*/");
3861
- var $L113 = $L("\\");
3862
- var $L114 = $L("[");
3863
- var $L115 = $L("`");
3864
- var $L116 = $L("abstract");
3865
- var $L117 = $L("as");
3866
- var $L118 = $L("@");
3867
- var $L119 = $L("@@");
3868
- var $L120 = $L("async");
3869
- var $L121 = $L("await");
3870
- var $L122 = $L("by");
3871
- var $L123 = $L("case");
3872
- var $L124 = $L("catch");
3873
- var $L125 = $L("class");
3874
- var $L126 = $L(")");
3875
- var $L127 = $L("#{");
3876
- var $L128 = $L("declare");
3877
- var $L129 = $L("default");
3878
- var $L130 = $L("delete");
3879
- var $L131 = $L("do");
3880
- var $L132 = $L("..");
3881
- var $L133 = $L("\u2025");
3882
- var $L134 = $L("...");
3883
- var $L135 = $L("\u2026");
3884
- var $L136 = $L("::");
3885
- var $L137 = $L('"');
3886
- var $L138 = $L("each");
3887
- var $L139 = $L("else");
3888
- var $L140 = $L("export");
3889
- var $L141 = $L("extends");
3890
- var $L142 = $L("finally");
3891
- var $L143 = $L("for");
3892
- var $L144 = $L("from");
3893
- var $L145 = $L("function");
3894
- var $L146 = $L("get");
3895
- var $L147 = $L("set");
3896
- var $L148 = $L("if");
3897
- var $L149 = $L("in");
3898
- var $L150 = $L("let");
3899
- var $L151 = $L("const");
3900
- var $L152 = $L("is");
3901
- var $L153 = $L("loop");
3902
- var $L154 = $L("new");
3903
- var $L155 = $L("not");
3904
- var $L156 = $L("<");
3905
- var $L157 = $L("operator");
3906
- var $L158 = $L("public");
3907
- var $L159 = $L("private");
3908
- var $L160 = $L("protected");
3909
- var $L161 = $L("||>");
3910
- var $L162 = $L("|\u25B7");
3911
- var $L163 = $L("|>=");
3912
- var $L164 = $L("\u25B7=");
3913
- var $L165 = $L("|>");
3914
- var $L166 = $L("\u25B7");
3915
- var $L167 = $L("readonly");
3916
- var $L168 = $L("return");
3917
- var $L169 = $L("satisfies");
3918
- var $L170 = $L("'");
3919
- var $L171 = $L("static");
3920
- var $L172 = $L("${");
3841
+ var $L15 = $L("import");
3842
+ var $L16 = $L("!");
3843
+ var $L17 = $L("^");
3844
+ var $L18 = $L("-");
3845
+ var $L19 = $L("import.meta");
3846
+ var $L20 = $L("return.value");
3847
+ var $L21 = $L(",");
3848
+ var $L22 = $L("->");
3849
+ var $L23 = $L("\u2192");
3850
+ var $L24 = $L("}");
3851
+ var $L25 = $L("null");
3852
+ var $L26 = $L("true");
3853
+ var $L27 = $L("false");
3854
+ var $L28 = $L("yes");
3855
+ var $L29 = $L("on");
3856
+ var $L30 = $L("no");
3857
+ var $L31 = $L("off");
3858
+ var $L32 = $L(">");
3859
+ var $L33 = $L("]");
3860
+ var $L34 = $L("**=");
3861
+ var $L35 = $L("*=");
3862
+ var $L36 = $L("/=");
3863
+ var $L37 = $L("%=");
3864
+ var $L38 = $L("+=");
3865
+ var $L39 = $L("-=");
3866
+ var $L40 = $L("<<=");
3867
+ var $L41 = $L(">>>=");
3868
+ var $L42 = $L(">>=");
3869
+ var $L43 = $L("&&=");
3870
+ var $L44 = $L("&=");
3871
+ var $L45 = $L("^=");
3872
+ var $L46 = $L("||=");
3873
+ var $L47 = $L("|=");
3874
+ var $L48 = $L("??=");
3875
+ var $L49 = $L("?=");
3876
+ var $L50 = $L("and=");
3877
+ var $L51 = $L("or=");
3878
+ var $L52 = $L("**");
3879
+ var $L53 = $L("*");
3880
+ var $L54 = $L("/");
3881
+ var $L55 = $L("%%");
3882
+ var $L56 = $L("%");
3883
+ var $L57 = $L("+");
3884
+ var $L58 = $L("<=");
3885
+ var $L59 = $L("\u2264");
3886
+ var $L60 = $L(">=");
3887
+ var $L61 = $L("\u2265");
3888
+ var $L62 = $L("<?");
3889
+ var $L63 = $L("!<?");
3890
+ var $L64 = $L("<<");
3891
+ var $L65 = $L("\xAB");
3892
+ var $L66 = $L(">>>");
3893
+ var $L67 = $L("\u22D9");
3894
+ var $L68 = $L(">>");
3895
+ var $L69 = $L("\xBB");
3896
+ var $L70 = $L("!==");
3897
+ var $L71 = $L("\u2262");
3898
+ var $L72 = $L("!=");
3899
+ var $L73 = $L("\u2260");
3900
+ var $L74 = $L("isnt");
3901
+ var $L75 = $L("===");
3902
+ var $L76 = $L("\u2263");
3903
+ var $L77 = $L("\u2A76");
3904
+ var $L78 = $L("==");
3905
+ var $L79 = $L("\u2261");
3906
+ var $L80 = $L("\u2A75");
3907
+ var $L81 = $L("and");
3908
+ var $L82 = $L("&&");
3909
+ var $L83 = $L("of");
3910
+ var $L84 = $L("or");
3911
+ var $L85 = $L("||");
3912
+ var $L86 = $L("\u2016");
3913
+ var $L87 = $L("^^");
3914
+ var $L88 = $L("xor");
3915
+ var $L89 = $L("xnor");
3916
+ var $L90 = $L("??");
3917
+ var $L91 = $L("\u2047");
3918
+ var $L92 = $L("instanceof");
3919
+ var $L93 = $L("\u2208");
3920
+ var $L94 = $L("\u220B");
3921
+ var $L95 = $L("\u220C");
3922
+ var $L96 = $L("\u2209");
3923
+ var $L97 = $L("&");
3924
+ var $L98 = $L("|");
3925
+ var $L99 = $L(";");
3926
+ var $L100 = $L("$:");
3927
+ var $L101 = $L("break");
3928
+ var $L102 = $L("continue");
3929
+ var $L103 = $L("debugger");
3930
+ var $L104 = $L("assert");
3931
+ var $L105 = $L(":=");
3932
+ var $L106 = $L("\u2254");
3933
+ var $L107 = $L(".=");
3934
+ var $L108 = $L("/*");
3935
+ var $L109 = $L("*/");
3936
+ var $L110 = $L("\\");
3937
+ var $L111 = $L("[");
3938
+ var $L112 = $L("`");
3939
+ var $L113 = $L("abstract");
3940
+ var $L114 = $L("as");
3941
+ var $L115 = $L("@");
3942
+ var $L116 = $L("@@");
3943
+ var $L117 = $L("async");
3944
+ var $L118 = $L("await");
3945
+ var $L119 = $L("by");
3946
+ var $L120 = $L("case");
3947
+ var $L121 = $L("catch");
3948
+ var $L122 = $L("class");
3949
+ var $L123 = $L(")");
3950
+ var $L124 = $L("#{");
3951
+ var $L125 = $L("declare");
3952
+ var $L126 = $L("default");
3953
+ var $L127 = $L("delete");
3954
+ var $L128 = $L("do");
3955
+ var $L129 = $L("..");
3956
+ var $L130 = $L("\u2025");
3957
+ var $L131 = $L("...");
3958
+ var $L132 = $L("\u2026");
3959
+ var $L133 = $L("::");
3960
+ var $L134 = $L('"');
3961
+ var $L135 = $L("each");
3962
+ var $L136 = $L("else");
3963
+ var $L137 = $L("export");
3964
+ var $L138 = $L("extends");
3965
+ var $L139 = $L("finally");
3966
+ var $L140 = $L("for");
3967
+ var $L141 = $L("from");
3968
+ var $L142 = $L("function");
3969
+ var $L143 = $L("get");
3970
+ var $L144 = $L("set");
3971
+ var $L145 = $L("#");
3972
+ var $L146 = $L("if");
3973
+ var $L147 = $L("in");
3974
+ var $L148 = $L("let");
3975
+ var $L149 = $L("const");
3976
+ var $L150 = $L("is");
3977
+ var $L151 = $L("loop");
3978
+ var $L152 = $L("new");
3979
+ var $L153 = $L("not");
3980
+ var $L154 = $L("<");
3981
+ var $L155 = $L("operator");
3982
+ var $L156 = $L("own");
3983
+ var $L157 = $L("public");
3984
+ var $L158 = $L("private");
3985
+ var $L159 = $L("protected");
3986
+ var $L160 = $L("||>");
3987
+ var $L161 = $L("|\u25B7");
3988
+ var $L162 = $L("|>=");
3989
+ var $L163 = $L("\u25B7=");
3990
+ var $L164 = $L("|>");
3991
+ var $L165 = $L("\u25B7");
3992
+ var $L166 = $L("readonly");
3993
+ var $L167 = $L("return");
3994
+ var $L168 = $L("satisfies");
3995
+ var $L169 = $L("'");
3996
+ var $L170 = $L("static");
3997
+ var $L171 = $L("${");
3998
+ var $L172 = $L("super");
3921
3999
  var $L173 = $L("switch");
3922
4000
  var $L174 = $L("target");
3923
4001
  var $L175 = $L("then");
@@ -6432,12 +6510,13 @@ ${input.slice(result.pos)}
6432
6510
  }
6433
6511
  }
6434
6512
  var ThisLiteral$0 = This;
6435
- var ThisLiteral$1 = $TS($S(AtThis, $TEXT($S($E($EXPECT($L15, fail, 'ThisLiteral "#"')), IdentifierName))), function($skip, $loc, $0, $1, $2) {
6513
+ var ThisLiteral$1 = $TS($S(AtThis, $TEXT($S($E(Hash), IdentifierName))), function($skip, $loc, $0, $1, $2) {
6436
6514
  var at = $1;
6437
6515
  var id = $2;
6438
6516
  return [at, ".", id];
6439
6517
  });
6440
6518
  var ThisLiteral$2 = AtThis;
6519
+ var ThisLiteral$3 = PrivateThis;
6441
6520
  function ThisLiteral(state) {
6442
6521
  let eventData;
6443
6522
  if (state.events) {
@@ -6449,17 +6528,47 @@ ${input.slice(result.pos)}
6449
6528
  }
6450
6529
  }
6451
6530
  if (state.tokenize) {
6452
- const result = $TOKEN("ThisLiteral", state, ThisLiteral$0(state) || ThisLiteral$1(state) || ThisLiteral$2(state));
6531
+ const result = $TOKEN("ThisLiteral", state, ThisLiteral$0(state) || ThisLiteral$1(state) || ThisLiteral$2(state) || ThisLiteral$3(state));
6453
6532
  if (state.events)
6454
6533
  state.events.exit?.("ThisLiteral", state, result, eventData);
6455
6534
  return result;
6456
6535
  } else {
6457
- const result = ThisLiteral$0(state) || ThisLiteral$1(state) || ThisLiteral$2(state);
6536
+ const result = ThisLiteral$0(state) || ThisLiteral$1(state) || ThisLiteral$2(state) || ThisLiteral$3(state);
6458
6537
  if (state.events)
6459
6538
  state.events.exit?.("ThisLiteral", state, result, eventData);
6460
6539
  return result;
6461
6540
  }
6462
6541
  }
6542
+ var PrivateThis$0 = $TS($S(PrivateIdentifier, $Y($S($P(_), $C($S(Not, __, In), In)))), function($skip, $loc, $0, $1, $2) {
6543
+ var id = $1;
6544
+ return id;
6545
+ });
6546
+ var PrivateThis$1 = $TV(PrivateIdentifier, function($skip, $loc, $0, $1) {
6547
+ var id = $0;
6548
+ return ["this.", id];
6549
+ });
6550
+ function PrivateThis(state) {
6551
+ let eventData;
6552
+ if (state.events) {
6553
+ const result = state.events.enter?.("PrivateThis", state);
6554
+ if (result) {
6555
+ if (result.cache)
6556
+ return result.cache;
6557
+ eventData = result.data;
6558
+ }
6559
+ }
6560
+ if (state.tokenize) {
6561
+ const result = $TOKEN("PrivateThis", state, PrivateThis$0(state) || PrivateThis$1(state));
6562
+ if (state.events)
6563
+ state.events.exit?.("PrivateThis", state, result, eventData);
6564
+ return result;
6565
+ } else {
6566
+ const result = PrivateThis$0(state) || PrivateThis$1(state);
6567
+ if (state.events)
6568
+ state.events.exit?.("PrivateThis", state, result, eventData);
6569
+ return result;
6570
+ }
6571
+ }
6463
6572
  var AtThis$0 = $TV(At, function($skip, $loc, $0, $1) {
6464
6573
  var at = $0;
6465
6574
  return { ...at, token: "this" };
@@ -6510,14 +6619,14 @@ ${input.slice(result.pos)}
6510
6619
  return result;
6511
6620
  }
6512
6621
  }
6513
- var CallExpression$0 = $TS($S($EXPECT($L16, fail, 'CallExpression "super"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
6622
+ var CallExpression$0 = $TS($S(Super, ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
6514
6623
  var rest = $3;
6515
6624
  return processCallMemberExpression({
6516
6625
  type: "CallExpression",
6517
6626
  children: [$1, ...$2, ...rest.flat()]
6518
6627
  });
6519
6628
  });
6520
- var CallExpression$1 = $TS($S($EXPECT($L17, fail, 'CallExpression "import"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
6629
+ var CallExpression$1 = $TS($S($EXPECT($L15, fail, 'CallExpression "import"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
6521
6630
  var rest = $3;
6522
6631
  return processCallMemberExpression({
6523
6632
  type: "CallExpression",
@@ -6645,7 +6754,7 @@ ${input.slice(result.pos)}
6645
6754
  return result;
6646
6755
  }
6647
6756
  }
6648
- var NonNullAssertion$0 = $T($S($EXPECT($L18, fail, 'NonNullAssertion "!"'), $N($EXPECT($L19, fail, 'NonNullAssertion "^"'))), function(value) {
6757
+ var NonNullAssertion$0 = $T($S($EXPECT($L16, fail, 'NonNullAssertion "!"'), $N($EXPECT($L17, fail, 'NonNullAssertion "^"'))), function(value) {
6649
6758
  return { "type": "NonNullAssertion", "ts": true, "children": value[0] };
6650
6759
  });
6651
6760
  function NonNullAssertion(state) {
@@ -6789,7 +6898,7 @@ ${input.slice(result.pos)}
6789
6898
  ]
6790
6899
  };
6791
6900
  });
6792
- var MemberBracketContent$3 = $TS($S(Dot, $EXPECT($L20, fail, 'MemberBracketContent "-"'), IntegerLiteral), function($skip, $loc, $0, $1, $2, $3) {
6901
+ var MemberBracketContent$3 = $TS($S(Dot, $EXPECT($L18, fail, 'MemberBracketContent "-"'), IntegerLiteral), function($skip, $loc, $0, $1, $2, $3) {
6793
6902
  var dot = $1;
6794
6903
  var neg = $2;
6795
6904
  var num = $3;
@@ -7009,8 +7118,8 @@ ${input.slice(result.pos)}
7009
7118
  return result;
7010
7119
  }
7011
7120
  }
7012
- var SuperProperty$0 = $S($EXPECT($L16, fail, 'SuperProperty "super"'), MemberBracketContent);
7013
- var SuperProperty$1 = $S($EXPECT($L16, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
7121
+ var SuperProperty$0 = $S(Super, MemberBracketContent);
7122
+ var SuperProperty$1 = $S(Super, $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
7014
7123
  function SuperProperty(state) {
7015
7124
  let eventData;
7016
7125
  if (state.events) {
@@ -7034,7 +7143,7 @@ ${input.slice(result.pos)}
7034
7143
  }
7035
7144
  }
7036
7145
  var MetaProperty$0 = $S(New, Dot, Target);
7037
- var MetaProperty$1 = $TS($S($EXPECT($L21, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
7146
+ var MetaProperty$1 = $TS($S($EXPECT($L19, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
7038
7147
  return { $loc, token: $1 };
7039
7148
  });
7040
7149
  var MetaProperty$2 = ReturnValue;
@@ -7060,7 +7169,7 @@ ${input.slice(result.pos)}
7060
7169
  return result;
7061
7170
  }
7062
7171
  }
7063
- var ReturnValue$0 = $TV($C($S($EXPECT($L22, fail, 'ReturnValue "return.value"'), NonIdContinue), $S(Return, $Y(AfterReturnShorthand))), function($skip, $loc, $0, $1) {
7172
+ var ReturnValue$0 = $TV($C($S($EXPECT($L20, fail, 'ReturnValue "return.value"'), NonIdContinue), $S(Return, $Y(AfterReturnShorthand))), function($skip, $loc, $0, $1) {
7064
7173
  return { type: "ReturnValue", children: [$1[0]] };
7065
7174
  });
7066
7175
  function ReturnValue(state) {
@@ -7332,8 +7441,17 @@ ${input.slice(result.pos)}
7332
7441
  ref
7333
7442
  };
7334
7443
  });
7335
- var NWBindingIdentifier$1 = Identifier;
7336
- var NWBindingIdentifier$2 = $TS($S(ReturnValue), function($skip, $loc, $0, $1) {
7444
+ var NWBindingIdentifier$1 = $TS($S(Hash, AtIdentifierRef), function($skip, $loc, $0, $1, $2) {
7445
+ var ref = $2;
7446
+ ref = { ...ref, id: `#${ref.id}` };
7447
+ return {
7448
+ type: "AtBinding",
7449
+ children: [ref],
7450
+ ref
7451
+ };
7452
+ });
7453
+ var NWBindingIdentifier$2 = Identifier;
7454
+ var NWBindingIdentifier$3 = $TS($S(ReturnValue), function($skip, $loc, $0, $1) {
7337
7455
  return { children: [$1], names: [] };
7338
7456
  });
7339
7457
  function NWBindingIdentifier(state) {
@@ -7347,12 +7465,12 @@ ${input.slice(result.pos)}
7347
7465
  }
7348
7466
  }
7349
7467
  if (state.tokenize) {
7350
- const result = $TOKEN("NWBindingIdentifier", state, NWBindingIdentifier$0(state) || NWBindingIdentifier$1(state) || NWBindingIdentifier$2(state));
7468
+ const result = $TOKEN("NWBindingIdentifier", state, NWBindingIdentifier$0(state) || NWBindingIdentifier$1(state) || NWBindingIdentifier$2(state) || NWBindingIdentifier$3(state));
7351
7469
  if (state.events)
7352
7470
  state.events.exit?.("NWBindingIdentifier", state, result, eventData);
7353
7471
  return result;
7354
7472
  } else {
7355
- const result = NWBindingIdentifier$0(state) || NWBindingIdentifier$1(state) || NWBindingIdentifier$2(state);
7473
+ const result = NWBindingIdentifier$0(state) || NWBindingIdentifier$1(state) || NWBindingIdentifier$2(state) || NWBindingIdentifier$3(state);
7356
7474
  if (state.events)
7357
7475
  state.events.exit?.("NWBindingIdentifier", state, result, eventData);
7358
7476
  return result;
@@ -7360,11 +7478,7 @@ ${input.slice(result.pos)}
7360
7478
  }
7361
7479
  var AtIdentifierRef$0 = $TV(ReservedWord, function($skip, $loc, $0, $1) {
7362
7480
  var r = $0;
7363
- return {
7364
- type: "Ref",
7365
- base: `_${r}`,
7366
- id: r
7367
- };
7481
+ return makeRef(`_${r}`, r);
7368
7482
  });
7369
7483
  var AtIdentifierRef$1 = $TV(IdentifierName, function($skip, $loc, $0, $1) {
7370
7484
  var id = $0;
@@ -7392,7 +7506,7 @@ ${input.slice(result.pos)}
7392
7506
  return result;
7393
7507
  }
7394
7508
  }
7395
- var PinPattern$0 = $TS($S($EXPECT($L19, fail, 'PinPattern "^"'), Identifier), function($skip, $loc, $0, $1, $2) {
7509
+ var PinPattern$0 = $TS($S($EXPECT($L17, fail, 'PinPattern "^"'), Identifier), function($skip, $loc, $0, $1, $2) {
7396
7510
  var identifier = $2;
7397
7511
  return {
7398
7512
  type: "PinPattern",
@@ -7765,7 +7879,7 @@ ${input.slice(result.pos)}
7765
7879
  names: value.names
7766
7880
  };
7767
7881
  });
7768
- var BindingProperty$2 = $TS($S($E(_), $E($EXPECT($L19, fail, 'BindingProperty "^"')), BindingIdentifier, $E(Initializer)), function($skip, $loc, $0, $1, $2, $3, $4) {
7882
+ var BindingProperty$2 = $TS($S($E(_), $E($EXPECT($L17, fail, 'BindingProperty "^"')), BindingIdentifier, $E(Initializer)), function($skip, $loc, $0, $1, $2, $3, $4) {
7769
7883
  var ws = $1;
7770
7884
  var pin = $2;
7771
7885
  var binding = $3;
@@ -7910,7 +8024,7 @@ ${input.slice(result.pos)}
7910
8024
  children: [ws, binding]
7911
8025
  };
7912
8026
  });
7913
- var BindingElement$2 = $TV($Y($S($E(_), $EXPECT($L23, fail, 'BindingElement ","'))), function($skip, $loc, $0, $1) {
8027
+ var BindingElement$2 = $TV($Y($S($E(_), $EXPECT($L21, fail, 'BindingElement ","'))), function($skip, $loc, $0, $1) {
7914
8028
  return {
7915
8029
  children: [{
7916
8030
  type: "ElisionElement",
@@ -8448,7 +8562,7 @@ ${input.slice(result.pos)}
8448
8562
  return result;
8449
8563
  }
8450
8564
  }
8451
- var Arrow$0 = $TV($C($EXPECT($L24, fail, 'Arrow "->"'), $EXPECT($L25, fail, 'Arrow "\u2192"')), function($skip, $loc, $0, $1) {
8565
+ var Arrow$0 = $TV($C($EXPECT($L22, fail, 'Arrow "->"'), $EXPECT($L23, fail, 'Arrow "\u2192"')), function($skip, $loc, $0, $1) {
8452
8566
  return { $loc, token: "->" };
8453
8567
  });
8454
8568
  function Arrow(state) {
@@ -8978,7 +9092,7 @@ ${input.slice(result.pos)}
8978
9092
  children: [$1, expressions]
8979
9093
  };
8980
9094
  });
8981
- var BracedContent$2 = $TV($Y($S(__, $EXPECT($L26, fail, 'BracedContent "}"'))), function($skip, $loc, $0, $1) {
9095
+ var BracedContent$2 = $TV($Y($S(__, $EXPECT($L24, fail, 'BracedContent "}"'))), function($skip, $loc, $0, $1) {
8982
9096
  const expressions = [];
8983
9097
  return {
8984
9098
  type: "BlockStatement",
@@ -9159,7 +9273,7 @@ ${input.slice(result.pos)}
9159
9273
  return result;
9160
9274
  }
9161
9275
  }
9162
- var NullLiteral$0 = $TS($S($EXPECT($L27, fail, 'NullLiteral "null"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9276
+ var NullLiteral$0 = $TS($S($EXPECT($L25, fail, 'NullLiteral "null"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9163
9277
  return { $loc, token: $1 };
9164
9278
  });
9165
9279
  function NullLiteral(state) {
@@ -9187,7 +9301,7 @@ ${input.slice(result.pos)}
9187
9301
  var BooleanLiteral$0 = $T($S(CoffeeBooleansEnabled, CoffeeScriptBooleanLiteral), function(value) {
9188
9302
  return value[1];
9189
9303
  });
9190
- var BooleanLiteral$1 = $TS($S($C($EXPECT($L28, fail, 'BooleanLiteral "true"'), $EXPECT($L29, fail, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9304
+ var BooleanLiteral$1 = $TS($S($C($EXPECT($L26, fail, 'BooleanLiteral "true"'), $EXPECT($L27, fail, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9191
9305
  return { $loc, token: $1 };
9192
9306
  });
9193
9307
  function BooleanLiteral(state) {
@@ -9212,10 +9326,10 @@ ${input.slice(result.pos)}
9212
9326
  return result;
9213
9327
  }
9214
9328
  }
9215
- var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L30, fail, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L31, fail, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9329
+ var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L28, fail, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L29, fail, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9216
9330
  return { $loc, token: "true" };
9217
9331
  });
9218
- var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($L32, fail, 'CoffeeScriptBooleanLiteral "no"'), $EXPECT($L33, fail, 'CoffeeScriptBooleanLiteral "off"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9332
+ var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($L30, fail, 'CoffeeScriptBooleanLiteral "no"'), $EXPECT($L31, fail, 'CoffeeScriptBooleanLiteral "off"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9219
9333
  return { $loc, token: "false" };
9220
9334
  });
9221
9335
  function CoffeeScriptBooleanLiteral(state) {
@@ -9321,7 +9435,7 @@ ${input.slice(result.pos)}
9321
9435
  return result;
9322
9436
  }
9323
9437
  }
9324
- var UpcomingAssignment$0 = $Y($S(__, $EXPECT($L3, fail, 'UpcomingAssignment "="'), $N($C($EXPECT($L3, fail, 'UpcomingAssignment "="'), $EXPECT($L34, fail, 'UpcomingAssignment ">"')))));
9438
+ var UpcomingAssignment$0 = $Y($S(__, $EXPECT($L3, fail, 'UpcomingAssignment "="'), $N($C($EXPECT($L3, fail, 'UpcomingAssignment "="'), $EXPECT($L32, fail, 'UpcomingAssignment ">"')))));
9325
9439
  function UpcomingAssignment(state) {
9326
9440
  let eventData;
9327
9441
  if (state.events) {
@@ -9585,7 +9699,7 @@ ${input.slice(result.pos)}
9585
9699
  }
9586
9700
  }
9587
9701
  var ArrayElementDelimiter$0 = $S(__, Comma);
9588
- var ArrayElementDelimiter$1 = $Y($S(__, $EXPECT($L35, fail, 'ArrayElementDelimiter "]"')));
9702
+ var ArrayElementDelimiter$1 = $Y($S(__, $EXPECT($L33, fail, 'ArrayElementDelimiter "]"')));
9589
9703
  var ArrayElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
9590
9704
  return value[1];
9591
9705
  });
@@ -10091,7 +10205,7 @@ ${input.slice(result.pos)}
10091
10205
  }
10092
10206
  }
10093
10207
  var ObjectPropertyDelimiter$0 = $S($E(_), Comma);
10094
- var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L26, fail, 'ObjectPropertyDelimiter "}"')));
10208
+ var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L24, fail, 'ObjectPropertyDelimiter "}"')));
10095
10209
  var ObjectPropertyDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
10096
10210
  return value[1];
10097
10211
  });
@@ -10263,7 +10377,7 @@ ${input.slice(result.pos)}
10263
10377
  return result;
10264
10378
  }
10265
10379
  }
10266
- var NamedProperty$0 = $TS($S(PropertyName, $E(_), Colon, ExtendedExpression), function($skip, $loc, $0, $1, $2, $3, $4) {
10380
+ var NamedProperty$0 = $TS($S(PropertyName, $E(_), Colon, PostfixedExpression), function($skip, $loc, $0, $1, $2, $3, $4) {
10267
10381
  var name = $1;
10268
10382
  var exp = $4;
10269
10383
  return {
@@ -10296,12 +10410,18 @@ ${input.slice(result.pos)}
10296
10410
  return result;
10297
10411
  }
10298
10412
  }
10299
- var SnugNamedProperty$0 = $TS($S(PropertyName, Colon, ExtendedExpression), function($skip, $loc, $0, $1, $2, $3) {
10300
- var exp = $3;
10413
+ var SnugNamedProperty$0 = $TS($S(PropertyName, Colon, ExtendedExpression, $E($S($S($E(_), PostfixStatement), $Y($S(Nested, NamedProperty))))), function($skip, $loc, $0, $1, $2, $3, $4) {
10414
+ var name = $1;
10415
+ var colon = $2;
10416
+ var expression = $3;
10417
+ var post = $4;
10418
+ if (post) {
10419
+ expression = attachPostfixStatementAsExpression(expression, post[0]);
10420
+ }
10301
10421
  return {
10302
10422
  type: "Property",
10303
- children: $0,
10304
- names: exp.names || []
10423
+ children: [name, colon, expression],
10424
+ names: expression.names || []
10305
10425
  };
10306
10426
  });
10307
10427
  function SnugNamedProperty(state) {
@@ -10371,7 +10491,7 @@ ${input.slice(result.pos)}
10371
10491
  implicit: true
10372
10492
  };
10373
10493
  });
10374
- var ComputedPropertyName$2 = $TS($S(InsertOpenBracket, $EXPECT($L20, fail, 'ComputedPropertyName "-"'), NumericLiteral, InsertCloseBracket), function($skip, $loc, $0, $1, $2, $3, $4) {
10494
+ var ComputedPropertyName$2 = $TS($S(InsertOpenBracket, $EXPECT($L18, fail, 'ComputedPropertyName "-"'), NumericLiteral, InsertCloseBracket), function($skip, $loc, $0, $1, $2, $3, $4) {
10375
10495
  const expression = [$2, $3];
10376
10496
  return {
10377
10497
  type: "ComputedPropertyName",
@@ -10660,7 +10780,7 @@ ${input.slice(result.pos)}
10660
10780
  return result;
10661
10781
  }
10662
10782
  }
10663
- var PrivateIdentifier$0 = $TV($TEXT($S($EXPECT($L15, fail, 'PrivateIdentifier "#"'), IdentifierName)), function($skip, $loc, $0, $1) {
10783
+ var PrivateIdentifier$0 = $TV($TEXT($S(Hash, IdentifierName)), function($skip, $loc, $0, $1) {
10664
10784
  return {
10665
10785
  type: "Identifier",
10666
10786
  name: $0,
@@ -10791,22 +10911,22 @@ ${input.slice(result.pos)}
10791
10911
  return result;
10792
10912
  }
10793
10913
  }
10794
- var AssignmentOpSymbol$0 = $EXPECT($L36, fail, 'AssignmentOpSymbol "**="');
10795
- var AssignmentOpSymbol$1 = $EXPECT($L37, fail, 'AssignmentOpSymbol "*="');
10796
- var AssignmentOpSymbol$2 = $EXPECT($L38, fail, 'AssignmentOpSymbol "/="');
10797
- var AssignmentOpSymbol$3 = $EXPECT($L39, fail, 'AssignmentOpSymbol "%="');
10798
- var AssignmentOpSymbol$4 = $EXPECT($L40, fail, 'AssignmentOpSymbol "+="');
10799
- var AssignmentOpSymbol$5 = $EXPECT($L41, fail, 'AssignmentOpSymbol "-="');
10800
- var AssignmentOpSymbol$6 = $EXPECT($L42, fail, 'AssignmentOpSymbol "<<="');
10801
- var AssignmentOpSymbol$7 = $EXPECT($L43, fail, 'AssignmentOpSymbol ">>>="');
10802
- var AssignmentOpSymbol$8 = $EXPECT($L44, fail, 'AssignmentOpSymbol ">>="');
10803
- var AssignmentOpSymbol$9 = $EXPECT($L45, fail, 'AssignmentOpSymbol "&&="');
10804
- var AssignmentOpSymbol$10 = $EXPECT($L46, fail, 'AssignmentOpSymbol "&="');
10805
- var AssignmentOpSymbol$11 = $EXPECT($L47, fail, 'AssignmentOpSymbol "^="');
10806
- var AssignmentOpSymbol$12 = $EXPECT($L48, fail, 'AssignmentOpSymbol "||="');
10807
- var AssignmentOpSymbol$13 = $EXPECT($L49, fail, 'AssignmentOpSymbol "|="');
10808
- var AssignmentOpSymbol$14 = $EXPECT($L50, fail, 'AssignmentOpSymbol "??="');
10809
- var AssignmentOpSymbol$15 = $T($EXPECT($L51, fail, 'AssignmentOpSymbol "?="'), function(value) {
10914
+ var AssignmentOpSymbol$0 = $EXPECT($L34, fail, 'AssignmentOpSymbol "**="');
10915
+ var AssignmentOpSymbol$1 = $EXPECT($L35, fail, 'AssignmentOpSymbol "*="');
10916
+ var AssignmentOpSymbol$2 = $EXPECT($L36, fail, 'AssignmentOpSymbol "/="');
10917
+ var AssignmentOpSymbol$3 = $EXPECT($L37, fail, 'AssignmentOpSymbol "%="');
10918
+ var AssignmentOpSymbol$4 = $EXPECT($L38, fail, 'AssignmentOpSymbol "+="');
10919
+ var AssignmentOpSymbol$5 = $EXPECT($L39, fail, 'AssignmentOpSymbol "-="');
10920
+ var AssignmentOpSymbol$6 = $EXPECT($L40, fail, 'AssignmentOpSymbol "<<="');
10921
+ var AssignmentOpSymbol$7 = $EXPECT($L41, fail, 'AssignmentOpSymbol ">>>="');
10922
+ var AssignmentOpSymbol$8 = $EXPECT($L42, fail, 'AssignmentOpSymbol ">>="');
10923
+ var AssignmentOpSymbol$9 = $EXPECT($L43, fail, 'AssignmentOpSymbol "&&="');
10924
+ var AssignmentOpSymbol$10 = $EXPECT($L44, fail, 'AssignmentOpSymbol "&="');
10925
+ var AssignmentOpSymbol$11 = $EXPECT($L45, fail, 'AssignmentOpSymbol "^="');
10926
+ var AssignmentOpSymbol$12 = $EXPECT($L46, fail, 'AssignmentOpSymbol "||="');
10927
+ var AssignmentOpSymbol$13 = $EXPECT($L47, fail, 'AssignmentOpSymbol "|="');
10928
+ var AssignmentOpSymbol$14 = $EXPECT($L48, fail, 'AssignmentOpSymbol "??="');
10929
+ var AssignmentOpSymbol$15 = $T($EXPECT($L49, fail, 'AssignmentOpSymbol "?="'), function(value) {
10810
10930
  return "??=";
10811
10931
  });
10812
10932
  var AssignmentOpSymbol$16 = $T($S($EXPECT($L3, fail, 'AssignmentOpSymbol "="'), $N($EXPECT($L3, fail, 'AssignmentOpSymbol "="'))), function(value) {
@@ -10837,10 +10957,10 @@ ${input.slice(result.pos)}
10837
10957
  return result;
10838
10958
  }
10839
10959
  }
10840
- var CoffeeWordAssignmentOp$0 = $T($EXPECT($L52, fail, 'CoffeeWordAssignmentOp "and="'), function(value) {
10960
+ var CoffeeWordAssignmentOp$0 = $T($EXPECT($L50, fail, 'CoffeeWordAssignmentOp "and="'), function(value) {
10841
10961
  return "&&=";
10842
10962
  });
10843
- var CoffeeWordAssignmentOp$1 = $T($EXPECT($L53, fail, 'CoffeeWordAssignmentOp "or="'), function(value) {
10963
+ var CoffeeWordAssignmentOp$1 = $T($EXPECT($L51, fail, 'CoffeeWordAssignmentOp "or="'), function(value) {
10844
10964
  return "||=";
10845
10965
  });
10846
10966
  function CoffeeWordAssignmentOp(state) {
@@ -10947,27 +11067,27 @@ ${input.slice(result.pos)}
10947
11067
  return result;
10948
11068
  }
10949
11069
  }
10950
- var BinaryOpSymbol$0 = $EXPECT($L54, fail, 'BinaryOpSymbol "**"');
10951
- var BinaryOpSymbol$1 = $EXPECT($L55, fail, 'BinaryOpSymbol "*"');
10952
- var BinaryOpSymbol$2 = $EXPECT($L56, fail, 'BinaryOpSymbol "/"');
10953
- var BinaryOpSymbol$3 = $TV($EXPECT($L57, fail, 'BinaryOpSymbol "%%"'), function($skip, $loc, $0, $1) {
11070
+ var BinaryOpSymbol$0 = $EXPECT($L52, fail, 'BinaryOpSymbol "**"');
11071
+ var BinaryOpSymbol$1 = $EXPECT($L53, fail, 'BinaryOpSymbol "*"');
11072
+ var BinaryOpSymbol$2 = $EXPECT($L54, fail, 'BinaryOpSymbol "/"');
11073
+ var BinaryOpSymbol$3 = $TV($EXPECT($L55, fail, 'BinaryOpSymbol "%%"'), function($skip, $loc, $0, $1) {
10954
11074
  return {
10955
11075
  call: module2.getRef("modulo"),
10956
11076
  special: true
10957
11077
  };
10958
11078
  });
10959
- var BinaryOpSymbol$4 = $EXPECT($L58, fail, 'BinaryOpSymbol "%"');
10960
- var BinaryOpSymbol$5 = $EXPECT($L59, fail, 'BinaryOpSymbol "+"');
10961
- var BinaryOpSymbol$6 = $EXPECT($L20, fail, 'BinaryOpSymbol "-"');
10962
- var BinaryOpSymbol$7 = $EXPECT($L60, fail, 'BinaryOpSymbol "<="');
10963
- var BinaryOpSymbol$8 = $T($EXPECT($L61, fail, 'BinaryOpSymbol "\u2264"'), function(value) {
11079
+ var BinaryOpSymbol$4 = $EXPECT($L56, fail, 'BinaryOpSymbol "%"');
11080
+ var BinaryOpSymbol$5 = $EXPECT($L57, fail, 'BinaryOpSymbol "+"');
11081
+ var BinaryOpSymbol$6 = $EXPECT($L18, fail, 'BinaryOpSymbol "-"');
11082
+ var BinaryOpSymbol$7 = $EXPECT($L58, fail, 'BinaryOpSymbol "<="');
11083
+ var BinaryOpSymbol$8 = $T($EXPECT($L59, fail, 'BinaryOpSymbol "\u2264"'), function(value) {
10964
11084
  return "<=";
10965
11085
  });
10966
- var BinaryOpSymbol$9 = $EXPECT($L62, fail, 'BinaryOpSymbol ">="');
10967
- var BinaryOpSymbol$10 = $T($EXPECT($L63, fail, 'BinaryOpSymbol "\u2265"'), function(value) {
11086
+ var BinaryOpSymbol$9 = $EXPECT($L60, fail, 'BinaryOpSymbol ">="');
11087
+ var BinaryOpSymbol$10 = $T($EXPECT($L61, fail, 'BinaryOpSymbol "\u2265"'), function(value) {
10968
11088
  return ">=";
10969
11089
  });
10970
- var BinaryOpSymbol$11 = $TV($EXPECT($L64, fail, 'BinaryOpSymbol "<?"'), function($skip, $loc, $0, $1) {
11090
+ var BinaryOpSymbol$11 = $TV($EXPECT($L62, fail, 'BinaryOpSymbol "<?"'), function($skip, $loc, $0, $1) {
10971
11091
  return {
10972
11092
  $loc,
10973
11093
  token: "instanceof",
@@ -10975,7 +11095,7 @@ ${input.slice(result.pos)}
10975
11095
  special: true
10976
11096
  };
10977
11097
  });
10978
- var BinaryOpSymbol$12 = $TV($EXPECT($L65, fail, 'BinaryOpSymbol "!<?"'), function($skip, $loc, $0, $1) {
11098
+ var BinaryOpSymbol$12 = $TV($EXPECT($L63, fail, 'BinaryOpSymbol "!<?"'), function($skip, $loc, $0, $1) {
10979
11099
  return {
10980
11100
  $loc,
10981
11101
  token: "instanceof",
@@ -10984,79 +11104,79 @@ ${input.slice(result.pos)}
10984
11104
  negated: true
10985
11105
  };
10986
11106
  });
10987
- var BinaryOpSymbol$13 = $EXPECT($L66, fail, 'BinaryOpSymbol "<<"');
10988
- var BinaryOpSymbol$14 = $T($EXPECT($L67, fail, 'BinaryOpSymbol "\xAB"'), function(value) {
11107
+ var BinaryOpSymbol$13 = $EXPECT($L64, fail, 'BinaryOpSymbol "<<"');
11108
+ var BinaryOpSymbol$14 = $T($EXPECT($L65, fail, 'BinaryOpSymbol "\xAB"'), function(value) {
10989
11109
  return "<<";
10990
11110
  });
10991
11111
  var BinaryOpSymbol$15 = $TR($EXPECT($R7, fail, "BinaryOpSymbol /<(?!\\p{ID_Start}|[_$])/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10992
11112
  return "<";
10993
11113
  });
10994
- var BinaryOpSymbol$16 = $EXPECT($L68, fail, 'BinaryOpSymbol ">>>"');
10995
- var BinaryOpSymbol$17 = $T($EXPECT($L69, fail, 'BinaryOpSymbol "\u22D9"'), function(value) {
11114
+ var BinaryOpSymbol$16 = $EXPECT($L66, fail, 'BinaryOpSymbol ">>>"');
11115
+ var BinaryOpSymbol$17 = $T($EXPECT($L67, fail, 'BinaryOpSymbol "\u22D9"'), function(value) {
10996
11116
  return ">>>";
10997
11117
  });
10998
- var BinaryOpSymbol$18 = $EXPECT($L70, fail, 'BinaryOpSymbol ">>"');
10999
- var BinaryOpSymbol$19 = $T($EXPECT($L71, fail, 'BinaryOpSymbol "\xBB"'), function(value) {
11118
+ var BinaryOpSymbol$18 = $EXPECT($L68, fail, 'BinaryOpSymbol ">>"');
11119
+ var BinaryOpSymbol$19 = $T($EXPECT($L69, fail, 'BinaryOpSymbol "\xBB"'), function(value) {
11000
11120
  return ">>";
11001
11121
  });
11002
- var BinaryOpSymbol$20 = $EXPECT($L34, fail, 'BinaryOpSymbol ">"');
11003
- var BinaryOpSymbol$21 = $EXPECT($L72, fail, 'BinaryOpSymbol "!=="');
11004
- var BinaryOpSymbol$22 = $T($EXPECT($L73, fail, 'BinaryOpSymbol "\u2262"'), function(value) {
11122
+ var BinaryOpSymbol$20 = $EXPECT($L32, fail, 'BinaryOpSymbol ">"');
11123
+ var BinaryOpSymbol$21 = $EXPECT($L70, fail, 'BinaryOpSymbol "!=="');
11124
+ var BinaryOpSymbol$22 = $T($EXPECT($L71, fail, 'BinaryOpSymbol "\u2262"'), function(value) {
11005
11125
  return "!==";
11006
11126
  });
11007
- var BinaryOpSymbol$23 = $TV($C($EXPECT($L74, fail, 'BinaryOpSymbol "!="'), $EXPECT($L75, fail, 'BinaryOpSymbol "\u2260"')), function($skip, $loc, $0, $1) {
11127
+ var BinaryOpSymbol$23 = $TV($C($EXPECT($L72, fail, 'BinaryOpSymbol "!="'), $EXPECT($L73, fail, 'BinaryOpSymbol "\u2260"')), function($skip, $loc, $0, $1) {
11008
11128
  if (module2.config.coffeeEq)
11009
11129
  return "!==";
11010
11130
  return "!=";
11011
11131
  });
11012
- var BinaryOpSymbol$24 = $TS($S($EXPECT($L76, fail, 'BinaryOpSymbol "isnt"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11132
+ var BinaryOpSymbol$24 = $TS($S($EXPECT($L74, fail, 'BinaryOpSymbol "isnt"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11013
11133
  if (module2.config.coffeeIsnt)
11014
11134
  return "!==";
11015
11135
  return $skip;
11016
11136
  });
11017
- var BinaryOpSymbol$25 = $EXPECT($L77, fail, 'BinaryOpSymbol "==="');
11018
- var BinaryOpSymbol$26 = $T($C($EXPECT($L78, fail, 'BinaryOpSymbol "\u2263"'), $EXPECT($L79, fail, 'BinaryOpSymbol "\u2A76"')), function(value) {
11137
+ var BinaryOpSymbol$25 = $EXPECT($L75, fail, 'BinaryOpSymbol "==="');
11138
+ var BinaryOpSymbol$26 = $T($C($EXPECT($L76, fail, 'BinaryOpSymbol "\u2263"'), $EXPECT($L77, fail, 'BinaryOpSymbol "\u2A76"')), function(value) {
11019
11139
  return "===";
11020
11140
  });
11021
- var BinaryOpSymbol$27 = $TV($C($EXPECT($L80, fail, 'BinaryOpSymbol "=="'), $EXPECT($L81, fail, 'BinaryOpSymbol "\u2261"'), $EXPECT($L82, fail, 'BinaryOpSymbol "\u2A75"')), function($skip, $loc, $0, $1) {
11141
+ var BinaryOpSymbol$27 = $TV($C($EXPECT($L78, fail, 'BinaryOpSymbol "=="'), $EXPECT($L79, fail, 'BinaryOpSymbol "\u2261"'), $EXPECT($L80, fail, 'BinaryOpSymbol "\u2A75"')), function($skip, $loc, $0, $1) {
11022
11142
  if (module2.config.coffeeEq)
11023
11143
  return "===";
11024
11144
  return "==";
11025
11145
  });
11026
- var BinaryOpSymbol$28 = $T($S($EXPECT($L83, fail, 'BinaryOpSymbol "and"'), NonIdContinue), function(value) {
11146
+ var BinaryOpSymbol$28 = $T($S($EXPECT($L81, fail, 'BinaryOpSymbol "and"'), NonIdContinue), function(value) {
11027
11147
  return "&&";
11028
11148
  });
11029
- var BinaryOpSymbol$29 = $EXPECT($L84, fail, 'BinaryOpSymbol "&&"');
11030
- var BinaryOpSymbol$30 = $T($S(CoffeeOfEnabled, $EXPECT($L85, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function(value) {
11149
+ var BinaryOpSymbol$29 = $EXPECT($L82, fail, 'BinaryOpSymbol "&&"');
11150
+ var BinaryOpSymbol$30 = $T($S(CoffeeOfEnabled, $EXPECT($L83, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function(value) {
11031
11151
  return "in";
11032
11152
  });
11033
- var BinaryOpSymbol$31 = $T($S($EXPECT($L86, fail, 'BinaryOpSymbol "or"'), NonIdContinue), function(value) {
11153
+ var BinaryOpSymbol$31 = $T($S($EXPECT($L84, fail, 'BinaryOpSymbol "or"'), NonIdContinue), function(value) {
11034
11154
  return "||";
11035
11155
  });
11036
- var BinaryOpSymbol$32 = $EXPECT($L87, fail, 'BinaryOpSymbol "||"');
11037
- var BinaryOpSymbol$33 = $T($EXPECT($L88, fail, 'BinaryOpSymbol "\u2016"'), function(value) {
11156
+ var BinaryOpSymbol$32 = $EXPECT($L85, fail, 'BinaryOpSymbol "||"');
11157
+ var BinaryOpSymbol$33 = $T($EXPECT($L86, fail, 'BinaryOpSymbol "\u2016"'), function(value) {
11038
11158
  return "||";
11039
11159
  });
11040
- var BinaryOpSymbol$34 = $TV($C($EXPECT($L89, fail, 'BinaryOpSymbol "^^"'), $S($EXPECT($L90, fail, 'BinaryOpSymbol "xor"'), NonIdContinue)), function($skip, $loc, $0, $1) {
11160
+ var BinaryOpSymbol$34 = $TV($C($EXPECT($L87, fail, 'BinaryOpSymbol "^^"'), $S($EXPECT($L88, fail, 'BinaryOpSymbol "xor"'), NonIdContinue)), function($skip, $loc, $0, $1) {
11041
11161
  return {
11042
11162
  call: module2.getRef("xor"),
11043
11163
  special: true
11044
11164
  };
11045
11165
  });
11046
- var BinaryOpSymbol$35 = $TV($C($EXPECT($R8, fail, "BinaryOpSymbol /!\\^\\^?/"), $S($EXPECT($L91, fail, 'BinaryOpSymbol "xnor"'), NonIdContinue)), function($skip, $loc, $0, $1) {
11166
+ var BinaryOpSymbol$35 = $TV($C($EXPECT($R8, fail, "BinaryOpSymbol /!\\^\\^?/"), $S($EXPECT($L89, fail, 'BinaryOpSymbol "xnor"'), NonIdContinue)), function($skip, $loc, $0, $1) {
11047
11167
  return {
11048
11168
  call: module2.getRef("xnor"),
11049
11169
  special: true
11050
11170
  };
11051
11171
  });
11052
- var BinaryOpSymbol$36 = $EXPECT($L92, fail, 'BinaryOpSymbol "??"');
11053
- var BinaryOpSymbol$37 = $T($EXPECT($L93, fail, 'BinaryOpSymbol "\u2047"'), function(value) {
11172
+ var BinaryOpSymbol$36 = $EXPECT($L90, fail, 'BinaryOpSymbol "??"');
11173
+ var BinaryOpSymbol$37 = $T($EXPECT($L91, fail, 'BinaryOpSymbol "\u2047"'), function(value) {
11054
11174
  return "??";
11055
11175
  });
11056
11176
  var BinaryOpSymbol$38 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L5, fail, 'BinaryOpSymbol "?"')), function(value) {
11057
11177
  return "??";
11058
11178
  });
11059
- var BinaryOpSymbol$39 = $TS($S($EXPECT($L94, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11179
+ var BinaryOpSymbol$39 = $TS($S($EXPECT($L92, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11060
11180
  return {
11061
11181
  $loc,
11062
11182
  token: $1,
@@ -11064,7 +11184,7 @@ ${input.slice(result.pos)}
11064
11184
  special: true
11065
11185
  };
11066
11186
  });
11067
- var BinaryOpSymbol$40 = $TS($S(Not, __, $EXPECT($L94, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4) {
11187
+ var BinaryOpSymbol$40 = $TS($S(Not, __, $EXPECT($L92, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4) {
11068
11188
  return {
11069
11189
  $loc,
11070
11190
  token: "instanceof",
@@ -11073,7 +11193,7 @@ ${input.slice(result.pos)}
11073
11193
  negated: true
11074
11194
  };
11075
11195
  });
11076
- var BinaryOpSymbol$41 = $TV($C($S($N(CoffeeOfEnabled), Not, __, In), $S(CoffeeOfEnabled, Not, __, $EXPECT($L85, fail, 'BinaryOpSymbol "of"'), NonIdContinue)), function($skip, $loc, $0, $1) {
11196
+ var BinaryOpSymbol$41 = $TV($C($S($N(CoffeeOfEnabled), Not, __, In), $S(CoffeeOfEnabled, Not, __, $EXPECT($L83, fail, 'BinaryOpSymbol "of"'), NonIdContinue)), function($skip, $loc, $0, $1) {
11077
11197
  return {
11078
11198
  $loc,
11079
11199
  token: "in",
@@ -11081,7 +11201,7 @@ ${input.slice(result.pos)}
11081
11201
  negated: true
11082
11202
  };
11083
11203
  });
11084
- var BinaryOpSymbol$42 = $TV($C($S(Is, __, In), $EXPECT($L95, fail, 'BinaryOpSymbol "\u2208"')), function($skip, $loc, $0, $1) {
11204
+ var BinaryOpSymbol$42 = $TV($C($S(Is, __, In), $EXPECT($L93, fail, 'BinaryOpSymbol "\u2208"')), function($skip, $loc, $0, $1) {
11085
11205
  return {
11086
11206
  method: "includes",
11087
11207
  relational: true,
@@ -11089,14 +11209,14 @@ ${input.slice(result.pos)}
11089
11209
  special: true
11090
11210
  };
11091
11211
  });
11092
- var BinaryOpSymbol$43 = $TV($EXPECT($L96, fail, 'BinaryOpSymbol "\u220B"'), function($skip, $loc, $0, $1) {
11212
+ var BinaryOpSymbol$43 = $TV($EXPECT($L94, fail, 'BinaryOpSymbol "\u220B"'), function($skip, $loc, $0, $1) {
11093
11213
  return {
11094
11214
  method: "includes",
11095
11215
  relational: true,
11096
11216
  special: true
11097
11217
  };
11098
11218
  });
11099
- var BinaryOpSymbol$44 = $TV($EXPECT($L97, fail, 'BinaryOpSymbol "\u220C"'), function($skip, $loc, $0, $1) {
11219
+ var BinaryOpSymbol$44 = $TV($EXPECT($L95, fail, 'BinaryOpSymbol "\u220C"'), function($skip, $loc, $0, $1) {
11100
11220
  return {
11101
11221
  method: "includes",
11102
11222
  relational: true,
@@ -11113,7 +11233,7 @@ ${input.slice(result.pos)}
11113
11233
  special: true
11114
11234
  };
11115
11235
  });
11116
- var BinaryOpSymbol$46 = $TV($C($S(Is, __, Not, __, In), $EXPECT($L98, fail, 'BinaryOpSymbol "\u2209"')), function($skip, $loc, $0, $1) {
11236
+ var BinaryOpSymbol$46 = $TV($C($S(Is, __, Not, __, In), $EXPECT($L96, fail, 'BinaryOpSymbol "\u2209"')), function($skip, $loc, $0, $1) {
11117
11237
  return {
11118
11238
  method: "includes",
11119
11239
  relational: true,
@@ -11157,9 +11277,9 @@ ${input.slice(result.pos)}
11157
11277
  var BinaryOpSymbol$50 = $TS($S(In), function($skip, $loc, $0, $1) {
11158
11278
  return "in";
11159
11279
  });
11160
- var BinaryOpSymbol$51 = $EXPECT($L99, fail, 'BinaryOpSymbol "&"');
11161
- var BinaryOpSymbol$52 = $EXPECT($L19, fail, 'BinaryOpSymbol "^"');
11162
- var BinaryOpSymbol$53 = $EXPECT($L100, fail, 'BinaryOpSymbol "|"');
11280
+ var BinaryOpSymbol$51 = $EXPECT($L97, fail, 'BinaryOpSymbol "&"');
11281
+ var BinaryOpSymbol$52 = $EXPECT($L17, fail, 'BinaryOpSymbol "^"');
11282
+ var BinaryOpSymbol$53 = $EXPECT($L98, fail, 'BinaryOpSymbol "|"');
11163
11283
  function BinaryOpSymbol(state) {
11164
11284
  let eventData;
11165
11285
  if (state.events) {
@@ -11182,8 +11302,8 @@ ${input.slice(result.pos)}
11182
11302
  return result;
11183
11303
  }
11184
11304
  }
11185
- var Xor$0 = $EXPECT($L89, fail, 'Xor "^^"');
11186
- var Xor$1 = $S($EXPECT($L90, fail, 'Xor "xor"'), NonIdContinue);
11305
+ var Xor$0 = $EXPECT($L87, fail, 'Xor "^^"');
11306
+ var Xor$1 = $S($EXPECT($L88, fail, 'Xor "xor"'), NonIdContinue);
11187
11307
  function Xor(state) {
11188
11308
  let eventData;
11189
11309
  if (state.events) {
@@ -11207,7 +11327,7 @@ ${input.slice(result.pos)}
11207
11327
  }
11208
11328
  }
11209
11329
  var Xnor$0 = $R$0($EXPECT($R8, fail, "Xnor /!\\^\\^?/"));
11210
- var Xnor$1 = $EXPECT($L91, fail, 'Xnor "xnor"');
11330
+ var Xnor$1 = $EXPECT($L89, fail, 'Xnor "xnor"');
11211
11331
  function Xnor(state) {
11212
11332
  let eventData;
11213
11333
  if (state.events) {
@@ -11495,7 +11615,7 @@ ${input.slice(result.pos)}
11495
11615
  return result;
11496
11616
  }
11497
11617
  }
11498
- var EmptyStatement$0 = $TS($S($E(_), $Y($EXPECT($L101, fail, 'EmptyStatement ";"'))), function($skip, $loc, $0, $1, $2) {
11618
+ var EmptyStatement$0 = $TS($S($E(_), $Y($EXPECT($L99, fail, 'EmptyStatement ";"'))), function($skip, $loc, $0, $1, $2) {
11499
11619
  return { type: "EmptyStatement", children: $1 || [] };
11500
11620
  });
11501
11621
  function EmptyStatement(state) {
@@ -11574,7 +11694,7 @@ ${input.slice(result.pos)}
11574
11694
  var w = $3;
11575
11695
  return [id, colon, w];
11576
11696
  });
11577
- var Label$1 = $S($EXPECT($L102, fail, 'Label "$:"'), Whitespace);
11697
+ var Label$1 = $S($EXPECT($L100, fail, 'Label "$:"'), Whitespace);
11578
11698
  function Label(state) {
11579
11699
  let eventData;
11580
11700
  if (state.events) {
@@ -12052,6 +12172,7 @@ ${input.slice(result.pos)}
12052
12172
  subtype: statement.type,
12053
12173
  children: [statement],
12054
12174
  block: statement.block,
12175
+ statement,
12055
12176
  async
12056
12177
  };
12057
12178
  });
@@ -12418,7 +12539,7 @@ ${input.slice(result.pos)}
12418
12539
  }
12419
12540
  if (declaration.own) {
12420
12541
  const hasPropRef = module2.getRef("hasProp");
12421
- blockPrefix.push(["", "if (!", hasPropRef, ".call(", exp, ", ", declaration, ")) continue", ";"]);
12542
+ blockPrefix.push(["", "if (!", hasPropRef, "(", exp, ", ", declaration, ")) continue", ";"]);
12422
12543
  }
12423
12544
  if (index) {
12424
12545
  blockPrefix.push(["", {
@@ -12543,7 +12664,7 @@ ${input.slice(result.pos)}
12543
12664
  return result;
12544
12665
  }
12545
12666
  }
12546
- var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($L103, fail, 'CoffeeForDeclaration "own"'), NonIdContinue)), ForBinding), function($skip, $loc, $0, $1, $2) {
12667
+ var CoffeeForDeclaration$0 = $TS($S($E($S(__, Own)), ForBinding), function($skip, $loc, $0, $1, $2) {
12547
12668
  var own = $1;
12548
12669
  var binding = $2;
12549
12670
  return {
@@ -12589,11 +12710,11 @@ ${input.slice(result.pos)}
12589
12710
  children: $0
12590
12711
  };
12591
12712
  });
12592
- var ForStatementParameters$2 = $TS($S($E($S(Await, __)), $E($S(Each, __)), $S(OpenParen, __), ForInOfDeclaration, $E($S(__, Comma, __, ForInOfDeclaration)), __, $C(In, Of), ExpressionWithObjectApplicationForbidden, $E($S(__, By, ExpressionWithObjectApplicationForbidden)), $S(__, CloseParen)), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10) {
12593
- return processForInOf($0);
12713
+ var ForStatementParameters$2 = $TS($S($E($S(Await, __)), $E($S($C(Each, Own), __)), $S(OpenParen, __), ForInOfDeclaration, $E($S(__, Comma, __, ForInOfDeclaration)), __, $C(In, Of), ExpressionWithObjectApplicationForbidden, $E($S(__, By, ExpressionWithObjectApplicationForbidden)), $S(__, CloseParen)), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10) {
12714
+ return processForInOf($0, module2.getRef);
12594
12715
  });
12595
- var ForStatementParameters$3 = $TS($S($E($S(Await, __)), $E($S(Each, __)), InsertOpenParen, ForInOfDeclaration, $E($S(__, Comma, __, ForInOfDeclaration)), __, $C(In, Of), ExpressionWithObjectApplicationForbidden, $E($S(__, By, ExpressionWithObjectApplicationForbidden)), InsertCloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10) {
12596
- return processForInOf($0);
12716
+ var ForStatementParameters$3 = $TS($S($E($S(Await, __)), $E($S($C(Each, Own), __)), InsertOpenParen, ForInOfDeclaration, $E($S(__, Comma, __, ForInOfDeclaration)), __, $C(In, Of), ExpressionWithObjectApplicationForbidden, $E($S(__, By, ExpressionWithObjectApplicationForbidden)), InsertCloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10) {
12717
+ return processForInOf($0, module2.getRef);
12597
12718
  });
12598
12719
  var ForStatementParameters$4 = ForRangeParameters;
12599
12720
  function ForStatementParameters(state) {
@@ -14172,7 +14293,7 @@ ${input.slice(result.pos)}
14172
14293
  return result;
14173
14294
  }
14174
14295
  }
14175
- var Break$0 = $TS($S($EXPECT($L104, fail, 'Break "break"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14296
+ var Break$0 = $TS($S($EXPECT($L101, fail, 'Break "break"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14176
14297
  return { $loc, token: $1 };
14177
14298
  });
14178
14299
  function Break(state) {
@@ -14197,7 +14318,7 @@ ${input.slice(result.pos)}
14197
14318
  return result;
14198
14319
  }
14199
14320
  }
14200
- var Continue$0 = $TS($S($EXPECT($L105, fail, 'Continue "continue"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14321
+ var Continue$0 = $TS($S($EXPECT($L102, fail, 'Continue "continue"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14201
14322
  return { $loc, token: $1 };
14202
14323
  });
14203
14324
  function Continue(state) {
@@ -14222,7 +14343,7 @@ ${input.slice(result.pos)}
14222
14343
  return result;
14223
14344
  }
14224
14345
  }
14225
- var Debugger$0 = $TS($S($EXPECT($L106, fail, 'Debugger "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14346
+ var Debugger$0 = $TS($S($EXPECT($L103, fail, 'Debugger "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14226
14347
  return { $loc, token: $1 };
14227
14348
  });
14228
14349
  function Debugger(state) {
@@ -14528,7 +14649,7 @@ ${input.slice(result.pos)}
14528
14649
  return result;
14529
14650
  }
14530
14651
  }
14531
- var ImportAssertion$0 = $S($E(_), $EXPECT($L107, fail, 'ImportAssertion "assert"'), NonIdContinue, $E(_), ObjectLiteral);
14652
+ var ImportAssertion$0 = $S($E(_), $EXPECT($L104, fail, 'ImportAssertion "assert"'), NonIdContinue, $E(_), ObjectLiteral);
14532
14653
  function ImportAssertion(state) {
14533
14654
  let eventData;
14534
14655
  if (state.events) {
@@ -15098,7 +15219,7 @@ ${input.slice(result.pos)}
15098
15219
  return result;
15099
15220
  }
15100
15221
  }
15101
- var ConstAssignment$0 = $TV($C($EXPECT($L108, fail, 'ConstAssignment ":="'), $EXPECT($L109, fail, 'ConstAssignment "\u2254"')), function($skip, $loc, $0, $1) {
15222
+ var ConstAssignment$0 = $TV($C($EXPECT($L105, fail, 'ConstAssignment ":="'), $EXPECT($L106, fail, 'ConstAssignment "\u2254"')), function($skip, $loc, $0, $1) {
15102
15223
  return { $loc, token: "=" };
15103
15224
  });
15104
15225
  function ConstAssignment(state) {
@@ -15123,7 +15244,7 @@ ${input.slice(result.pos)}
15123
15244
  return result;
15124
15245
  }
15125
15246
  }
15126
- var LetAssignment$0 = $TV($EXPECT($L110, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
15247
+ var LetAssignment$0 = $TV($EXPECT($L107, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
15127
15248
  return { $loc, token: "=" };
15128
15249
  });
15129
15250
  function LetAssignment(state) {
@@ -15769,7 +15890,7 @@ ${input.slice(result.pos)}
15769
15890
  }
15770
15891
  }
15771
15892
  var RegularExpressionLiteral$0 = HeregexLiteral;
15772
- var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($L56, fail, 'RegularExpressionLiteral "/"'), RegularExpressionBody, $EXPECT($L56, fail, 'RegularExpressionLiteral "/"'), RegularExpressionFlags)), function($skip, $loc, $0, $1) {
15893
+ var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($L54, fail, 'RegularExpressionLiteral "/"'), RegularExpressionBody, $EXPECT($L54, fail, 'RegularExpressionLiteral "/"'), RegularExpressionFlags)), function($skip, $loc, $0, $1) {
15773
15894
  return { type: "RegularExpressionLiteral", $loc, token: $1 };
15774
15895
  });
15775
15896
  function RegularExpressionLiteral(state) {
@@ -16336,7 +16457,7 @@ ${input.slice(result.pos)}
16336
16457
  return result;
16337
16458
  }
16338
16459
  }
16339
- var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L111, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L112, fail, 'JSMultiLineComment "*/"')), $EXPECT($R42, fail, "JSMultiLineComment /./"))), $EXPECT($L112, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
16460
+ var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L108, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L109, fail, 'JSMultiLineComment "*/"')), $EXPECT($R42, fail, "JSMultiLineComment /./"))), $EXPECT($L109, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
16340
16461
  return { type: "Comment", $loc, token: $1 };
16341
16462
  });
16342
16463
  function JSMultiLineComment(state) {
@@ -16435,7 +16556,7 @@ ${input.slice(result.pos)}
16435
16556
  return result;
16436
16557
  }
16437
16558
  }
16438
- var InlineComment$0 = $TV($TEXT($S($EXPECT($L111, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L112, fail, 'InlineComment "*/"')), $EXPECT($R46, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L112, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
16559
+ var InlineComment$0 = $TV($TEXT($S($EXPECT($L108, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L109, fail, 'InlineComment "*/"')), $EXPECT($R46, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L109, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
16439
16560
  return { $loc, token: $1 };
16440
16561
  });
16441
16562
  function InlineComment(state) {
@@ -16532,7 +16653,7 @@ ${input.slice(result.pos)}
16532
16653
  var NonNewlineWhitespace$0 = $TR($EXPECT($R47, fail, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
16533
16654
  return { $loc, token: $0 };
16534
16655
  });
16535
- var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L113, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
16656
+ var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L110, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
16536
16657
  return "";
16537
16658
  });
16538
16659
  function NonNewlineWhitespace(state) {
@@ -16684,7 +16805,7 @@ ${input.slice(result.pos)}
16684
16805
  }
16685
16806
  }
16686
16807
  var StatementDelimiter$0 = SemicolonDelimiter;
16687
- var StatementDelimiter$1 = $S($Y($S(Nested, $C($EXPECT($L4, fail, 'StatementDelimiter "("'), $EXPECT($L114, fail, 'StatementDelimiter "["'), $EXPECT($L115, fail, 'StatementDelimiter "`"'), $EXPECT($L59, fail, 'StatementDelimiter "+"'), $EXPECT($L20, fail, 'StatementDelimiter "-"'), $EXPECT($L55, fail, 'StatementDelimiter "*"'), $EXPECT($L56, fail, 'StatementDelimiter "/"'), ObjectLiteral, Arrow, FatArrow, $S(Function, $E($S($E(_), Star)), $E(_), $EXPECT($L4, fail, 'StatementDelimiter "("'))))), InsertSemicolon);
16808
+ var StatementDelimiter$1 = $S($Y($S(Nested, $C($EXPECT($L4, fail, 'StatementDelimiter "("'), $EXPECT($L111, fail, 'StatementDelimiter "["'), $EXPECT($L112, fail, 'StatementDelimiter "`"'), $EXPECT($L57, fail, 'StatementDelimiter "+"'), $EXPECT($L18, fail, 'StatementDelimiter "-"'), $EXPECT($L53, fail, 'StatementDelimiter "*"'), $EXPECT($L54, fail, 'StatementDelimiter "/"'), ObjectLiteral, Arrow, FatArrow, $S(Function, $E($S($E(_), Star)), $E(_), $EXPECT($L4, fail, 'StatementDelimiter "("'))))), InsertSemicolon);
16688
16809
  var StatementDelimiter$2 = $Y(EOS);
16689
16810
  function StatementDelimiter(state) {
16690
16811
  let eventData;
@@ -16784,7 +16905,7 @@ ${input.slice(result.pos)}
16784
16905
  return result;
16785
16906
  }
16786
16907
  }
16787
- var Abstract$0 = $TV($TEXT($S($EXPECT($L116, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L11, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
16908
+ var Abstract$0 = $TV($TEXT($S($EXPECT($L113, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L11, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
16788
16909
  return { $loc, token: $1, ts: true };
16789
16910
  });
16790
16911
  function Abstract(state) {
@@ -16809,7 +16930,7 @@ ${input.slice(result.pos)}
16809
16930
  return result;
16810
16931
  }
16811
16932
  }
16812
- var Ampersand$0 = $TV($EXPECT($L99, fail, 'Ampersand "&"'), function($skip, $loc, $0, $1) {
16933
+ var Ampersand$0 = $TV($EXPECT($L97, fail, 'Ampersand "&"'), function($skip, $loc, $0, $1) {
16813
16934
  return { $loc, token: $1 };
16814
16935
  });
16815
16936
  function Ampersand(state) {
@@ -16834,7 +16955,7 @@ ${input.slice(result.pos)}
16834
16955
  return result;
16835
16956
  }
16836
16957
  }
16837
- var As$0 = $TS($S($EXPECT($L117, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16958
+ var As$0 = $TS($S($EXPECT($L114, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16838
16959
  return { $loc, token: $1 };
16839
16960
  });
16840
16961
  function As(state) {
@@ -16859,7 +16980,7 @@ ${input.slice(result.pos)}
16859
16980
  return result;
16860
16981
  }
16861
16982
  }
16862
- var At$0 = $TV($EXPECT($L118, fail, 'At "@"'), function($skip, $loc, $0, $1) {
16983
+ var At$0 = $TV($EXPECT($L115, fail, 'At "@"'), function($skip, $loc, $0, $1) {
16863
16984
  return { $loc, token: $1 };
16864
16985
  });
16865
16986
  function At(state) {
@@ -16884,7 +17005,7 @@ ${input.slice(result.pos)}
16884
17005
  return result;
16885
17006
  }
16886
17007
  }
16887
- var AtAt$0 = $TV($EXPECT($L119, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
17008
+ var AtAt$0 = $TV($EXPECT($L116, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
16888
17009
  return { $loc, token: "@" };
16889
17010
  });
16890
17011
  function AtAt(state) {
@@ -16909,7 +17030,7 @@ ${input.slice(result.pos)}
16909
17030
  return result;
16910
17031
  }
16911
17032
  }
16912
- var Async$0 = $TS($S($EXPECT($L120, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17033
+ var Async$0 = $TS($S($EXPECT($L117, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16913
17034
  return { $loc, token: $1, type: "Async" };
16914
17035
  });
16915
17036
  function Async(state) {
@@ -16934,7 +17055,7 @@ ${input.slice(result.pos)}
16934
17055
  return result;
16935
17056
  }
16936
17057
  }
16937
- var Await$0 = $TS($S($EXPECT($L121, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17058
+ var Await$0 = $TS($S($EXPECT($L118, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16938
17059
  return { $loc, token: $1, type: "Await" };
16939
17060
  });
16940
17061
  function Await(state) {
@@ -16959,7 +17080,7 @@ ${input.slice(result.pos)}
16959
17080
  return result;
16960
17081
  }
16961
17082
  }
16962
- var Backtick$0 = $TV($EXPECT($L115, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
17083
+ var Backtick$0 = $TV($EXPECT($L112, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
16963
17084
  return { $loc, token: $1 };
16964
17085
  });
16965
17086
  function Backtick(state) {
@@ -16984,7 +17105,7 @@ ${input.slice(result.pos)}
16984
17105
  return result;
16985
17106
  }
16986
17107
  }
16987
- var By$0 = $TS($S($EXPECT($L122, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17108
+ var By$0 = $TS($S($EXPECT($L119, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16988
17109
  return { $loc, token: $1 };
16989
17110
  });
16990
17111
  function By(state) {
@@ -17009,7 +17130,7 @@ ${input.slice(result.pos)}
17009
17130
  return result;
17010
17131
  }
17011
17132
  }
17012
- var Case$0 = $TS($S($EXPECT($L123, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17133
+ var Case$0 = $TS($S($EXPECT($L120, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17013
17134
  return { $loc, token: $1 };
17014
17135
  });
17015
17136
  function Case(state) {
@@ -17034,7 +17155,7 @@ ${input.slice(result.pos)}
17034
17155
  return result;
17035
17156
  }
17036
17157
  }
17037
- var Catch$0 = $TS($S($EXPECT($L124, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17158
+ var Catch$0 = $TS($S($EXPECT($L121, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17038
17159
  return { $loc, token: $1 };
17039
17160
  });
17040
17161
  function Catch(state) {
@@ -17059,7 +17180,7 @@ ${input.slice(result.pos)}
17059
17180
  return result;
17060
17181
  }
17061
17182
  }
17062
- var Class$0 = $TS($S($EXPECT($L125, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17183
+ var Class$0 = $TS($S($EXPECT($L122, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17063
17184
  return { $loc, token: $1 };
17064
17185
  });
17065
17186
  function Class(state) {
@@ -17084,7 +17205,7 @@ ${input.slice(result.pos)}
17084
17205
  return result;
17085
17206
  }
17086
17207
  }
17087
- var CloseBrace$0 = $TV($EXPECT($L26, fail, 'CloseBrace "}"'), function($skip, $loc, $0, $1) {
17208
+ var CloseBrace$0 = $TV($EXPECT($L24, fail, 'CloseBrace "}"'), function($skip, $loc, $0, $1) {
17088
17209
  return { $loc, token: $1 };
17089
17210
  });
17090
17211
  function CloseBrace(state) {
@@ -17109,7 +17230,7 @@ ${input.slice(result.pos)}
17109
17230
  return result;
17110
17231
  }
17111
17232
  }
17112
- var CloseBracket$0 = $TV($EXPECT($L35, fail, 'CloseBracket "]"'), function($skip, $loc, $0, $1) {
17233
+ var CloseBracket$0 = $TV($EXPECT($L33, fail, 'CloseBracket "]"'), function($skip, $loc, $0, $1) {
17113
17234
  return { $loc, token: $1 };
17114
17235
  });
17115
17236
  function CloseBracket(state) {
@@ -17134,7 +17255,7 @@ ${input.slice(result.pos)}
17134
17255
  return result;
17135
17256
  }
17136
17257
  }
17137
- var CloseParen$0 = $TV($EXPECT($L126, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
17258
+ var CloseParen$0 = $TV($EXPECT($L123, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
17138
17259
  return { $loc, token: $1 };
17139
17260
  });
17140
17261
  function CloseParen(state) {
@@ -17159,7 +17280,7 @@ ${input.slice(result.pos)}
17159
17280
  return result;
17160
17281
  }
17161
17282
  }
17162
- var CoffeeSubstitutionStart$0 = $TV($EXPECT($L127, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
17283
+ var CoffeeSubstitutionStart$0 = $TV($EXPECT($L124, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
17163
17284
  return { $loc, token: "${" };
17164
17285
  });
17165
17286
  function CoffeeSubstitutionStart(state) {
@@ -17209,7 +17330,7 @@ ${input.slice(result.pos)}
17209
17330
  return result;
17210
17331
  }
17211
17332
  }
17212
- var Comma$0 = $TV($EXPECT($L23, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
17333
+ var Comma$0 = $TV($EXPECT($L21, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
17213
17334
  return { $loc, token: $1 };
17214
17335
  });
17215
17336
  function Comma(state) {
@@ -17234,7 +17355,7 @@ ${input.slice(result.pos)}
17234
17355
  return result;
17235
17356
  }
17236
17357
  }
17237
- var ConstructorShorthand$0 = $TV($EXPECT($L118, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
17358
+ var ConstructorShorthand$0 = $TV($EXPECT($L115, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
17238
17359
  return { $loc, token: "constructor" };
17239
17360
  });
17240
17361
  function ConstructorShorthand(state) {
@@ -17259,7 +17380,7 @@ ${input.slice(result.pos)}
17259
17380
  return result;
17260
17381
  }
17261
17382
  }
17262
- var Declare$0 = $TS($S($EXPECT($L128, fail, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17383
+ var Declare$0 = $TS($S($EXPECT($L125, fail, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17263
17384
  return { $loc, token: $1 };
17264
17385
  });
17265
17386
  function Declare(state) {
@@ -17284,7 +17405,7 @@ ${input.slice(result.pos)}
17284
17405
  return result;
17285
17406
  }
17286
17407
  }
17287
- var Default$0 = $TS($S($EXPECT($L129, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17408
+ var Default$0 = $TS($S($EXPECT($L126, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17288
17409
  return { $loc, token: $1 };
17289
17410
  });
17290
17411
  function Default(state) {
@@ -17309,7 +17430,7 @@ ${input.slice(result.pos)}
17309
17430
  return result;
17310
17431
  }
17311
17432
  }
17312
- var Delete$0 = $TS($S($EXPECT($L130, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17433
+ var Delete$0 = $TS($S($EXPECT($L127, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17313
17434
  return { $loc, token: $1 };
17314
17435
  });
17315
17436
  function Delete(state) {
@@ -17334,7 +17455,7 @@ ${input.slice(result.pos)}
17334
17455
  return result;
17335
17456
  }
17336
17457
  }
17337
- var Do$0 = $TS($S($EXPECT($L131, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17458
+ var Do$0 = $TS($S($EXPECT($L128, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17338
17459
  return { $loc, token: $1 };
17339
17460
  });
17340
17461
  function Do(state) {
@@ -17391,10 +17512,10 @@ ${input.slice(result.pos)}
17391
17512
  return result;
17392
17513
  }
17393
17514
  }
17394
- var DotDot$0 = $TS($S($EXPECT($L132, fail, 'DotDot ".."'), $N($EXPECT($L6, fail, 'DotDot "."'))), function($skip, $loc, $0, $1, $2) {
17515
+ var DotDot$0 = $TS($S($EXPECT($L129, fail, 'DotDot ".."'), $N($EXPECT($L6, fail, 'DotDot "."'))), function($skip, $loc, $0, $1, $2) {
17395
17516
  return { $loc, token: $1 };
17396
17517
  });
17397
- var DotDot$1 = $TV($EXPECT($L133, fail, 'DotDot "\u2025"'), function($skip, $loc, $0, $1) {
17518
+ var DotDot$1 = $TV($EXPECT($L130, fail, 'DotDot "\u2025"'), function($skip, $loc, $0, $1) {
17398
17519
  return { $loc, token: ".." };
17399
17520
  });
17400
17521
  function DotDot(state) {
@@ -17419,10 +17540,10 @@ ${input.slice(result.pos)}
17419
17540
  return result;
17420
17541
  }
17421
17542
  }
17422
- var DotDotDot$0 = $TV($EXPECT($L134, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
17543
+ var DotDotDot$0 = $TV($EXPECT($L131, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
17423
17544
  return { $loc, token: $1 };
17424
17545
  });
17425
- var DotDotDot$1 = $TV($EXPECT($L135, fail, 'DotDotDot "\u2026"'), function($skip, $loc, $0, $1) {
17546
+ var DotDotDot$1 = $TV($EXPECT($L132, fail, 'DotDotDot "\u2026"'), function($skip, $loc, $0, $1) {
17426
17547
  return { $loc, token: "..." };
17427
17548
  });
17428
17549
  function DotDotDot(state) {
@@ -17447,7 +17568,7 @@ ${input.slice(result.pos)}
17447
17568
  return result;
17448
17569
  }
17449
17570
  }
17450
- var DoubleColon$0 = $TV($EXPECT($L136, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
17571
+ var DoubleColon$0 = $TV($EXPECT($L133, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
17451
17572
  return { $loc, token: $1 };
17452
17573
  });
17453
17574
  function DoubleColon(state) {
@@ -17472,7 +17593,7 @@ ${input.slice(result.pos)}
17472
17593
  return result;
17473
17594
  }
17474
17595
  }
17475
- var DoubleQuote$0 = $TV($EXPECT($L137, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
17596
+ var DoubleQuote$0 = $TV($EXPECT($L134, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
17476
17597
  return { $loc, token: $1 };
17477
17598
  });
17478
17599
  function DoubleQuote(state) {
@@ -17497,7 +17618,7 @@ ${input.slice(result.pos)}
17497
17618
  return result;
17498
17619
  }
17499
17620
  }
17500
- var Each$0 = $TS($S($EXPECT($L138, fail, 'Each "each"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17621
+ var Each$0 = $TS($S($EXPECT($L135, fail, 'Each "each"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17501
17622
  return { $loc, token: $1 };
17502
17623
  });
17503
17624
  function Each(state) {
@@ -17522,7 +17643,7 @@ ${input.slice(result.pos)}
17522
17643
  return result;
17523
17644
  }
17524
17645
  }
17525
- var Else$0 = $TS($S($EXPECT($L139, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17646
+ var Else$0 = $TS($S($EXPECT($L136, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17526
17647
  return { $loc, token: $1 };
17527
17648
  });
17528
17649
  function Else(state) {
@@ -17572,7 +17693,7 @@ ${input.slice(result.pos)}
17572
17693
  return result;
17573
17694
  }
17574
17695
  }
17575
- var Export$0 = $TS($S($EXPECT($L140, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17696
+ var Export$0 = $TS($S($EXPECT($L137, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17576
17697
  return { $loc, token: $1 };
17577
17698
  });
17578
17699
  function Export(state) {
@@ -17597,7 +17718,7 @@ ${input.slice(result.pos)}
17597
17718
  return result;
17598
17719
  }
17599
17720
  }
17600
- var Extends$0 = $TS($S($EXPECT($L141, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17721
+ var Extends$0 = $TS($S($EXPECT($L138, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17601
17722
  return { $loc, token: $1 };
17602
17723
  });
17603
17724
  function Extends(state) {
@@ -17622,7 +17743,7 @@ ${input.slice(result.pos)}
17622
17743
  return result;
17623
17744
  }
17624
17745
  }
17625
- var Finally$0 = $TS($S($EXPECT($L142, fail, 'Finally "finally"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17746
+ var Finally$0 = $TS($S($EXPECT($L139, fail, 'Finally "finally"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17626
17747
  return { $loc, token: $1 };
17627
17748
  });
17628
17749
  function Finally(state) {
@@ -17647,7 +17768,7 @@ ${input.slice(result.pos)}
17647
17768
  return result;
17648
17769
  }
17649
17770
  }
17650
- var For$0 = $TS($S($EXPECT($L143, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17771
+ var For$0 = $TS($S($EXPECT($L140, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17651
17772
  return { $loc, token: $1 };
17652
17773
  });
17653
17774
  function For(state) {
@@ -17672,7 +17793,7 @@ ${input.slice(result.pos)}
17672
17793
  return result;
17673
17794
  }
17674
17795
  }
17675
- var From$0 = $TS($S($EXPECT($L144, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17796
+ var From$0 = $TS($S($EXPECT($L141, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17676
17797
  return { $loc, token: $1 };
17677
17798
  });
17678
17799
  function From(state) {
@@ -17697,7 +17818,7 @@ ${input.slice(result.pos)}
17697
17818
  return result;
17698
17819
  }
17699
17820
  }
17700
- var Function$0 = $TS($S($EXPECT($L145, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17821
+ var Function$0 = $TS($S($EXPECT($L142, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17701
17822
  return { $loc, token: $1 };
17702
17823
  });
17703
17824
  function Function(state) {
@@ -17722,7 +17843,7 @@ ${input.slice(result.pos)}
17722
17843
  return result;
17723
17844
  }
17724
17845
  }
17725
- var GetOrSet$0 = $TS($S($C($EXPECT($L146, fail, 'GetOrSet "get"'), $EXPECT($L147, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17846
+ var GetOrSet$0 = $TS($S($C($EXPECT($L143, fail, 'GetOrSet "get"'), $EXPECT($L144, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17726
17847
  return { $loc, token: $1, type: "GetOrSet" };
17727
17848
  });
17728
17849
  function GetOrSet(state) {
@@ -17747,7 +17868,32 @@ ${input.slice(result.pos)}
17747
17868
  return result;
17748
17869
  }
17749
17870
  }
17750
- var If$0 = $TV($TEXT($S($EXPECT($L148, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L11, fail, 'If " "')))), function($skip, $loc, $0, $1) {
17871
+ var Hash$0 = $TV($EXPECT($L145, fail, 'Hash "#"'), function($skip, $loc, $0, $1) {
17872
+ return { $loc, token: $1 };
17873
+ });
17874
+ function Hash(state) {
17875
+ let eventData;
17876
+ if (state.events) {
17877
+ const result = state.events.enter?.("Hash", state);
17878
+ if (result) {
17879
+ if (result.cache)
17880
+ return result.cache;
17881
+ eventData = result.data;
17882
+ }
17883
+ }
17884
+ if (state.tokenize) {
17885
+ const result = $TOKEN("Hash", state, Hash$0(state));
17886
+ if (state.events)
17887
+ state.events.exit?.("Hash", state, result, eventData);
17888
+ return result;
17889
+ } else {
17890
+ const result = Hash$0(state);
17891
+ if (state.events)
17892
+ state.events.exit?.("Hash", state, result, eventData);
17893
+ return result;
17894
+ }
17895
+ }
17896
+ var If$0 = $TV($TEXT($S($EXPECT($L146, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L11, fail, 'If " "')))), function($skip, $loc, $0, $1) {
17751
17897
  return { $loc, token: $1 };
17752
17898
  });
17753
17899
  function If(state) {
@@ -17772,7 +17918,7 @@ ${input.slice(result.pos)}
17772
17918
  return result;
17773
17919
  }
17774
17920
  }
17775
- var Import$0 = $TS($S($EXPECT($L17, fail, 'Import "import"'), $Y($EXPECT($R50, fail, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
17921
+ var Import$0 = $TS($S($EXPECT($L15, fail, 'Import "import"'), $Y($EXPECT($R50, fail, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
17776
17922
  return { $loc, token: $1 };
17777
17923
  });
17778
17924
  function Import(state) {
@@ -17797,7 +17943,7 @@ ${input.slice(result.pos)}
17797
17943
  return result;
17798
17944
  }
17799
17945
  }
17800
- var In$0 = $TS($S($EXPECT($L149, fail, 'In "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17946
+ var In$0 = $TS($S($EXPECT($L147, fail, 'In "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17801
17947
  return { $loc, token: $1 };
17802
17948
  });
17803
17949
  function In(state) {
@@ -17822,7 +17968,7 @@ ${input.slice(result.pos)}
17822
17968
  return result;
17823
17969
  }
17824
17970
  }
17825
- var LetOrConst$0 = $TS($S($C($EXPECT($L150, fail, 'LetOrConst "let"'), $EXPECT($L151, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17971
+ var LetOrConst$0 = $TS($S($C($EXPECT($L148, fail, 'LetOrConst "let"'), $EXPECT($L149, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17826
17972
  return { $loc, token: $1 };
17827
17973
  });
17828
17974
  function LetOrConst(state) {
@@ -17847,7 +17993,7 @@ ${input.slice(result.pos)}
17847
17993
  return result;
17848
17994
  }
17849
17995
  }
17850
- var Const$0 = $TS($S($EXPECT($L151, fail, 'Const "const"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17996
+ var Const$0 = $TS($S($EXPECT($L149, fail, 'Const "const"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17851
17997
  return { $loc, token: $1 };
17852
17998
  });
17853
17999
  function Const(state) {
@@ -17872,7 +18018,7 @@ ${input.slice(result.pos)}
17872
18018
  return result;
17873
18019
  }
17874
18020
  }
17875
- var Is$0 = $TS($S($EXPECT($L152, fail, 'Is "is"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
18021
+ var Is$0 = $TS($S($EXPECT($L150, fail, 'Is "is"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17876
18022
  return { $loc, token: $1 };
17877
18023
  });
17878
18024
  function Is(state) {
@@ -17921,7 +18067,7 @@ ${input.slice(result.pos)}
17921
18067
  return result;
17922
18068
  }
17923
18069
  }
17924
- var Loop$0 = $TS($S($EXPECT($L153, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
18070
+ var Loop$0 = $TS($S($EXPECT($L151, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17925
18071
  return { $loc, token: "while(true)" };
17926
18072
  });
17927
18073
  function Loop(state) {
@@ -17946,7 +18092,7 @@ ${input.slice(result.pos)}
17946
18092
  return result;
17947
18093
  }
17948
18094
  }
17949
- var New$0 = $TS($S($EXPECT($L154, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
18095
+ var New$0 = $TS($S($EXPECT($L152, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17950
18096
  return { $loc, token: $1 };
17951
18097
  });
17952
18098
  function New(state) {
@@ -17971,7 +18117,7 @@ ${input.slice(result.pos)}
17971
18117
  return result;
17972
18118
  }
17973
18119
  }
17974
- var Not$0 = $TS($S($EXPECT($L155, fail, 'Not "not"'), NonIdContinue, $N($S($E(_), $EXPECT($L12, fail, 'Not ":"')))), function($skip, $loc, $0, $1, $2, $3) {
18120
+ var Not$0 = $TS($S($EXPECT($L153, fail, 'Not "not"'), NonIdContinue, $N($S($E(_), $EXPECT($L12, fail, 'Not ":"')))), function($skip, $loc, $0, $1, $2, $3) {
17975
18121
  return { $loc, token: "!" };
17976
18122
  });
17977
18123
  function Not(state) {
@@ -17996,7 +18142,7 @@ ${input.slice(result.pos)}
17996
18142
  return result;
17997
18143
  }
17998
18144
  }
17999
- var Of$0 = $TS($S($EXPECT($L85, fail, 'Of "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
18145
+ var Of$0 = $TS($S($EXPECT($L83, fail, 'Of "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
18000
18146
  return { $loc, token: $1 };
18001
18147
  });
18002
18148
  function Of(state) {
@@ -18021,7 +18167,7 @@ ${input.slice(result.pos)}
18021
18167
  return result;
18022
18168
  }
18023
18169
  }
18024
- var OpenAngleBracket$0 = $TV($EXPECT($L156, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
18170
+ var OpenAngleBracket$0 = $TV($EXPECT($L154, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
18025
18171
  return { $loc, token: $1 };
18026
18172
  });
18027
18173
  function OpenAngleBracket(state) {
@@ -18071,7 +18217,7 @@ ${input.slice(result.pos)}
18071
18217
  return result;
18072
18218
  }
18073
18219
  }
18074
- var OpenBracket$0 = $TV($EXPECT($L114, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
18220
+ var OpenBracket$0 = $TV($EXPECT($L111, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
18075
18221
  return { $loc, token: $1 };
18076
18222
  });
18077
18223
  function OpenBracket(state) {
@@ -18121,7 +18267,7 @@ ${input.slice(result.pos)}
18121
18267
  return result;
18122
18268
  }
18123
18269
  }
18124
- var Operator$0 = $TS($S($EXPECT($L157, fail, 'Operator "operator"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
18270
+ var Operator$0 = $TS($S($EXPECT($L155, fail, 'Operator "operator"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
18125
18271
  return { $loc, token: $1 };
18126
18272
  });
18127
18273
  function Operator(state) {
@@ -18146,7 +18292,32 @@ ${input.slice(result.pos)}
18146
18292
  return result;
18147
18293
  }
18148
18294
  }
18149
- var Public$0 = $TS($S($EXPECT($L158, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
18295
+ var Own$0 = $TS($S($EXPECT($L156, fail, 'Own "own"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
18296
+ return { $loc, token: $1 };
18297
+ });
18298
+ function Own(state) {
18299
+ let eventData;
18300
+ if (state.events) {
18301
+ const result = state.events.enter?.("Own", state);
18302
+ if (result) {
18303
+ if (result.cache)
18304
+ return result.cache;
18305
+ eventData = result.data;
18306
+ }
18307
+ }
18308
+ if (state.tokenize) {
18309
+ const result = $TOKEN("Own", state, Own$0(state));
18310
+ if (state.events)
18311
+ state.events.exit?.("Own", state, result, eventData);
18312
+ return result;
18313
+ } else {
18314
+ const result = Own$0(state);
18315
+ if (state.events)
18316
+ state.events.exit?.("Own", state, result, eventData);
18317
+ return result;
18318
+ }
18319
+ }
18320
+ var Public$0 = $TS($S($EXPECT($L157, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
18150
18321
  return { $loc, token: $1 };
18151
18322
  });
18152
18323
  function Public(state) {
@@ -18171,7 +18342,7 @@ ${input.slice(result.pos)}
18171
18342
  return result;
18172
18343
  }
18173
18344
  }
18174
- var Private$0 = $TS($S($EXPECT($L159, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
18345
+ var Private$0 = $TS($S($EXPECT($L158, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
18175
18346
  return { $loc, token: $1 };
18176
18347
  });
18177
18348
  function Private(state) {
@@ -18196,7 +18367,7 @@ ${input.slice(result.pos)}
18196
18367
  return result;
18197
18368
  }
18198
18369
  }
18199
- var Protected$0 = $TS($S($EXPECT($L160, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
18370
+ var Protected$0 = $TS($S($EXPECT($L159, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
18200
18371
  return { $loc, token: $1 };
18201
18372
  });
18202
18373
  function Protected(state) {
@@ -18221,13 +18392,13 @@ ${input.slice(result.pos)}
18221
18392
  return result;
18222
18393
  }
18223
18394
  }
18224
- var Pipe$0 = $TV($C($EXPECT($L161, fail, 'Pipe "||>"'), $EXPECT($L162, fail, 'Pipe "|\u25B7"')), function($skip, $loc, $0, $1) {
18395
+ var Pipe$0 = $TV($C($EXPECT($L160, fail, 'Pipe "||>"'), $EXPECT($L161, fail, 'Pipe "|\u25B7"')), function($skip, $loc, $0, $1) {
18225
18396
  return { $loc, token: "||>" };
18226
18397
  });
18227
- var Pipe$1 = $TV($C($EXPECT($L163, fail, 'Pipe "|>="'), $EXPECT($L164, fail, 'Pipe "\u25B7="')), function($skip, $loc, $0, $1) {
18398
+ var Pipe$1 = $TV($C($EXPECT($L162, fail, 'Pipe "|>="'), $EXPECT($L163, fail, 'Pipe "\u25B7="')), function($skip, $loc, $0, $1) {
18228
18399
  return { $loc, token: "|>=" };
18229
18400
  });
18230
- var Pipe$2 = $TV($C($EXPECT($L165, fail, 'Pipe "|>"'), $EXPECT($L166, fail, 'Pipe "\u25B7"')), function($skip, $loc, $0, $1) {
18401
+ var Pipe$2 = $TV($C($EXPECT($L164, fail, 'Pipe "|>"'), $EXPECT($L165, fail, 'Pipe "\u25B7"')), function($skip, $loc, $0, $1) {
18231
18402
  return { $loc, token: "|>" };
18232
18403
  });
18233
18404
  function Pipe(state) {
@@ -18277,7 +18448,7 @@ ${input.slice(result.pos)}
18277
18448
  return result;
18278
18449
  }
18279
18450
  }
18280
- var Readonly$0 = $TS($S($EXPECT($L167, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
18451
+ var Readonly$0 = $TS($S($EXPECT($L166, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
18281
18452
  return { $loc, token: $1, ts: true };
18282
18453
  });
18283
18454
  function Readonly(state) {
@@ -18302,7 +18473,7 @@ ${input.slice(result.pos)}
18302
18473
  return result;
18303
18474
  }
18304
18475
  }
18305
- var Return$0 = $TS($S($EXPECT($L168, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
18476
+ var Return$0 = $TS($S($EXPECT($L167, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
18306
18477
  return { $loc, token: $1 };
18307
18478
  });
18308
18479
  function Return(state) {
@@ -18327,7 +18498,7 @@ ${input.slice(result.pos)}
18327
18498
  return result;
18328
18499
  }
18329
18500
  }
18330
- var Satisfies$0 = $TS($S($EXPECT($L169, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
18501
+ var Satisfies$0 = $TS($S($EXPECT($L168, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
18331
18502
  return { $loc, token: $1 };
18332
18503
  });
18333
18504
  function Satisfies(state) {
@@ -18352,7 +18523,7 @@ ${input.slice(result.pos)}
18352
18523
  return result;
18353
18524
  }
18354
18525
  }
18355
- var Semicolon$0 = $TV($EXPECT($L101, fail, 'Semicolon ";"'), function($skip, $loc, $0, $1) {
18526
+ var Semicolon$0 = $TV($EXPECT($L99, fail, 'Semicolon ";"'), function($skip, $loc, $0, $1) {
18356
18527
  return { $loc, token: $1 };
18357
18528
  });
18358
18529
  function Semicolon(state) {
@@ -18377,7 +18548,7 @@ ${input.slice(result.pos)}
18377
18548
  return result;
18378
18549
  }
18379
18550
  }
18380
- var SingleQuote$0 = $TV($EXPECT($L170, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
18551
+ var SingleQuote$0 = $TV($EXPECT($L169, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
18381
18552
  return { $loc, token: $1 };
18382
18553
  });
18383
18554
  function SingleQuote(state) {
@@ -18402,7 +18573,7 @@ ${input.slice(result.pos)}
18402
18573
  return result;
18403
18574
  }
18404
18575
  }
18405
- var Star$0 = $TV($EXPECT($L55, fail, 'Star "*"'), function($skip, $loc, $0, $1) {
18576
+ var Star$0 = $TV($EXPECT($L53, fail, 'Star "*"'), function($skip, $loc, $0, $1) {
18406
18577
  return { $loc, token: $1 };
18407
18578
  });
18408
18579
  function Star(state) {
@@ -18427,10 +18598,10 @@ ${input.slice(result.pos)}
18427
18598
  return result;
18428
18599
  }
18429
18600
  }
18430
- var Static$0 = $TS($S($EXPECT($L171, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
18601
+ var Static$0 = $TS($S($EXPECT($L170, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
18431
18602
  return { $loc, token: $1 };
18432
18603
  });
18433
- var Static$1 = $TS($S($EXPECT($L118, fail, 'Static "@"'), $N($C($EXPECT($L4, fail, 'Static "("'), $EXPECT($L118, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
18604
+ var Static$1 = $TS($S($EXPECT($L115, fail, 'Static "@"'), $N($C($EXPECT($L4, fail, 'Static "("'), $EXPECT($L115, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
18434
18605
  return { $loc, token: "static " };
18435
18606
  });
18436
18607
  function Static(state) {
@@ -18455,7 +18626,7 @@ ${input.slice(result.pos)}
18455
18626
  return result;
18456
18627
  }
18457
18628
  }
18458
- var SubstitutionStart$0 = $TV($EXPECT($L172, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
18629
+ var SubstitutionStart$0 = $TV($EXPECT($L171, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
18459
18630
  return { $loc, token: $1 };
18460
18631
  });
18461
18632
  function SubstitutionStart(state) {
@@ -18480,6 +18651,31 @@ ${input.slice(result.pos)}
18480
18651
  return result;
18481
18652
  }
18482
18653
  }
18654
+ var Super$0 = $TS($S($EXPECT($L172, fail, 'Super "super"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
18655
+ return { $loc, token: $1 };
18656
+ });
18657
+ function Super(state) {
18658
+ let eventData;
18659
+ if (state.events) {
18660
+ const result = state.events.enter?.("Super", state);
18661
+ if (result) {
18662
+ if (result.cache)
18663
+ return result.cache;
18664
+ eventData = result.data;
18665
+ }
18666
+ }
18667
+ if (state.tokenize) {
18668
+ const result = $TOKEN("Super", state, Super$0(state));
18669
+ if (state.events)
18670
+ state.events.exit?.("Super", state, result, eventData);
18671
+ return result;
18672
+ } else {
18673
+ const result = Super$0(state);
18674
+ if (state.events)
18675
+ state.events.exit?.("Super", state, result, eventData);
18676
+ return result;
18677
+ }
18678
+ }
18483
18679
  var Switch$0 = $TS($S($EXPECT($L173, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
18484
18680
  return { $loc, token: $1 };
18485
18681
  });
@@ -19050,7 +19246,7 @@ ${input.slice(result.pos)}
19050
19246
  return result;
19051
19247
  }
19052
19248
  }
19053
- var JSXSelfClosingElement$0 = $TS($S($EXPECT($L156, fail, 'JSXSelfClosingElement "<"'), JSXElementName, $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L191, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
19249
+ var JSXSelfClosingElement$0 = $TS($S($EXPECT($L154, fail, 'JSXSelfClosingElement "<"'), JSXElementName, $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L191, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
19054
19250
  return { type: "JSXElement", children: $0, tag: $2 };
19055
19251
  });
19056
19252
  function JSXSelfClosingElement(state) {
@@ -19126,7 +19322,7 @@ ${input.slice(result.pos)}
19126
19322
  return result;
19127
19323
  }
19128
19324
  }
19129
- var JSXOpeningElement$0 = $S($EXPECT($L156, fail, 'JSXOpeningElement "<"'), JSXElementName, $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L34, fail, 'JSXOpeningElement ">"'));
19325
+ var JSXOpeningElement$0 = $S($EXPECT($L154, fail, 'JSXOpeningElement "<"'), JSXElementName, $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L32, fail, 'JSXOpeningElement ">"'));
19130
19326
  function JSXOpeningElement(state) {
19131
19327
  let eventData;
19132
19328
  if (state.events) {
@@ -19178,7 +19374,7 @@ ${input.slice(result.pos)}
19178
19374
  return result;
19179
19375
  }
19180
19376
  }
19181
- var JSXClosingElement$0 = $S($EXPECT($L192, fail, 'JSXClosingElement "</"'), $E(Whitespace), JSXElementName, $E(Whitespace), $EXPECT($L34, fail, 'JSXClosingElement ">"'));
19377
+ var JSXClosingElement$0 = $S($EXPECT($L192, fail, 'JSXClosingElement "</"'), $E(Whitespace), JSXElementName, $E(Whitespace), $EXPECT($L32, fail, 'JSXClosingElement ">"'));
19182
19378
  function JSXClosingElement(state) {
19183
19379
  let eventData;
19184
19380
  if (state.events) {
@@ -19324,7 +19520,7 @@ ${input.slice(result.pos)}
19324
19520
  return result;
19325
19521
  }
19326
19522
  }
19327
- var JSXElementName$0 = $TV($Y($S($C($EXPECT($L15, fail, 'JSXElementName "#"'), Dot), JSXShorthandString)), function($skip, $loc, $0, $1) {
19523
+ var JSXElementName$0 = $TV($Y($S($C($EXPECT($L145, fail, 'JSXElementName "#"'), Dot), JSXShorthandString)), function($skip, $loc, $0, $1) {
19328
19524
  return module2.config.defaultElement;
19329
19525
  });
19330
19526
  var JSXElementName$1 = $TEXT($S(JSXIdentifierName, $C($S(Colon, JSXIdentifierName), $Q($S(Dot, JSXIdentifierName)))));
@@ -19551,7 +19747,7 @@ ${input.slice(result.pos)}
19551
19747
  }
19552
19748
  return $skip;
19553
19749
  });
19554
- var JSXAttribute$5 = $TS($S($EXPECT($L15, fail, 'JSXAttribute "#"'), JSXShorthandString), function($skip, $loc, $0, $1, $2) {
19750
+ var JSXAttribute$5 = $TS($S($EXPECT($L145, fail, 'JSXAttribute "#"'), JSXShorthandString), function($skip, $loc, $0, $1, $2) {
19555
19751
  return [" ", "id=", $2];
19556
19752
  });
19557
19753
  var JSXAttribute$6 = $TS($S(Dot, JSXShorthandString), function($skip, $loc, $0, $1, $2) {
@@ -19881,7 +20077,7 @@ ${input.slice(result.pos)}
19881
20077
  return result;
19882
20078
  }
19883
20079
  }
19884
- var InlineJSXCallExpression$0 = $TS($S($EXPECT($L16, fail, 'InlineJSXCallExpression "super"'), ExplicitArguments, $Q(InlineJSXCallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
20080
+ var InlineJSXCallExpression$0 = $TS($S(Super, ExplicitArguments, $Q(InlineJSXCallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
19885
20081
  var args = $2;
19886
20082
  var rest = $3;
19887
20083
  return processCallMemberExpression({
@@ -19893,7 +20089,7 @@ ${input.slice(result.pos)}
19893
20089
  ]
19894
20090
  });
19895
20091
  });
19896
- var InlineJSXCallExpression$1 = $TS($S($EXPECT($L17, fail, 'InlineJSXCallExpression "import"'), ExplicitArguments, $Q(InlineJSXCallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
20092
+ var InlineJSXCallExpression$1 = $TS($S($EXPECT($L15, fail, 'InlineJSXCallExpression "import"'), ExplicitArguments, $Q(InlineJSXCallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
19897
20093
  var args = $2;
19898
20094
  var rest = $3;
19899
20095
  return processCallMemberExpression({
@@ -20141,7 +20337,7 @@ ${input.slice(result.pos)}
20141
20337
  }
20142
20338
  return $skip;
20143
20339
  });
20144
- var JSXNestedChildren$1 = $TV($Y($C(JSXEOS, $EXPECT($L26, fail, 'JSXNestedChildren "}"'), JSXClosingElement, JSXClosingFragment)), function($skip, $loc, $0, $1) {
20340
+ var JSXNestedChildren$1 = $TV($Y($C(JSXEOS, $EXPECT($L24, fail, 'JSXNestedChildren "}"'), JSXClosingElement, JSXClosingFragment)), function($skip, $loc, $0, $1) {
20145
20341
  return { children: [], jsxChildren: [] };
20146
20342
  });
20147
20343
  function JSXNestedChildren(state) {
@@ -21458,7 +21654,7 @@ ${input.slice(result.pos)}
21458
21654
  return result;
21459
21655
  }
21460
21656
  }
21461
- var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($L152, fail, 'TypePredicate "is"'), NonIdContinue, Type))), function($skip, $loc, $0, $1, $2) {
21657
+ var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($L150, fail, 'TypePredicate "is"'), NonIdContinue, Type))), function($skip, $loc, $0, $1, $2) {
21462
21658
  var lhs = $1;
21463
21659
  var rhs = $2;
21464
21660
  if (!rhs)
@@ -21603,7 +21799,7 @@ ${input.slice(result.pos)}
21603
21799
  var TypeUnaryOp$0 = $S($EXPECT($L204, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
21604
21800
  var TypeUnaryOp$1 = $S($EXPECT($L183, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
21605
21801
  var TypeUnaryOp$2 = $S($EXPECT($L205, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
21606
- var TypeUnaryOp$3 = $S($EXPECT($L167, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
21802
+ var TypeUnaryOp$3 = $S($EXPECT($L166, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
21607
21803
  function TypeUnaryOp(state) {
21608
21804
  let eventData;
21609
21805
  if (state.events) {
@@ -21694,8 +21890,8 @@ ${input.slice(result.pos)}
21694
21890
  return result;
21695
21891
  }
21696
21892
  }
21697
- var ImportType$0 = $S($EXPECT($L17, fail, 'ImportType "import"'), OpenParen, __, StringLiteral, __, CloseParen, $E($S(Dot, IdentifierName)), $E(TypeArguments));
21698
- var ImportType$1 = $S($EXPECT($L17, fail, 'ImportType "import"'), InsertOpenParen, Trimmed_, StringLiteral, InsertCloseParen);
21893
+ var ImportType$0 = $S($EXPECT($L15, fail, 'ImportType "import"'), OpenParen, __, StringLiteral, __, CloseParen, $E($S(Dot, IdentifierName)), $E(TypeArguments));
21894
+ var ImportType$1 = $S($EXPECT($L15, fail, 'ImportType "import"'), InsertOpenParen, Trimmed_, StringLiteral, InsertCloseParen);
21699
21895
  function ImportType(state) {
21700
21896
  let eventData;
21701
21897
  if (state.events) {
@@ -21866,7 +22062,7 @@ ${input.slice(result.pos)}
21866
22062
  return result;
21867
22063
  }
21868
22064
  }
21869
- var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L141, fail, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
22065
+ var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L138, fail, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
21870
22066
  if ($2)
21871
22067
  return $0;
21872
22068
  return $1;
@@ -22076,7 +22272,7 @@ ${input.slice(result.pos)}
22076
22272
  var InlineInterfacePropertyDelimiter$1 = $T($S($Y($S($C(IndentedFurther, $E(_)), InlineBasicInterfaceProperty)), InsertComma), function(value) {
22077
22273
  return value[1];
22078
22274
  });
22079
- var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($L12, fail, 'InlineInterfacePropertyDelimiter ":"'), $EXPECT($L126, fail, 'InlineInterfacePropertyDelimiter ")"'), $EXPECT($L35, fail, 'InlineInterfacePropertyDelimiter "]"'), $EXPECT($L26, fail, 'InlineInterfacePropertyDelimiter "}"'))));
22275
+ var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($L12, fail, 'InlineInterfacePropertyDelimiter ":"'), $EXPECT($L123, fail, 'InlineInterfacePropertyDelimiter ")"'), $EXPECT($L33, fail, 'InlineInterfacePropertyDelimiter "]"'), $EXPECT($L24, fail, 'InlineInterfacePropertyDelimiter "}"'))));
22080
22276
  var InlineInterfacePropertyDelimiter$3 = $Y(EOS);
22081
22277
  function InlineInterfacePropertyDelimiter(state) {
22082
22278
  let eventData;
@@ -22100,10 +22296,10 @@ ${input.slice(result.pos)}
22100
22296
  return result;
22101
22297
  }
22102
22298
  }
22103
- var TypeBinaryOp$0 = $TV($EXPECT($L100, fail, 'TypeBinaryOp "|"'), function($skip, $loc, $0, $1) {
22299
+ var TypeBinaryOp$0 = $TV($EXPECT($L98, fail, 'TypeBinaryOp "|"'), function($skip, $loc, $0, $1) {
22104
22300
  return { $loc, token: "|" };
22105
22301
  });
22106
- var TypeBinaryOp$1 = $TV($EXPECT($L99, fail, 'TypeBinaryOp "&"'), function($skip, $loc, $0, $1) {
22302
+ var TypeBinaryOp$1 = $TV($EXPECT($L97, fail, 'TypeBinaryOp "&"'), function($skip, $loc, $0, $1) {
22107
22303
  return { $loc, token: "&" };
22108
22304
  });
22109
22305
  function TypeBinaryOp(state) {
@@ -22157,7 +22353,7 @@ ${input.slice(result.pos)}
22157
22353
  return result;
22158
22354
  }
22159
22355
  }
22160
- var TypeArrowFunction$0 = $TV($C($EXPECT($L9, fail, 'TypeArrowFunction "=>"'), $EXPECT($L10, fail, 'TypeArrowFunction "\u21D2"'), $EXPECT($L24, fail, 'TypeArrowFunction "->"'), $EXPECT($L25, fail, 'TypeArrowFunction "\u2192"')), function($skip, $loc, $0, $1) {
22356
+ var TypeArrowFunction$0 = $TV($C($EXPECT($L9, fail, 'TypeArrowFunction "=>"'), $EXPECT($L10, fail, 'TypeArrowFunction "\u21D2"'), $EXPECT($L22, fail, 'TypeArrowFunction "->"'), $EXPECT($L23, fail, 'TypeArrowFunction "\u2192"')), function($skip, $loc, $0, $1) {
22161
22357
  return { $loc, token: "=>" };
22162
22358
  });
22163
22359
  function TypeArrowFunction(state) {
@@ -22182,7 +22378,7 @@ ${input.slice(result.pos)}
22182
22378
  return result;
22183
22379
  }
22184
22380
  }
22185
- var TypeArguments$0 = $TS($S($EXPECT($L156, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L34, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
22381
+ var TypeArguments$0 = $TS($S($EXPECT($L154, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L32, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
22186
22382
  var args = $2;
22187
22383
  return { ts: true, types: args.map(([, t]) => t), children: $0 };
22188
22384
  });
@@ -22254,7 +22450,7 @@ ${input.slice(result.pos)}
22254
22450
  return result;
22255
22451
  }
22256
22452
  }
22257
- var TypeParameters$0 = $TS($S($E(_), $EXPECT($L156, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L34, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
22453
+ var TypeParameters$0 = $TS($S($E(_), $EXPECT($L154, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L32, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
22258
22454
  var parameters = $3;
22259
22455
  return {
22260
22456
  type: "TypeParameters",
@@ -22285,7 +22481,7 @@ ${input.slice(result.pos)}
22285
22481
  return result;
22286
22482
  }
22287
22483
  }
22288
- var TypeParameter$0 = $S(__, $E($S($EXPECT($L151, fail, 'TypeParameter "const"'), $E(_))), Identifier, $E(TypeConstraint), $E(TypeInitializer), TypeParameterDelimiter);
22484
+ var TypeParameter$0 = $S(__, $E($S($EXPECT($L149, fail, 'TypeParameter "const"'), $E(_))), Identifier, $E(TypeConstraint), $E(TypeInitializer), TypeParameterDelimiter);
22289
22485
  function TypeParameter(state) {
22290
22486
  let eventData;
22291
22487
  if (state.events) {
@@ -22308,7 +22504,7 @@ ${input.slice(result.pos)}
22308
22504
  return result;
22309
22505
  }
22310
22506
  }
22311
- var TypeConstraint$0 = $S(__, $EXPECT($L141, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
22507
+ var TypeConstraint$0 = $S(__, $EXPECT($L138, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
22312
22508
  function TypeConstraint(state) {
22313
22509
  let eventData;
22314
22510
  if (state.events) {
@@ -22355,7 +22551,7 @@ ${input.slice(result.pos)}
22355
22551
  }
22356
22552
  }
22357
22553
  var TypeParameterDelimiter$0 = $S($Q(_), Comma);
22358
- var TypeParameterDelimiter$1 = $Y($S(__, $EXPECT($L34, fail, 'TypeParameterDelimiter ">"')));
22554
+ var TypeParameterDelimiter$1 = $Y($S(__, $EXPECT($L32, fail, 'TypeParameterDelimiter ">"')));
22359
22555
  var TypeParameterDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
22360
22556
  return value[1];
22361
22557
  });
@@ -23627,9 +23823,9 @@ ${input.slice(result.pos)}
23627
23823
  hasProp(hasPropRef) {
23628
23824
  const typeSuffix = {
23629
23825
  ts: true,
23630
- children: [": <T>(this: T, prop: keyof T) => boolean"]
23826
+ children: [": <T>(object: T, prop: keyof T) => boolean"]
23631
23827
  };
23632
- module2.prelude.push(["", [preludeVar, hasPropRef, typeSuffix, " = {}.hasOwnProperty", asAny, ";\n"]]);
23828
+ module2.prelude.push(["", [preludeVar, hasPropRef, typeSuffix, " = {}.constructor.hasOwn", asAny, ";\n"]]);
23633
23829
  },
23634
23830
  is(isRef) {
23635
23831
  const typeSuffix = {