@danielx/civet 0.5.10 → 0.5.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -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
  }
@@ -1404,8 +1455,11 @@ ${input.slice(result.pos)}
1404
1455
  }
1405
1456
  }
1406
1457
  var ArgumentList$0 = $S(ArgumentPart, $P($S(__, Comma, $C(NestedImplicitObjectLiteral, NestedArgumentList))));
1407
- var ArgumentList$1 = NestedArgumentList;
1408
- var ArgumentList$2 = InlineArgumentExpressions;
1458
+ var ArgumentList$1 = $TS($S(NestedImplicitObjectLiteral), function($skip, $loc, $0, $1) {
1459
+ return module2.insertTrimmingSpace($1, "");
1460
+ });
1461
+ var ArgumentList$2 = NestedArgumentList;
1462
+ var ArgumentList$3 = InlineArgumentExpressions;
1409
1463
  function ArgumentList(state) {
1410
1464
  if (state.events) {
1411
1465
  const result = state.events.enter?.("ArgumentList", state);
@@ -1413,12 +1467,12 @@ ${input.slice(result.pos)}
1413
1467
  return result.cache;
1414
1468
  }
1415
1469
  if (state.tokenize) {
1416
- const result = $TOKEN("ArgumentList", state, ArgumentList$0(state) || ArgumentList$1(state) || ArgumentList$2(state));
1470
+ const result = $TOKEN("ArgumentList", state, ArgumentList$0(state) || ArgumentList$1(state) || ArgumentList$2(state) || ArgumentList$3(state));
1417
1471
  if (state.events)
1418
1472
  state.events.exit?.("ArgumentList", state, result);
1419
1473
  return result;
1420
1474
  } else {
1421
- const result = ArgumentList$0(state) || ArgumentList$1(state) || ArgumentList$2(state);
1475
+ const result = ArgumentList$0(state) || ArgumentList$1(state) || ArgumentList$2(state) || ArgumentList$3(state);
1422
1476
  if (state.events)
1423
1477
  state.events.exit?.("ArgumentList", state, result);
1424
1478
  return result;
@@ -1693,7 +1747,8 @@ ${input.slice(result.pos)}
1693
1747
  return result;
1694
1748
  }
1695
1749
  }
1696
- var AssignmentExpression$0 = $TS($S($Q(TrailingComment), AssignmentExpressionTail), function($skip, $loc, $0, $1, $2) {
1750
+ var AssignmentExpression$0 = PipelineExpression;
1751
+ var AssignmentExpression$1 = $TS($S($Q(TrailingComment), AssignmentExpressionTail), function($skip, $loc, $0, $1, $2) {
1697
1752
  var ws = $1;
1698
1753
  var tail = $2;
1699
1754
  if (ws.length) {
@@ -1707,7 +1762,7 @@ ${input.slice(result.pos)}
1707
1762
  }
1708
1763
  return tail;
1709
1764
  });
1710
- var AssignmentExpression$1 = $S(__, AssignmentExpressionTail);
1765
+ var AssignmentExpression$2 = $S(__, AssignmentExpressionTail);
1711
1766
  function AssignmentExpression(state) {
1712
1767
  if (state.events) {
1713
1768
  const result = state.events.enter?.("AssignmentExpression", state);
@@ -1715,17 +1770,69 @@ ${input.slice(result.pos)}
1715
1770
  return result.cache;
1716
1771
  }
1717
1772
  if (state.tokenize) {
1718
- const result = $TOKEN("AssignmentExpression", state, AssignmentExpression$0(state) || AssignmentExpression$1(state));
1773
+ const result = $TOKEN("AssignmentExpression", state, AssignmentExpression$0(state) || AssignmentExpression$1(state) || AssignmentExpression$2(state));
1719
1774
  if (state.events)
1720
1775
  state.events.exit?.("AssignmentExpression", state, result);
1721
1776
  return result;
1722
1777
  } else {
1723
- const result = AssignmentExpression$0(state) || AssignmentExpression$1(state);
1778
+ const result = AssignmentExpression$0(state) || AssignmentExpression$1(state) || AssignmentExpression$2(state);
1724
1779
  if (state.events)
1725
1780
  state.events.exit?.("AssignmentExpression", state, result);
1726
1781
  return result;
1727
1782
  }
1728
1783
  }
1784
+ var NonPipelineAssignmentExpression$0 = SingleLineAssignmentExpression;
1785
+ var NonPipelineAssignmentExpression$1 = $S(__, AssignmentExpressionTail);
1786
+ function NonPipelineAssignmentExpression(state) {
1787
+ if (state.events) {
1788
+ const result = state.events.enter?.("NonPipelineAssignmentExpression", state);
1789
+ if (result)
1790
+ return result.cache;
1791
+ }
1792
+ if (state.tokenize) {
1793
+ const result = $TOKEN("NonPipelineAssignmentExpression", state, NonPipelineAssignmentExpression$0(state) || NonPipelineAssignmentExpression$1(state));
1794
+ if (state.events)
1795
+ state.events.exit?.("NonPipelineAssignmentExpression", state, result);
1796
+ return result;
1797
+ } else {
1798
+ const result = NonPipelineAssignmentExpression$0(state) || NonPipelineAssignmentExpression$1(state);
1799
+ if (state.events)
1800
+ state.events.exit?.("NonPipelineAssignmentExpression", state, result);
1801
+ return result;
1802
+ }
1803
+ }
1804
+ var SingleLineAssignmentExpression$0 = $TS($S($Q(TrailingComment), AssignmentExpressionTail), function($skip, $loc, $0, $1, $2) {
1805
+ var ws = $1;
1806
+ var tail = $2;
1807
+ if (ws.length) {
1808
+ if (tail.children && tail.type !== "IterationExpression") {
1809
+ return {
1810
+ ...tail,
1811
+ children: [...ws, ...tail.children]
1812
+ };
1813
+ }
1814
+ return $0;
1815
+ }
1816
+ return tail;
1817
+ });
1818
+ function SingleLineAssignmentExpression(state) {
1819
+ if (state.events) {
1820
+ const result = state.events.enter?.("SingleLineAssignmentExpression", state);
1821
+ if (result)
1822
+ return result.cache;
1823
+ }
1824
+ if (state.tokenize) {
1825
+ const result = $TOKEN("SingleLineAssignmentExpression", state, SingleLineAssignmentExpression$0(state));
1826
+ if (state.events)
1827
+ state.events.exit?.("SingleLineAssignmentExpression", state, result);
1828
+ return result;
1829
+ } else {
1830
+ const result = SingleLineAssignmentExpression$0(state);
1831
+ if (state.events)
1832
+ state.events.exit?.("SingleLineAssignmentExpression", state, result);
1833
+ return result;
1834
+ }
1835
+ }
1729
1836
  var AssignmentExpressionTail$0 = YieldExpression;
1730
1837
  var AssignmentExpressionTail$1 = ArrowFunction;
1731
1838
  var AssignmentExpressionTail$2 = ActualAssignment;
@@ -2005,6 +2112,91 @@ ${input.slice(result.pos)}
2005
2112
  return result;
2006
2113
  }
2007
2114
  }
2115
+ var PipelineExpression$0 = $TS($S($S(__, PipelineHeadItem, __, Pipe), $Q($S(__, PipelineTailItem, __, Pipe)), __, PipelineTailItem), function($skip, $loc, $0, $1, $2, $3, $4) {
2116
+ var head = $1;
2117
+ var body = $2;
2118
+ var preTailWS = $3;
2119
+ var tail = $4;
2120
+ let children = head.slice(0, -1).map(module2.skipIfOnlyWS);
2121
+ for (const [leadingComment, expr, trailingComment] of body) {
2122
+ children = module2.constructPipeStep(
2123
+ {
2124
+ leadingComment: module2.skipIfOnlyWS(leadingComment),
2125
+ trailingComment: module2.skipIfOnlyWS(trailingComment),
2126
+ expr
2127
+ },
2128
+ { expr: children }
2129
+ );
2130
+ }
2131
+ return {
2132
+ children: module2.constructPipeStep(
2133
+ {
2134
+ leadingComment: module2.skipIfOnlyWS(preTailWS),
2135
+ expr: tail
2136
+ },
2137
+ { expr: children }
2138
+ )
2139
+ };
2140
+ });
2141
+ function PipelineExpression(state) {
2142
+ if (state.events) {
2143
+ const result = state.events.enter?.("PipelineExpression", state);
2144
+ if (result)
2145
+ return result.cache;
2146
+ }
2147
+ if (state.tokenize) {
2148
+ const result = $TOKEN("PipelineExpression", state, PipelineExpression$0(state));
2149
+ if (state.events)
2150
+ state.events.exit?.("PipelineExpression", state, result);
2151
+ return result;
2152
+ } else {
2153
+ const result = PipelineExpression$0(state);
2154
+ if (state.events)
2155
+ state.events.exit?.("PipelineExpression", state, result);
2156
+ return result;
2157
+ }
2158
+ }
2159
+ var PipelineHeadItem$0 = NonPipelineExtendedExpression;
2160
+ var PipelineHeadItem$1 = ParenthesizedExpression;
2161
+ function PipelineHeadItem(state) {
2162
+ if (state.events) {
2163
+ const result = state.events.enter?.("PipelineHeadItem", state);
2164
+ if (result)
2165
+ return result.cache;
2166
+ }
2167
+ if (state.tokenize) {
2168
+ const result = $TOKEN("PipelineHeadItem", state, PipelineHeadItem$0(state) || PipelineHeadItem$1(state));
2169
+ if (state.events)
2170
+ state.events.exit?.("PipelineHeadItem", state, result);
2171
+ return result;
2172
+ } else {
2173
+ const result = PipelineHeadItem$0(state) || PipelineHeadItem$1(state);
2174
+ if (state.events)
2175
+ state.events.exit?.("PipelineHeadItem", state, result);
2176
+ return result;
2177
+ }
2178
+ }
2179
+ var PipelineTailItem$0 = Await;
2180
+ var PipelineTailItem$1 = Yield;
2181
+ var PipelineTailItem$2 = PipelineHeadItem;
2182
+ function PipelineTailItem(state) {
2183
+ if (state.events) {
2184
+ const result = state.events.enter?.("PipelineTailItem", state);
2185
+ if (result)
2186
+ return result.cache;
2187
+ }
2188
+ if (state.tokenize) {
2189
+ const result = $TOKEN("PipelineTailItem", state, PipelineTailItem$0(state) || PipelineTailItem$1(state) || PipelineTailItem$2(state));
2190
+ if (state.events)
2191
+ state.events.exit?.("PipelineTailItem", state, result);
2192
+ return result;
2193
+ } else {
2194
+ const result = PipelineTailItem$0(state) || PipelineTailItem$1(state) || PipelineTailItem$2(state);
2195
+ if (state.events)
2196
+ state.events.exit?.("PipelineTailItem", state, result);
2197
+ return result;
2198
+ }
2199
+ }
2008
2200
  var PrimaryExpression$0 = ObjectLiteral;
2009
2201
  var PrimaryExpression$1 = ThisLiteral;
2010
2202
  var PrimaryExpression$2 = Literal;
@@ -2084,7 +2276,9 @@ ${input.slice(result.pos)}
2084
2276
  return result;
2085
2277
  }
2086
2278
  }
2087
- var ClassExpression$0 = $S($E(Decorators), Class, $E($S(BindingIdentifier, $E(TypeParameters))), $E(ClassHeritage), ClassBody);
2279
+ 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) {
2280
+ return $0;
2281
+ });
2088
2282
  function ClassExpression(state) {
2089
2283
  if (state.events) {
2090
2284
  const result = state.events.enter?.("ClassExpression", state);
@@ -2376,69 +2570,6 @@ ${input.slice(result.pos)}
2376
2570
  return result;
2377
2571
  }
2378
2572
  }
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
2573
  var FieldDefinition$0 = $TS($S(CoffeeClassesEnabled, ClassElementName, __, Colon, __, AssignmentExpression), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
2443
2574
  var id = $2;
2444
2575
  var exp = $6;
@@ -2461,7 +2592,11 @@ ${input.slice(result.pos)}
2461
2592
  };
2462
2593
  return $0;
2463
2594
  });
2464
- var FieldDefinition$2 = $S(ClassElementName, $E(TypeSuffix), $E(Initializer));
2595
+ 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) {
2596
+ if ($1)
2597
+ return { children: $0, ts: true };
2598
+ return $0;
2599
+ });
2465
2600
  function FieldDefinition(state) {
2466
2601
  if (state.events) {
2467
2602
  const result = state.events.enter?.("FieldDefinition", state);
@@ -2481,7 +2616,7 @@ ${input.slice(result.pos)}
2481
2616
  }
2482
2617
  }
2483
2618
  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) {
2619
+ var ThisLiteral$1 = $TS($S(At, $TEXT($S($E($EXPECT($L8, fail, 'ThisLiteral "#"')), IdentifierName))), function($skip, $loc, $0, $1, $2) {
2485
2620
  var t = $1;
2486
2621
  var id = $2;
2487
2622
  return [{ ...t, token: "this." }, id];
@@ -2508,7 +2643,7 @@ ${input.slice(result.pos)}
2508
2643
  return result;
2509
2644
  }
2510
2645
  }
2511
- var LeftHandSideExpression$0 = $TS($S($Q($S(New, $N($EXPECT($L12, fail, 'LeftHandSideExpression "."')), __)), CallExpression), function($skip, $loc, $0, $1, $2) {
2646
+ var LeftHandSideExpression$0 = $TS($S($Q($S(New, $N($EXPECT($L9, fail, 'LeftHandSideExpression "."')), __)), CallExpression), function($skip, $loc, $0, $1, $2) {
2512
2647
  if ($1.length)
2513
2648
  return $0;
2514
2649
  return $2;
@@ -2531,8 +2666,8 @@ ${input.slice(result.pos)}
2531
2666
  return result;
2532
2667
  }
2533
2668
  }
2534
- var CallExpression$0 = $S($EXPECT($L13, fail, 'CallExpression "super"'), ArgumentsWithTrailingCallExpressions);
2535
- var CallExpression$1 = $S($EXPECT($L14, fail, 'CallExpression "import"'), __, OpenParen, ExtendedExpression, __, CloseParen);
2669
+ var CallExpression$0 = $S($EXPECT($L10, fail, 'CallExpression "super"'), ArgumentsWithTrailingCallExpressions, $Q(CallExpressionRest));
2670
+ var CallExpression$1 = $S($EXPECT($L11, fail, 'CallExpression "import"'), ArgumentsWithTrailingCallExpressions, $Q(CallExpressionRest));
2536
2671
  var CallExpression$2 = $TS($S(MemberExpression, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2) {
2537
2672
  if ($2.length)
2538
2673
  return $0;
@@ -2596,7 +2731,7 @@ ${input.slice(result.pos)}
2596
2731
  return result;
2597
2732
  }
2598
2733
  }
2599
- var NonNullAssertion$0 = $T($EXPECT($L15, fail, 'NonNullAssertion "!"'), function(value) {
2734
+ var NonNullAssertion$0 = $T($EXPECT($L12, fail, 'NonNullAssertion "!"'), function(value) {
2600
2735
  return { "ts": true, "children": value };
2601
2736
  });
2602
2737
  function NonNullAssertion(state) {
@@ -2837,8 +2972,8 @@ ${input.slice(result.pos)}
2837
2972
  return result;
2838
2973
  }
2839
2974
  }
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);
2975
+ var SuperProperty$0 = $S($EXPECT($L13, fail, 'SuperProperty "super["'), ExtendedExpression, __, CloseBracket);
2976
+ var SuperProperty$1 = $S($EXPECT($L10, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
2842
2977
  function SuperProperty(state) {
2843
2978
  if (state.events) {
2844
2979
  const result = state.events.enter?.("SuperProperty", state);
@@ -2858,7 +2993,7 @@ ${input.slice(result.pos)}
2858
2993
  }
2859
2994
  }
2860
2995
  var MetaProperty$0 = $S(New, Dot, Target);
2861
- var MetaProperty$1 = $TV($EXPECT($L17, fail, 'MetaProperty "import.meta"'), function($skip, $loc, $0, $1) {
2996
+ var MetaProperty$1 = $TV($EXPECT($L14, fail, 'MetaProperty "import.meta"'), function($skip, $loc, $0, $1) {
2862
2997
  return { $loc, token: $1 };
2863
2998
  });
2864
2999
  function MetaProperty(state) {
@@ -3022,7 +3157,7 @@ ${input.slice(result.pos)}
3022
3157
  }
3023
3158
  }
3024
3159
  var ParameterElementDelimiter$0 = $S($Q(_), Comma);
3025
- var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L18, fail, 'ParameterElementDelimiter ")"')));
3160
+ var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L15, fail, 'ParameterElementDelimiter ")"')));
3026
3161
  var ParameterElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
3027
3162
  return value[1];
3028
3163
  });
@@ -3777,7 +3912,7 @@ ${input.slice(result.pos)}
3777
3912
  return result;
3778
3913
  }
3779
3914
  }
3780
- var Arrow$0 = $TV($EXPECT($L19, fail, 'Arrow "->"'), function($skip, $loc, $0, $1) {
3915
+ var Arrow$0 = $TV($EXPECT($L16, fail, 'Arrow "->"'), function($skip, $loc, $0, $1) {
3781
3916
  return { $loc, token: $1 };
3782
3917
  });
3783
3918
  function Arrow(state) {
@@ -4039,7 +4174,7 @@ ${input.slice(result.pos)}
4039
4174
  children: [$1, expressions]
4040
4175
  };
4041
4176
  });
4042
- var BracedContent$2 = $TV($Y($S(__, $EXPECT($L20, fail, 'BracedContent "}"'))), function($skip, $loc, $0, $1) {
4177
+ var BracedContent$2 = $TV($Y($S(__, $EXPECT($L17, fail, 'BracedContent "}"'))), function($skip, $loc, $0, $1) {
4043
4178
  const expressions = [];
4044
4179
  return {
4045
4180
  type: "BlockStatement",
@@ -4164,7 +4299,7 @@ ${input.slice(result.pos)}
4164
4299
  return result;
4165
4300
  }
4166
4301
  }
4167
- var NullLiteral$0 = $TS($S($EXPECT($L21, fail, 'NullLiteral "null"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4302
+ var NullLiteral$0 = $TS($S($EXPECT($L18, fail, 'NullLiteral "null"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4168
4303
  return { $loc, token: $1 };
4169
4304
  });
4170
4305
  function NullLiteral(state) {
@@ -4188,7 +4323,7 @@ ${input.slice(result.pos)}
4188
4323
  var BooleanLiteral$0 = $T($S(CoffeeBooleansEnabled, CoffeeScriptBooleanLiteral), function(value) {
4189
4324
  return value[1];
4190
4325
  });
4191
- var BooleanLiteral$1 = $TS($S($C($EXPECT($L22, fail, 'BooleanLiteral "true"'), $EXPECT($L23, fail, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4326
+ var BooleanLiteral$1 = $TS($S($C($EXPECT($L19, fail, 'BooleanLiteral "true"'), $EXPECT($L20, fail, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4192
4327
  return { $loc, token: $1 };
4193
4328
  });
4194
4329
  function BooleanLiteral(state) {
@@ -4209,10 +4344,10 @@ ${input.slice(result.pos)}
4209
4344
  return result;
4210
4345
  }
4211
4346
  }
4212
- var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L24, fail, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L25, fail, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4347
+ var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L21, fail, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L22, fail, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4213
4348
  return { $loc, token: "true" };
4214
4349
  });
4215
- var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($L26, fail, 'CoffeeScriptBooleanLiteral "no"'), $EXPECT($L27, fail, 'CoffeeScriptBooleanLiteral "off"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4350
+ var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($L23, fail, 'CoffeeScriptBooleanLiteral "no"'), $EXPECT($L24, fail, 'CoffeeScriptBooleanLiteral "off"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4216
4351
  return { $loc, token: "false" };
4217
4352
  });
4218
4353
  function CoffeeScriptBooleanLiteral(state) {
@@ -4233,7 +4368,7 @@ ${input.slice(result.pos)}
4233
4368
  return result;
4234
4369
  }
4235
4370
  }
4236
- var Comma$0 = $TV($EXPECT($L28, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
4371
+ var Comma$0 = $TV($EXPECT($L25, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
4237
4372
  return { $loc, token: $1 };
4238
4373
  });
4239
4374
  function Comma(state) {
@@ -4323,7 +4458,7 @@ ${input.slice(result.pos)}
4323
4458
  return result;
4324
4459
  }
4325
4460
  }
4326
- var UpcomingAssignment$0 = $Y($S(__, $EXPECT($L29, fail, 'UpcomingAssignment "="'), $N($C($EXPECT($L29, fail, 'UpcomingAssignment "="'), $EXPECT($L30, fail, 'UpcomingAssignment ">"')))));
4461
+ var UpcomingAssignment$0 = $Y($S(__, $EXPECT($L26, fail, 'UpcomingAssignment "="'), $N($C($EXPECT($L26, fail, 'UpcomingAssignment "="'), $EXPECT($L27, fail, 'UpcomingAssignment ">"')))));
4327
4462
  function UpcomingAssignment(state) {
4328
4463
  if (state.events) {
4329
4464
  const result = state.events.enter?.("UpcomingAssignment", state);
@@ -4571,7 +4706,7 @@ ${input.slice(result.pos)}
4571
4706
  }
4572
4707
  }
4573
4708
  var ArrayElementDelimiter$0 = $S(__, Comma);
4574
- var ArrayElementDelimiter$1 = $Y($S(__, $EXPECT($L31, fail, 'ArrayElementDelimiter "]"')));
4709
+ var ArrayElementDelimiter$1 = $Y($S(__, $EXPECT($L28, fail, 'ArrayElementDelimiter "]"')));
4575
4710
  var ArrayElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
4576
4711
  return value[1];
4577
4712
  });
@@ -4940,7 +5075,7 @@ ${input.slice(result.pos)}
4940
5075
  var ImplicitInlineObjectPropertyDelimiter$1 = $T($S($Y($S(EOS, NamedProperty)), InsertComma), function(value) {
4941
5076
  return value[1];
4942
5077
  });
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) {
5078
+ 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
5079
  return "";
4945
5080
  });
4946
5081
  var ImplicitInlineObjectPropertyDelimiter$3 = $T($Y(EOS), function(value) {
@@ -4965,7 +5100,7 @@ ${input.slice(result.pos)}
4965
5100
  }
4966
5101
  }
4967
5102
  var ObjectPropertyDelimiter$0 = $S($Q(_), Comma);
4968
- var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L20, fail, 'ObjectPropertyDelimiter "}"')));
5103
+ var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L17, fail, 'ObjectPropertyDelimiter "}"')));
4969
5104
  var ObjectPropertyDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
4970
5105
  return value[1];
4971
5106
  });
@@ -5221,7 +5356,18 @@ ${input.slice(result.pos)}
5221
5356
  return result;
5222
5357
  }
5223
5358
  }
5224
- var MethodDefinition$0 = $TS($S(MethodSignature, BracedBlock), function($skip, $loc, $0, $1, $2) {
5359
+ var MethodDefinition$0 = $TS($S(Abstract, __, MethodSignature), function($skip, $loc, $0, $1, $2, $3) {
5360
+ var signature = $3;
5361
+ return {
5362
+ type: "MethodDefinition",
5363
+ children: $0,
5364
+ name: signature.name,
5365
+ signature,
5366
+ parameters: signature.parameters,
5367
+ ts: true
5368
+ };
5369
+ });
5370
+ var MethodDefinition$1 = $TS($S(MethodSignature, BracedBlock), function($skip, $loc, $0, $1, $2) {
5225
5371
  var signature = $1;
5226
5372
  var block = $2;
5227
5373
  return {
@@ -5240,12 +5386,12 @@ ${input.slice(result.pos)}
5240
5386
  return result.cache;
5241
5387
  }
5242
5388
  if (state.tokenize) {
5243
- const result = $TOKEN("MethodDefinition", state, MethodDefinition$0(state));
5389
+ const result = $TOKEN("MethodDefinition", state, MethodDefinition$0(state) || MethodDefinition$1(state));
5244
5390
  if (state.events)
5245
5391
  state.events.exit?.("MethodDefinition", state, result);
5246
5392
  return result;
5247
5393
  } else {
5248
- const result = MethodDefinition$0(state);
5394
+ const result = MethodDefinition$0(state) || MethodDefinition$1(state);
5249
5395
  if (state.events)
5250
5396
  state.events.exit?.("MethodDefinition", state, result);
5251
5397
  return result;
@@ -5338,7 +5484,7 @@ ${input.slice(result.pos)}
5338
5484
  return result;
5339
5485
  }
5340
5486
  }
5341
- var PrivateIdentifier$0 = $TV($TEXT($S($EXPECT($L11, fail, 'PrivateIdentifier "#"'), IdentifierName)), function($skip, $loc, $0, $1) {
5487
+ var PrivateIdentifier$0 = $TV($TEXT($S($EXPECT($L8, fail, 'PrivateIdentifier "#"'), IdentifierName)), function($skip, $loc, $0, $1) {
5342
5488
  return {
5343
5489
  type: "Identifier",
5344
5490
  name: $0,
@@ -5394,25 +5540,25 @@ ${input.slice(result.pos)}
5394
5540
  return result;
5395
5541
  }
5396
5542
  }
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) {
5543
+ var AssignmentOpSymbol$0 = $EXPECT($L30, fail, 'AssignmentOpSymbol "**="');
5544
+ var AssignmentOpSymbol$1 = $EXPECT($L31, fail, 'AssignmentOpSymbol "*="');
5545
+ var AssignmentOpSymbol$2 = $EXPECT($L32, fail, 'AssignmentOpSymbol "/="');
5546
+ var AssignmentOpSymbol$3 = $EXPECT($L33, fail, 'AssignmentOpSymbol "%="');
5547
+ var AssignmentOpSymbol$4 = $EXPECT($L34, fail, 'AssignmentOpSymbol "+="');
5548
+ var AssignmentOpSymbol$5 = $EXPECT($L35, fail, 'AssignmentOpSymbol "-="');
5549
+ var AssignmentOpSymbol$6 = $EXPECT($L36, fail, 'AssignmentOpSymbol "<<="');
5550
+ var AssignmentOpSymbol$7 = $EXPECT($L37, fail, 'AssignmentOpSymbol ">>>="');
5551
+ var AssignmentOpSymbol$8 = $EXPECT($L38, fail, 'AssignmentOpSymbol ">>="');
5552
+ var AssignmentOpSymbol$9 = $EXPECT($L39, fail, 'AssignmentOpSymbol "&&="');
5553
+ var AssignmentOpSymbol$10 = $EXPECT($L40, fail, 'AssignmentOpSymbol "&="');
5554
+ var AssignmentOpSymbol$11 = $EXPECT($L41, fail, 'AssignmentOpSymbol "^="');
5555
+ var AssignmentOpSymbol$12 = $EXPECT($L42, fail, 'AssignmentOpSymbol "||="');
5556
+ var AssignmentOpSymbol$13 = $EXPECT($L43, fail, 'AssignmentOpSymbol "|="');
5557
+ var AssignmentOpSymbol$14 = $EXPECT($L44, fail, 'AssignmentOpSymbol "??="');
5558
+ var AssignmentOpSymbol$15 = $T($EXPECT($L45, fail, 'AssignmentOpSymbol "?="'), function(value) {
5413
5559
  return "??=";
5414
5560
  });
5415
- var AssignmentOpSymbol$16 = $EXPECT($L29, fail, 'AssignmentOpSymbol "="');
5561
+ var AssignmentOpSymbol$16 = $EXPECT($L26, fail, 'AssignmentOpSymbol "="');
5416
5562
  var AssignmentOpSymbol$17 = $T($S(CoffeeWordAssignmentOp), function(value) {
5417
5563
  return value[0];
5418
5564
  });
@@ -5434,10 +5580,10 @@ ${input.slice(result.pos)}
5434
5580
  return result;
5435
5581
  }
5436
5582
  }
5437
- var CoffeeWordAssignmentOp$0 = $T($EXPECT($L49, fail, 'CoffeeWordAssignmentOp "and="'), function(value) {
5583
+ var CoffeeWordAssignmentOp$0 = $T($EXPECT($L46, fail, 'CoffeeWordAssignmentOp "and="'), function(value) {
5438
5584
  return "&&=";
5439
5585
  });
5440
- var CoffeeWordAssignmentOp$1 = $T($EXPECT($L50, fail, 'CoffeeWordAssignmentOp "or="'), function(value) {
5586
+ var CoffeeWordAssignmentOp$1 = $T($EXPECT($L47, fail, 'CoffeeWordAssignmentOp "or="'), function(value) {
5441
5587
  return "||=";
5442
5588
  });
5443
5589
  function CoffeeWordAssignmentOp(state) {
@@ -5481,93 +5627,93 @@ ${input.slice(result.pos)}
5481
5627
  return result;
5482
5628
  }
5483
5629
  }
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 "<<"');
5630
+ var BinaryOpSymbol$0 = $EXPECT($L48, fail, 'BinaryOpSymbol "**"');
5631
+ var BinaryOpSymbol$1 = $EXPECT($L49, fail, 'BinaryOpSymbol "*"');
5632
+ var BinaryOpSymbol$2 = $EXPECT($L50, fail, 'BinaryOpSymbol "/"');
5633
+ var BinaryOpSymbol$3 = $EXPECT($L51, fail, 'BinaryOpSymbol "%"');
5634
+ var BinaryOpSymbol$4 = $EXPECT($L52, fail, 'BinaryOpSymbol "+"');
5635
+ var BinaryOpSymbol$5 = $EXPECT($L53, fail, 'BinaryOpSymbol "-"');
5636
+ var BinaryOpSymbol$6 = $EXPECT($L54, fail, 'BinaryOpSymbol "<="');
5637
+ var BinaryOpSymbol$7 = $EXPECT($L55, fail, 'BinaryOpSymbol ">="');
5638
+ var BinaryOpSymbol$8 = $EXPECT($L56, fail, 'BinaryOpSymbol "<<"');
5493
5639
  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
5640
  return "<";
5495
5641
  });
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) {
5642
+ var BinaryOpSymbol$10 = $EXPECT($L57, fail, 'BinaryOpSymbol ">>>"');
5643
+ var BinaryOpSymbol$11 = $EXPECT($L58, fail, 'BinaryOpSymbol ">>"');
5644
+ var BinaryOpSymbol$12 = $EXPECT($L27, fail, 'BinaryOpSymbol ">"');
5645
+ var BinaryOpSymbol$13 = $EXPECT($L59, fail, 'BinaryOpSymbol "!=="');
5646
+ var BinaryOpSymbol$14 = $TV($EXPECT($L60, fail, 'BinaryOpSymbol "!="'), function($skip, $loc, $0, $1) {
5501
5647
  if (module2.config.coffeeEq)
5502
5648
  return "!==";
5503
5649
  return $1;
5504
5650
  });
5505
- var BinaryOpSymbol$15 = $TS($S($EXPECT($L64, fail, 'BinaryOpSymbol "isnt"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5651
+ var BinaryOpSymbol$15 = $TS($S($EXPECT($L61, fail, 'BinaryOpSymbol "isnt"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5506
5652
  if (module2.config.coffeeIsnt)
5507
5653
  return "!==";
5508
5654
  return $skip;
5509
5655
  });
5510
- var BinaryOpSymbol$16 = $T($S($EXPECT($L65, fail, 'BinaryOpSymbol "is"'), NonIdContinue), function(value) {
5656
+ var BinaryOpSymbol$16 = $T($S($EXPECT($L62, fail, 'BinaryOpSymbol "is"'), NonIdContinue), function(value) {
5511
5657
  return "===";
5512
5658
  });
5513
- var BinaryOpSymbol$17 = $EXPECT($L66, fail, 'BinaryOpSymbol "==="');
5514
- var BinaryOpSymbol$18 = $TV($EXPECT($L67, fail, 'BinaryOpSymbol "=="'), function($skip, $loc, $0, $1) {
5659
+ var BinaryOpSymbol$17 = $EXPECT($L63, fail, 'BinaryOpSymbol "==="');
5660
+ var BinaryOpSymbol$18 = $TV($EXPECT($L64, fail, 'BinaryOpSymbol "=="'), function($skip, $loc, $0, $1) {
5515
5661
  if (module2.config.coffeeEq)
5516
5662
  return "===";
5517
5663
  return $1;
5518
5664
  });
5519
- var BinaryOpSymbol$19 = $T($S($EXPECT($L68, fail, 'BinaryOpSymbol "and"'), NonIdContinue), function(value) {
5665
+ var BinaryOpSymbol$19 = $T($S($EXPECT($L65, fail, 'BinaryOpSymbol "and"'), NonIdContinue), function(value) {
5520
5666
  return "&&";
5521
5667
  });
5522
- var BinaryOpSymbol$20 = $EXPECT($L69, fail, 'BinaryOpSymbol "&&"');
5523
- var BinaryOpSymbol$21 = $T($S(CoffeeOfEnabled, $EXPECT($L70, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function(value) {
5668
+ var BinaryOpSymbol$20 = $EXPECT($L66, fail, 'BinaryOpSymbol "&&"');
5669
+ var BinaryOpSymbol$21 = $T($S(CoffeeOfEnabled, $EXPECT($L67, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function(value) {
5524
5670
  return "in";
5525
5671
  });
5526
- var BinaryOpSymbol$22 = $T($S($EXPECT($L71, fail, 'BinaryOpSymbol "or"'), NonIdContinue), function(value) {
5672
+ var BinaryOpSymbol$22 = $T($S($EXPECT($L68, fail, 'BinaryOpSymbol "or"'), NonIdContinue), function(value) {
5527
5673
  return "||";
5528
5674
  });
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) {
5675
+ var BinaryOpSymbol$23 = $EXPECT($L69, fail, 'BinaryOpSymbol "||"');
5676
+ var BinaryOpSymbol$24 = $EXPECT($L70, fail, 'BinaryOpSymbol "??"');
5677
+ var BinaryOpSymbol$25 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L71, fail, 'BinaryOpSymbol "?"')), function(value) {
5532
5678
  return "??";
5533
5679
  });
5534
- var BinaryOpSymbol$26 = $TS($S($EXPECT($L75, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5680
+ var BinaryOpSymbol$26 = $TS($S($EXPECT($L72, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5535
5681
  return $1;
5536
5682
  });
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) {
5683
+ 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
5684
  return {
5539
5685
  $loc,
5540
5686
  token: "instanceof",
5541
5687
  special: true
5542
5688
  };
5543
5689
  });
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) {
5690
+ 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
5691
  return {
5546
5692
  $loc,
5547
5693
  token: "in",
5548
5694
  special: true
5549
5695
  };
5550
5696
  });
5551
- var BinaryOpSymbol$29 = $TS($S(CoffeeOfEnabled, $EXPECT($L77, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
5697
+ var BinaryOpSymbol$29 = $TS($S(CoffeeOfEnabled, $EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
5552
5698
  return {
5553
5699
  ref: module2.getRef("indexOf"),
5554
5700
  suffix: " >= 0",
5555
5701
  special: true
5556
5702
  };
5557
5703
  });
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) {
5704
+ 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
5705
  return {
5560
5706
  ref: module2.getRef("indexOf"),
5561
5707
  suffix: " < 0",
5562
5708
  special: true
5563
5709
  };
5564
5710
  });
5565
- var BinaryOpSymbol$31 = $TS($S($EXPECT($L77, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5711
+ var BinaryOpSymbol$31 = $TS($S($EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5566
5712
  return $1;
5567
5713
  });
5568
- var BinaryOpSymbol$32 = $EXPECT($L78, fail, 'BinaryOpSymbol "&"');
5569
- var BinaryOpSymbol$33 = $EXPECT($L79, fail, 'BinaryOpSymbol "^"');
5570
- var BinaryOpSymbol$34 = $EXPECT($L80, fail, 'BinaryOpSymbol "|"');
5714
+ var BinaryOpSymbol$32 = $EXPECT($L75, fail, 'BinaryOpSymbol "&"');
5715
+ var BinaryOpSymbol$33 = $EXPECT($L76, fail, 'BinaryOpSymbol "^"');
5716
+ var BinaryOpSymbol$34 = $EXPECT($L77, fail, 'BinaryOpSymbol "|"');
5571
5717
  function BinaryOpSymbol(state) {
5572
5718
  if (state.events) {
5573
5719
  const result = state.events.enter?.("BinaryOpSymbol", state);
@@ -5706,7 +5852,7 @@ ${input.slice(result.pos)}
5706
5852
  return result;
5707
5853
  }
5708
5854
  }
5709
- var EmptyStatement$0 = $T($S($Q(TrailingComment), $Y($EXPECT($L81, fail, 'EmptyStatement ";"'))), function(value) {
5855
+ var EmptyStatement$0 = $T($S($Q(TrailingComment), $Y($EXPECT($L78, fail, 'EmptyStatement ";"'))), function(value) {
5710
5856
  return { "type": "EmptyStatement", "children": value[0] };
5711
5857
  });
5712
5858
  function EmptyStatement(state) {
@@ -5727,7 +5873,7 @@ ${input.slice(result.pos)}
5727
5873
  return result;
5728
5874
  }
5729
5875
  }
5730
- var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($L29, fail, 'BlockStatement "="')))), function(value) {
5876
+ var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($L26, fail, 'BlockStatement "="')))), function(value) {
5731
5877
  return value[0];
5732
5878
  });
5733
5879
  function BlockStatement(state) {
@@ -6554,7 +6700,7 @@ ${input.slice(result.pos)}
6554
6700
  return result;
6555
6701
  }
6556
6702
  }
6557
- var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($L82, fail, 'CoffeeForDeclaration "own"'))), ForBinding), function($skip, $loc, $0, $1, $2) {
6703
+ var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($L79, fail, 'CoffeeForDeclaration "own"'))), ForBinding), function($skip, $loc, $0, $1, $2) {
6558
6704
  var own = $1;
6559
6705
  var binding = $2;
6560
6706
  if (own) {
@@ -7098,7 +7244,7 @@ ${input.slice(result.pos)}
7098
7244
  return result;
7099
7245
  }
7100
7246
  }
7101
- var Finally$0 = $S(__, $EXPECT($L83, fail, 'Finally "finally"'), BracedBlock);
7247
+ var Finally$0 = $S(__, $EXPECT($L80, fail, 'Finally "finally"'), BracedBlock);
7102
7248
  function Finally(state) {
7103
7249
  if (state.events) {
7104
7250
  const result = state.events.enter?.("Finally", state);
@@ -7234,13 +7380,13 @@ ${input.slice(result.pos)}
7234
7380
  return result;
7235
7381
  }
7236
7382
  }
7237
- var KeywordStatement$0 = $T($S($EXPECT($L84, fail, 'KeywordStatement "break"'), NonIdContinue), function(value) {
7383
+ var KeywordStatement$0 = $T($S($EXPECT($L81, fail, 'KeywordStatement "break"'), NonIdContinue), function(value) {
7238
7384
  return { "type": "BreakStatement", "children": value };
7239
7385
  });
7240
- var KeywordStatement$1 = $T($S($EXPECT($L85, fail, 'KeywordStatement "continue"'), NonIdContinue), function(value) {
7386
+ var KeywordStatement$1 = $T($S($EXPECT($L82, fail, 'KeywordStatement "continue"'), NonIdContinue), function(value) {
7241
7387
  return { "type": "ContinueStatement", "children": value };
7242
7388
  });
7243
- var KeywordStatement$2 = $T($S($EXPECT($L86, fail, 'KeywordStatement "debugger"'), NonIdContinue), function(value) {
7389
+ var KeywordStatement$2 = $T($S($EXPECT($L83, fail, 'KeywordStatement "debugger"'), NonIdContinue), function(value) {
7244
7390
  return { "type": "DebuggerStatement", "children": value };
7245
7391
  });
7246
7392
  var KeywordStatement$3 = $T($S(Return, $E(MaybeNestedExpression)), function(value) {
@@ -7267,7 +7413,7 @@ ${input.slice(result.pos)}
7267
7413
  return result;
7268
7414
  }
7269
7415
  }
7270
- var DebuggerExpression$0 = $TS($S($EXPECT($L86, fail, 'DebuggerExpression "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
7416
+ var DebuggerExpression$0 = $TS($S($EXPECT($L83, fail, 'DebuggerExpression "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
7271
7417
  return {
7272
7418
  type: "DebuggerExpression",
7273
7419
  children: ["(()=>{", $1, "})()"]
@@ -7340,7 +7486,7 @@ ${input.slice(result.pos)}
7340
7486
  return result;
7341
7487
  }
7342
7488
  }
7343
- var ImportDeclaration$0 = $T($S($EXPECT($L87, fail, 'ImportDeclaration "import type"'), NonIdContinue, __, ImportClause, __, FromClause), function(value) {
7489
+ var ImportDeclaration$0 = $T($S($EXPECT($L84, fail, 'ImportDeclaration "import type"'), NonIdContinue, __, ImportClause, __, FromClause), function(value) {
7344
7490
  return { "ts": true, "children": value };
7345
7491
  });
7346
7492
  var ImportDeclaration$1 = $S(Import, __, ImportClause, __, FromClause);
@@ -7640,7 +7786,7 @@ ${input.slice(result.pos)}
7640
7786
  return result;
7641
7787
  }
7642
7788
  }
7643
- var ExportDeclaration$0 = $S(Export, __, $EXPECT($L88, fail, 'ExportDeclaration "default"'), NonIdContinue, __, $C(HoistableDeclaration, ClassDeclaration, ExtendedExpression));
7789
+ var ExportDeclaration$0 = $S(Export, __, $EXPECT($L85, fail, 'ExportDeclaration "default"'), NonIdContinue, __, $C(HoistableDeclaration, ClassDeclaration, ExtendedExpression));
7644
7790
  var ExportDeclaration$1 = $S(Export, __, ExportFromClause, __, FromClause);
7645
7791
  var ExportDeclaration$2 = $S(Export, __, $C(Declaration, NamedExports, VariableStatement, ExportVarDec));
7646
7792
  function ExportDeclaration(state) {
@@ -7743,7 +7889,7 @@ ${input.slice(result.pos)}
7743
7889
  return result;
7744
7890
  }
7745
7891
  }
7746
- var ImplicitExportSpecifier$0 = $S($N($EXPECT($L88, fail, 'ImplicitExportSpecifier "default"')), ModuleExportName, $E($S(__, As, __, ModuleExportName)), $C($Y($S(__, From)), ImplicitInlineObjectPropertyDelimiter));
7892
+ var ImplicitExportSpecifier$0 = $S($N($EXPECT($L85, fail, 'ImplicitExportSpecifier "default"')), ModuleExportName, $E($S(__, As, __, ModuleExportName)), $C($Y($S(__, From)), ImplicitInlineObjectPropertyDelimiter));
7747
7893
  function ImplicitExportSpecifier(state) {
7748
7894
  if (state.events) {
7749
7895
  const result = state.events.enter?.("ImplicitExportSpecifier", state);
@@ -7898,7 +8044,7 @@ ${input.slice(result.pos)}
7898
8044
  return result;
7899
8045
  }
7900
8046
  }
7901
- var ConstAssignment$0 = $TV($EXPECT($L89, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
8047
+ var ConstAssignment$0 = $TV($EXPECT($L86, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
7902
8048
  return { $loc, token: "=" };
7903
8049
  });
7904
8050
  function ConstAssignment(state) {
@@ -7919,10 +8065,10 @@ ${input.slice(result.pos)}
7919
8065
  return result;
7920
8066
  }
7921
8067
  }
7922
- var LetAssignment$0 = $TV($EXPECT($L90, fail, 'LetAssignment "::="'), function($skip, $loc, $0, $1) {
8068
+ var LetAssignment$0 = $TV($EXPECT($L87, fail, 'LetAssignment "::="'), function($skip, $loc, $0, $1) {
7923
8069
  return { $loc, token: "=" };
7924
8070
  });
7925
- var LetAssignment$1 = $TV($EXPECT($L91, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
8071
+ var LetAssignment$1 = $TV($EXPECT($L88, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
7926
8072
  return { $loc, token: "=" };
7927
8073
  });
7928
8074
  function LetAssignment(state) {
@@ -8480,7 +8626,7 @@ ${input.slice(result.pos)}
8480
8626
  }
8481
8627
  }
8482
8628
  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) {
8629
+ var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($L50, fail, 'RegularExpressionLiteral "/"'), RegularExpressionBody, $EXPECT($L50, fail, 'RegularExpressionLiteral "/"'), RegularExpressionFlags)), function($skip, $loc, $0, $1) {
8484
8630
  return { $loc, token: $1 };
8485
8631
  });
8486
8632
  function RegularExpressionLiteral(state) {
@@ -8926,7 +9072,7 @@ ${input.slice(result.pos)}
8926
9072
  return result;
8927
9073
  }
8928
9074
  }
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) {
9075
+ 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
9076
  return { $loc, token: $1 };
8931
9077
  });
8932
9078
  function JSMultiLineComment(state) {
@@ -8968,7 +9114,7 @@ ${input.slice(result.pos)}
8968
9114
  return result;
8969
9115
  }
8970
9116
  }
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) {
9117
+ 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
9118
  return { $loc, token: `/*${$2}*/` };
8973
9119
  });
8974
9120
  function CoffeeMultiLineComment(state) {
@@ -9008,7 +9154,7 @@ ${input.slice(result.pos)}
9008
9154
  return result;
9009
9155
  }
9010
9156
  }
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) {
9157
+ 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
9158
  return { $loc, token: $1 };
9013
9159
  });
9014
9160
  function InlineComment(state) {
@@ -9069,7 +9215,7 @@ ${input.slice(result.pos)}
9069
9215
  return result;
9070
9216
  }
9071
9217
  }
9072
- var _$0 = $P($C(NonNewlineWhitespace, Comment));
9218
+ var _$0 = $P($C(NonNewlineWhitespace, InlineComment));
9073
9219
  function _(state) {
9074
9220
  if (state.events) {
9075
9221
  const result = state.events.enter?.("_", state);
@@ -9091,7 +9237,7 @@ ${input.slice(result.pos)}
9091
9237
  var NonNewlineWhitespace$0 = $TR($EXPECT($R42, fail, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
9092
9238
  return { $loc, token: $0 };
9093
9239
  });
9094
- var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L94, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
9240
+ var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L91, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
9095
9241
  return "";
9096
9242
  });
9097
9243
  function NonNewlineWhitespace(state) {
@@ -9236,7 +9382,28 @@ ${input.slice(result.pos)}
9236
9382
  return result;
9237
9383
  }
9238
9384
  }
9239
- var Ampersand$0 = $TV($EXPECT($L78, fail, 'Ampersand "&"'), function($skip, $loc, $0, $1) {
9385
+ var Abstract$0 = $TV($TEXT($S($EXPECT($L92, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L4, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
9386
+ return { $loc, token: $1, ts: true };
9387
+ });
9388
+ function Abstract(state) {
9389
+ if (state.events) {
9390
+ const result = state.events.enter?.("Abstract", state);
9391
+ if (result)
9392
+ return result.cache;
9393
+ }
9394
+ if (state.tokenize) {
9395
+ const result = $TOKEN("Abstract", state, Abstract$0(state));
9396
+ if (state.events)
9397
+ state.events.exit?.("Abstract", state, result);
9398
+ return result;
9399
+ } else {
9400
+ const result = Abstract$0(state);
9401
+ if (state.events)
9402
+ state.events.exit?.("Abstract", state, result);
9403
+ return result;
9404
+ }
9405
+ }
9406
+ var Ampersand$0 = $TV($EXPECT($L75, fail, 'Ampersand "&"'), function($skip, $loc, $0, $1) {
9240
9407
  return { $loc, token: $1 };
9241
9408
  });
9242
9409
  function Ampersand(state) {
@@ -9257,7 +9424,7 @@ ${input.slice(result.pos)}
9257
9424
  return result;
9258
9425
  }
9259
9426
  }
9260
- var As$0 = $TS($S($EXPECT($L95, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9427
+ var As$0 = $TS($S($EXPECT($L93, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9261
9428
  return { $loc, token: $1 };
9262
9429
  });
9263
9430
  function As(state) {
@@ -9278,7 +9445,7 @@ ${input.slice(result.pos)}
9278
9445
  return result;
9279
9446
  }
9280
9447
  }
9281
- var At$0 = $TV($EXPECT($L96, fail, 'At "@"'), function($skip, $loc, $0, $1) {
9448
+ var At$0 = $TV($EXPECT($L94, fail, 'At "@"'), function($skip, $loc, $0, $1) {
9282
9449
  return { $loc, token: $1 };
9283
9450
  });
9284
9451
  function At(state) {
@@ -9299,7 +9466,7 @@ ${input.slice(result.pos)}
9299
9466
  return result;
9300
9467
  }
9301
9468
  }
9302
- var AtAt$0 = $TV($EXPECT($L97, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
9469
+ var AtAt$0 = $TV($EXPECT($L95, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
9303
9470
  return { $loc, token: "@" };
9304
9471
  });
9305
9472
  function AtAt(state) {
@@ -9320,7 +9487,7 @@ ${input.slice(result.pos)}
9320
9487
  return result;
9321
9488
  }
9322
9489
  }
9323
- var Async$0 = $TV($EXPECT($L98, fail, 'Async "async"'), function($skip, $loc, $0, $1) {
9490
+ var Async$0 = $TV($EXPECT($L96, fail, 'Async "async"'), function($skip, $loc, $0, $1) {
9324
9491
  return { $loc, token: $1, type: "Async" };
9325
9492
  });
9326
9493
  function Async(state) {
@@ -9341,7 +9508,7 @@ ${input.slice(result.pos)}
9341
9508
  return result;
9342
9509
  }
9343
9510
  }
9344
- var Await$0 = $TS($S($EXPECT($L99, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9511
+ var Await$0 = $TS($S($EXPECT($L97, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9345
9512
  return { $loc, token: $1 };
9346
9513
  });
9347
9514
  function Await(state) {
@@ -9362,7 +9529,7 @@ ${input.slice(result.pos)}
9362
9529
  return result;
9363
9530
  }
9364
9531
  }
9365
- var Backtick$0 = $TV($EXPECT($L100, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
9532
+ var Backtick$0 = $TV($EXPECT($L98, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
9366
9533
  return { $loc, token: $1 };
9367
9534
  });
9368
9535
  function Backtick(state) {
@@ -9383,7 +9550,7 @@ ${input.slice(result.pos)}
9383
9550
  return result;
9384
9551
  }
9385
9552
  }
9386
- var By$0 = $TS($S($EXPECT($L101, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9553
+ var By$0 = $TS($S($EXPECT($L99, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9387
9554
  return { $loc, token: $1 };
9388
9555
  });
9389
9556
  function By(state) {
@@ -9404,7 +9571,7 @@ ${input.slice(result.pos)}
9404
9571
  return result;
9405
9572
  }
9406
9573
  }
9407
- var Case$0 = $TS($S($EXPECT($L102, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9574
+ var Case$0 = $TS($S($EXPECT($L100, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9408
9575
  return { $loc, token: $1 };
9409
9576
  });
9410
9577
  function Case(state) {
@@ -9425,7 +9592,7 @@ ${input.slice(result.pos)}
9425
9592
  return result;
9426
9593
  }
9427
9594
  }
9428
- var Catch$0 = $TV($EXPECT($L103, fail, 'Catch "catch"'), function($skip, $loc, $0, $1) {
9595
+ var Catch$0 = $TV($EXPECT($L101, fail, 'Catch "catch"'), function($skip, $loc, $0, $1) {
9429
9596
  return { $loc, token: $1 };
9430
9597
  });
9431
9598
  function Catch(state) {
@@ -9446,7 +9613,7 @@ ${input.slice(result.pos)}
9446
9613
  return result;
9447
9614
  }
9448
9615
  }
9449
- var Class$0 = $TV($EXPECT($L104, fail, 'Class "class"'), function($skip, $loc, $0, $1) {
9616
+ var Class$0 = $TV($EXPECT($L102, fail, 'Class "class"'), function($skip, $loc, $0, $1) {
9450
9617
  return { $loc, token: $1 };
9451
9618
  });
9452
9619
  function Class(state) {
@@ -9467,7 +9634,7 @@ ${input.slice(result.pos)}
9467
9634
  return result;
9468
9635
  }
9469
9636
  }
9470
- var CloseBrace$0 = $TV($EXPECT($L20, fail, 'CloseBrace "}"'), function($skip, $loc, $0, $1) {
9637
+ var CloseBrace$0 = $TV($EXPECT($L17, fail, 'CloseBrace "}"'), function($skip, $loc, $0, $1) {
9471
9638
  return { $loc, token: $1 };
9472
9639
  });
9473
9640
  function CloseBrace(state) {
@@ -9488,7 +9655,7 @@ ${input.slice(result.pos)}
9488
9655
  return result;
9489
9656
  }
9490
9657
  }
9491
- var CloseBracket$0 = $TV($EXPECT($L31, fail, 'CloseBracket "]"'), function($skip, $loc, $0, $1) {
9658
+ var CloseBracket$0 = $TV($EXPECT($L28, fail, 'CloseBracket "]"'), function($skip, $loc, $0, $1) {
9492
9659
  return { $loc, token: $1 };
9493
9660
  });
9494
9661
  function CloseBracket(state) {
@@ -9509,7 +9676,7 @@ ${input.slice(result.pos)}
9509
9676
  return result;
9510
9677
  }
9511
9678
  }
9512
- var CloseParen$0 = $TV($EXPECT($L18, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
9679
+ var CloseParen$0 = $TV($EXPECT($L15, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
9513
9680
  return { $loc, token: $1 };
9514
9681
  });
9515
9682
  function CloseParen(state) {
@@ -9530,7 +9697,7 @@ ${input.slice(result.pos)}
9530
9697
  return result;
9531
9698
  }
9532
9699
  }
9533
- var CoffeeSubstitutionStart$0 = $TV($EXPECT($L105, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
9700
+ var CoffeeSubstitutionStart$0 = $TV($EXPECT($L103, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
9534
9701
  return { $loc, token: "${" };
9535
9702
  });
9536
9703
  function CoffeeSubstitutionStart(state) {
@@ -9551,7 +9718,7 @@ ${input.slice(result.pos)}
9551
9718
  return result;
9552
9719
  }
9553
9720
  }
9554
- var Colon$0 = $TV($EXPECT($L32, fail, 'Colon ":"'), function($skip, $loc, $0, $1) {
9721
+ var Colon$0 = $TV($EXPECT($L29, fail, 'Colon ":"'), function($skip, $loc, $0, $1) {
9555
9722
  return { $loc, token: $1 };
9556
9723
  });
9557
9724
  function Colon(state) {
@@ -9572,7 +9739,7 @@ ${input.slice(result.pos)}
9572
9739
  return result;
9573
9740
  }
9574
9741
  }
9575
- var ConstructorShorthand$0 = $TV($EXPECT($L96, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
9742
+ var ConstructorShorthand$0 = $TV($EXPECT($L94, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
9576
9743
  return { $loc, token: "constructor" };
9577
9744
  });
9578
9745
  function ConstructorShorthand(state) {
@@ -9593,7 +9760,7 @@ ${input.slice(result.pos)}
9593
9760
  return result;
9594
9761
  }
9595
9762
  }
9596
- var Default$0 = $TS($S($EXPECT($L88, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9763
+ var Default$0 = $TS($S($EXPECT($L85, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9597
9764
  return { $loc, token: $1 };
9598
9765
  });
9599
9766
  function Default(state) {
@@ -9614,7 +9781,7 @@ ${input.slice(result.pos)}
9614
9781
  return result;
9615
9782
  }
9616
9783
  }
9617
- var Delete$0 = $TS($S($EXPECT($L106, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9784
+ var Delete$0 = $TS($S($EXPECT($L104, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9618
9785
  return { $loc, token: $1 };
9619
9786
  });
9620
9787
  function Delete(state) {
@@ -9635,7 +9802,7 @@ ${input.slice(result.pos)}
9635
9802
  return result;
9636
9803
  }
9637
9804
  }
9638
- var Do$0 = $TS($S($EXPECT($L107, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9805
+ var Do$0 = $TS($S($EXPECT($L105, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9639
9806
  return { $loc, token: $1 };
9640
9807
  });
9641
9808
  function Do(state) {
@@ -9656,7 +9823,7 @@ ${input.slice(result.pos)}
9656
9823
  return result;
9657
9824
  }
9658
9825
  }
9659
- var Dot$0 = $TV($EXPECT($L12, fail, 'Dot "."'), function($skip, $loc, $0, $1) {
9826
+ var Dot$0 = $TV($EXPECT($L9, fail, 'Dot "."'), function($skip, $loc, $0, $1) {
9660
9827
  return { $loc, token: $1 };
9661
9828
  });
9662
9829
  function Dot(state) {
@@ -9677,7 +9844,7 @@ ${input.slice(result.pos)}
9677
9844
  return result;
9678
9845
  }
9679
9846
  }
9680
- var DotDot$0 = $TV($EXPECT($L108, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
9847
+ var DotDot$0 = $TV($EXPECT($L106, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
9681
9848
  return { $loc, token: $1 };
9682
9849
  });
9683
9850
  function DotDot(state) {
@@ -9698,7 +9865,7 @@ ${input.slice(result.pos)}
9698
9865
  return result;
9699
9866
  }
9700
9867
  }
9701
- var DotDotDot$0 = $TV($EXPECT($L109, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
9868
+ var DotDotDot$0 = $TV($EXPECT($L107, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
9702
9869
  return { $loc, token: $1 };
9703
9870
  });
9704
9871
  function DotDotDot(state) {
@@ -9719,7 +9886,7 @@ ${input.slice(result.pos)}
9719
9886
  return result;
9720
9887
  }
9721
9888
  }
9722
- var DoubleColon$0 = $TV($EXPECT($L110, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
9889
+ var DoubleColon$0 = $TV($EXPECT($L108, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
9723
9890
  return { $loc, token: $1 };
9724
9891
  });
9725
9892
  function DoubleColon(state) {
@@ -9740,7 +9907,7 @@ ${input.slice(result.pos)}
9740
9907
  return result;
9741
9908
  }
9742
9909
  }
9743
- var DoubleQuote$0 = $TV($EXPECT($L111, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
9910
+ var DoubleQuote$0 = $TV($EXPECT($L109, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
9744
9911
  return { $loc, token: $1 };
9745
9912
  });
9746
9913
  function DoubleQuote(state) {
@@ -9761,7 +9928,7 @@ ${input.slice(result.pos)}
9761
9928
  return result;
9762
9929
  }
9763
9930
  }
9764
- var Else$0 = $TV($EXPECT($L112, fail, 'Else "else"'), function($skip, $loc, $0, $1) {
9931
+ var Else$0 = $TV($EXPECT($L110, fail, 'Else "else"'), function($skip, $loc, $0, $1) {
9765
9932
  return { $loc, token: $1 };
9766
9933
  });
9767
9934
  function Else(state) {
@@ -9782,7 +9949,7 @@ ${input.slice(result.pos)}
9782
9949
  return result;
9783
9950
  }
9784
9951
  }
9785
- var Equals$0 = $TV($EXPECT($L29, fail, 'Equals "="'), function($skip, $loc, $0, $1) {
9952
+ var Equals$0 = $TV($EXPECT($L26, fail, 'Equals "="'), function($skip, $loc, $0, $1) {
9786
9953
  return { $loc, token: $1 };
9787
9954
  });
9788
9955
  function Equals(state) {
@@ -9803,7 +9970,7 @@ ${input.slice(result.pos)}
9803
9970
  return result;
9804
9971
  }
9805
9972
  }
9806
- var Export$0 = $TS($S($EXPECT($L113, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9973
+ var Export$0 = $TS($S($EXPECT($L111, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9807
9974
  return { $loc, token: $1 };
9808
9975
  });
9809
9976
  function Export(state) {
@@ -9824,7 +9991,7 @@ ${input.slice(result.pos)}
9824
9991
  return result;
9825
9992
  }
9826
9993
  }
9827
- var For$0 = $TS($S($EXPECT($L114, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9994
+ var For$0 = $TS($S($EXPECT($L112, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9828
9995
  return { $loc, token: $1 };
9829
9996
  });
9830
9997
  function For(state) {
@@ -9845,7 +10012,7 @@ ${input.slice(result.pos)}
9845
10012
  return result;
9846
10013
  }
9847
10014
  }
9848
- var From$0 = $TS($S($EXPECT($L115, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10015
+ var From$0 = $TS($S($EXPECT($L113, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9849
10016
  return { $loc, token: $1 };
9850
10017
  });
9851
10018
  function From(state) {
@@ -9866,7 +10033,7 @@ ${input.slice(result.pos)}
9866
10033
  return result;
9867
10034
  }
9868
10035
  }
9869
- var Function$0 = $TV($EXPECT($L116, fail, 'Function "function"'), function($skip, $loc, $0, $1) {
10036
+ var Function$0 = $TV($EXPECT($L114, fail, 'Function "function"'), function($skip, $loc, $0, $1) {
9870
10037
  return { $loc, token: $1 };
9871
10038
  });
9872
10039
  function Function(state) {
@@ -9887,7 +10054,7 @@ ${input.slice(result.pos)}
9887
10054
  return result;
9888
10055
  }
9889
10056
  }
9890
- var GetOrSet$0 = $TS($S($C($EXPECT($L117, fail, 'GetOrSet "get"'), $EXPECT($L118, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10057
+ var GetOrSet$0 = $TS($S($C($EXPECT($L115, fail, 'GetOrSet "get"'), $EXPECT($L116, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9891
10058
  return { $loc, token: $1, type: "GetOrSet" };
9892
10059
  });
9893
10060
  function GetOrSet(state) {
@@ -9908,7 +10075,7 @@ ${input.slice(result.pos)}
9908
10075
  return result;
9909
10076
  }
9910
10077
  }
9911
- var If$0 = $TV($TEXT($S($EXPECT($L119, fail, 'If "if"'), $E($EXPECT($L4, fail, 'If " "')))), function($skip, $loc, $0, $1) {
10078
+ var If$0 = $TV($TEXT($S($EXPECT($L117, fail, 'If "if"'), $E($EXPECT($L4, fail, 'If " "')))), function($skip, $loc, $0, $1) {
9912
10079
  return { $loc, token: $1 };
9913
10080
  });
9914
10081
  function If(state) {
@@ -9929,7 +10096,7 @@ ${input.slice(result.pos)}
9929
10096
  return result;
9930
10097
  }
9931
10098
  }
9932
- var Import$0 = $TS($S($EXPECT($L14, fail, 'Import "import"'), $Y($EXPECT($R44, fail, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
10099
+ var Import$0 = $TS($S($EXPECT($L11, fail, 'Import "import"'), $Y($EXPECT($R44, fail, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
9933
10100
  return { $loc, token: $1 };
9934
10101
  });
9935
10102
  function Import(state) {
@@ -9950,7 +10117,7 @@ ${input.slice(result.pos)}
9950
10117
  return result;
9951
10118
  }
9952
10119
  }
9953
- var In$0 = $TV($EXPECT($L77, fail, 'In "in"'), function($skip, $loc, $0, $1) {
10120
+ var In$0 = $TV($EXPECT($L74, fail, 'In "in"'), function($skip, $loc, $0, $1) {
9954
10121
  return { $loc, token: $1 };
9955
10122
  });
9956
10123
  function In(state) {
@@ -9971,7 +10138,7 @@ ${input.slice(result.pos)}
9971
10138
  return result;
9972
10139
  }
9973
10140
  }
9974
- var LetOrConst$0 = $TS($S($C($EXPECT($L120, fail, 'LetOrConst "let"'), $EXPECT($L121, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10141
+ var LetOrConst$0 = $TS($S($C($EXPECT($L118, fail, 'LetOrConst "let"'), $EXPECT($L119, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9975
10142
  return { $loc, token: $1 };
9976
10143
  });
9977
10144
  function LetOrConst(state) {
@@ -9992,7 +10159,7 @@ ${input.slice(result.pos)}
9992
10159
  return result;
9993
10160
  }
9994
10161
  }
9995
- var Loop$0 = $TS($S($EXPECT($L122, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10162
+ var Loop$0 = $TS($S($EXPECT($L120, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9996
10163
  return { $loc, token: "while(true)" };
9997
10164
  });
9998
10165
  function Loop(state) {
@@ -10013,7 +10180,7 @@ ${input.slice(result.pos)}
10013
10180
  return result;
10014
10181
  }
10015
10182
  }
10016
- var New$0 = $TS($S($EXPECT($L123, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10183
+ var New$0 = $TS($S($EXPECT($L121, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10017
10184
  return { $loc, token: $1 };
10018
10185
  });
10019
10186
  function New(state) {
@@ -10034,7 +10201,7 @@ ${input.slice(result.pos)}
10034
10201
  return result;
10035
10202
  }
10036
10203
  }
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) {
10204
+ 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
10205
  return { $loc, token: "!" };
10039
10206
  });
10040
10207
  function Not(state) {
@@ -10055,7 +10222,7 @@ ${input.slice(result.pos)}
10055
10222
  return result;
10056
10223
  }
10057
10224
  }
10058
- var Of$0 = $TV($EXPECT($L70, fail, 'Of "of"'), function($skip, $loc, $0, $1) {
10225
+ var Of$0 = $TV($EXPECT($L67, fail, 'Of "of"'), function($skip, $loc, $0, $1) {
10059
10226
  return { $loc, token: $1 };
10060
10227
  });
10061
10228
  function Of(state) {
@@ -10076,7 +10243,7 @@ ${input.slice(result.pos)}
10076
10243
  return result;
10077
10244
  }
10078
10245
  }
10079
- var OpenBrace$0 = $TV($EXPECT($L124, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
10246
+ var OpenBrace$0 = $TV($EXPECT($L122, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
10080
10247
  return { $loc, token: $1 };
10081
10248
  });
10082
10249
  function OpenBrace(state) {
@@ -10097,7 +10264,7 @@ ${input.slice(result.pos)}
10097
10264
  return result;
10098
10265
  }
10099
10266
  }
10100
- var OpenBracket$0 = $TV($EXPECT($L125, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
10267
+ var OpenBracket$0 = $TV($EXPECT($L123, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
10101
10268
  return { $loc, token: $1 };
10102
10269
  });
10103
10270
  function OpenBracket(state) {
@@ -10118,7 +10285,7 @@ ${input.slice(result.pos)}
10118
10285
  return result;
10119
10286
  }
10120
10287
  }
10121
- var OpenParen$0 = $TV($EXPECT($L126, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
10288
+ var OpenParen$0 = $TV($EXPECT($L124, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
10122
10289
  return { $loc, token: $1 };
10123
10290
  });
10124
10291
  function OpenParen(state) {
@@ -10139,7 +10306,91 @@ ${input.slice(result.pos)}
10139
10306
  return result;
10140
10307
  }
10141
10308
  }
10142
- var QuestionMark$0 = $TV($EXPECT($L74, fail, 'QuestionMark "?"'), function($skip, $loc, $0, $1) {
10309
+ var Public$0 = $TS($S($EXPECT($L125, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10310
+ return { $loc, token: $1 };
10311
+ });
10312
+ function Public(state) {
10313
+ if (state.events) {
10314
+ const result = state.events.enter?.("Public", state);
10315
+ if (result)
10316
+ return result.cache;
10317
+ }
10318
+ if (state.tokenize) {
10319
+ const result = $TOKEN("Public", state, Public$0(state));
10320
+ if (state.events)
10321
+ state.events.exit?.("Public", state, result);
10322
+ return result;
10323
+ } else {
10324
+ const result = Public$0(state);
10325
+ if (state.events)
10326
+ state.events.exit?.("Public", state, result);
10327
+ return result;
10328
+ }
10329
+ }
10330
+ var Private$0 = $TS($S($EXPECT($L126, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10331
+ return { $loc, token: $1 };
10332
+ });
10333
+ function Private(state) {
10334
+ if (state.events) {
10335
+ const result = state.events.enter?.("Private", state);
10336
+ if (result)
10337
+ return result.cache;
10338
+ }
10339
+ if (state.tokenize) {
10340
+ const result = $TOKEN("Private", state, Private$0(state));
10341
+ if (state.events)
10342
+ state.events.exit?.("Private", state, result);
10343
+ return result;
10344
+ } else {
10345
+ const result = Private$0(state);
10346
+ if (state.events)
10347
+ state.events.exit?.("Private", state, result);
10348
+ return result;
10349
+ }
10350
+ }
10351
+ var Protected$0 = $TS($S($EXPECT($L127, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10352
+ return { $loc, token: $1 };
10353
+ });
10354
+ function Protected(state) {
10355
+ if (state.events) {
10356
+ const result = state.events.enter?.("Protected", state);
10357
+ if (result)
10358
+ return result.cache;
10359
+ }
10360
+ if (state.tokenize) {
10361
+ const result = $TOKEN("Protected", state, Protected$0(state));
10362
+ if (state.events)
10363
+ state.events.exit?.("Protected", state, result);
10364
+ return result;
10365
+ } else {
10366
+ const result = Protected$0(state);
10367
+ if (state.events)
10368
+ state.events.exit?.("Protected", state, result);
10369
+ return result;
10370
+ }
10371
+ }
10372
+ var Pipe$0 = $TV($EXPECT($L128, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
10373
+ return { $loc, token: $1 };
10374
+ });
10375
+ function Pipe(state) {
10376
+ if (state.events) {
10377
+ const result = state.events.enter?.("Pipe", state);
10378
+ if (result)
10379
+ return result.cache;
10380
+ }
10381
+ if (state.tokenize) {
10382
+ const result = $TOKEN("Pipe", state, Pipe$0(state));
10383
+ if (state.events)
10384
+ state.events.exit?.("Pipe", state, result);
10385
+ return result;
10386
+ } else {
10387
+ const result = Pipe$0(state);
10388
+ if (state.events)
10389
+ state.events.exit?.("Pipe", state, result);
10390
+ return result;
10391
+ }
10392
+ }
10393
+ var QuestionMark$0 = $TV($EXPECT($L71, fail, 'QuestionMark "?"'), function($skip, $loc, $0, $1) {
10143
10394
  return { $loc, token: $1 };
10144
10395
  });
10145
10396
  function QuestionMark(state) {
@@ -10160,7 +10411,28 @@ ${input.slice(result.pos)}
10160
10411
  return result;
10161
10412
  }
10162
10413
  }
10163
- var Return$0 = $TS($S($EXPECT($L127, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10414
+ var Readonly$0 = $TS($S($EXPECT($L129, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10415
+ return { $loc, token: $1, ts: true };
10416
+ });
10417
+ function Readonly(state) {
10418
+ if (state.events) {
10419
+ const result = state.events.enter?.("Readonly", state);
10420
+ if (result)
10421
+ return result.cache;
10422
+ }
10423
+ if (state.tokenize) {
10424
+ const result = $TOKEN("Readonly", state, Readonly$0(state));
10425
+ if (state.events)
10426
+ state.events.exit?.("Readonly", state, result);
10427
+ return result;
10428
+ } else {
10429
+ const result = Readonly$0(state);
10430
+ if (state.events)
10431
+ state.events.exit?.("Readonly", state, result);
10432
+ return result;
10433
+ }
10434
+ }
10435
+ var Return$0 = $TS($S($EXPECT($L130, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10164
10436
  return { $loc, token: $1 };
10165
10437
  });
10166
10438
  function Return(state) {
@@ -10181,7 +10453,7 @@ ${input.slice(result.pos)}
10181
10453
  return result;
10182
10454
  }
10183
10455
  }
10184
- var Satisfies$0 = $TS($S($EXPECT($L128, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10456
+ var Satisfies$0 = $TS($S($EXPECT($L131, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10185
10457
  return { $loc, token: $1 };
10186
10458
  });
10187
10459
  function Satisfies(state) {
@@ -10202,7 +10474,7 @@ ${input.slice(result.pos)}
10202
10474
  return result;
10203
10475
  }
10204
10476
  }
10205
- var Semicolon$0 = $TV($EXPECT($L81, fail, 'Semicolon ";"'), function($skip, $loc, $0, $1) {
10477
+ var Semicolon$0 = $TV($EXPECT($L78, fail, 'Semicolon ";"'), function($skip, $loc, $0, $1) {
10206
10478
  return { $loc, token: $1 };
10207
10479
  });
10208
10480
  function Semicolon(state) {
@@ -10223,7 +10495,7 @@ ${input.slice(result.pos)}
10223
10495
  return result;
10224
10496
  }
10225
10497
  }
10226
- var SingleQuote$0 = $TV($EXPECT($L129, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
10498
+ var SingleQuote$0 = $TV($EXPECT($L132, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
10227
10499
  return { $loc, token: $1 };
10228
10500
  });
10229
10501
  function SingleQuote(state) {
@@ -10244,7 +10516,7 @@ ${input.slice(result.pos)}
10244
10516
  return result;
10245
10517
  }
10246
10518
  }
10247
- var Star$0 = $TV($EXPECT($L52, fail, 'Star "*"'), function($skip, $loc, $0, $1) {
10519
+ var Star$0 = $TV($EXPECT($L49, fail, 'Star "*"'), function($skip, $loc, $0, $1) {
10248
10520
  return { $loc, token: $1 };
10249
10521
  });
10250
10522
  function Star(state) {
@@ -10265,10 +10537,10 @@ ${input.slice(result.pos)}
10265
10537
  return result;
10266
10538
  }
10267
10539
  }
10268
- var Static$0 = $TV($EXPECT($L130, fail, 'Static "static"'), function($skip, $loc, $0, $1) {
10540
+ var Static$0 = $TV($EXPECT($L133, fail, 'Static "static"'), function($skip, $loc, $0, $1) {
10269
10541
  return { $loc, token: $1 };
10270
10542
  });
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) {
10543
+ 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
10544
  return { $loc, token: "static " };
10273
10545
  });
10274
10546
  function Static(state) {
@@ -10289,7 +10561,7 @@ ${input.slice(result.pos)}
10289
10561
  return result;
10290
10562
  }
10291
10563
  }
10292
- var SubstitutionStart$0 = $TV($EXPECT($L131, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
10564
+ var SubstitutionStart$0 = $TV($EXPECT($L134, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
10293
10565
  return { $loc, token: $1 };
10294
10566
  });
10295
10567
  function SubstitutionStart(state) {
@@ -10310,7 +10582,7 @@ ${input.slice(result.pos)}
10310
10582
  return result;
10311
10583
  }
10312
10584
  }
10313
- var Switch$0 = $TS($S($EXPECT($L132, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10585
+ var Switch$0 = $TS($S($EXPECT($L135, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10314
10586
  return { $loc, token: $1 };
10315
10587
  });
10316
10588
  function Switch(state) {
@@ -10331,7 +10603,7 @@ ${input.slice(result.pos)}
10331
10603
  return result;
10332
10604
  }
10333
10605
  }
10334
- var Target$0 = $TS($S($EXPECT($L133, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10606
+ var Target$0 = $TS($S($EXPECT($L136, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10335
10607
  return { $loc, token: $1 };
10336
10608
  });
10337
10609
  function Target(state) {
@@ -10352,7 +10624,7 @@ ${input.slice(result.pos)}
10352
10624
  return result;
10353
10625
  }
10354
10626
  }
10355
- var Then$0 = $TS($S(__, $EXPECT($L134, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
10627
+ var Then$0 = $TS($S(__, $EXPECT($L137, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
10356
10628
  return { $loc, token: "" };
10357
10629
  });
10358
10630
  function Then(state) {
@@ -10373,7 +10645,7 @@ ${input.slice(result.pos)}
10373
10645
  return result;
10374
10646
  }
10375
10647
  }
10376
- var This$0 = $TS($S($EXPECT($L135, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10648
+ var This$0 = $TS($S($EXPECT($L138, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10377
10649
  return { $loc, token: $1 };
10378
10650
  });
10379
10651
  function This(state) {
@@ -10394,7 +10666,7 @@ ${input.slice(result.pos)}
10394
10666
  return result;
10395
10667
  }
10396
10668
  }
10397
- var Throw$0 = $TS($S($EXPECT($L136, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10669
+ var Throw$0 = $TS($S($EXPECT($L139, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10398
10670
  return { $loc, token: $1 };
10399
10671
  });
10400
10672
  function Throw(state) {
@@ -10415,7 +10687,7 @@ ${input.slice(result.pos)}
10415
10687
  return result;
10416
10688
  }
10417
10689
  }
10418
- var TripleDoubleQuote$0 = $TV($EXPECT($L137, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
10690
+ var TripleDoubleQuote$0 = $TV($EXPECT($L140, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
10419
10691
  return { $loc, token: "`" };
10420
10692
  });
10421
10693
  function TripleDoubleQuote(state) {
@@ -10436,7 +10708,7 @@ ${input.slice(result.pos)}
10436
10708
  return result;
10437
10709
  }
10438
10710
  }
10439
- var TripleSingleQuote$0 = $TV($EXPECT($L138, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
10711
+ var TripleSingleQuote$0 = $TV($EXPECT($L141, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
10440
10712
  return { $loc, token: "`" };
10441
10713
  });
10442
10714
  function TripleSingleQuote(state) {
@@ -10457,7 +10729,7 @@ ${input.slice(result.pos)}
10457
10729
  return result;
10458
10730
  }
10459
10731
  }
10460
- var TripleSlash$0 = $TV($EXPECT($L139, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
10732
+ var TripleSlash$0 = $TV($EXPECT($L142, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
10461
10733
  return { $loc, token: "/" };
10462
10734
  });
10463
10735
  function TripleSlash(state) {
@@ -10478,7 +10750,7 @@ ${input.slice(result.pos)}
10478
10750
  return result;
10479
10751
  }
10480
10752
  }
10481
- var TripleTick$0 = $TV($EXPECT($L140, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
10753
+ var TripleTick$0 = $TV($EXPECT($L143, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
10482
10754
  return { $loc, token: "`" };
10483
10755
  });
10484
10756
  function TripleTick(state) {
@@ -10499,7 +10771,7 @@ ${input.slice(result.pos)}
10499
10771
  return result;
10500
10772
  }
10501
10773
  }
10502
- var Try$0 = $TS($S($EXPECT($L141, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10774
+ var Try$0 = $TS($S($EXPECT($L144, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10503
10775
  return { $loc, token: $1 };
10504
10776
  });
10505
10777
  function Try(state) {
@@ -10520,7 +10792,7 @@ ${input.slice(result.pos)}
10520
10792
  return result;
10521
10793
  }
10522
10794
  }
10523
- var Typeof$0 = $TS($S($EXPECT($L142, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10795
+ var Typeof$0 = $TS($S($EXPECT($L145, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10524
10796
  return { $loc, token: $1 };
10525
10797
  });
10526
10798
  function Typeof(state) {
@@ -10541,7 +10813,7 @@ ${input.slice(result.pos)}
10541
10813
  return result;
10542
10814
  }
10543
10815
  }
10544
- var Unless$0 = $TS($S($EXPECT($L143, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10816
+ var Unless$0 = $TS($S($EXPECT($L146, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10545
10817
  return { $loc, token: $1 };
10546
10818
  });
10547
10819
  function Unless(state) {
@@ -10562,7 +10834,7 @@ ${input.slice(result.pos)}
10562
10834
  return result;
10563
10835
  }
10564
10836
  }
10565
- var Until$0 = $TS($S($EXPECT($L144, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10837
+ var Until$0 = $TS($S($EXPECT($L147, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10566
10838
  return { $loc, token: $1 };
10567
10839
  });
10568
10840
  function Until(state) {
@@ -10583,7 +10855,7 @@ ${input.slice(result.pos)}
10583
10855
  return result;
10584
10856
  }
10585
10857
  }
10586
- var Var$0 = $TS($S($EXPECT($L145, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10858
+ var Var$0 = $TS($S($EXPECT($L148, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10587
10859
  return { $loc, token: $1 };
10588
10860
  });
10589
10861
  function Var(state) {
@@ -10604,7 +10876,7 @@ ${input.slice(result.pos)}
10604
10876
  return result;
10605
10877
  }
10606
10878
  }
10607
- var Void$0 = $TS($S($EXPECT($L146, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10879
+ var Void$0 = $TS($S($EXPECT($L149, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10608
10880
  return { $loc, token: $1 };
10609
10881
  });
10610
10882
  function Void(state) {
@@ -10625,7 +10897,7 @@ ${input.slice(result.pos)}
10625
10897
  return result;
10626
10898
  }
10627
10899
  }
10628
- var When$0 = $TS($S($EXPECT($L147, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10900
+ var When$0 = $TS($S($EXPECT($L150, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10629
10901
  return { $loc, token: "case" };
10630
10902
  });
10631
10903
  function When(state) {
@@ -10646,7 +10918,7 @@ ${input.slice(result.pos)}
10646
10918
  return result;
10647
10919
  }
10648
10920
  }
10649
- var While$0 = $TS($S($EXPECT($L148, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10921
+ var While$0 = $TS($S($EXPECT($L151, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10650
10922
  return { $loc, token: $1 };
10651
10923
  });
10652
10924
  function While(state) {
@@ -10667,7 +10939,7 @@ ${input.slice(result.pos)}
10667
10939
  return result;
10668
10940
  }
10669
10941
  }
10670
- var Yield$0 = $TS($S($EXPECT($L149, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10942
+ var Yield$0 = $TS($S($EXPECT($L152, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10671
10943
  return { $loc, token: $1 };
10672
10944
  });
10673
10945
  function Yield(state) {
@@ -10749,7 +11021,7 @@ ${input.slice(result.pos)}
10749
11021
  return result;
10750
11022
  }
10751
11023
  }
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) {
11024
+ 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
11025
  return { type: "JSXElement", children: $0 };
10754
11026
  });
10755
11027
  function JSXSelfClosingElement(state) {
@@ -10770,7 +11042,7 @@ ${input.slice(result.pos)}
10770
11042
  return result;
10771
11043
  }
10772
11044
  }
10773
- var JSXOpeningElement$0 = $S($EXPECT($L5, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(CompactTypeArguments), $E(JSXAttributes), __, $EXPECT($L30, fail, 'JSXOpeningElement ">"'));
11045
+ var JSXOpeningElement$0 = $S($EXPECT($L5, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(CompactTypeArguments), $E(JSXAttributes), __, $EXPECT($L27, fail, 'JSXOpeningElement ">"'));
10774
11046
  function JSXOpeningElement(state) {
10775
11047
  if (state.events) {
10776
11048
  const result = state.events.enter?.("JSXOpeningElement", state);
@@ -10789,7 +11061,7 @@ ${input.slice(result.pos)}
10789
11061
  return result;
10790
11062
  }
10791
11063
  }
10792
- var JSXClosingElement$0 = $S($EXPECT($L151, fail, 'JSXClosingElement "</"'), __, $TEXT(JSXElementName), __, $EXPECT($L30, fail, 'JSXClosingElement ">"'));
11064
+ var JSXClosingElement$0 = $S($EXPECT($L154, fail, 'JSXClosingElement "</"'), __, $TEXT(JSXElementName), __, $EXPECT($L27, fail, 'JSXClosingElement ">"'));
10793
11065
  function JSXClosingElement(state) {
10794
11066
  if (state.events) {
10795
11067
  const result = state.events.enter?.("JSXClosingElement", state);
@@ -10834,14 +11106,14 @@ ${input.slice(result.pos)}
10834
11106
  return result;
10835
11107
  }
10836
11108
  }
10837
- var JSXFragment$0 = $TS($S($EXPECT($L152, fail, 'JSXFragment "<>"'), $E(JSXChildren), __, $EXPECT($L153, fail, 'JSXFragment "</>"')), function($skip, $loc, $0, $1, $2, $3, $4) {
11109
+ var JSXFragment$0 = $TS($S($EXPECT($L155, fail, 'JSXFragment "<>"'), $E(JSXChildren), __, $EXPECT($L156, fail, 'JSXFragment "</>"')), function($skip, $loc, $0, $1, $2, $3, $4) {
10838
11110
  if ($2) {
10839
11111
  return { type: "JSXFragment", children: $0, jsxChildren: $2.jsxChildren };
10840
11112
  } else {
10841
11113
  return { type: "JSXFragment", children: $0, jsxChildren: [] };
10842
11114
  }
10843
11115
  });
10844
- var JSXFragment$1 = $TS($S($EXPECT($L152, fail, 'JSXFragment "<>"'), JSXMixedChildren, InsertNewline, InsertIndent), function($skip, $loc, $0, $1, $2, $3, $4) {
11116
+ var JSXFragment$1 = $TS($S($EXPECT($L155, fail, 'JSXFragment "<>"'), JSXMixedChildren, InsertNewline, InsertIndent), function($skip, $loc, $0, $1, $2, $3, $4) {
10845
11117
  return { type: "JSXFragment", children: [...$0, "</>"], jsxChildren: $2.jsxChildren };
10846
11118
  });
10847
11119
  function JSXFragment(state) {
@@ -11191,8 +11463,8 @@ ${input.slice(result.pos)}
11191
11463
  return result;
11192
11464
  }
11193
11465
  }
11194
- var InlineJSXCallExpression$0 = $S($EXPECT($L13, fail, 'InlineJSXCallExpression "super"'), ExplicitArguments);
11195
- var InlineJSXCallExpression$1 = $S($EXPECT($L14, fail, 'InlineJSXCallExpression "import"'), OpenParen, ExtendedExpression, __, CloseParen);
11466
+ var InlineJSXCallExpression$0 = $S($EXPECT($L10, fail, 'InlineJSXCallExpression "super"'), ExplicitArguments);
11467
+ var InlineJSXCallExpression$1 = $S($EXPECT($L11, fail, 'InlineJSXCallExpression "import"'), OpenParen, ExtendedExpression, __, CloseParen);
11196
11468
  var InlineJSXCallExpression$2 = $TS($S(InlineJSXMemberExpression, $Q(InlineJSXCallExpressionRest)), function($skip, $loc, $0, $1, $2) {
11197
11469
  if ($2.length)
11198
11470
  return $0;
@@ -11494,7 +11766,7 @@ ${input.slice(result.pos)}
11494
11766
  return result;
11495
11767
  }
11496
11768
  }
11497
- var TypeDeclarationModifier$0 = $S($EXPECT($L154, fail, 'TypeDeclarationModifier "declare"'), NonIdContinue);
11769
+ var TypeDeclarationModifier$0 = $S($EXPECT($L157, fail, 'TypeDeclarationModifier "declare"'), NonIdContinue);
11498
11770
  var TypeDeclarationModifier$1 = Export;
11499
11771
  function TypeDeclarationModifier(state) {
11500
11772
  if (state.events) {
@@ -11536,7 +11808,7 @@ ${input.slice(result.pos)}
11536
11808
  return result;
11537
11809
  }
11538
11810
  }
11539
- var TypeKeyword$0 = $S($EXPECT($L155, fail, 'TypeKeyword "type"'), NonIdContinue);
11811
+ var TypeKeyword$0 = $S($EXPECT($L158, fail, 'TypeKeyword "type"'), NonIdContinue);
11540
11812
  function TypeKeyword(state) {
11541
11813
  if (state.events) {
11542
11814
  const result = state.events.enter?.("TypeKeyword", state);
@@ -11555,7 +11827,7 @@ ${input.slice(result.pos)}
11555
11827
  return result;
11556
11828
  }
11557
11829
  }
11558
- var Interface$0 = $S($EXPECT($L156, fail, 'Interface "interface"'), NonIdContinue);
11830
+ var Interface$0 = $S($EXPECT($L159, fail, 'Interface "interface"'), NonIdContinue);
11559
11831
  function Interface(state) {
11560
11832
  if (state.events) {
11561
11833
  const result = state.events.enter?.("Interface", state);
@@ -11574,7 +11846,7 @@ ${input.slice(result.pos)}
11574
11846
  return result;
11575
11847
  }
11576
11848
  }
11577
- var Namespace$0 = $S($EXPECT($L157, fail, 'Namespace "namespace"'), NonIdContinue);
11849
+ var Namespace$0 = $S($EXPECT($L160, fail, 'Namespace "namespace"'), NonIdContinue);
11578
11850
  function Namespace(state) {
11579
11851
  if (state.events) {
11580
11852
  const result = state.events.enter?.("Namespace", state);
@@ -11763,7 +12035,7 @@ ${input.slice(result.pos)}
11763
12035
  return result;
11764
12036
  }
11765
12037
  }
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)));
12038
+ 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
12039
  function TypeIndexSignature(state) {
11768
12040
  if (state.events) {
11769
12041
  const result = state.events.enter?.("TypeIndexSignature", state);
@@ -11823,7 +12095,7 @@ ${input.slice(result.pos)}
11823
12095
  return result;
11824
12096
  }
11825
12097
  }
11826
- var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L159, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
12098
+ var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L161, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
11827
12099
  const children = [...$1, $2];
11828
12100
  if ($3)
11829
12101
  children.push($3);
@@ -11852,7 +12124,7 @@ ${input.slice(result.pos)}
11852
12124
  return result;
11853
12125
  }
11854
12126
  }
11855
- var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($L65, fail, 'TypePredicate "is"'), NonIdContinue, Type))), function($skip, $loc, $0, $1, $2) {
12127
+ var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($L62, fail, 'TypePredicate "is"'), NonIdContinue, Type))), function($skip, $loc, $0, $1, $2) {
11856
12128
  if (!$2)
11857
12129
  return $1;
11858
12130
  return $0;
@@ -11958,10 +12230,10 @@ ${input.slice(result.pos)}
11958
12230
  return result;
11959
12231
  }
11960
12232
  }
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"');
12233
+ var TypeUnaryOp$0 = $EXPECT($L162, fail, 'TypeUnaryOp "keyof"');
12234
+ var TypeUnaryOp$1 = $EXPECT($L145, fail, 'TypeUnaryOp "typeof"');
12235
+ var TypeUnaryOp$2 = $EXPECT($L163, fail, 'TypeUnaryOp "infer"');
12236
+ var TypeUnaryOp$3 = $EXPECT($L129, fail, 'TypeUnaryOp "readonly"');
11965
12237
  function TypeUnaryOp(state) {
11966
12238
  if (state.events) {
11967
12239
  const result = state.events.enter?.("TypeUnaryOp", state);
@@ -12130,10 +12402,10 @@ ${input.slice(result.pos)}
12130
12402
  }
12131
12403
  var TypeLiteral$0 = Literal;
12132
12404
  var TypeLiteral$1 = TemplateLiteral;
12133
- var TypeLiteral$2 = $TV($EXPECT($L146, fail, 'TypeLiteral "void"'), function($skip, $loc, $0, $1) {
12405
+ var TypeLiteral$2 = $TV($EXPECT($L149, fail, 'TypeLiteral "void"'), function($skip, $loc, $0, $1) {
12134
12406
  return { $loc, token: "void" };
12135
12407
  });
12136
- var TypeLiteral$3 = $TV($EXPECT($L162, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
12408
+ var TypeLiteral$3 = $TV($EXPECT($L164, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
12137
12409
  return { $loc, token: "[]" };
12138
12410
  });
12139
12411
  function TypeLiteral(state) {
@@ -12154,10 +12426,10 @@ ${input.slice(result.pos)}
12154
12426
  return result;
12155
12427
  }
12156
12428
  }
12157
- var TypeBinaryOp$0 = $TV($EXPECT($L80, fail, 'TypeBinaryOp "|"'), function($skip, $loc, $0, $1) {
12429
+ var TypeBinaryOp$0 = $TV($EXPECT($L77, fail, 'TypeBinaryOp "|"'), function($skip, $loc, $0, $1) {
12158
12430
  return { $loc, token: "|" };
12159
12431
  });
12160
- var TypeBinaryOp$1 = $TV($EXPECT($L78, fail, 'TypeBinaryOp "&"'), function($skip, $loc, $0, $1) {
12432
+ var TypeBinaryOp$1 = $TV($EXPECT($L75, fail, 'TypeBinaryOp "&"'), function($skip, $loc, $0, $1) {
12161
12433
  return { $loc, token: "&" };
12162
12434
  });
12163
12435
  function TypeBinaryOp(state) {
@@ -12197,7 +12469,7 @@ ${input.slice(result.pos)}
12197
12469
  return result;
12198
12470
  }
12199
12471
  }
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) {
12472
+ 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
12473
  return { ts: true, children: $0 };
12202
12474
  });
12203
12475
  function TypeArguments(state) {
@@ -12218,7 +12490,7 @@ ${input.slice(result.pos)}
12218
12490
  return result;
12219
12491
  }
12220
12492
  }
12221
- var CompactTypeArguments$0 = $TS($S($EXPECT($L5, fail, 'CompactTypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L30, fail, 'CompactTypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
12493
+ var CompactTypeArguments$0 = $TS($S($EXPECT($L5, fail, 'CompactTypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L27, fail, 'CompactTypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
12222
12494
  return { ts: true, children: $0 };
12223
12495
  });
12224
12496
  function CompactTypeArguments(state) {
@@ -12277,7 +12549,7 @@ ${input.slice(result.pos)}
12277
12549
  return result;
12278
12550
  }
12279
12551
  }
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) {
12552
+ 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
12553
  var parameters = $3;
12282
12554
  return {
12283
12555
  type: "TypeParameters",
@@ -12343,7 +12615,7 @@ ${input.slice(result.pos)}
12343
12615
  }
12344
12616
  }
12345
12617
  var TypeParameterDelimiter$0 = $S($Q(_), Comma);
12346
- var TypeParameterDelimiter$1 = $Y($S(__, $EXPECT($L30, fail, 'TypeParameterDelimiter ">"')));
12618
+ var TypeParameterDelimiter$1 = $Y($S(__, $EXPECT($L27, fail, 'TypeParameterDelimiter ">"')));
12347
12619
  var TypeParameterDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
12348
12620
  return value[1];
12349
12621
  });
@@ -12410,7 +12682,7 @@ ${input.slice(result.pos)}
12410
12682
  return result;
12411
12683
  }
12412
12684
  }
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) {
12685
+ 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
12686
  var options = $2;
12415
12687
  return {
12416
12688
  type: "CivetPrologue",
@@ -13734,6 +14006,20 @@ ${input.slice(result.pos)}
13734
14006
  }
13735
14007
  return node;
13736
14008
  };
14009
+ module2.skipIfOnlyWS = function(target) {
14010
+ if (!target)
14011
+ return target;
14012
+ if (Array.isArray(target)) {
14013
+ if (target.length === 1) {
14014
+ return module2.skipIfOnlyWS(target[0]);
14015
+ }
14016
+ return target;
14017
+ }
14018
+ if (target.token && target.token.trim() === "") {
14019
+ return void 0;
14020
+ }
14021
+ return target;
14022
+ };
13737
14023
  module2.insertTrimmingSpace = function(target, c) {
13738
14024
  if (!target)
13739
14025
  return target;
@@ -14253,6 +14539,21 @@ ${input.slice(result.pos)}
14253
14539
  return [splices, thisAssignments];
14254
14540
  }
14255
14541
  module2.gatherBindingCode = gatherBindingCode;
14542
+ module2.constructInvocation = function(caller, callee) {
14543
+ const callerArr = [caller.leadingComment, caller.expr, caller.trailingComment];
14544
+ const calleeArr = [callee.leadingComment, callee.expr, callee.trailingComment];
14545
+ if (caller.expr.type === "Identifier") {
14546
+ return [callerArr, "(", calleeArr, ")"];
14547
+ } else {
14548
+ return ["(", callerArr, ")", "(", calleeArr, ")"];
14549
+ }
14550
+ };
14551
+ module2.constructPipeStep = function(caller, callee) {
14552
+ if (caller.expr.token === "yield" || caller.expr.token === "await") {
14553
+ return [caller.leadingComment, caller.expr, caller.trailingComment, " ", callee.leadingComment, callee.expr, callee.trailingComment];
14554
+ }
14555
+ return module2.constructInvocation(caller, callee);
14556
+ };
14256
14557
  return $0;
14257
14558
  });
14258
14559
  function Init(state) {