@danielx/civet 0.5.10 → 0.5.11

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.
Files changed (3) hide show
  1. package/dist/browser.js +728 -430
  2. package/dist/main.js +728 -430
  3. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -478,6 +478,8 @@ ${input.slice(result.pos)}
478
478
  Program,
479
479
  TopLevelStatement,
480
480
  ExtendedExpression,
481
+ NonPipelineExtendedExpression,
482
+ NonAssignmentExtendedExpression,
481
483
  ExpressionizedStatement,
482
484
  Expression,
483
485
  Arguments,
@@ -499,6 +501,8 @@ ${input.slice(result.pos)}
499
501
  UpdateExpression,
500
502
  UpdateExpressionSymbol,
501
503
  AssignmentExpression,
504
+ NonPipelineAssignmentExpression,
505
+ SingleLineAssignmentExpression,
502
506
  AssignmentExpressionTail,
503
507
  ActualAssignment,
504
508
  YieldExpression,
@@ -511,6 +515,9 @@ ${input.slice(result.pos)}
511
515
  TernaryRest,
512
516
  NestedTernaryRest,
513
517
  ShortCircuitExpression,
518
+ PipelineExpression,
519
+ PipelineHeadItem,
520
+ PipelineTailItem,
514
521
  PrimaryExpression,
515
522
  ParenthesizedExpression,
516
523
  ClassDeclaration,
@@ -528,9 +535,6 @@ ${input.slice(result.pos)}
528
535
  ClassElement,
529
536
  ClassElementDefinition,
530
537
  AccessModifier,
531
- Public,
532
- Private,
533
- Protected,
534
538
  FieldDefinition,
535
539
  ThisLiteral,
536
540
  LeftHandSideExpression,
@@ -771,6 +775,7 @@ ${input.slice(result.pos)}
771
775
  StatementDelimiter,
772
776
  NonIdContinue,
773
777
  Loc,
778
+ Abstract,
774
779
  Ampersand,
775
780
  As,
776
781
  At,
@@ -814,7 +819,12 @@ ${input.slice(result.pos)}
814
819
  OpenBrace,
815
820
  OpenBracket,
816
821
  OpenParen,
822
+ Public,
823
+ Private,
824
+ Protected,
825
+ Pipe,
817
826
  QuestionMark,
827
+ Readonly,
818
828
  Return,
819
829
  Satisfies,
820
830
  Semicolon,
@@ -966,162 +976,164 @@ ${input.slice(result.pos)}
966
976
  var $L5 = $L("<");
967
977
  var $L6 = $L("extends");
968
978
  var $L7 = $L("implements");
969
- var $L8 = $L("public");
970
- var $L9 = $L("private");
971
- var $L10 = $L("protected");
972
- var $L11 = $L("#");
973
- var $L12 = $L(".");
974
- var $L13 = $L("super");
975
- var $L14 = $L("import");
976
- var $L15 = $L("!");
977
- var $L16 = $L("super[");
978
- var $L17 = $L("import.meta");
979
- var $L18 = $L(")");
980
- var $L19 = $L("->");
981
- var $L20 = $L("}");
982
- var $L21 = $L("null");
983
- var $L22 = $L("true");
984
- var $L23 = $L("false");
985
- var $L24 = $L("yes");
986
- var $L25 = $L("on");
987
- var $L26 = $L("no");
988
- var $L27 = $L("off");
989
- var $L28 = $L(",");
990
- var $L29 = $L("=");
991
- var $L30 = $L(">");
992
- var $L31 = $L("]");
993
- var $L32 = $L(":");
994
- var $L33 = $L("**=");
995
- var $L34 = $L("*=");
996
- var $L35 = $L("/=");
997
- var $L36 = $L("%=");
998
- var $L37 = $L("+=");
999
- var $L38 = $L("-=");
1000
- var $L39 = $L("<<=");
1001
- var $L40 = $L(">>>=");
1002
- var $L41 = $L(">>=");
1003
- var $L42 = $L("&&=");
1004
- var $L43 = $L("&=");
1005
- var $L44 = $L("^=");
1006
- var $L45 = $L("||=");
1007
- var $L46 = $L("|=");
1008
- var $L47 = $L("??=");
1009
- var $L48 = $L("?=");
1010
- var $L49 = $L("and=");
1011
- var $L50 = $L("or=");
1012
- var $L51 = $L("**");
1013
- var $L52 = $L("*");
1014
- var $L53 = $L("/");
1015
- var $L54 = $L("%");
1016
- var $L55 = $L("+");
1017
- var $L56 = $L("-");
1018
- var $L57 = $L("<=");
1019
- var $L58 = $L(">=");
1020
- var $L59 = $L("<<");
1021
- var $L60 = $L(">>>");
1022
- var $L61 = $L(">>");
1023
- var $L62 = $L("!==");
1024
- var $L63 = $L("!=");
1025
- var $L64 = $L("isnt");
1026
- var $L65 = $L("is");
1027
- var $L66 = $L("===");
1028
- var $L67 = $L("==");
1029
- var $L68 = $L("and");
1030
- var $L69 = $L("&&");
1031
- var $L70 = $L("of");
1032
- var $L71 = $L("or");
1033
- var $L72 = $L("||");
1034
- var $L73 = $L("??");
1035
- var $L74 = $L("?");
1036
- var $L75 = $L("instanceof");
1037
- var $L76 = $L("not");
1038
- var $L77 = $L("in");
1039
- var $L78 = $L("&");
1040
- var $L79 = $L("^");
1041
- var $L80 = $L("|");
1042
- var $L81 = $L(";");
1043
- var $L82 = $L("own");
1044
- var $L83 = $L("finally");
1045
- var $L84 = $L("break");
1046
- var $L85 = $L("continue");
1047
- var $L86 = $L("debugger");
1048
- var $L87 = $L("import type");
1049
- var $L88 = $L("default");
1050
- var $L89 = $L(":=");
1051
- var $L90 = $L("::=");
1052
- var $L91 = $L(".=");
1053
- var $L92 = $L("/*");
1054
- var $L93 = $L("*/");
1055
- var $L94 = $L("\\");
1056
- var $L95 = $L("as");
1057
- var $L96 = $L("@");
1058
- var $L97 = $L("@@");
1059
- var $L98 = $L("async");
1060
- var $L99 = $L("await");
1061
- var $L100 = $L("`");
1062
- var $L101 = $L("by");
1063
- var $L102 = $L("case");
1064
- var $L103 = $L("catch");
1065
- var $L104 = $L("class");
1066
- var $L105 = $L("#{");
1067
- var $L106 = $L("delete");
1068
- var $L107 = $L("do");
1069
- var $L108 = $L("..");
1070
- var $L109 = $L("...");
1071
- var $L110 = $L("::");
1072
- var $L111 = $L('"');
1073
- var $L112 = $L("else");
1074
- var $L113 = $L("export");
1075
- var $L114 = $L("for");
1076
- var $L115 = $L("from");
1077
- var $L116 = $L("function");
1078
- var $L117 = $L("get");
1079
- var $L118 = $L("set");
1080
- var $L119 = $L("if");
1081
- var $L120 = $L("let");
1082
- var $L121 = $L("const");
1083
- var $L122 = $L("loop");
1084
- var $L123 = $L("new");
1085
- var $L124 = $L("{");
1086
- var $L125 = $L("[");
1087
- var $L126 = $L("(");
1088
- var $L127 = $L("return");
1089
- var $L128 = $L("satisfies");
1090
- var $L129 = $L("'");
1091
- var $L130 = $L("static");
1092
- var $L131 = $L("${");
1093
- var $L132 = $L("switch");
1094
- var $L133 = $L("target");
1095
- var $L134 = $L("then");
1096
- var $L135 = $L("this");
1097
- var $L136 = $L("throw");
1098
- var $L137 = $L('"""');
1099
- var $L138 = $L("'''");
1100
- var $L139 = $L("///");
1101
- var $L140 = $L("```");
1102
- var $L141 = $L("try");
1103
- var $L142 = $L("typeof");
1104
- var $L143 = $L("unless");
1105
- var $L144 = $L("until");
1106
- var $L145 = $L("var");
1107
- var $L146 = $L("void");
1108
- var $L147 = $L("when");
1109
- var $L148 = $L("while");
1110
- var $L149 = $L("yield");
1111
- var $L150 = $L("/>");
1112
- var $L151 = $L("</");
1113
- var $L152 = $L("<>");
1114
- var $L153 = $L("</>");
1115
- var $L154 = $L("declare");
1116
- var $L155 = $L("type");
1117
- var $L156 = $L("interface");
1118
- var $L157 = $L("namespace");
1119
- var $L158 = $L("readonly");
1120
- var $L159 = $L("asserts");
1121
- var $L160 = $L("keyof");
1122
- var $L161 = $L("infer");
1123
- var $L162 = $L("[]");
1124
- var $L163 = $L("civet");
979
+ var $L8 = $L("#");
980
+ var $L9 = $L(".");
981
+ var $L10 = $L("super");
982
+ var $L11 = $L("import");
983
+ var $L12 = $L("!");
984
+ var $L13 = $L("super[");
985
+ var $L14 = $L("import.meta");
986
+ var $L15 = $L(")");
987
+ var $L16 = $L("->");
988
+ var $L17 = $L("}");
989
+ var $L18 = $L("null");
990
+ var $L19 = $L("true");
991
+ var $L20 = $L("false");
992
+ var $L21 = $L("yes");
993
+ var $L22 = $L("on");
994
+ var $L23 = $L("no");
995
+ var $L24 = $L("off");
996
+ var $L25 = $L(",");
997
+ var $L26 = $L("=");
998
+ var $L27 = $L(">");
999
+ var $L28 = $L("]");
1000
+ var $L29 = $L(":");
1001
+ var $L30 = $L("**=");
1002
+ var $L31 = $L("*=");
1003
+ var $L32 = $L("/=");
1004
+ var $L33 = $L("%=");
1005
+ var $L34 = $L("+=");
1006
+ var $L35 = $L("-=");
1007
+ var $L36 = $L("<<=");
1008
+ var $L37 = $L(">>>=");
1009
+ var $L38 = $L(">>=");
1010
+ var $L39 = $L("&&=");
1011
+ var $L40 = $L("&=");
1012
+ var $L41 = $L("^=");
1013
+ var $L42 = $L("||=");
1014
+ var $L43 = $L("|=");
1015
+ var $L44 = $L("??=");
1016
+ var $L45 = $L("?=");
1017
+ var $L46 = $L("and=");
1018
+ var $L47 = $L("or=");
1019
+ var $L48 = $L("**");
1020
+ var $L49 = $L("*");
1021
+ var $L50 = $L("/");
1022
+ var $L51 = $L("%");
1023
+ var $L52 = $L("+");
1024
+ var $L53 = $L("-");
1025
+ var $L54 = $L("<=");
1026
+ var $L55 = $L(">=");
1027
+ var $L56 = $L("<<");
1028
+ var $L57 = $L(">>>");
1029
+ var $L58 = $L(">>");
1030
+ var $L59 = $L("!==");
1031
+ var $L60 = $L("!=");
1032
+ var $L61 = $L("isnt");
1033
+ var $L62 = $L("is");
1034
+ var $L63 = $L("===");
1035
+ var $L64 = $L("==");
1036
+ var $L65 = $L("and");
1037
+ var $L66 = $L("&&");
1038
+ var $L67 = $L("of");
1039
+ var $L68 = $L("or");
1040
+ var $L69 = $L("||");
1041
+ var $L70 = $L("??");
1042
+ var $L71 = $L("?");
1043
+ var $L72 = $L("instanceof");
1044
+ var $L73 = $L("not");
1045
+ var $L74 = $L("in");
1046
+ var $L75 = $L("&");
1047
+ var $L76 = $L("^");
1048
+ var $L77 = $L("|");
1049
+ var $L78 = $L(";");
1050
+ var $L79 = $L("own");
1051
+ var $L80 = $L("finally");
1052
+ var $L81 = $L("break");
1053
+ var $L82 = $L("continue");
1054
+ var $L83 = $L("debugger");
1055
+ var $L84 = $L("import type");
1056
+ var $L85 = $L("default");
1057
+ var $L86 = $L(":=");
1058
+ var $L87 = $L("::=");
1059
+ var $L88 = $L(".=");
1060
+ var $L89 = $L("/*");
1061
+ var $L90 = $L("*/");
1062
+ var $L91 = $L("\\");
1063
+ var $L92 = $L("abstract");
1064
+ var $L93 = $L("as");
1065
+ var $L94 = $L("@");
1066
+ var $L95 = $L("@@");
1067
+ var $L96 = $L("async");
1068
+ var $L97 = $L("await");
1069
+ var $L98 = $L("`");
1070
+ var $L99 = $L("by");
1071
+ var $L100 = $L("case");
1072
+ var $L101 = $L("catch");
1073
+ var $L102 = $L("class");
1074
+ var $L103 = $L("#{");
1075
+ var $L104 = $L("delete");
1076
+ var $L105 = $L("do");
1077
+ var $L106 = $L("..");
1078
+ var $L107 = $L("...");
1079
+ var $L108 = $L("::");
1080
+ var $L109 = $L('"');
1081
+ var $L110 = $L("else");
1082
+ var $L111 = $L("export");
1083
+ var $L112 = $L("for");
1084
+ var $L113 = $L("from");
1085
+ var $L114 = $L("function");
1086
+ var $L115 = $L("get");
1087
+ var $L116 = $L("set");
1088
+ var $L117 = $L("if");
1089
+ var $L118 = $L("let");
1090
+ var $L119 = $L("const");
1091
+ var $L120 = $L("loop");
1092
+ var $L121 = $L("new");
1093
+ var $L122 = $L("{");
1094
+ var $L123 = $L("[");
1095
+ var $L124 = $L("(");
1096
+ var $L125 = $L("public");
1097
+ var $L126 = $L("private");
1098
+ var $L127 = $L("protected");
1099
+ var $L128 = $L("|>");
1100
+ var $L129 = $L("readonly");
1101
+ var $L130 = $L("return");
1102
+ var $L131 = $L("satisfies");
1103
+ var $L132 = $L("'");
1104
+ var $L133 = $L("static");
1105
+ var $L134 = $L("${");
1106
+ var $L135 = $L("switch");
1107
+ var $L136 = $L("target");
1108
+ var $L137 = $L("then");
1109
+ var $L138 = $L("this");
1110
+ var $L139 = $L("throw");
1111
+ var $L140 = $L('"""');
1112
+ var $L141 = $L("'''");
1113
+ var $L142 = $L("///");
1114
+ var $L143 = $L("```");
1115
+ var $L144 = $L("try");
1116
+ var $L145 = $L("typeof");
1117
+ var $L146 = $L("unless");
1118
+ var $L147 = $L("until");
1119
+ var $L148 = $L("var");
1120
+ var $L149 = $L("void");
1121
+ var $L150 = $L("when");
1122
+ var $L151 = $L("while");
1123
+ var $L152 = $L("yield");
1124
+ var $L153 = $L("/>");
1125
+ var $L154 = $L("</");
1126
+ var $L155 = $L("<>");
1127
+ var $L156 = $L("</>");
1128
+ var $L157 = $L("declare");
1129
+ var $L158 = $L("type");
1130
+ var $L159 = $L("interface");
1131
+ var $L160 = $L("namespace");
1132
+ var $L161 = $L("asserts");
1133
+ var $L162 = $L("keyof");
1134
+ var $L163 = $L("infer");
1135
+ var $L164 = $L("[]");
1136
+ var $L165 = $L("civet");
1125
1137
  var $R0 = $R(new RegExp("(for|of|then|when)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
1126
1138
  var $R1 = $R(new RegExp("[&]", "suy"));
1127
1139
  var $R2 = $R(new RegExp("[!~+-]+", "suy"));
@@ -1218,34 +1230,73 @@ ${input.slice(result.pos)}
1218
1230
  return result;
1219
1231
  }
1220
1232
  }
1221
- var ExtendedExpression$0 = $TS($S($Y(EOS), PushIndent, $E($S(Nested, ExpressionizedStatement)), PopIndent), function($skip, $loc, $0, $1, $2, $3, $4) {
1233
+ var ExtendedExpression$0 = NonAssignmentExtendedExpression;
1234
+ var ExtendedExpression$1 = AssignmentExpression;
1235
+ function ExtendedExpression(state) {
1236
+ if (state.events) {
1237
+ const result = state.events.enter?.("ExtendedExpression", state);
1238
+ if (result)
1239
+ return result.cache;
1240
+ }
1241
+ if (state.tokenize) {
1242
+ const result = $TOKEN("ExtendedExpression", state, ExtendedExpression$0(state) || ExtendedExpression$1(state));
1243
+ if (state.events)
1244
+ state.events.exit?.("ExtendedExpression", state, result);
1245
+ return result;
1246
+ } else {
1247
+ const result = ExtendedExpression$0(state) || ExtendedExpression$1(state);
1248
+ if (state.events)
1249
+ state.events.exit?.("ExtendedExpression", state, result);
1250
+ return result;
1251
+ }
1252
+ }
1253
+ var NonPipelineExtendedExpression$0 = NonAssignmentExtendedExpression;
1254
+ var NonPipelineExtendedExpression$1 = NonPipelineAssignmentExpression;
1255
+ function NonPipelineExtendedExpression(state) {
1256
+ if (state.events) {
1257
+ const result = state.events.enter?.("NonPipelineExtendedExpression", state);
1258
+ if (result)
1259
+ return result.cache;
1260
+ }
1261
+ if (state.tokenize) {
1262
+ const result = $TOKEN("NonPipelineExtendedExpression", state, NonPipelineExtendedExpression$0(state) || NonPipelineExtendedExpression$1(state));
1263
+ if (state.events)
1264
+ state.events.exit?.("NonPipelineExtendedExpression", state, result);
1265
+ return result;
1266
+ } else {
1267
+ const result = NonPipelineExtendedExpression$0(state) || NonPipelineExtendedExpression$1(state);
1268
+ if (state.events)
1269
+ state.events.exit?.("NonPipelineExtendedExpression", state, result);
1270
+ return result;
1271
+ }
1272
+ }
1273
+ var NonAssignmentExtendedExpression$0 = $TS($S($Y(EOS), PushIndent, $E($S(Nested, ExpressionizedStatement)), PopIndent), function($skip, $loc, $0, $1, $2, $3, $4) {
1222
1274
  var expression = $3;
1223
1275
  if (expression)
1224
1276
  return expression;
1225
1277
  return $skip;
1226
1278
  });
1227
- var ExtendedExpression$1 = $TS($S(__, ExpressionizedStatement), function($skip, $loc, $0, $1, $2) {
1279
+ var NonAssignmentExtendedExpression$1 = $TS($S(__, ExpressionizedStatement), function($skip, $loc, $0, $1, $2) {
1228
1280
  return {
1229
1281
  ...$2,
1230
1282
  children: [...$1, ...$2.children]
1231
1283
  };
1232
1284
  });
1233
- var ExtendedExpression$2 = AssignmentExpression;
1234
- function ExtendedExpression(state) {
1285
+ function NonAssignmentExtendedExpression(state) {
1235
1286
  if (state.events) {
1236
- const result = state.events.enter?.("ExtendedExpression", state);
1287
+ const result = state.events.enter?.("NonAssignmentExtendedExpression", state);
1237
1288
  if (result)
1238
1289
  return result.cache;
1239
1290
  }
1240
1291
  if (state.tokenize) {
1241
- const result = $TOKEN("ExtendedExpression", state, ExtendedExpression$0(state) || ExtendedExpression$1(state) || ExtendedExpression$2(state));
1292
+ const result = $TOKEN("NonAssignmentExtendedExpression", state, NonAssignmentExtendedExpression$0(state) || NonAssignmentExtendedExpression$1(state));
1242
1293
  if (state.events)
1243
- state.events.exit?.("ExtendedExpression", state, result);
1294
+ state.events.exit?.("NonAssignmentExtendedExpression", state, result);
1244
1295
  return result;
1245
1296
  } else {
1246
- const result = ExtendedExpression$0(state) || ExtendedExpression$1(state) || ExtendedExpression$2(state);
1297
+ const result = NonAssignmentExtendedExpression$0(state) || NonAssignmentExtendedExpression$1(state);
1247
1298
  if (state.events)
1248
- state.events.exit?.("ExtendedExpression", state, result);
1299
+ state.events.exit?.("NonAssignmentExtendedExpression", state, result);
1249
1300
  return result;
1250
1301
  }
1251
1302
  }
@@ -1693,7 +1744,8 @@ ${input.slice(result.pos)}
1693
1744
  return result;
1694
1745
  }
1695
1746
  }
1696
- var AssignmentExpression$0 = $TS($S($Q(TrailingComment), AssignmentExpressionTail), function($skip, $loc, $0, $1, $2) {
1747
+ var AssignmentExpression$0 = PipelineExpression;
1748
+ var AssignmentExpression$1 = $TS($S($Q(TrailingComment), AssignmentExpressionTail), function($skip, $loc, $0, $1, $2) {
1697
1749
  var ws = $1;
1698
1750
  var tail = $2;
1699
1751
  if (ws.length) {
@@ -1707,7 +1759,7 @@ ${input.slice(result.pos)}
1707
1759
  }
1708
1760
  return tail;
1709
1761
  });
1710
- var AssignmentExpression$1 = $S(__, AssignmentExpressionTail);
1762
+ var AssignmentExpression$2 = $S(__, AssignmentExpressionTail);
1711
1763
  function AssignmentExpression(state) {
1712
1764
  if (state.events) {
1713
1765
  const result = state.events.enter?.("AssignmentExpression", state);
@@ -1715,17 +1767,69 @@ ${input.slice(result.pos)}
1715
1767
  return result.cache;
1716
1768
  }
1717
1769
  if (state.tokenize) {
1718
- const result = $TOKEN("AssignmentExpression", state, AssignmentExpression$0(state) || AssignmentExpression$1(state));
1770
+ const result = $TOKEN("AssignmentExpression", state, AssignmentExpression$0(state) || AssignmentExpression$1(state) || AssignmentExpression$2(state));
1719
1771
  if (state.events)
1720
1772
  state.events.exit?.("AssignmentExpression", state, result);
1721
1773
  return result;
1722
1774
  } else {
1723
- const result = AssignmentExpression$0(state) || AssignmentExpression$1(state);
1775
+ const result = AssignmentExpression$0(state) || AssignmentExpression$1(state) || AssignmentExpression$2(state);
1724
1776
  if (state.events)
1725
1777
  state.events.exit?.("AssignmentExpression", state, result);
1726
1778
  return result;
1727
1779
  }
1728
1780
  }
1781
+ var NonPipelineAssignmentExpression$0 = SingleLineAssignmentExpression;
1782
+ var NonPipelineAssignmentExpression$1 = $S(__, AssignmentExpressionTail);
1783
+ function NonPipelineAssignmentExpression(state) {
1784
+ if (state.events) {
1785
+ const result = state.events.enter?.("NonPipelineAssignmentExpression", state);
1786
+ if (result)
1787
+ return result.cache;
1788
+ }
1789
+ if (state.tokenize) {
1790
+ const result = $TOKEN("NonPipelineAssignmentExpression", state, NonPipelineAssignmentExpression$0(state) || NonPipelineAssignmentExpression$1(state));
1791
+ if (state.events)
1792
+ state.events.exit?.("NonPipelineAssignmentExpression", state, result);
1793
+ return result;
1794
+ } else {
1795
+ const result = NonPipelineAssignmentExpression$0(state) || NonPipelineAssignmentExpression$1(state);
1796
+ if (state.events)
1797
+ state.events.exit?.("NonPipelineAssignmentExpression", state, result);
1798
+ return result;
1799
+ }
1800
+ }
1801
+ var SingleLineAssignmentExpression$0 = $TS($S($Q(TrailingComment), AssignmentExpressionTail), function($skip, $loc, $0, $1, $2) {
1802
+ var ws = $1;
1803
+ var tail = $2;
1804
+ if (ws.length) {
1805
+ if (tail.children && tail.type !== "IterationExpression") {
1806
+ return {
1807
+ ...tail,
1808
+ children: [...ws, ...tail.children]
1809
+ };
1810
+ }
1811
+ return $0;
1812
+ }
1813
+ return tail;
1814
+ });
1815
+ function SingleLineAssignmentExpression(state) {
1816
+ if (state.events) {
1817
+ const result = state.events.enter?.("SingleLineAssignmentExpression", state);
1818
+ if (result)
1819
+ return result.cache;
1820
+ }
1821
+ if (state.tokenize) {
1822
+ const result = $TOKEN("SingleLineAssignmentExpression", state, SingleLineAssignmentExpression$0(state));
1823
+ if (state.events)
1824
+ state.events.exit?.("SingleLineAssignmentExpression", state, result);
1825
+ return result;
1826
+ } else {
1827
+ const result = SingleLineAssignmentExpression$0(state);
1828
+ if (state.events)
1829
+ state.events.exit?.("SingleLineAssignmentExpression", state, result);
1830
+ return result;
1831
+ }
1832
+ }
1729
1833
  var AssignmentExpressionTail$0 = YieldExpression;
1730
1834
  var AssignmentExpressionTail$1 = ArrowFunction;
1731
1835
  var AssignmentExpressionTail$2 = ActualAssignment;
@@ -2005,6 +2109,91 @@ ${input.slice(result.pos)}
2005
2109
  return result;
2006
2110
  }
2007
2111
  }
2112
+ var PipelineExpression$0 = $TS($S($S(__, PipelineHeadItem, __, Pipe), $Q($S(__, PipelineTailItem, __, Pipe)), __, PipelineTailItem), function($skip, $loc, $0, $1, $2, $3, $4) {
2113
+ var head = $1;
2114
+ var body = $2;
2115
+ var preTailWS = $3;
2116
+ var tail = $4;
2117
+ let children = head.slice(0, -1).map(module2.skipIfOnlyWS);
2118
+ for (const [leadingComment, expr, trailingComment] of body) {
2119
+ children = module2.constructPipeStep(
2120
+ {
2121
+ leadingComment: module2.skipIfOnlyWS(leadingComment),
2122
+ trailingComment: module2.skipIfOnlyWS(trailingComment),
2123
+ expr
2124
+ },
2125
+ { expr: children }
2126
+ );
2127
+ }
2128
+ return {
2129
+ children: module2.constructPipeStep(
2130
+ {
2131
+ leadingComment: module2.skipIfOnlyWS(preTailWS),
2132
+ expr: tail
2133
+ },
2134
+ { expr: children }
2135
+ )
2136
+ };
2137
+ });
2138
+ function PipelineExpression(state) {
2139
+ if (state.events) {
2140
+ const result = state.events.enter?.("PipelineExpression", state);
2141
+ if (result)
2142
+ return result.cache;
2143
+ }
2144
+ if (state.tokenize) {
2145
+ const result = $TOKEN("PipelineExpression", state, PipelineExpression$0(state));
2146
+ if (state.events)
2147
+ state.events.exit?.("PipelineExpression", state, result);
2148
+ return result;
2149
+ } else {
2150
+ const result = PipelineExpression$0(state);
2151
+ if (state.events)
2152
+ state.events.exit?.("PipelineExpression", state, result);
2153
+ return result;
2154
+ }
2155
+ }
2156
+ var PipelineHeadItem$0 = NonPipelineExtendedExpression;
2157
+ var PipelineHeadItem$1 = ParenthesizedExpression;
2158
+ function PipelineHeadItem(state) {
2159
+ if (state.events) {
2160
+ const result = state.events.enter?.("PipelineHeadItem", state);
2161
+ if (result)
2162
+ return result.cache;
2163
+ }
2164
+ if (state.tokenize) {
2165
+ const result = $TOKEN("PipelineHeadItem", state, PipelineHeadItem$0(state) || PipelineHeadItem$1(state));
2166
+ if (state.events)
2167
+ state.events.exit?.("PipelineHeadItem", state, result);
2168
+ return result;
2169
+ } else {
2170
+ const result = PipelineHeadItem$0(state) || PipelineHeadItem$1(state);
2171
+ if (state.events)
2172
+ state.events.exit?.("PipelineHeadItem", state, result);
2173
+ return result;
2174
+ }
2175
+ }
2176
+ var PipelineTailItem$0 = Await;
2177
+ var PipelineTailItem$1 = Yield;
2178
+ var PipelineTailItem$2 = PipelineHeadItem;
2179
+ function PipelineTailItem(state) {
2180
+ if (state.events) {
2181
+ const result = state.events.enter?.("PipelineTailItem", state);
2182
+ if (result)
2183
+ return result.cache;
2184
+ }
2185
+ if (state.tokenize) {
2186
+ const result = $TOKEN("PipelineTailItem", state, PipelineTailItem$0(state) || PipelineTailItem$1(state) || PipelineTailItem$2(state));
2187
+ if (state.events)
2188
+ state.events.exit?.("PipelineTailItem", state, result);
2189
+ return result;
2190
+ } else {
2191
+ const result = PipelineTailItem$0(state) || PipelineTailItem$1(state) || PipelineTailItem$2(state);
2192
+ if (state.events)
2193
+ state.events.exit?.("PipelineTailItem", state, result);
2194
+ return result;
2195
+ }
2196
+ }
2008
2197
  var PrimaryExpression$0 = ObjectLiteral;
2009
2198
  var PrimaryExpression$1 = ThisLiteral;
2010
2199
  var PrimaryExpression$2 = Literal;
@@ -2084,7 +2273,9 @@ ${input.slice(result.pos)}
2084
2273
  return result;
2085
2274
  }
2086
2275
  }
2087
- var ClassExpression$0 = $S($E(Decorators), Class, $E($S(BindingIdentifier, $E(TypeParameters))), $E(ClassHeritage), ClassBody);
2276
+ var ClassExpression$0 = $TS($S($E(Decorators), $E($S(Abstract, __)), Class, $E($S(BindingIdentifier, $E(TypeParameters))), $E(ClassHeritage), ClassBody), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
2277
+ return $0;
2278
+ });
2088
2279
  function ClassExpression(state) {
2089
2280
  if (state.events) {
2090
2281
  const result = state.events.enter?.("ClassExpression", state);
@@ -2376,69 +2567,6 @@ ${input.slice(result.pos)}
2376
2567
  return result;
2377
2568
  }
2378
2569
  }
2379
- var Public$0 = $TV($EXPECT($L8, fail, 'Public "public"'), function($skip, $loc, $0, $1) {
2380
- return { $loc, token: $1 };
2381
- });
2382
- function Public(state) {
2383
- if (state.events) {
2384
- const result = state.events.enter?.("Public", state);
2385
- if (result)
2386
- return result.cache;
2387
- }
2388
- if (state.tokenize) {
2389
- const result = $TOKEN("Public", state, Public$0(state));
2390
- if (state.events)
2391
- state.events.exit?.("Public", state, result);
2392
- return result;
2393
- } else {
2394
- const result = Public$0(state);
2395
- if (state.events)
2396
- state.events.exit?.("Public", state, result);
2397
- return result;
2398
- }
2399
- }
2400
- var Private$0 = $TV($EXPECT($L9, fail, 'Private "private"'), function($skip, $loc, $0, $1) {
2401
- return { $loc, token: $1 };
2402
- });
2403
- function Private(state) {
2404
- if (state.events) {
2405
- const result = state.events.enter?.("Private", state);
2406
- if (result)
2407
- return result.cache;
2408
- }
2409
- if (state.tokenize) {
2410
- const result = $TOKEN("Private", state, Private$0(state));
2411
- if (state.events)
2412
- state.events.exit?.("Private", state, result);
2413
- return result;
2414
- } else {
2415
- const result = Private$0(state);
2416
- if (state.events)
2417
- state.events.exit?.("Private", state, result);
2418
- return result;
2419
- }
2420
- }
2421
- var Protected$0 = $TV($EXPECT($L10, fail, 'Protected "protected"'), function($skip, $loc, $0, $1) {
2422
- return { $loc, token: $1 };
2423
- });
2424
- function Protected(state) {
2425
- if (state.events) {
2426
- const result = state.events.enter?.("Protected", state);
2427
- if (result)
2428
- return result.cache;
2429
- }
2430
- if (state.tokenize) {
2431
- const result = $TOKEN("Protected", state, Protected$0(state));
2432
- if (state.events)
2433
- state.events.exit?.("Protected", state, result);
2434
- return result;
2435
- } else {
2436
- const result = Protected$0(state);
2437
- if (state.events)
2438
- state.events.exit?.("Protected", state, result);
2439
- return result;
2440
- }
2441
- }
2442
2570
  var FieldDefinition$0 = $TS($S(CoffeeClassesEnabled, ClassElementName, __, Colon, __, AssignmentExpression), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
2443
2571
  var id = $2;
2444
2572
  var exp = $6;
@@ -2461,7 +2589,11 @@ ${input.slice(result.pos)}
2461
2589
  };
2462
2590
  return $0;
2463
2591
  });
2464
- var FieldDefinition$2 = $S(ClassElementName, $E(TypeSuffix), $E(Initializer));
2592
+ var FieldDefinition$2 = $TS($S($E($S(Abstract, $Q(TrailingComment))), $E($S(Readonly, $Q(TrailingComment))), ClassElementName, $E(TypeSuffix), $E(Initializer)), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
2593
+ if ($1)
2594
+ return { children: $0, ts: true };
2595
+ return $0;
2596
+ });
2465
2597
  function FieldDefinition(state) {
2466
2598
  if (state.events) {
2467
2599
  const result = state.events.enter?.("FieldDefinition", state);
@@ -2481,7 +2613,7 @@ ${input.slice(result.pos)}
2481
2613
  }
2482
2614
  }
2483
2615
  var ThisLiteral$0 = This;
2484
- var ThisLiteral$1 = $TS($S(At, $TEXT($S($E($EXPECT($L11, fail, 'ThisLiteral "#"')), IdentifierName))), function($skip, $loc, $0, $1, $2) {
2616
+ var ThisLiteral$1 = $TS($S(At, $TEXT($S($E($EXPECT($L8, fail, 'ThisLiteral "#"')), IdentifierName))), function($skip, $loc, $0, $1, $2) {
2485
2617
  var t = $1;
2486
2618
  var id = $2;
2487
2619
  return [{ ...t, token: "this." }, id];
@@ -2508,7 +2640,7 @@ ${input.slice(result.pos)}
2508
2640
  return result;
2509
2641
  }
2510
2642
  }
2511
- var LeftHandSideExpression$0 = $TS($S($Q($S(New, $N($EXPECT($L12, fail, 'LeftHandSideExpression "."')), __)), CallExpression), function($skip, $loc, $0, $1, $2) {
2643
+ var LeftHandSideExpression$0 = $TS($S($Q($S(New, $N($EXPECT($L9, fail, 'LeftHandSideExpression "."')), __)), CallExpression), function($skip, $loc, $0, $1, $2) {
2512
2644
  if ($1.length)
2513
2645
  return $0;
2514
2646
  return $2;
@@ -2531,8 +2663,8 @@ ${input.slice(result.pos)}
2531
2663
  return result;
2532
2664
  }
2533
2665
  }
2534
- var CallExpression$0 = $S($EXPECT($L13, fail, 'CallExpression "super"'), ArgumentsWithTrailingCallExpressions);
2535
- var CallExpression$1 = $S($EXPECT($L14, fail, 'CallExpression "import"'), __, OpenParen, ExtendedExpression, __, CloseParen);
2666
+ var CallExpression$0 = $S($EXPECT($L10, fail, 'CallExpression "super"'), ArgumentsWithTrailingCallExpressions);
2667
+ var CallExpression$1 = $S($EXPECT($L11, fail, 'CallExpression "import"'), __, OpenParen, ExtendedExpression, __, CloseParen);
2536
2668
  var CallExpression$2 = $TS($S(MemberExpression, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2) {
2537
2669
  if ($2.length)
2538
2670
  return $0;
@@ -2596,7 +2728,7 @@ ${input.slice(result.pos)}
2596
2728
  return result;
2597
2729
  }
2598
2730
  }
2599
- var NonNullAssertion$0 = $T($EXPECT($L15, fail, 'NonNullAssertion "!"'), function(value) {
2731
+ var NonNullAssertion$0 = $T($EXPECT($L12, fail, 'NonNullAssertion "!"'), function(value) {
2600
2732
  return { "ts": true, "children": value };
2601
2733
  });
2602
2734
  function NonNullAssertion(state) {
@@ -2837,8 +2969,8 @@ ${input.slice(result.pos)}
2837
2969
  return result;
2838
2970
  }
2839
2971
  }
2840
- var SuperProperty$0 = $S($EXPECT($L16, fail, 'SuperProperty "super["'), ExtendedExpression, __, CloseBracket);
2841
- var SuperProperty$1 = $S($EXPECT($L13, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
2972
+ var SuperProperty$0 = $S($EXPECT($L13, fail, 'SuperProperty "super["'), ExtendedExpression, __, CloseBracket);
2973
+ var SuperProperty$1 = $S($EXPECT($L10, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
2842
2974
  function SuperProperty(state) {
2843
2975
  if (state.events) {
2844
2976
  const result = state.events.enter?.("SuperProperty", state);
@@ -2858,7 +2990,7 @@ ${input.slice(result.pos)}
2858
2990
  }
2859
2991
  }
2860
2992
  var MetaProperty$0 = $S(New, Dot, Target);
2861
- var MetaProperty$1 = $TV($EXPECT($L17, fail, 'MetaProperty "import.meta"'), function($skip, $loc, $0, $1) {
2993
+ var MetaProperty$1 = $TV($EXPECT($L14, fail, 'MetaProperty "import.meta"'), function($skip, $loc, $0, $1) {
2862
2994
  return { $loc, token: $1 };
2863
2995
  });
2864
2996
  function MetaProperty(state) {
@@ -3022,7 +3154,7 @@ ${input.slice(result.pos)}
3022
3154
  }
3023
3155
  }
3024
3156
  var ParameterElementDelimiter$0 = $S($Q(_), Comma);
3025
- var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L18, fail, 'ParameterElementDelimiter ")"')));
3157
+ var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L15, fail, 'ParameterElementDelimiter ")"')));
3026
3158
  var ParameterElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
3027
3159
  return value[1];
3028
3160
  });
@@ -3777,7 +3909,7 @@ ${input.slice(result.pos)}
3777
3909
  return result;
3778
3910
  }
3779
3911
  }
3780
- var Arrow$0 = $TV($EXPECT($L19, fail, 'Arrow "->"'), function($skip, $loc, $0, $1) {
3912
+ var Arrow$0 = $TV($EXPECT($L16, fail, 'Arrow "->"'), function($skip, $loc, $0, $1) {
3781
3913
  return { $loc, token: $1 };
3782
3914
  });
3783
3915
  function Arrow(state) {
@@ -4039,7 +4171,7 @@ ${input.slice(result.pos)}
4039
4171
  children: [$1, expressions]
4040
4172
  };
4041
4173
  });
4042
- var BracedContent$2 = $TV($Y($S(__, $EXPECT($L20, fail, 'BracedContent "}"'))), function($skip, $loc, $0, $1) {
4174
+ var BracedContent$2 = $TV($Y($S(__, $EXPECT($L17, fail, 'BracedContent "}"'))), function($skip, $loc, $0, $1) {
4043
4175
  const expressions = [];
4044
4176
  return {
4045
4177
  type: "BlockStatement",
@@ -4164,7 +4296,7 @@ ${input.slice(result.pos)}
4164
4296
  return result;
4165
4297
  }
4166
4298
  }
4167
- var NullLiteral$0 = $TS($S($EXPECT($L21, fail, 'NullLiteral "null"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4299
+ var NullLiteral$0 = $TS($S($EXPECT($L18, fail, 'NullLiteral "null"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4168
4300
  return { $loc, token: $1 };
4169
4301
  });
4170
4302
  function NullLiteral(state) {
@@ -4188,7 +4320,7 @@ ${input.slice(result.pos)}
4188
4320
  var BooleanLiteral$0 = $T($S(CoffeeBooleansEnabled, CoffeeScriptBooleanLiteral), function(value) {
4189
4321
  return value[1];
4190
4322
  });
4191
- var BooleanLiteral$1 = $TS($S($C($EXPECT($L22, fail, 'BooleanLiteral "true"'), $EXPECT($L23, fail, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4323
+ var BooleanLiteral$1 = $TS($S($C($EXPECT($L19, fail, 'BooleanLiteral "true"'), $EXPECT($L20, fail, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4192
4324
  return { $loc, token: $1 };
4193
4325
  });
4194
4326
  function BooleanLiteral(state) {
@@ -4209,10 +4341,10 @@ ${input.slice(result.pos)}
4209
4341
  return result;
4210
4342
  }
4211
4343
  }
4212
- var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L24, fail, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L25, fail, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4344
+ var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L21, fail, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L22, fail, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4213
4345
  return { $loc, token: "true" };
4214
4346
  });
4215
- var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($L26, fail, 'CoffeeScriptBooleanLiteral "no"'), $EXPECT($L27, fail, 'CoffeeScriptBooleanLiteral "off"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4347
+ var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($L23, fail, 'CoffeeScriptBooleanLiteral "no"'), $EXPECT($L24, fail, 'CoffeeScriptBooleanLiteral "off"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4216
4348
  return { $loc, token: "false" };
4217
4349
  });
4218
4350
  function CoffeeScriptBooleanLiteral(state) {
@@ -4233,7 +4365,7 @@ ${input.slice(result.pos)}
4233
4365
  return result;
4234
4366
  }
4235
4367
  }
4236
- var Comma$0 = $TV($EXPECT($L28, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
4368
+ var Comma$0 = $TV($EXPECT($L25, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
4237
4369
  return { $loc, token: $1 };
4238
4370
  });
4239
4371
  function Comma(state) {
@@ -4323,7 +4455,7 @@ ${input.slice(result.pos)}
4323
4455
  return result;
4324
4456
  }
4325
4457
  }
4326
- var UpcomingAssignment$0 = $Y($S(__, $EXPECT($L29, fail, 'UpcomingAssignment "="'), $N($C($EXPECT($L29, fail, 'UpcomingAssignment "="'), $EXPECT($L30, fail, 'UpcomingAssignment ">"')))));
4458
+ var UpcomingAssignment$0 = $Y($S(__, $EXPECT($L26, fail, 'UpcomingAssignment "="'), $N($C($EXPECT($L26, fail, 'UpcomingAssignment "="'), $EXPECT($L27, fail, 'UpcomingAssignment ">"')))));
4327
4459
  function UpcomingAssignment(state) {
4328
4460
  if (state.events) {
4329
4461
  const result = state.events.enter?.("UpcomingAssignment", state);
@@ -4571,7 +4703,7 @@ ${input.slice(result.pos)}
4571
4703
  }
4572
4704
  }
4573
4705
  var ArrayElementDelimiter$0 = $S(__, Comma);
4574
- var ArrayElementDelimiter$1 = $Y($S(__, $EXPECT($L31, fail, 'ArrayElementDelimiter "]"')));
4706
+ var ArrayElementDelimiter$1 = $Y($S(__, $EXPECT($L28, fail, 'ArrayElementDelimiter "]"')));
4575
4707
  var ArrayElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
4576
4708
  return value[1];
4577
4709
  });
@@ -4940,7 +5072,7 @@ ${input.slice(result.pos)}
4940
5072
  var ImplicitInlineObjectPropertyDelimiter$1 = $T($S($Y($S(EOS, NamedProperty)), InsertComma), function(value) {
4941
5073
  return value[1];
4942
5074
  });
4943
- var ImplicitInlineObjectPropertyDelimiter$2 = $T($Y($S(__, $C($EXPECT($L32, fail, 'ImplicitInlineObjectPropertyDelimiter ":"'), $EXPECT($L18, fail, 'ImplicitInlineObjectPropertyDelimiter ")"'), $EXPECT($L31, fail, 'ImplicitInlineObjectPropertyDelimiter "]"'), $EXPECT($L20, fail, 'ImplicitInlineObjectPropertyDelimiter "}"'), ReservedWord))), function(value) {
5075
+ var ImplicitInlineObjectPropertyDelimiter$2 = $T($Y($S(__, $C($EXPECT($L29, fail, 'ImplicitInlineObjectPropertyDelimiter ":"'), $EXPECT($L15, fail, 'ImplicitInlineObjectPropertyDelimiter ")"'), $EXPECT($L28, fail, 'ImplicitInlineObjectPropertyDelimiter "]"'), $EXPECT($L17, fail, 'ImplicitInlineObjectPropertyDelimiter "}"'), ReservedWord))), function(value) {
4944
5076
  return "";
4945
5077
  });
4946
5078
  var ImplicitInlineObjectPropertyDelimiter$3 = $T($Y(EOS), function(value) {
@@ -4965,7 +5097,7 @@ ${input.slice(result.pos)}
4965
5097
  }
4966
5098
  }
4967
5099
  var ObjectPropertyDelimiter$0 = $S($Q(_), Comma);
4968
- var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L20, fail, 'ObjectPropertyDelimiter "}"')));
5100
+ var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L17, fail, 'ObjectPropertyDelimiter "}"')));
4969
5101
  var ObjectPropertyDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
4970
5102
  return value[1];
4971
5103
  });
@@ -5221,7 +5353,18 @@ ${input.slice(result.pos)}
5221
5353
  return result;
5222
5354
  }
5223
5355
  }
5224
- var MethodDefinition$0 = $TS($S(MethodSignature, BracedBlock), function($skip, $loc, $0, $1, $2) {
5356
+ var MethodDefinition$0 = $TS($S(Abstract, __, MethodSignature), function($skip, $loc, $0, $1, $2, $3) {
5357
+ var signature = $3;
5358
+ return {
5359
+ type: "MethodDefinition",
5360
+ children: $0,
5361
+ name: signature.name,
5362
+ signature,
5363
+ parameters: signature.parameters,
5364
+ ts: true
5365
+ };
5366
+ });
5367
+ var MethodDefinition$1 = $TS($S(MethodSignature, BracedBlock), function($skip, $loc, $0, $1, $2) {
5225
5368
  var signature = $1;
5226
5369
  var block = $2;
5227
5370
  return {
@@ -5240,12 +5383,12 @@ ${input.slice(result.pos)}
5240
5383
  return result.cache;
5241
5384
  }
5242
5385
  if (state.tokenize) {
5243
- const result = $TOKEN("MethodDefinition", state, MethodDefinition$0(state));
5386
+ const result = $TOKEN("MethodDefinition", state, MethodDefinition$0(state) || MethodDefinition$1(state));
5244
5387
  if (state.events)
5245
5388
  state.events.exit?.("MethodDefinition", state, result);
5246
5389
  return result;
5247
5390
  } else {
5248
- const result = MethodDefinition$0(state);
5391
+ const result = MethodDefinition$0(state) || MethodDefinition$1(state);
5249
5392
  if (state.events)
5250
5393
  state.events.exit?.("MethodDefinition", state, result);
5251
5394
  return result;
@@ -5338,7 +5481,7 @@ ${input.slice(result.pos)}
5338
5481
  return result;
5339
5482
  }
5340
5483
  }
5341
- var PrivateIdentifier$0 = $TV($TEXT($S($EXPECT($L11, fail, 'PrivateIdentifier "#"'), IdentifierName)), function($skip, $loc, $0, $1) {
5484
+ var PrivateIdentifier$0 = $TV($TEXT($S($EXPECT($L8, fail, 'PrivateIdentifier "#"'), IdentifierName)), function($skip, $loc, $0, $1) {
5342
5485
  return {
5343
5486
  type: "Identifier",
5344
5487
  name: $0,
@@ -5394,25 +5537,25 @@ ${input.slice(result.pos)}
5394
5537
  return result;
5395
5538
  }
5396
5539
  }
5397
- var AssignmentOpSymbol$0 = $EXPECT($L33, fail, 'AssignmentOpSymbol "**="');
5398
- var AssignmentOpSymbol$1 = $EXPECT($L34, fail, 'AssignmentOpSymbol "*="');
5399
- var AssignmentOpSymbol$2 = $EXPECT($L35, fail, 'AssignmentOpSymbol "/="');
5400
- var AssignmentOpSymbol$3 = $EXPECT($L36, fail, 'AssignmentOpSymbol "%="');
5401
- var AssignmentOpSymbol$4 = $EXPECT($L37, fail, 'AssignmentOpSymbol "+="');
5402
- var AssignmentOpSymbol$5 = $EXPECT($L38, fail, 'AssignmentOpSymbol "-="');
5403
- var AssignmentOpSymbol$6 = $EXPECT($L39, fail, 'AssignmentOpSymbol "<<="');
5404
- var AssignmentOpSymbol$7 = $EXPECT($L40, fail, 'AssignmentOpSymbol ">>>="');
5405
- var AssignmentOpSymbol$8 = $EXPECT($L41, fail, 'AssignmentOpSymbol ">>="');
5406
- var AssignmentOpSymbol$9 = $EXPECT($L42, fail, 'AssignmentOpSymbol "&&="');
5407
- var AssignmentOpSymbol$10 = $EXPECT($L43, fail, 'AssignmentOpSymbol "&="');
5408
- var AssignmentOpSymbol$11 = $EXPECT($L44, fail, 'AssignmentOpSymbol "^="');
5409
- var AssignmentOpSymbol$12 = $EXPECT($L45, fail, 'AssignmentOpSymbol "||="');
5410
- var AssignmentOpSymbol$13 = $EXPECT($L46, fail, 'AssignmentOpSymbol "|="');
5411
- var AssignmentOpSymbol$14 = $EXPECT($L47, fail, 'AssignmentOpSymbol "??="');
5412
- var AssignmentOpSymbol$15 = $T($EXPECT($L48, fail, 'AssignmentOpSymbol "?="'), function(value) {
5540
+ var AssignmentOpSymbol$0 = $EXPECT($L30, fail, 'AssignmentOpSymbol "**="');
5541
+ var AssignmentOpSymbol$1 = $EXPECT($L31, fail, 'AssignmentOpSymbol "*="');
5542
+ var AssignmentOpSymbol$2 = $EXPECT($L32, fail, 'AssignmentOpSymbol "/="');
5543
+ var AssignmentOpSymbol$3 = $EXPECT($L33, fail, 'AssignmentOpSymbol "%="');
5544
+ var AssignmentOpSymbol$4 = $EXPECT($L34, fail, 'AssignmentOpSymbol "+="');
5545
+ var AssignmentOpSymbol$5 = $EXPECT($L35, fail, 'AssignmentOpSymbol "-="');
5546
+ var AssignmentOpSymbol$6 = $EXPECT($L36, fail, 'AssignmentOpSymbol "<<="');
5547
+ var AssignmentOpSymbol$7 = $EXPECT($L37, fail, 'AssignmentOpSymbol ">>>="');
5548
+ var AssignmentOpSymbol$8 = $EXPECT($L38, fail, 'AssignmentOpSymbol ">>="');
5549
+ var AssignmentOpSymbol$9 = $EXPECT($L39, fail, 'AssignmentOpSymbol "&&="');
5550
+ var AssignmentOpSymbol$10 = $EXPECT($L40, fail, 'AssignmentOpSymbol "&="');
5551
+ var AssignmentOpSymbol$11 = $EXPECT($L41, fail, 'AssignmentOpSymbol "^="');
5552
+ var AssignmentOpSymbol$12 = $EXPECT($L42, fail, 'AssignmentOpSymbol "||="');
5553
+ var AssignmentOpSymbol$13 = $EXPECT($L43, fail, 'AssignmentOpSymbol "|="');
5554
+ var AssignmentOpSymbol$14 = $EXPECT($L44, fail, 'AssignmentOpSymbol "??="');
5555
+ var AssignmentOpSymbol$15 = $T($EXPECT($L45, fail, 'AssignmentOpSymbol "?="'), function(value) {
5413
5556
  return "??=";
5414
5557
  });
5415
- var AssignmentOpSymbol$16 = $EXPECT($L29, fail, 'AssignmentOpSymbol "="');
5558
+ var AssignmentOpSymbol$16 = $EXPECT($L26, fail, 'AssignmentOpSymbol "="');
5416
5559
  var AssignmentOpSymbol$17 = $T($S(CoffeeWordAssignmentOp), function(value) {
5417
5560
  return value[0];
5418
5561
  });
@@ -5434,10 +5577,10 @@ ${input.slice(result.pos)}
5434
5577
  return result;
5435
5578
  }
5436
5579
  }
5437
- var CoffeeWordAssignmentOp$0 = $T($EXPECT($L49, fail, 'CoffeeWordAssignmentOp "and="'), function(value) {
5580
+ var CoffeeWordAssignmentOp$0 = $T($EXPECT($L46, fail, 'CoffeeWordAssignmentOp "and="'), function(value) {
5438
5581
  return "&&=";
5439
5582
  });
5440
- var CoffeeWordAssignmentOp$1 = $T($EXPECT($L50, fail, 'CoffeeWordAssignmentOp "or="'), function(value) {
5583
+ var CoffeeWordAssignmentOp$1 = $T($EXPECT($L47, fail, 'CoffeeWordAssignmentOp "or="'), function(value) {
5441
5584
  return "||=";
5442
5585
  });
5443
5586
  function CoffeeWordAssignmentOp(state) {
@@ -5481,93 +5624,93 @@ ${input.slice(result.pos)}
5481
5624
  return result;
5482
5625
  }
5483
5626
  }
5484
- var BinaryOpSymbol$0 = $EXPECT($L51, fail, 'BinaryOpSymbol "**"');
5485
- var BinaryOpSymbol$1 = $EXPECT($L52, fail, 'BinaryOpSymbol "*"');
5486
- var BinaryOpSymbol$2 = $EXPECT($L53, fail, 'BinaryOpSymbol "/"');
5487
- var BinaryOpSymbol$3 = $EXPECT($L54, fail, 'BinaryOpSymbol "%"');
5488
- var BinaryOpSymbol$4 = $EXPECT($L55, fail, 'BinaryOpSymbol "+"');
5489
- var BinaryOpSymbol$5 = $EXPECT($L56, fail, 'BinaryOpSymbol "-"');
5490
- var BinaryOpSymbol$6 = $EXPECT($L57, fail, 'BinaryOpSymbol "<="');
5491
- var BinaryOpSymbol$7 = $EXPECT($L58, fail, 'BinaryOpSymbol ">="');
5492
- var BinaryOpSymbol$8 = $EXPECT($L59, fail, 'BinaryOpSymbol "<<"');
5627
+ var BinaryOpSymbol$0 = $EXPECT($L48, fail, 'BinaryOpSymbol "**"');
5628
+ var BinaryOpSymbol$1 = $EXPECT($L49, fail, 'BinaryOpSymbol "*"');
5629
+ var BinaryOpSymbol$2 = $EXPECT($L50, fail, 'BinaryOpSymbol "/"');
5630
+ var BinaryOpSymbol$3 = $EXPECT($L51, fail, 'BinaryOpSymbol "%"');
5631
+ var BinaryOpSymbol$4 = $EXPECT($L52, fail, 'BinaryOpSymbol "+"');
5632
+ var BinaryOpSymbol$5 = $EXPECT($L53, fail, 'BinaryOpSymbol "-"');
5633
+ var BinaryOpSymbol$6 = $EXPECT($L54, fail, 'BinaryOpSymbol "<="');
5634
+ var BinaryOpSymbol$7 = $EXPECT($L55, fail, 'BinaryOpSymbol ">="');
5635
+ var BinaryOpSymbol$8 = $EXPECT($L56, fail, 'BinaryOpSymbol "<<"');
5493
5636
  var BinaryOpSymbol$9 = $TR($EXPECT($R5, fail, "BinaryOpSymbol /<(?!\\p{ID_Start}|[_$])/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
5494
5637
  return "<";
5495
5638
  });
5496
- var BinaryOpSymbol$10 = $EXPECT($L60, fail, 'BinaryOpSymbol ">>>"');
5497
- var BinaryOpSymbol$11 = $EXPECT($L61, fail, 'BinaryOpSymbol ">>"');
5498
- var BinaryOpSymbol$12 = $EXPECT($L30, fail, 'BinaryOpSymbol ">"');
5499
- var BinaryOpSymbol$13 = $EXPECT($L62, fail, 'BinaryOpSymbol "!=="');
5500
- var BinaryOpSymbol$14 = $TV($EXPECT($L63, fail, 'BinaryOpSymbol "!="'), function($skip, $loc, $0, $1) {
5639
+ var BinaryOpSymbol$10 = $EXPECT($L57, fail, 'BinaryOpSymbol ">>>"');
5640
+ var BinaryOpSymbol$11 = $EXPECT($L58, fail, 'BinaryOpSymbol ">>"');
5641
+ var BinaryOpSymbol$12 = $EXPECT($L27, fail, 'BinaryOpSymbol ">"');
5642
+ var BinaryOpSymbol$13 = $EXPECT($L59, fail, 'BinaryOpSymbol "!=="');
5643
+ var BinaryOpSymbol$14 = $TV($EXPECT($L60, fail, 'BinaryOpSymbol "!="'), function($skip, $loc, $0, $1) {
5501
5644
  if (module2.config.coffeeEq)
5502
5645
  return "!==";
5503
5646
  return $1;
5504
5647
  });
5505
- var BinaryOpSymbol$15 = $TS($S($EXPECT($L64, fail, 'BinaryOpSymbol "isnt"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5648
+ var BinaryOpSymbol$15 = $TS($S($EXPECT($L61, fail, 'BinaryOpSymbol "isnt"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5506
5649
  if (module2.config.coffeeIsnt)
5507
5650
  return "!==";
5508
5651
  return $skip;
5509
5652
  });
5510
- var BinaryOpSymbol$16 = $T($S($EXPECT($L65, fail, 'BinaryOpSymbol "is"'), NonIdContinue), function(value) {
5653
+ var BinaryOpSymbol$16 = $T($S($EXPECT($L62, fail, 'BinaryOpSymbol "is"'), NonIdContinue), function(value) {
5511
5654
  return "===";
5512
5655
  });
5513
- var BinaryOpSymbol$17 = $EXPECT($L66, fail, 'BinaryOpSymbol "==="');
5514
- var BinaryOpSymbol$18 = $TV($EXPECT($L67, fail, 'BinaryOpSymbol "=="'), function($skip, $loc, $0, $1) {
5656
+ var BinaryOpSymbol$17 = $EXPECT($L63, fail, 'BinaryOpSymbol "==="');
5657
+ var BinaryOpSymbol$18 = $TV($EXPECT($L64, fail, 'BinaryOpSymbol "=="'), function($skip, $loc, $0, $1) {
5515
5658
  if (module2.config.coffeeEq)
5516
5659
  return "===";
5517
5660
  return $1;
5518
5661
  });
5519
- var BinaryOpSymbol$19 = $T($S($EXPECT($L68, fail, 'BinaryOpSymbol "and"'), NonIdContinue), function(value) {
5662
+ var BinaryOpSymbol$19 = $T($S($EXPECT($L65, fail, 'BinaryOpSymbol "and"'), NonIdContinue), function(value) {
5520
5663
  return "&&";
5521
5664
  });
5522
- var BinaryOpSymbol$20 = $EXPECT($L69, fail, 'BinaryOpSymbol "&&"');
5523
- var BinaryOpSymbol$21 = $T($S(CoffeeOfEnabled, $EXPECT($L70, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function(value) {
5665
+ var BinaryOpSymbol$20 = $EXPECT($L66, fail, 'BinaryOpSymbol "&&"');
5666
+ var BinaryOpSymbol$21 = $T($S(CoffeeOfEnabled, $EXPECT($L67, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function(value) {
5524
5667
  return "in";
5525
5668
  });
5526
- var BinaryOpSymbol$22 = $T($S($EXPECT($L71, fail, 'BinaryOpSymbol "or"'), NonIdContinue), function(value) {
5669
+ var BinaryOpSymbol$22 = $T($S($EXPECT($L68, fail, 'BinaryOpSymbol "or"'), NonIdContinue), function(value) {
5527
5670
  return "||";
5528
5671
  });
5529
- var BinaryOpSymbol$23 = $EXPECT($L72, fail, 'BinaryOpSymbol "||"');
5530
- var BinaryOpSymbol$24 = $EXPECT($L73, fail, 'BinaryOpSymbol "??"');
5531
- var BinaryOpSymbol$25 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L74, fail, 'BinaryOpSymbol "?"')), function(value) {
5672
+ var BinaryOpSymbol$23 = $EXPECT($L69, fail, 'BinaryOpSymbol "||"');
5673
+ var BinaryOpSymbol$24 = $EXPECT($L70, fail, 'BinaryOpSymbol "??"');
5674
+ var BinaryOpSymbol$25 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L71, fail, 'BinaryOpSymbol "?"')), function(value) {
5532
5675
  return "??";
5533
5676
  });
5534
- var BinaryOpSymbol$26 = $TS($S($EXPECT($L75, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5677
+ var BinaryOpSymbol$26 = $TS($S($EXPECT($L72, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5535
5678
  return $1;
5536
5679
  });
5537
- var BinaryOpSymbol$27 = $TS($S(CoffeeNotEnabled, $EXPECT($L76, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L75, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
5680
+ var BinaryOpSymbol$27 = $TS($S(CoffeeNotEnabled, $EXPECT($L73, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L72, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
5538
5681
  return {
5539
5682
  $loc,
5540
5683
  token: "instanceof",
5541
5684
  special: true
5542
5685
  };
5543
5686
  });
5544
- var BinaryOpSymbol$28 = $TS($S(CoffeeNotEnabled, $EXPECT($L76, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L70, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
5687
+ var BinaryOpSymbol$28 = $TS($S(CoffeeNotEnabled, $EXPECT($L73, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L67, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
5545
5688
  return {
5546
5689
  $loc,
5547
5690
  token: "in",
5548
5691
  special: true
5549
5692
  };
5550
5693
  });
5551
- var BinaryOpSymbol$29 = $TS($S(CoffeeOfEnabled, $EXPECT($L77, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
5694
+ var BinaryOpSymbol$29 = $TS($S(CoffeeOfEnabled, $EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
5552
5695
  return {
5553
5696
  ref: module2.getRef("indexOf"),
5554
5697
  suffix: " >= 0",
5555
5698
  special: true
5556
5699
  };
5557
5700
  });
5558
- var BinaryOpSymbol$30 = $TS($S(CoffeeOfEnabled, $EXPECT($L76, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L77, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
5701
+ var BinaryOpSymbol$30 = $TS($S(CoffeeOfEnabled, $EXPECT($L73, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
5559
5702
  return {
5560
5703
  ref: module2.getRef("indexOf"),
5561
5704
  suffix: " < 0",
5562
5705
  special: true
5563
5706
  };
5564
5707
  });
5565
- var BinaryOpSymbol$31 = $TS($S($EXPECT($L77, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5708
+ var BinaryOpSymbol$31 = $TS($S($EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5566
5709
  return $1;
5567
5710
  });
5568
- var BinaryOpSymbol$32 = $EXPECT($L78, fail, 'BinaryOpSymbol "&"');
5569
- var BinaryOpSymbol$33 = $EXPECT($L79, fail, 'BinaryOpSymbol "^"');
5570
- var BinaryOpSymbol$34 = $EXPECT($L80, fail, 'BinaryOpSymbol "|"');
5711
+ var BinaryOpSymbol$32 = $EXPECT($L75, fail, 'BinaryOpSymbol "&"');
5712
+ var BinaryOpSymbol$33 = $EXPECT($L76, fail, 'BinaryOpSymbol "^"');
5713
+ var BinaryOpSymbol$34 = $EXPECT($L77, fail, 'BinaryOpSymbol "|"');
5571
5714
  function BinaryOpSymbol(state) {
5572
5715
  if (state.events) {
5573
5716
  const result = state.events.enter?.("BinaryOpSymbol", state);
@@ -5706,7 +5849,7 @@ ${input.slice(result.pos)}
5706
5849
  return result;
5707
5850
  }
5708
5851
  }
5709
- var EmptyStatement$0 = $T($S($Q(TrailingComment), $Y($EXPECT($L81, fail, 'EmptyStatement ";"'))), function(value) {
5852
+ var EmptyStatement$0 = $T($S($Q(TrailingComment), $Y($EXPECT($L78, fail, 'EmptyStatement ";"'))), function(value) {
5710
5853
  return { "type": "EmptyStatement", "children": value[0] };
5711
5854
  });
5712
5855
  function EmptyStatement(state) {
@@ -5727,7 +5870,7 @@ ${input.slice(result.pos)}
5727
5870
  return result;
5728
5871
  }
5729
5872
  }
5730
- var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($L29, fail, 'BlockStatement "="')))), function(value) {
5873
+ var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($L26, fail, 'BlockStatement "="')))), function(value) {
5731
5874
  return value[0];
5732
5875
  });
5733
5876
  function BlockStatement(state) {
@@ -6554,7 +6697,7 @@ ${input.slice(result.pos)}
6554
6697
  return result;
6555
6698
  }
6556
6699
  }
6557
- var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($L82, fail, 'CoffeeForDeclaration "own"'))), ForBinding), function($skip, $loc, $0, $1, $2) {
6700
+ var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($L79, fail, 'CoffeeForDeclaration "own"'))), ForBinding), function($skip, $loc, $0, $1, $2) {
6558
6701
  var own = $1;
6559
6702
  var binding = $2;
6560
6703
  if (own) {
@@ -7098,7 +7241,7 @@ ${input.slice(result.pos)}
7098
7241
  return result;
7099
7242
  }
7100
7243
  }
7101
- var Finally$0 = $S(__, $EXPECT($L83, fail, 'Finally "finally"'), BracedBlock);
7244
+ var Finally$0 = $S(__, $EXPECT($L80, fail, 'Finally "finally"'), BracedBlock);
7102
7245
  function Finally(state) {
7103
7246
  if (state.events) {
7104
7247
  const result = state.events.enter?.("Finally", state);
@@ -7234,13 +7377,13 @@ ${input.slice(result.pos)}
7234
7377
  return result;
7235
7378
  }
7236
7379
  }
7237
- var KeywordStatement$0 = $T($S($EXPECT($L84, fail, 'KeywordStatement "break"'), NonIdContinue), function(value) {
7380
+ var KeywordStatement$0 = $T($S($EXPECT($L81, fail, 'KeywordStatement "break"'), NonIdContinue), function(value) {
7238
7381
  return { "type": "BreakStatement", "children": value };
7239
7382
  });
7240
- var KeywordStatement$1 = $T($S($EXPECT($L85, fail, 'KeywordStatement "continue"'), NonIdContinue), function(value) {
7383
+ var KeywordStatement$1 = $T($S($EXPECT($L82, fail, 'KeywordStatement "continue"'), NonIdContinue), function(value) {
7241
7384
  return { "type": "ContinueStatement", "children": value };
7242
7385
  });
7243
- var KeywordStatement$2 = $T($S($EXPECT($L86, fail, 'KeywordStatement "debugger"'), NonIdContinue), function(value) {
7386
+ var KeywordStatement$2 = $T($S($EXPECT($L83, fail, 'KeywordStatement "debugger"'), NonIdContinue), function(value) {
7244
7387
  return { "type": "DebuggerStatement", "children": value };
7245
7388
  });
7246
7389
  var KeywordStatement$3 = $T($S(Return, $E(MaybeNestedExpression)), function(value) {
@@ -7267,7 +7410,7 @@ ${input.slice(result.pos)}
7267
7410
  return result;
7268
7411
  }
7269
7412
  }
7270
- var DebuggerExpression$0 = $TS($S($EXPECT($L86, fail, 'DebuggerExpression "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
7413
+ var DebuggerExpression$0 = $TS($S($EXPECT($L83, fail, 'DebuggerExpression "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
7271
7414
  return {
7272
7415
  type: "DebuggerExpression",
7273
7416
  children: ["(()=>{", $1, "})()"]
@@ -7340,7 +7483,7 @@ ${input.slice(result.pos)}
7340
7483
  return result;
7341
7484
  }
7342
7485
  }
7343
- var ImportDeclaration$0 = $T($S($EXPECT($L87, fail, 'ImportDeclaration "import type"'), NonIdContinue, __, ImportClause, __, FromClause), function(value) {
7486
+ var ImportDeclaration$0 = $T($S($EXPECT($L84, fail, 'ImportDeclaration "import type"'), NonIdContinue, __, ImportClause, __, FromClause), function(value) {
7344
7487
  return { "ts": true, "children": value };
7345
7488
  });
7346
7489
  var ImportDeclaration$1 = $S(Import, __, ImportClause, __, FromClause);
@@ -7640,7 +7783,7 @@ ${input.slice(result.pos)}
7640
7783
  return result;
7641
7784
  }
7642
7785
  }
7643
- var ExportDeclaration$0 = $S(Export, __, $EXPECT($L88, fail, 'ExportDeclaration "default"'), NonIdContinue, __, $C(HoistableDeclaration, ClassDeclaration, ExtendedExpression));
7786
+ var ExportDeclaration$0 = $S(Export, __, $EXPECT($L85, fail, 'ExportDeclaration "default"'), NonIdContinue, __, $C(HoistableDeclaration, ClassDeclaration, ExtendedExpression));
7644
7787
  var ExportDeclaration$1 = $S(Export, __, ExportFromClause, __, FromClause);
7645
7788
  var ExportDeclaration$2 = $S(Export, __, $C(Declaration, NamedExports, VariableStatement, ExportVarDec));
7646
7789
  function ExportDeclaration(state) {
@@ -7743,7 +7886,7 @@ ${input.slice(result.pos)}
7743
7886
  return result;
7744
7887
  }
7745
7888
  }
7746
- var ImplicitExportSpecifier$0 = $S($N($EXPECT($L88, fail, 'ImplicitExportSpecifier "default"')), ModuleExportName, $E($S(__, As, __, ModuleExportName)), $C($Y($S(__, From)), ImplicitInlineObjectPropertyDelimiter));
7889
+ var ImplicitExportSpecifier$0 = $S($N($EXPECT($L85, fail, 'ImplicitExportSpecifier "default"')), ModuleExportName, $E($S(__, As, __, ModuleExportName)), $C($Y($S(__, From)), ImplicitInlineObjectPropertyDelimiter));
7747
7890
  function ImplicitExportSpecifier(state) {
7748
7891
  if (state.events) {
7749
7892
  const result = state.events.enter?.("ImplicitExportSpecifier", state);
@@ -7898,7 +8041,7 @@ ${input.slice(result.pos)}
7898
8041
  return result;
7899
8042
  }
7900
8043
  }
7901
- var ConstAssignment$0 = $TV($EXPECT($L89, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
8044
+ var ConstAssignment$0 = $TV($EXPECT($L86, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
7902
8045
  return { $loc, token: "=" };
7903
8046
  });
7904
8047
  function ConstAssignment(state) {
@@ -7919,10 +8062,10 @@ ${input.slice(result.pos)}
7919
8062
  return result;
7920
8063
  }
7921
8064
  }
7922
- var LetAssignment$0 = $TV($EXPECT($L90, fail, 'LetAssignment "::="'), function($skip, $loc, $0, $1) {
8065
+ var LetAssignment$0 = $TV($EXPECT($L87, fail, 'LetAssignment "::="'), function($skip, $loc, $0, $1) {
7923
8066
  return { $loc, token: "=" };
7924
8067
  });
7925
- var LetAssignment$1 = $TV($EXPECT($L91, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
8068
+ var LetAssignment$1 = $TV($EXPECT($L88, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
7926
8069
  return { $loc, token: "=" };
7927
8070
  });
7928
8071
  function LetAssignment(state) {
@@ -8480,7 +8623,7 @@ ${input.slice(result.pos)}
8480
8623
  }
8481
8624
  }
8482
8625
  var RegularExpressionLiteral$0 = HeregexLiteral;
8483
- var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($L53, fail, 'RegularExpressionLiteral "/"'), RegularExpressionBody, $EXPECT($L53, fail, 'RegularExpressionLiteral "/"'), RegularExpressionFlags)), function($skip, $loc, $0, $1) {
8626
+ var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($L50, fail, 'RegularExpressionLiteral "/"'), RegularExpressionBody, $EXPECT($L50, fail, 'RegularExpressionLiteral "/"'), RegularExpressionFlags)), function($skip, $loc, $0, $1) {
8484
8627
  return { $loc, token: $1 };
8485
8628
  });
8486
8629
  function RegularExpressionLiteral(state) {
@@ -8926,7 +9069,7 @@ ${input.slice(result.pos)}
8926
9069
  return result;
8927
9070
  }
8928
9071
  }
8929
- var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L92, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L93, fail, 'JSMultiLineComment "*/"')), $EXPECT($R38, fail, "JSMultiLineComment /./"))), $EXPECT($L93, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
9072
+ var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L89, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L90, fail, 'JSMultiLineComment "*/"')), $EXPECT($R38, fail, "JSMultiLineComment /./"))), $EXPECT($L90, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
8930
9073
  return { $loc, token: $1 };
8931
9074
  });
8932
9075
  function JSMultiLineComment(state) {
@@ -8968,7 +9111,7 @@ ${input.slice(result.pos)}
8968
9111
  return result;
8969
9112
  }
8970
9113
  }
8971
- var CoffeeMultiLineComment$0 = $TS($S(CoffeeHereCommentStart, $TEXT($Q($S($N($C(CoffeeHereCommentStart, $EXPECT($L93, fail, 'CoffeeMultiLineComment "*/"'))), $EXPECT($R38, fail, "CoffeeMultiLineComment /./")))), CoffeeHereCommentStart), function($skip, $loc, $0, $1, $2, $3) {
9114
+ var CoffeeMultiLineComment$0 = $TS($S(CoffeeHereCommentStart, $TEXT($Q($S($N($C(CoffeeHereCommentStart, $EXPECT($L90, fail, 'CoffeeMultiLineComment "*/"'))), $EXPECT($R38, fail, "CoffeeMultiLineComment /./")))), CoffeeHereCommentStart), function($skip, $loc, $0, $1, $2, $3) {
8972
9115
  return { $loc, token: `/*${$2}*/` };
8973
9116
  });
8974
9117
  function CoffeeMultiLineComment(state) {
@@ -9008,7 +9151,7 @@ ${input.slice(result.pos)}
9008
9151
  return result;
9009
9152
  }
9010
9153
  }
9011
- var InlineComment$0 = $TV($TEXT($S($EXPECT($L92, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L93, fail, 'InlineComment "*/"')), $EXPECT($R41, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L93, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
9154
+ var InlineComment$0 = $TV($TEXT($S($EXPECT($L89, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L90, fail, 'InlineComment "*/"')), $EXPECT($R41, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L90, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
9012
9155
  return { $loc, token: $1 };
9013
9156
  });
9014
9157
  function InlineComment(state) {
@@ -9091,7 +9234,7 @@ ${input.slice(result.pos)}
9091
9234
  var NonNewlineWhitespace$0 = $TR($EXPECT($R42, fail, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
9092
9235
  return { $loc, token: $0 };
9093
9236
  });
9094
- var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L94, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
9237
+ var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L91, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
9095
9238
  return "";
9096
9239
  });
9097
9240
  function NonNewlineWhitespace(state) {
@@ -9236,7 +9379,28 @@ ${input.slice(result.pos)}
9236
9379
  return result;
9237
9380
  }
9238
9381
  }
9239
- var Ampersand$0 = $TV($EXPECT($L78, fail, 'Ampersand "&"'), function($skip, $loc, $0, $1) {
9382
+ var Abstract$0 = $TV($TEXT($S($EXPECT($L92, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L4, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
9383
+ return { $loc, token: $1, ts: true };
9384
+ });
9385
+ function Abstract(state) {
9386
+ if (state.events) {
9387
+ const result = state.events.enter?.("Abstract", state);
9388
+ if (result)
9389
+ return result.cache;
9390
+ }
9391
+ if (state.tokenize) {
9392
+ const result = $TOKEN("Abstract", state, Abstract$0(state));
9393
+ if (state.events)
9394
+ state.events.exit?.("Abstract", state, result);
9395
+ return result;
9396
+ } else {
9397
+ const result = Abstract$0(state);
9398
+ if (state.events)
9399
+ state.events.exit?.("Abstract", state, result);
9400
+ return result;
9401
+ }
9402
+ }
9403
+ var Ampersand$0 = $TV($EXPECT($L75, fail, 'Ampersand "&"'), function($skip, $loc, $0, $1) {
9240
9404
  return { $loc, token: $1 };
9241
9405
  });
9242
9406
  function Ampersand(state) {
@@ -9257,7 +9421,7 @@ ${input.slice(result.pos)}
9257
9421
  return result;
9258
9422
  }
9259
9423
  }
9260
- var As$0 = $TS($S($EXPECT($L95, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9424
+ var As$0 = $TS($S($EXPECT($L93, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9261
9425
  return { $loc, token: $1 };
9262
9426
  });
9263
9427
  function As(state) {
@@ -9278,7 +9442,7 @@ ${input.slice(result.pos)}
9278
9442
  return result;
9279
9443
  }
9280
9444
  }
9281
- var At$0 = $TV($EXPECT($L96, fail, 'At "@"'), function($skip, $loc, $0, $1) {
9445
+ var At$0 = $TV($EXPECT($L94, fail, 'At "@"'), function($skip, $loc, $0, $1) {
9282
9446
  return { $loc, token: $1 };
9283
9447
  });
9284
9448
  function At(state) {
@@ -9299,7 +9463,7 @@ ${input.slice(result.pos)}
9299
9463
  return result;
9300
9464
  }
9301
9465
  }
9302
- var AtAt$0 = $TV($EXPECT($L97, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
9466
+ var AtAt$0 = $TV($EXPECT($L95, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
9303
9467
  return { $loc, token: "@" };
9304
9468
  });
9305
9469
  function AtAt(state) {
@@ -9320,7 +9484,7 @@ ${input.slice(result.pos)}
9320
9484
  return result;
9321
9485
  }
9322
9486
  }
9323
- var Async$0 = $TV($EXPECT($L98, fail, 'Async "async"'), function($skip, $loc, $0, $1) {
9487
+ var Async$0 = $TV($EXPECT($L96, fail, 'Async "async"'), function($skip, $loc, $0, $1) {
9324
9488
  return { $loc, token: $1, type: "Async" };
9325
9489
  });
9326
9490
  function Async(state) {
@@ -9341,7 +9505,7 @@ ${input.slice(result.pos)}
9341
9505
  return result;
9342
9506
  }
9343
9507
  }
9344
- var Await$0 = $TS($S($EXPECT($L99, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9508
+ var Await$0 = $TS($S($EXPECT($L97, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9345
9509
  return { $loc, token: $1 };
9346
9510
  });
9347
9511
  function Await(state) {
@@ -9362,7 +9526,7 @@ ${input.slice(result.pos)}
9362
9526
  return result;
9363
9527
  }
9364
9528
  }
9365
- var Backtick$0 = $TV($EXPECT($L100, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
9529
+ var Backtick$0 = $TV($EXPECT($L98, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
9366
9530
  return { $loc, token: $1 };
9367
9531
  });
9368
9532
  function Backtick(state) {
@@ -9383,7 +9547,7 @@ ${input.slice(result.pos)}
9383
9547
  return result;
9384
9548
  }
9385
9549
  }
9386
- var By$0 = $TS($S($EXPECT($L101, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9550
+ var By$0 = $TS($S($EXPECT($L99, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9387
9551
  return { $loc, token: $1 };
9388
9552
  });
9389
9553
  function By(state) {
@@ -9404,7 +9568,7 @@ ${input.slice(result.pos)}
9404
9568
  return result;
9405
9569
  }
9406
9570
  }
9407
- var Case$0 = $TS($S($EXPECT($L102, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9571
+ var Case$0 = $TS($S($EXPECT($L100, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9408
9572
  return { $loc, token: $1 };
9409
9573
  });
9410
9574
  function Case(state) {
@@ -9425,7 +9589,7 @@ ${input.slice(result.pos)}
9425
9589
  return result;
9426
9590
  }
9427
9591
  }
9428
- var Catch$0 = $TV($EXPECT($L103, fail, 'Catch "catch"'), function($skip, $loc, $0, $1) {
9592
+ var Catch$0 = $TV($EXPECT($L101, fail, 'Catch "catch"'), function($skip, $loc, $0, $1) {
9429
9593
  return { $loc, token: $1 };
9430
9594
  });
9431
9595
  function Catch(state) {
@@ -9446,7 +9610,7 @@ ${input.slice(result.pos)}
9446
9610
  return result;
9447
9611
  }
9448
9612
  }
9449
- var Class$0 = $TV($EXPECT($L104, fail, 'Class "class"'), function($skip, $loc, $0, $1) {
9613
+ var Class$0 = $TV($EXPECT($L102, fail, 'Class "class"'), function($skip, $loc, $0, $1) {
9450
9614
  return { $loc, token: $1 };
9451
9615
  });
9452
9616
  function Class(state) {
@@ -9467,7 +9631,7 @@ ${input.slice(result.pos)}
9467
9631
  return result;
9468
9632
  }
9469
9633
  }
9470
- var CloseBrace$0 = $TV($EXPECT($L20, fail, 'CloseBrace "}"'), function($skip, $loc, $0, $1) {
9634
+ var CloseBrace$0 = $TV($EXPECT($L17, fail, 'CloseBrace "}"'), function($skip, $loc, $0, $1) {
9471
9635
  return { $loc, token: $1 };
9472
9636
  });
9473
9637
  function CloseBrace(state) {
@@ -9488,7 +9652,7 @@ ${input.slice(result.pos)}
9488
9652
  return result;
9489
9653
  }
9490
9654
  }
9491
- var CloseBracket$0 = $TV($EXPECT($L31, fail, 'CloseBracket "]"'), function($skip, $loc, $0, $1) {
9655
+ var CloseBracket$0 = $TV($EXPECT($L28, fail, 'CloseBracket "]"'), function($skip, $loc, $0, $1) {
9492
9656
  return { $loc, token: $1 };
9493
9657
  });
9494
9658
  function CloseBracket(state) {
@@ -9509,7 +9673,7 @@ ${input.slice(result.pos)}
9509
9673
  return result;
9510
9674
  }
9511
9675
  }
9512
- var CloseParen$0 = $TV($EXPECT($L18, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
9676
+ var CloseParen$0 = $TV($EXPECT($L15, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
9513
9677
  return { $loc, token: $1 };
9514
9678
  });
9515
9679
  function CloseParen(state) {
@@ -9530,7 +9694,7 @@ ${input.slice(result.pos)}
9530
9694
  return result;
9531
9695
  }
9532
9696
  }
9533
- var CoffeeSubstitutionStart$0 = $TV($EXPECT($L105, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
9697
+ var CoffeeSubstitutionStart$0 = $TV($EXPECT($L103, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
9534
9698
  return { $loc, token: "${" };
9535
9699
  });
9536
9700
  function CoffeeSubstitutionStart(state) {
@@ -9551,7 +9715,7 @@ ${input.slice(result.pos)}
9551
9715
  return result;
9552
9716
  }
9553
9717
  }
9554
- var Colon$0 = $TV($EXPECT($L32, fail, 'Colon ":"'), function($skip, $loc, $0, $1) {
9718
+ var Colon$0 = $TV($EXPECT($L29, fail, 'Colon ":"'), function($skip, $loc, $0, $1) {
9555
9719
  return { $loc, token: $1 };
9556
9720
  });
9557
9721
  function Colon(state) {
@@ -9572,7 +9736,7 @@ ${input.slice(result.pos)}
9572
9736
  return result;
9573
9737
  }
9574
9738
  }
9575
- var ConstructorShorthand$0 = $TV($EXPECT($L96, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
9739
+ var ConstructorShorthand$0 = $TV($EXPECT($L94, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
9576
9740
  return { $loc, token: "constructor" };
9577
9741
  });
9578
9742
  function ConstructorShorthand(state) {
@@ -9593,7 +9757,7 @@ ${input.slice(result.pos)}
9593
9757
  return result;
9594
9758
  }
9595
9759
  }
9596
- var Default$0 = $TS($S($EXPECT($L88, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9760
+ var Default$0 = $TS($S($EXPECT($L85, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9597
9761
  return { $loc, token: $1 };
9598
9762
  });
9599
9763
  function Default(state) {
@@ -9614,7 +9778,7 @@ ${input.slice(result.pos)}
9614
9778
  return result;
9615
9779
  }
9616
9780
  }
9617
- var Delete$0 = $TS($S($EXPECT($L106, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9781
+ var Delete$0 = $TS($S($EXPECT($L104, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9618
9782
  return { $loc, token: $1 };
9619
9783
  });
9620
9784
  function Delete(state) {
@@ -9635,7 +9799,7 @@ ${input.slice(result.pos)}
9635
9799
  return result;
9636
9800
  }
9637
9801
  }
9638
- var Do$0 = $TS($S($EXPECT($L107, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9802
+ var Do$0 = $TS($S($EXPECT($L105, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9639
9803
  return { $loc, token: $1 };
9640
9804
  });
9641
9805
  function Do(state) {
@@ -9656,7 +9820,7 @@ ${input.slice(result.pos)}
9656
9820
  return result;
9657
9821
  }
9658
9822
  }
9659
- var Dot$0 = $TV($EXPECT($L12, fail, 'Dot "."'), function($skip, $loc, $0, $1) {
9823
+ var Dot$0 = $TV($EXPECT($L9, fail, 'Dot "."'), function($skip, $loc, $0, $1) {
9660
9824
  return { $loc, token: $1 };
9661
9825
  });
9662
9826
  function Dot(state) {
@@ -9677,7 +9841,7 @@ ${input.slice(result.pos)}
9677
9841
  return result;
9678
9842
  }
9679
9843
  }
9680
- var DotDot$0 = $TV($EXPECT($L108, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
9844
+ var DotDot$0 = $TV($EXPECT($L106, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
9681
9845
  return { $loc, token: $1 };
9682
9846
  });
9683
9847
  function DotDot(state) {
@@ -9698,7 +9862,7 @@ ${input.slice(result.pos)}
9698
9862
  return result;
9699
9863
  }
9700
9864
  }
9701
- var DotDotDot$0 = $TV($EXPECT($L109, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
9865
+ var DotDotDot$0 = $TV($EXPECT($L107, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
9702
9866
  return { $loc, token: $1 };
9703
9867
  });
9704
9868
  function DotDotDot(state) {
@@ -9719,7 +9883,7 @@ ${input.slice(result.pos)}
9719
9883
  return result;
9720
9884
  }
9721
9885
  }
9722
- var DoubleColon$0 = $TV($EXPECT($L110, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
9886
+ var DoubleColon$0 = $TV($EXPECT($L108, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
9723
9887
  return { $loc, token: $1 };
9724
9888
  });
9725
9889
  function DoubleColon(state) {
@@ -9740,7 +9904,7 @@ ${input.slice(result.pos)}
9740
9904
  return result;
9741
9905
  }
9742
9906
  }
9743
- var DoubleQuote$0 = $TV($EXPECT($L111, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
9907
+ var DoubleQuote$0 = $TV($EXPECT($L109, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
9744
9908
  return { $loc, token: $1 };
9745
9909
  });
9746
9910
  function DoubleQuote(state) {
@@ -9761,7 +9925,7 @@ ${input.slice(result.pos)}
9761
9925
  return result;
9762
9926
  }
9763
9927
  }
9764
- var Else$0 = $TV($EXPECT($L112, fail, 'Else "else"'), function($skip, $loc, $0, $1) {
9928
+ var Else$0 = $TV($EXPECT($L110, fail, 'Else "else"'), function($skip, $loc, $0, $1) {
9765
9929
  return { $loc, token: $1 };
9766
9930
  });
9767
9931
  function Else(state) {
@@ -9782,7 +9946,7 @@ ${input.slice(result.pos)}
9782
9946
  return result;
9783
9947
  }
9784
9948
  }
9785
- var Equals$0 = $TV($EXPECT($L29, fail, 'Equals "="'), function($skip, $loc, $0, $1) {
9949
+ var Equals$0 = $TV($EXPECT($L26, fail, 'Equals "="'), function($skip, $loc, $0, $1) {
9786
9950
  return { $loc, token: $1 };
9787
9951
  });
9788
9952
  function Equals(state) {
@@ -9803,7 +9967,7 @@ ${input.slice(result.pos)}
9803
9967
  return result;
9804
9968
  }
9805
9969
  }
9806
- var Export$0 = $TS($S($EXPECT($L113, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9970
+ var Export$0 = $TS($S($EXPECT($L111, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9807
9971
  return { $loc, token: $1 };
9808
9972
  });
9809
9973
  function Export(state) {
@@ -9824,7 +9988,7 @@ ${input.slice(result.pos)}
9824
9988
  return result;
9825
9989
  }
9826
9990
  }
9827
- var For$0 = $TS($S($EXPECT($L114, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9991
+ var For$0 = $TS($S($EXPECT($L112, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9828
9992
  return { $loc, token: $1 };
9829
9993
  });
9830
9994
  function For(state) {
@@ -9845,7 +10009,7 @@ ${input.slice(result.pos)}
9845
10009
  return result;
9846
10010
  }
9847
10011
  }
9848
- var From$0 = $TS($S($EXPECT($L115, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10012
+ var From$0 = $TS($S($EXPECT($L113, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9849
10013
  return { $loc, token: $1 };
9850
10014
  });
9851
10015
  function From(state) {
@@ -9866,7 +10030,7 @@ ${input.slice(result.pos)}
9866
10030
  return result;
9867
10031
  }
9868
10032
  }
9869
- var Function$0 = $TV($EXPECT($L116, fail, 'Function "function"'), function($skip, $loc, $0, $1) {
10033
+ var Function$0 = $TV($EXPECT($L114, fail, 'Function "function"'), function($skip, $loc, $0, $1) {
9870
10034
  return { $loc, token: $1 };
9871
10035
  });
9872
10036
  function Function(state) {
@@ -9887,7 +10051,7 @@ ${input.slice(result.pos)}
9887
10051
  return result;
9888
10052
  }
9889
10053
  }
9890
- var GetOrSet$0 = $TS($S($C($EXPECT($L117, fail, 'GetOrSet "get"'), $EXPECT($L118, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10054
+ var GetOrSet$0 = $TS($S($C($EXPECT($L115, fail, 'GetOrSet "get"'), $EXPECT($L116, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9891
10055
  return { $loc, token: $1, type: "GetOrSet" };
9892
10056
  });
9893
10057
  function GetOrSet(state) {
@@ -9908,7 +10072,7 @@ ${input.slice(result.pos)}
9908
10072
  return result;
9909
10073
  }
9910
10074
  }
9911
- var If$0 = $TV($TEXT($S($EXPECT($L119, fail, 'If "if"'), $E($EXPECT($L4, fail, 'If " "')))), function($skip, $loc, $0, $1) {
10075
+ var If$0 = $TV($TEXT($S($EXPECT($L117, fail, 'If "if"'), $E($EXPECT($L4, fail, 'If " "')))), function($skip, $loc, $0, $1) {
9912
10076
  return { $loc, token: $1 };
9913
10077
  });
9914
10078
  function If(state) {
@@ -9929,7 +10093,7 @@ ${input.slice(result.pos)}
9929
10093
  return result;
9930
10094
  }
9931
10095
  }
9932
- var Import$0 = $TS($S($EXPECT($L14, fail, 'Import "import"'), $Y($EXPECT($R44, fail, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
10096
+ var Import$0 = $TS($S($EXPECT($L11, fail, 'Import "import"'), $Y($EXPECT($R44, fail, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
9933
10097
  return { $loc, token: $1 };
9934
10098
  });
9935
10099
  function Import(state) {
@@ -9950,7 +10114,7 @@ ${input.slice(result.pos)}
9950
10114
  return result;
9951
10115
  }
9952
10116
  }
9953
- var In$0 = $TV($EXPECT($L77, fail, 'In "in"'), function($skip, $loc, $0, $1) {
10117
+ var In$0 = $TV($EXPECT($L74, fail, 'In "in"'), function($skip, $loc, $0, $1) {
9954
10118
  return { $loc, token: $1 };
9955
10119
  });
9956
10120
  function In(state) {
@@ -9971,7 +10135,7 @@ ${input.slice(result.pos)}
9971
10135
  return result;
9972
10136
  }
9973
10137
  }
9974
- var LetOrConst$0 = $TS($S($C($EXPECT($L120, fail, 'LetOrConst "let"'), $EXPECT($L121, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10138
+ var LetOrConst$0 = $TS($S($C($EXPECT($L118, fail, 'LetOrConst "let"'), $EXPECT($L119, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9975
10139
  return { $loc, token: $1 };
9976
10140
  });
9977
10141
  function LetOrConst(state) {
@@ -9992,7 +10156,7 @@ ${input.slice(result.pos)}
9992
10156
  return result;
9993
10157
  }
9994
10158
  }
9995
- var Loop$0 = $TS($S($EXPECT($L122, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10159
+ var Loop$0 = $TS($S($EXPECT($L120, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9996
10160
  return { $loc, token: "while(true)" };
9997
10161
  });
9998
10162
  function Loop(state) {
@@ -10013,7 +10177,7 @@ ${input.slice(result.pos)}
10013
10177
  return result;
10014
10178
  }
10015
10179
  }
10016
- var New$0 = $TS($S($EXPECT($L123, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10180
+ var New$0 = $TS($S($EXPECT($L121, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10017
10181
  return { $loc, token: $1 };
10018
10182
  });
10019
10183
  function New(state) {
@@ -10034,7 +10198,7 @@ ${input.slice(result.pos)}
10034
10198
  return result;
10035
10199
  }
10036
10200
  }
10037
- var Not$0 = $TS($S(CoffeeNotEnabled, $EXPECT($L76, fail, 'Not "not"'), NonIdContinue, $E($EXPECT($L4, fail, 'Not " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
10201
+ var Not$0 = $TS($S(CoffeeNotEnabled, $EXPECT($L73, fail, 'Not "not"'), NonIdContinue, $E($EXPECT($L4, fail, 'Not " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
10038
10202
  return { $loc, token: "!" };
10039
10203
  });
10040
10204
  function Not(state) {
@@ -10055,7 +10219,7 @@ ${input.slice(result.pos)}
10055
10219
  return result;
10056
10220
  }
10057
10221
  }
10058
- var Of$0 = $TV($EXPECT($L70, fail, 'Of "of"'), function($skip, $loc, $0, $1) {
10222
+ var Of$0 = $TV($EXPECT($L67, fail, 'Of "of"'), function($skip, $loc, $0, $1) {
10059
10223
  return { $loc, token: $1 };
10060
10224
  });
10061
10225
  function Of(state) {
@@ -10076,7 +10240,7 @@ ${input.slice(result.pos)}
10076
10240
  return result;
10077
10241
  }
10078
10242
  }
10079
- var OpenBrace$0 = $TV($EXPECT($L124, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
10243
+ var OpenBrace$0 = $TV($EXPECT($L122, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
10080
10244
  return { $loc, token: $1 };
10081
10245
  });
10082
10246
  function OpenBrace(state) {
@@ -10097,7 +10261,7 @@ ${input.slice(result.pos)}
10097
10261
  return result;
10098
10262
  }
10099
10263
  }
10100
- var OpenBracket$0 = $TV($EXPECT($L125, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
10264
+ var OpenBracket$0 = $TV($EXPECT($L123, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
10101
10265
  return { $loc, token: $1 };
10102
10266
  });
10103
10267
  function OpenBracket(state) {
@@ -10118,7 +10282,7 @@ ${input.slice(result.pos)}
10118
10282
  return result;
10119
10283
  }
10120
10284
  }
10121
- var OpenParen$0 = $TV($EXPECT($L126, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
10285
+ var OpenParen$0 = $TV($EXPECT($L124, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
10122
10286
  return { $loc, token: $1 };
10123
10287
  });
10124
10288
  function OpenParen(state) {
@@ -10139,7 +10303,91 @@ ${input.slice(result.pos)}
10139
10303
  return result;
10140
10304
  }
10141
10305
  }
10142
- var QuestionMark$0 = $TV($EXPECT($L74, fail, 'QuestionMark "?"'), function($skip, $loc, $0, $1) {
10306
+ var Public$0 = $TS($S($EXPECT($L125, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10307
+ return { $loc, token: $1 };
10308
+ });
10309
+ function Public(state) {
10310
+ if (state.events) {
10311
+ const result = state.events.enter?.("Public", state);
10312
+ if (result)
10313
+ return result.cache;
10314
+ }
10315
+ if (state.tokenize) {
10316
+ const result = $TOKEN("Public", state, Public$0(state));
10317
+ if (state.events)
10318
+ state.events.exit?.("Public", state, result);
10319
+ return result;
10320
+ } else {
10321
+ const result = Public$0(state);
10322
+ if (state.events)
10323
+ state.events.exit?.("Public", state, result);
10324
+ return result;
10325
+ }
10326
+ }
10327
+ var Private$0 = $TS($S($EXPECT($L126, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10328
+ return { $loc, token: $1 };
10329
+ });
10330
+ function Private(state) {
10331
+ if (state.events) {
10332
+ const result = state.events.enter?.("Private", state);
10333
+ if (result)
10334
+ return result.cache;
10335
+ }
10336
+ if (state.tokenize) {
10337
+ const result = $TOKEN("Private", state, Private$0(state));
10338
+ if (state.events)
10339
+ state.events.exit?.("Private", state, result);
10340
+ return result;
10341
+ } else {
10342
+ const result = Private$0(state);
10343
+ if (state.events)
10344
+ state.events.exit?.("Private", state, result);
10345
+ return result;
10346
+ }
10347
+ }
10348
+ var Protected$0 = $TS($S($EXPECT($L127, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10349
+ return { $loc, token: $1 };
10350
+ });
10351
+ function Protected(state) {
10352
+ if (state.events) {
10353
+ const result = state.events.enter?.("Protected", state);
10354
+ if (result)
10355
+ return result.cache;
10356
+ }
10357
+ if (state.tokenize) {
10358
+ const result = $TOKEN("Protected", state, Protected$0(state));
10359
+ if (state.events)
10360
+ state.events.exit?.("Protected", state, result);
10361
+ return result;
10362
+ } else {
10363
+ const result = Protected$0(state);
10364
+ if (state.events)
10365
+ state.events.exit?.("Protected", state, result);
10366
+ return result;
10367
+ }
10368
+ }
10369
+ var Pipe$0 = $TV($EXPECT($L128, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
10370
+ return { $loc, token: $1 };
10371
+ });
10372
+ function Pipe(state) {
10373
+ if (state.events) {
10374
+ const result = state.events.enter?.("Pipe", state);
10375
+ if (result)
10376
+ return result.cache;
10377
+ }
10378
+ if (state.tokenize) {
10379
+ const result = $TOKEN("Pipe", state, Pipe$0(state));
10380
+ if (state.events)
10381
+ state.events.exit?.("Pipe", state, result);
10382
+ return result;
10383
+ } else {
10384
+ const result = Pipe$0(state);
10385
+ if (state.events)
10386
+ state.events.exit?.("Pipe", state, result);
10387
+ return result;
10388
+ }
10389
+ }
10390
+ var QuestionMark$0 = $TV($EXPECT($L71, fail, 'QuestionMark "?"'), function($skip, $loc, $0, $1) {
10143
10391
  return { $loc, token: $1 };
10144
10392
  });
10145
10393
  function QuestionMark(state) {
@@ -10160,7 +10408,28 @@ ${input.slice(result.pos)}
10160
10408
  return result;
10161
10409
  }
10162
10410
  }
10163
- var Return$0 = $TS($S($EXPECT($L127, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10411
+ var Readonly$0 = $TS($S($EXPECT($L129, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10412
+ return { $loc, token: $1, ts: true };
10413
+ });
10414
+ function Readonly(state) {
10415
+ if (state.events) {
10416
+ const result = state.events.enter?.("Readonly", state);
10417
+ if (result)
10418
+ return result.cache;
10419
+ }
10420
+ if (state.tokenize) {
10421
+ const result = $TOKEN("Readonly", state, Readonly$0(state));
10422
+ if (state.events)
10423
+ state.events.exit?.("Readonly", state, result);
10424
+ return result;
10425
+ } else {
10426
+ const result = Readonly$0(state);
10427
+ if (state.events)
10428
+ state.events.exit?.("Readonly", state, result);
10429
+ return result;
10430
+ }
10431
+ }
10432
+ var Return$0 = $TS($S($EXPECT($L130, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10164
10433
  return { $loc, token: $1 };
10165
10434
  });
10166
10435
  function Return(state) {
@@ -10181,7 +10450,7 @@ ${input.slice(result.pos)}
10181
10450
  return result;
10182
10451
  }
10183
10452
  }
10184
- var Satisfies$0 = $TS($S($EXPECT($L128, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10453
+ var Satisfies$0 = $TS($S($EXPECT($L131, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10185
10454
  return { $loc, token: $1 };
10186
10455
  });
10187
10456
  function Satisfies(state) {
@@ -10202,7 +10471,7 @@ ${input.slice(result.pos)}
10202
10471
  return result;
10203
10472
  }
10204
10473
  }
10205
- var Semicolon$0 = $TV($EXPECT($L81, fail, 'Semicolon ";"'), function($skip, $loc, $0, $1) {
10474
+ var Semicolon$0 = $TV($EXPECT($L78, fail, 'Semicolon ";"'), function($skip, $loc, $0, $1) {
10206
10475
  return { $loc, token: $1 };
10207
10476
  });
10208
10477
  function Semicolon(state) {
@@ -10223,7 +10492,7 @@ ${input.slice(result.pos)}
10223
10492
  return result;
10224
10493
  }
10225
10494
  }
10226
- var SingleQuote$0 = $TV($EXPECT($L129, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
10495
+ var SingleQuote$0 = $TV($EXPECT($L132, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
10227
10496
  return { $loc, token: $1 };
10228
10497
  });
10229
10498
  function SingleQuote(state) {
@@ -10244,7 +10513,7 @@ ${input.slice(result.pos)}
10244
10513
  return result;
10245
10514
  }
10246
10515
  }
10247
- var Star$0 = $TV($EXPECT($L52, fail, 'Star "*"'), function($skip, $loc, $0, $1) {
10516
+ var Star$0 = $TV($EXPECT($L49, fail, 'Star "*"'), function($skip, $loc, $0, $1) {
10248
10517
  return { $loc, token: $1 };
10249
10518
  });
10250
10519
  function Star(state) {
@@ -10265,10 +10534,10 @@ ${input.slice(result.pos)}
10265
10534
  return result;
10266
10535
  }
10267
10536
  }
10268
- var Static$0 = $TV($EXPECT($L130, fail, 'Static "static"'), function($skip, $loc, $0, $1) {
10537
+ var Static$0 = $TV($EXPECT($L133, fail, 'Static "static"'), function($skip, $loc, $0, $1) {
10269
10538
  return { $loc, token: $1 };
10270
10539
  });
10271
- var Static$1 = $TS($S($EXPECT($L96, fail, 'Static "@"'), $N($C($EXPECT($L126, fail, 'Static "("'), $EXPECT($L96, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
10540
+ var Static$1 = $TS($S($EXPECT($L94, fail, 'Static "@"'), $N($C($EXPECT($L124, fail, 'Static "("'), $EXPECT($L94, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
10272
10541
  return { $loc, token: "static " };
10273
10542
  });
10274
10543
  function Static(state) {
@@ -10289,7 +10558,7 @@ ${input.slice(result.pos)}
10289
10558
  return result;
10290
10559
  }
10291
10560
  }
10292
- var SubstitutionStart$0 = $TV($EXPECT($L131, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
10561
+ var SubstitutionStart$0 = $TV($EXPECT($L134, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
10293
10562
  return { $loc, token: $1 };
10294
10563
  });
10295
10564
  function SubstitutionStart(state) {
@@ -10310,7 +10579,7 @@ ${input.slice(result.pos)}
10310
10579
  return result;
10311
10580
  }
10312
10581
  }
10313
- var Switch$0 = $TS($S($EXPECT($L132, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10582
+ var Switch$0 = $TS($S($EXPECT($L135, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10314
10583
  return { $loc, token: $1 };
10315
10584
  });
10316
10585
  function Switch(state) {
@@ -10331,7 +10600,7 @@ ${input.slice(result.pos)}
10331
10600
  return result;
10332
10601
  }
10333
10602
  }
10334
- var Target$0 = $TS($S($EXPECT($L133, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10603
+ var Target$0 = $TS($S($EXPECT($L136, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10335
10604
  return { $loc, token: $1 };
10336
10605
  });
10337
10606
  function Target(state) {
@@ -10352,7 +10621,7 @@ ${input.slice(result.pos)}
10352
10621
  return result;
10353
10622
  }
10354
10623
  }
10355
- var Then$0 = $TS($S(__, $EXPECT($L134, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
10624
+ var Then$0 = $TS($S(__, $EXPECT($L137, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
10356
10625
  return { $loc, token: "" };
10357
10626
  });
10358
10627
  function Then(state) {
@@ -10373,7 +10642,7 @@ ${input.slice(result.pos)}
10373
10642
  return result;
10374
10643
  }
10375
10644
  }
10376
- var This$0 = $TS($S($EXPECT($L135, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10645
+ var This$0 = $TS($S($EXPECT($L138, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10377
10646
  return { $loc, token: $1 };
10378
10647
  });
10379
10648
  function This(state) {
@@ -10394,7 +10663,7 @@ ${input.slice(result.pos)}
10394
10663
  return result;
10395
10664
  }
10396
10665
  }
10397
- var Throw$0 = $TS($S($EXPECT($L136, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10666
+ var Throw$0 = $TS($S($EXPECT($L139, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10398
10667
  return { $loc, token: $1 };
10399
10668
  });
10400
10669
  function Throw(state) {
@@ -10415,7 +10684,7 @@ ${input.slice(result.pos)}
10415
10684
  return result;
10416
10685
  }
10417
10686
  }
10418
- var TripleDoubleQuote$0 = $TV($EXPECT($L137, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
10687
+ var TripleDoubleQuote$0 = $TV($EXPECT($L140, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
10419
10688
  return { $loc, token: "`" };
10420
10689
  });
10421
10690
  function TripleDoubleQuote(state) {
@@ -10436,7 +10705,7 @@ ${input.slice(result.pos)}
10436
10705
  return result;
10437
10706
  }
10438
10707
  }
10439
- var TripleSingleQuote$0 = $TV($EXPECT($L138, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
10708
+ var TripleSingleQuote$0 = $TV($EXPECT($L141, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
10440
10709
  return { $loc, token: "`" };
10441
10710
  });
10442
10711
  function TripleSingleQuote(state) {
@@ -10457,7 +10726,7 @@ ${input.slice(result.pos)}
10457
10726
  return result;
10458
10727
  }
10459
10728
  }
10460
- var TripleSlash$0 = $TV($EXPECT($L139, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
10729
+ var TripleSlash$0 = $TV($EXPECT($L142, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
10461
10730
  return { $loc, token: "/" };
10462
10731
  });
10463
10732
  function TripleSlash(state) {
@@ -10478,7 +10747,7 @@ ${input.slice(result.pos)}
10478
10747
  return result;
10479
10748
  }
10480
10749
  }
10481
- var TripleTick$0 = $TV($EXPECT($L140, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
10750
+ var TripleTick$0 = $TV($EXPECT($L143, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
10482
10751
  return { $loc, token: "`" };
10483
10752
  });
10484
10753
  function TripleTick(state) {
@@ -10499,7 +10768,7 @@ ${input.slice(result.pos)}
10499
10768
  return result;
10500
10769
  }
10501
10770
  }
10502
- var Try$0 = $TS($S($EXPECT($L141, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10771
+ var Try$0 = $TS($S($EXPECT($L144, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10503
10772
  return { $loc, token: $1 };
10504
10773
  });
10505
10774
  function Try(state) {
@@ -10520,7 +10789,7 @@ ${input.slice(result.pos)}
10520
10789
  return result;
10521
10790
  }
10522
10791
  }
10523
- var Typeof$0 = $TS($S($EXPECT($L142, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10792
+ var Typeof$0 = $TS($S($EXPECT($L145, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10524
10793
  return { $loc, token: $1 };
10525
10794
  });
10526
10795
  function Typeof(state) {
@@ -10541,7 +10810,7 @@ ${input.slice(result.pos)}
10541
10810
  return result;
10542
10811
  }
10543
10812
  }
10544
- var Unless$0 = $TS($S($EXPECT($L143, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10813
+ var Unless$0 = $TS($S($EXPECT($L146, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10545
10814
  return { $loc, token: $1 };
10546
10815
  });
10547
10816
  function Unless(state) {
@@ -10562,7 +10831,7 @@ ${input.slice(result.pos)}
10562
10831
  return result;
10563
10832
  }
10564
10833
  }
10565
- var Until$0 = $TS($S($EXPECT($L144, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10834
+ var Until$0 = $TS($S($EXPECT($L147, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10566
10835
  return { $loc, token: $1 };
10567
10836
  });
10568
10837
  function Until(state) {
@@ -10583,7 +10852,7 @@ ${input.slice(result.pos)}
10583
10852
  return result;
10584
10853
  }
10585
10854
  }
10586
- var Var$0 = $TS($S($EXPECT($L145, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10855
+ var Var$0 = $TS($S($EXPECT($L148, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10587
10856
  return { $loc, token: $1 };
10588
10857
  });
10589
10858
  function Var(state) {
@@ -10604,7 +10873,7 @@ ${input.slice(result.pos)}
10604
10873
  return result;
10605
10874
  }
10606
10875
  }
10607
- var Void$0 = $TS($S($EXPECT($L146, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10876
+ var Void$0 = $TS($S($EXPECT($L149, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10608
10877
  return { $loc, token: $1 };
10609
10878
  });
10610
10879
  function Void(state) {
@@ -10625,7 +10894,7 @@ ${input.slice(result.pos)}
10625
10894
  return result;
10626
10895
  }
10627
10896
  }
10628
- var When$0 = $TS($S($EXPECT($L147, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10897
+ var When$0 = $TS($S($EXPECT($L150, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10629
10898
  return { $loc, token: "case" };
10630
10899
  });
10631
10900
  function When(state) {
@@ -10646,7 +10915,7 @@ ${input.slice(result.pos)}
10646
10915
  return result;
10647
10916
  }
10648
10917
  }
10649
- var While$0 = $TS($S($EXPECT($L148, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10918
+ var While$0 = $TS($S($EXPECT($L151, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10650
10919
  return { $loc, token: $1 };
10651
10920
  });
10652
10921
  function While(state) {
@@ -10667,7 +10936,7 @@ ${input.slice(result.pos)}
10667
10936
  return result;
10668
10937
  }
10669
10938
  }
10670
- var Yield$0 = $TS($S($EXPECT($L149, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10939
+ var Yield$0 = $TS($S($EXPECT($L152, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10671
10940
  return { $loc, token: $1 };
10672
10941
  });
10673
10942
  function Yield(state) {
@@ -10749,7 +11018,7 @@ ${input.slice(result.pos)}
10749
11018
  return result;
10750
11019
  }
10751
11020
  }
10752
- var JSXSelfClosingElement$0 = $TS($S($EXPECT($L5, fail, 'JSXSelfClosingElement "<"'), $TEXT(JSXElementName), $E(CompactTypeArguments), $E(JSXAttributes), __, $EXPECT($L150, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
11021
+ var JSXSelfClosingElement$0 = $TS($S($EXPECT($L5, fail, 'JSXSelfClosingElement "<"'), $TEXT(JSXElementName), $E(CompactTypeArguments), $E(JSXAttributes), __, $EXPECT($L153, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
10753
11022
  return { type: "JSXElement", children: $0 };
10754
11023
  });
10755
11024
  function JSXSelfClosingElement(state) {
@@ -10770,7 +11039,7 @@ ${input.slice(result.pos)}
10770
11039
  return result;
10771
11040
  }
10772
11041
  }
10773
- var JSXOpeningElement$0 = $S($EXPECT($L5, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(CompactTypeArguments), $E(JSXAttributes), __, $EXPECT($L30, fail, 'JSXOpeningElement ">"'));
11042
+ var JSXOpeningElement$0 = $S($EXPECT($L5, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(CompactTypeArguments), $E(JSXAttributes), __, $EXPECT($L27, fail, 'JSXOpeningElement ">"'));
10774
11043
  function JSXOpeningElement(state) {
10775
11044
  if (state.events) {
10776
11045
  const result = state.events.enter?.("JSXOpeningElement", state);
@@ -10789,7 +11058,7 @@ ${input.slice(result.pos)}
10789
11058
  return result;
10790
11059
  }
10791
11060
  }
10792
- var JSXClosingElement$0 = $S($EXPECT($L151, fail, 'JSXClosingElement "</"'), __, $TEXT(JSXElementName), __, $EXPECT($L30, fail, 'JSXClosingElement ">"'));
11061
+ var JSXClosingElement$0 = $S($EXPECT($L154, fail, 'JSXClosingElement "</"'), __, $TEXT(JSXElementName), __, $EXPECT($L27, fail, 'JSXClosingElement ">"'));
10793
11062
  function JSXClosingElement(state) {
10794
11063
  if (state.events) {
10795
11064
  const result = state.events.enter?.("JSXClosingElement", state);
@@ -10834,14 +11103,14 @@ ${input.slice(result.pos)}
10834
11103
  return result;
10835
11104
  }
10836
11105
  }
10837
- var JSXFragment$0 = $TS($S($EXPECT($L152, fail, 'JSXFragment "<>"'), $E(JSXChildren), __, $EXPECT($L153, fail, 'JSXFragment "</>"')), function($skip, $loc, $0, $1, $2, $3, $4) {
11106
+ var JSXFragment$0 = $TS($S($EXPECT($L155, fail, 'JSXFragment "<>"'), $E(JSXChildren), __, $EXPECT($L156, fail, 'JSXFragment "</>"')), function($skip, $loc, $0, $1, $2, $3, $4) {
10838
11107
  if ($2) {
10839
11108
  return { type: "JSXFragment", children: $0, jsxChildren: $2.jsxChildren };
10840
11109
  } else {
10841
11110
  return { type: "JSXFragment", children: $0, jsxChildren: [] };
10842
11111
  }
10843
11112
  });
10844
- var JSXFragment$1 = $TS($S($EXPECT($L152, fail, 'JSXFragment "<>"'), JSXMixedChildren, InsertNewline, InsertIndent), function($skip, $loc, $0, $1, $2, $3, $4) {
11113
+ var JSXFragment$1 = $TS($S($EXPECT($L155, fail, 'JSXFragment "<>"'), JSXMixedChildren, InsertNewline, InsertIndent), function($skip, $loc, $0, $1, $2, $3, $4) {
10845
11114
  return { type: "JSXFragment", children: [...$0, "</>"], jsxChildren: $2.jsxChildren };
10846
11115
  });
10847
11116
  function JSXFragment(state) {
@@ -11191,8 +11460,8 @@ ${input.slice(result.pos)}
11191
11460
  return result;
11192
11461
  }
11193
11462
  }
11194
- var InlineJSXCallExpression$0 = $S($EXPECT($L13, fail, 'InlineJSXCallExpression "super"'), ExplicitArguments);
11195
- var InlineJSXCallExpression$1 = $S($EXPECT($L14, fail, 'InlineJSXCallExpression "import"'), OpenParen, ExtendedExpression, __, CloseParen);
11463
+ var InlineJSXCallExpression$0 = $S($EXPECT($L10, fail, 'InlineJSXCallExpression "super"'), ExplicitArguments);
11464
+ var InlineJSXCallExpression$1 = $S($EXPECT($L11, fail, 'InlineJSXCallExpression "import"'), OpenParen, ExtendedExpression, __, CloseParen);
11196
11465
  var InlineJSXCallExpression$2 = $TS($S(InlineJSXMemberExpression, $Q(InlineJSXCallExpressionRest)), function($skip, $loc, $0, $1, $2) {
11197
11466
  if ($2.length)
11198
11467
  return $0;
@@ -11494,7 +11763,7 @@ ${input.slice(result.pos)}
11494
11763
  return result;
11495
11764
  }
11496
11765
  }
11497
- var TypeDeclarationModifier$0 = $S($EXPECT($L154, fail, 'TypeDeclarationModifier "declare"'), NonIdContinue);
11766
+ var TypeDeclarationModifier$0 = $S($EXPECT($L157, fail, 'TypeDeclarationModifier "declare"'), NonIdContinue);
11498
11767
  var TypeDeclarationModifier$1 = Export;
11499
11768
  function TypeDeclarationModifier(state) {
11500
11769
  if (state.events) {
@@ -11536,7 +11805,7 @@ ${input.slice(result.pos)}
11536
11805
  return result;
11537
11806
  }
11538
11807
  }
11539
- var TypeKeyword$0 = $S($EXPECT($L155, fail, 'TypeKeyword "type"'), NonIdContinue);
11808
+ var TypeKeyword$0 = $S($EXPECT($L158, fail, 'TypeKeyword "type"'), NonIdContinue);
11540
11809
  function TypeKeyword(state) {
11541
11810
  if (state.events) {
11542
11811
  const result = state.events.enter?.("TypeKeyword", state);
@@ -11555,7 +11824,7 @@ ${input.slice(result.pos)}
11555
11824
  return result;
11556
11825
  }
11557
11826
  }
11558
- var Interface$0 = $S($EXPECT($L156, fail, 'Interface "interface"'), NonIdContinue);
11827
+ var Interface$0 = $S($EXPECT($L159, fail, 'Interface "interface"'), NonIdContinue);
11559
11828
  function Interface(state) {
11560
11829
  if (state.events) {
11561
11830
  const result = state.events.enter?.("Interface", state);
@@ -11574,7 +11843,7 @@ ${input.slice(result.pos)}
11574
11843
  return result;
11575
11844
  }
11576
11845
  }
11577
- var Namespace$0 = $S($EXPECT($L157, fail, 'Namespace "namespace"'), NonIdContinue);
11846
+ var Namespace$0 = $S($EXPECT($L160, fail, 'Namespace "namespace"'), NonIdContinue);
11578
11847
  function Namespace(state) {
11579
11848
  if (state.events) {
11580
11849
  const result = state.events.enter?.("Namespace", state);
@@ -11763,7 +12032,7 @@ ${input.slice(result.pos)}
11763
12032
  return result;
11764
12033
  }
11765
12034
  }
11766
- var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R47, fail, "TypeIndexSignature /[+-]?/")), $EXPECT($L158, fail, 'TypeIndexSignature "readonly"'), __)), OpenBracket, TypeIndex, CloseBracket, $E($S(__, $R$0($EXPECT($R4, fail, "TypeIndexSignature /[+-]/")), QuestionMark)));
12035
+ var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R47, fail, "TypeIndexSignature /[+-]?/")), $EXPECT($L129, fail, 'TypeIndexSignature "readonly"'), __)), OpenBracket, TypeIndex, CloseBracket, $E($S(__, $R$0($EXPECT($R4, fail, "TypeIndexSignature /[+-]/")), QuestionMark)));
11767
12036
  function TypeIndexSignature(state) {
11768
12037
  if (state.events) {
11769
12038
  const result = state.events.enter?.("TypeIndexSignature", state);
@@ -11823,7 +12092,7 @@ ${input.slice(result.pos)}
11823
12092
  return result;
11824
12093
  }
11825
12094
  }
11826
- var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L159, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
12095
+ var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L161, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
11827
12096
  const children = [...$1, $2];
11828
12097
  if ($3)
11829
12098
  children.push($3);
@@ -11852,7 +12121,7 @@ ${input.slice(result.pos)}
11852
12121
  return result;
11853
12122
  }
11854
12123
  }
11855
- var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($L65, fail, 'TypePredicate "is"'), NonIdContinue, Type))), function($skip, $loc, $0, $1, $2) {
12124
+ var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($L62, fail, 'TypePredicate "is"'), NonIdContinue, Type))), function($skip, $loc, $0, $1, $2) {
11856
12125
  if (!$2)
11857
12126
  return $1;
11858
12127
  return $0;
@@ -11958,10 +12227,10 @@ ${input.slice(result.pos)}
11958
12227
  return result;
11959
12228
  }
11960
12229
  }
11961
- var TypeUnaryOp$0 = $EXPECT($L160, fail, 'TypeUnaryOp "keyof"');
11962
- var TypeUnaryOp$1 = $EXPECT($L142, fail, 'TypeUnaryOp "typeof"');
11963
- var TypeUnaryOp$2 = $EXPECT($L161, fail, 'TypeUnaryOp "infer"');
11964
- var TypeUnaryOp$3 = $EXPECT($L158, fail, 'TypeUnaryOp "readonly"');
12230
+ var TypeUnaryOp$0 = $EXPECT($L162, fail, 'TypeUnaryOp "keyof"');
12231
+ var TypeUnaryOp$1 = $EXPECT($L145, fail, 'TypeUnaryOp "typeof"');
12232
+ var TypeUnaryOp$2 = $EXPECT($L163, fail, 'TypeUnaryOp "infer"');
12233
+ var TypeUnaryOp$3 = $EXPECT($L129, fail, 'TypeUnaryOp "readonly"');
11965
12234
  function TypeUnaryOp(state) {
11966
12235
  if (state.events) {
11967
12236
  const result = state.events.enter?.("TypeUnaryOp", state);
@@ -12130,10 +12399,10 @@ ${input.slice(result.pos)}
12130
12399
  }
12131
12400
  var TypeLiteral$0 = Literal;
12132
12401
  var TypeLiteral$1 = TemplateLiteral;
12133
- var TypeLiteral$2 = $TV($EXPECT($L146, fail, 'TypeLiteral "void"'), function($skip, $loc, $0, $1) {
12402
+ var TypeLiteral$2 = $TV($EXPECT($L149, fail, 'TypeLiteral "void"'), function($skip, $loc, $0, $1) {
12134
12403
  return { $loc, token: "void" };
12135
12404
  });
12136
- var TypeLiteral$3 = $TV($EXPECT($L162, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
12405
+ var TypeLiteral$3 = $TV($EXPECT($L164, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
12137
12406
  return { $loc, token: "[]" };
12138
12407
  });
12139
12408
  function TypeLiteral(state) {
@@ -12154,10 +12423,10 @@ ${input.slice(result.pos)}
12154
12423
  return result;
12155
12424
  }
12156
12425
  }
12157
- var TypeBinaryOp$0 = $TV($EXPECT($L80, fail, 'TypeBinaryOp "|"'), function($skip, $loc, $0, $1) {
12426
+ var TypeBinaryOp$0 = $TV($EXPECT($L77, fail, 'TypeBinaryOp "|"'), function($skip, $loc, $0, $1) {
12158
12427
  return { $loc, token: "|" };
12159
12428
  });
12160
- var TypeBinaryOp$1 = $TV($EXPECT($L78, fail, 'TypeBinaryOp "&"'), function($skip, $loc, $0, $1) {
12429
+ var TypeBinaryOp$1 = $TV($EXPECT($L75, fail, 'TypeBinaryOp "&"'), function($skip, $loc, $0, $1) {
12161
12430
  return { $loc, token: "&" };
12162
12431
  });
12163
12432
  function TypeBinaryOp(state) {
@@ -12197,7 +12466,7 @@ ${input.slice(result.pos)}
12197
12466
  return result;
12198
12467
  }
12199
12468
  }
12200
- var TypeArguments$0 = $TS($S(__, $EXPECT($L5, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L30, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12469
+ var TypeArguments$0 = $TS($S(__, $EXPECT($L5, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L27, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12201
12470
  return { ts: true, children: $0 };
12202
12471
  });
12203
12472
  function TypeArguments(state) {
@@ -12218,7 +12487,7 @@ ${input.slice(result.pos)}
12218
12487
  return result;
12219
12488
  }
12220
12489
  }
12221
- var CompactTypeArguments$0 = $TS($S($EXPECT($L5, fail, 'CompactTypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L30, fail, 'CompactTypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
12490
+ var CompactTypeArguments$0 = $TS($S($EXPECT($L5, fail, 'CompactTypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L27, fail, 'CompactTypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
12222
12491
  return { ts: true, children: $0 };
12223
12492
  });
12224
12493
  function CompactTypeArguments(state) {
@@ -12277,7 +12546,7 @@ ${input.slice(result.pos)}
12277
12546
  return result;
12278
12547
  }
12279
12548
  }
12280
- var TypeParameters$0 = $TS($S(__, $EXPECT($L5, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L30, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12549
+ var TypeParameters$0 = $TS($S(__, $EXPECT($L5, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L27, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12281
12550
  var parameters = $3;
12282
12551
  return {
12283
12552
  type: "TypeParameters",
@@ -12343,7 +12612,7 @@ ${input.slice(result.pos)}
12343
12612
  }
12344
12613
  }
12345
12614
  var TypeParameterDelimiter$0 = $S($Q(_), Comma);
12346
- var TypeParameterDelimiter$1 = $Y($S(__, $EXPECT($L30, fail, 'TypeParameterDelimiter ">"')));
12615
+ var TypeParameterDelimiter$1 = $Y($S(__, $EXPECT($L27, fail, 'TypeParameterDelimiter ">"')));
12347
12616
  var TypeParameterDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
12348
12617
  return value[1];
12349
12618
  });
@@ -12410,7 +12679,7 @@ ${input.slice(result.pos)}
12410
12679
  return result;
12411
12680
  }
12412
12681
  }
12413
- var CivetPrologueContent$0 = $TS($S($EXPECT($L163, fail, 'CivetPrologueContent "civet"'), $Q(CivetOption), $EXPECT($R50, fail, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3) {
12682
+ var CivetPrologueContent$0 = $TS($S($EXPECT($L165, fail, 'CivetPrologueContent "civet"'), $Q(CivetOption), $EXPECT($R50, fail, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3) {
12414
12683
  var options = $2;
12415
12684
  return {
12416
12685
  type: "CivetPrologue",
@@ -13734,6 +14003,20 @@ ${input.slice(result.pos)}
13734
14003
  }
13735
14004
  return node;
13736
14005
  };
14006
+ module2.skipIfOnlyWS = function(target) {
14007
+ if (!target)
14008
+ return target;
14009
+ if (Array.isArray(target)) {
14010
+ if (target.length === 1) {
14011
+ return module2.skipIfOnlyWS(target[0]);
14012
+ }
14013
+ return target;
14014
+ }
14015
+ if (target.token && target.token.trim() === "") {
14016
+ return void 0;
14017
+ }
14018
+ return target;
14019
+ };
13737
14020
  module2.insertTrimmingSpace = function(target, c) {
13738
14021
  if (!target)
13739
14022
  return target;
@@ -14253,6 +14536,21 @@ ${input.slice(result.pos)}
14253
14536
  return [splices, thisAssignments];
14254
14537
  }
14255
14538
  module2.gatherBindingCode = gatherBindingCode;
14539
+ module2.constructInvocation = function(caller, callee) {
14540
+ const callerArr = [caller.leadingComment, caller.expr, caller.trailingComment];
14541
+ const calleeArr = [callee.leadingComment, callee.expr, callee.trailingComment];
14542
+ if (caller.expr.type === "Identifier") {
14543
+ return [callerArr, "(", calleeArr, ")"];
14544
+ } else {
14545
+ return ["(", callerArr, ")", "(", calleeArr, ")"];
14546
+ }
14547
+ };
14548
+ module2.constructPipeStep = function(caller, callee) {
14549
+ if (caller.expr.token === "yield" || caller.expr.token === "await") {
14550
+ return [caller.leadingComment, caller.expr, caller.trailingComment, " ", callee.leadingComment, callee.expr, callee.trailingComment];
14551
+ }
14552
+ return module2.constructInvocation(caller, callee);
14553
+ };
14256
14554
  return $0;
14257
14555
  });
14258
14556
  function Init(state) {