@danielx/civet 0.5.50 → 0.5.52

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
@@ -483,6 +483,7 @@ ${input.slice(result.pos)}
483
483
  ExtendsTarget,
484
484
  ImplementsClause,
485
485
  ImplementsToken,
486
+ ImplementsShorthand,
486
487
  ImplementsTarget,
487
488
  ClassBody,
488
489
  NestedClassElements,
@@ -924,6 +925,7 @@ ${input.slice(result.pos)}
924
925
  EOS,
925
926
  EOL,
926
927
  Debugger,
928
+ InsertSemicolon,
927
929
  InsertOpenParen,
928
930
  InsertCloseParen,
929
931
  InsertOpenBrace,
@@ -952,6 +954,7 @@ ${input.slice(result.pos)}
952
954
  CoffeeNotEnabled,
953
955
  CoffeeOfEnabled,
954
956
  CoffeePrototypeEnabled,
957
+ ObjectIsEnabled,
955
958
  Reset,
956
959
  Init,
957
960
  Indent,
@@ -970,169 +973,170 @@ ${input.slice(result.pos)}
970
973
  var $L5 = $L("=>");
971
974
  var $L6 = $L(" ");
972
975
  var $L7 = $L("implements");
973
- var $L8 = $L("#");
974
- var $L9 = $L("super");
975
- var $L10 = $L("import");
976
- var $L11 = $L("!");
977
- var $L12 = $L("super[");
978
- var $L13 = $L("import.meta");
979
- var $L14 = $L("");
980
- var $L15 = $L(")");
981
- var $L16 = $L("->");
982
- var $L17 = $L("}");
983
- var $L18 = $L("null");
984
- var $L19 = $L("true");
985
- var $L20 = $L("false");
986
- var $L21 = $L("yes");
987
- var $L22 = $L("on");
988
- var $L23 = $L("no");
989
- var $L24 = $L("off");
990
- var $L25 = $L(",");
991
- var $L26 = $L("=");
992
- var $L27 = $L(">");
993
- var $L28 = $L("]");
994
- var $L29 = $L(":");
995
- var $L30 = $L("**=");
996
- var $L31 = $L("*=");
997
- var $L32 = $L("/=");
998
- var $L33 = $L("%=");
999
- var $L34 = $L("+=");
1000
- var $L35 = $L("-=");
1001
- var $L36 = $L("<<=");
1002
- var $L37 = $L(">>>=");
1003
- var $L38 = $L(">>=");
1004
- var $L39 = $L("&&=");
1005
- var $L40 = $L("&=");
1006
- var $L41 = $L("^=");
1007
- var $L42 = $L("||=");
1008
- var $L43 = $L("|=");
1009
- var $L44 = $L("??=");
1010
- var $L45 = $L("?=");
1011
- var $L46 = $L("and=");
1012
- var $L47 = $L("or=");
1013
- var $L48 = $L("**");
1014
- var $L49 = $L("*");
1015
- var $L50 = $L("/");
1016
- var $L51 = $L("%%");
1017
- var $L52 = $L("%");
1018
- var $L53 = $L("+");
1019
- var $L54 = $L("-");
1020
- var $L55 = $L("<=");
1021
- var $L56 = $L(">=");
1022
- var $L57 = $L("<?");
1023
- var $L58 = $L("<<");
1024
- var $L59 = $L(">>>");
1025
- var $L60 = $L(">>");
1026
- var $L61 = $L("!==");
1027
- var $L62 = $L("!=");
1028
- var $L63 = $L("isnt");
1029
- var $L64 = $L("===");
1030
- var $L65 = $L("==");
1031
- var $L66 = $L("and");
1032
- var $L67 = $L("&&");
1033
- var $L68 = $L("of");
1034
- var $L69 = $L("or");
1035
- var $L70 = $L("||");
1036
- var $L71 = $L("??");
1037
- var $L72 = $L("instanceof");
1038
- var $L73 = $L("not");
1039
- var $L74 = $L("in");
1040
- var $L75 = $L("is");
1041
- var $L76 = $L("&");
1042
- var $L77 = $L("^");
1043
- var $L78 = $L("|");
1044
- var $L79 = $L(";");
1045
- var $L80 = $L("own");
1046
- var $L81 = $L("finally");
1047
- var $L82 = $L("break");
1048
- var $L83 = $L("continue");
1049
- var $L84 = $L("debugger");
1050
- var $L85 = $L("assert");
1051
- var $L86 = $L(":=");
1052
- var $L87 = $L(".=");
1053
- var $L88 = $L("/*");
1054
- var $L89 = $L("*/");
1055
- var $L90 = $L("\\");
1056
- var $L91 = $L("abstract");
1057
- var $L92 = $L("as");
1058
- var $L93 = $L("@");
1059
- var $L94 = $L("@@");
1060
- var $L95 = $L("async");
1061
- var $L96 = $L("await");
1062
- var $L97 = $L("`");
1063
- var $L98 = $L("by");
1064
- var $L99 = $L("case");
1065
- var $L100 = $L("catch");
1066
- var $L101 = $L("class");
1067
- var $L102 = $L("#{");
1068
- var $L103 = $L("declare");
1069
- var $L104 = $L("default");
1070
- var $L105 = $L("delete");
1071
- var $L106 = $L("do");
1072
- var $L107 = $L("..");
1073
- var $L108 = $L("...");
1074
- var $L109 = $L("::");
1075
- var $L110 = $L('"');
1076
- var $L111 = $L("else");
1077
- var $L112 = $L("export");
1078
- var $L113 = $L("extends");
1079
- var $L114 = $L("for");
1080
- var $L115 = $L("from");
1081
- var $L116 = $L("function");
1082
- var $L117 = $L("get");
1083
- var $L118 = $L("set");
1084
- var $L119 = $L("if");
1085
- var $L120 = $L("let");
1086
- var $L121 = $L("const");
1087
- var $L122 = $L("loop");
1088
- var $L123 = $L("new");
1089
- var $L124 = $L("<");
1090
- var $L125 = $L("{");
1091
- var $L126 = $L("[");
1092
- var $L127 = $L("(");
1093
- var $L128 = $L("public");
1094
- var $L129 = $L("private");
1095
- var $L130 = $L("protected");
1096
- var $L131 = $L("|>");
1097
- var $L132 = $L("readonly");
1098
- var $L133 = $L("return");
1099
- var $L134 = $L("satisfies");
1100
- var $L135 = $L("'");
1101
- var $L136 = $L("static");
1102
- var $L137 = $L("${");
1103
- var $L138 = $L("switch");
1104
- var $L139 = $L("target");
1105
- var $L140 = $L("then");
1106
- var $L141 = $L("this");
1107
- var $L142 = $L("throw");
1108
- var $L143 = $L('"""');
1109
- var $L144 = $L("'''");
1110
- var $L145 = $L("///");
1111
- var $L146 = $L("```");
1112
- var $L147 = $L("try");
1113
- var $L148 = $L("typeof");
1114
- var $L149 = $L("unless");
1115
- var $L150 = $L("until");
1116
- var $L151 = $L("var");
1117
- var $L152 = $L("void");
1118
- var $L153 = $L("when");
1119
- var $L154 = $L("while");
1120
- var $L155 = $L("yield");
1121
- var $L156 = $L("/>");
1122
- var $L157 = $L("</");
1123
- var $L158 = $L("<>");
1124
- var $L159 = $L("</>");
1125
- var $L160 = $L("<!--");
1126
- var $L161 = $L("-->");
1127
- var $L162 = $L("type");
1128
- var $L163 = $L("interface");
1129
- var $L164 = $L("namespace");
1130
- var $L165 = $L("asserts");
1131
- var $L166 = $L("keyof");
1132
- var $L167 = $L("infer");
1133
- var $L168 = $L("[]");
1134
- var $L169 = $L("civet");
1135
- var $R0 = $R(new RegExp("(as|for|of|satisfies|then|when)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
976
+ var $L8 = $L("<:");
977
+ var $L9 = $L("#");
978
+ var $L10 = $L("super");
979
+ var $L11 = $L("import");
980
+ var $L12 = $L("!");
981
+ var $L13 = $L("super[");
982
+ var $L14 = $L("import.meta");
983
+ var $L15 = $L("");
984
+ var $L16 = $L(")");
985
+ var $L17 = $L("->");
986
+ var $L18 = $L("}");
987
+ var $L19 = $L("null");
988
+ var $L20 = $L("true");
989
+ var $L21 = $L("false");
990
+ var $L22 = $L("yes");
991
+ var $L23 = $L("on");
992
+ var $L24 = $L("no");
993
+ var $L25 = $L("off");
994
+ var $L26 = $L(",");
995
+ var $L27 = $L("=");
996
+ var $L28 = $L(">");
997
+ var $L29 = $L("]");
998
+ var $L30 = $L(":");
999
+ var $L31 = $L("**=");
1000
+ var $L32 = $L("*=");
1001
+ var $L33 = $L("/=");
1002
+ var $L34 = $L("%=");
1003
+ var $L35 = $L("+=");
1004
+ var $L36 = $L("-=");
1005
+ var $L37 = $L("<<=");
1006
+ var $L38 = $L(">>>=");
1007
+ var $L39 = $L(">>=");
1008
+ var $L40 = $L("&&=");
1009
+ var $L41 = $L("&=");
1010
+ var $L42 = $L("^=");
1011
+ var $L43 = $L("||=");
1012
+ var $L44 = $L("|=");
1013
+ var $L45 = $L("??=");
1014
+ var $L46 = $L("?=");
1015
+ var $L47 = $L("and=");
1016
+ var $L48 = $L("or=");
1017
+ var $L49 = $L("**");
1018
+ var $L50 = $L("*");
1019
+ var $L51 = $L("/");
1020
+ var $L52 = $L("%%");
1021
+ var $L53 = $L("%");
1022
+ var $L54 = $L("+");
1023
+ var $L55 = $L("-");
1024
+ var $L56 = $L("<=");
1025
+ var $L57 = $L(">=");
1026
+ var $L58 = $L("<?");
1027
+ var $L59 = $L("<<");
1028
+ var $L60 = $L(">>>");
1029
+ var $L61 = $L(">>");
1030
+ var $L62 = $L("!==");
1031
+ var $L63 = $L("!=");
1032
+ var $L64 = $L("isnt");
1033
+ var $L65 = $L("===");
1034
+ var $L66 = $L("==");
1035
+ var $L67 = $L("and");
1036
+ var $L68 = $L("&&");
1037
+ var $L69 = $L("of");
1038
+ var $L70 = $L("or");
1039
+ var $L71 = $L("||");
1040
+ var $L72 = $L("??");
1041
+ var $L73 = $L("instanceof");
1042
+ var $L74 = $L("not");
1043
+ var $L75 = $L("in");
1044
+ var $L76 = $L("is");
1045
+ var $L77 = $L("&");
1046
+ var $L78 = $L("^");
1047
+ var $L79 = $L("|");
1048
+ var $L80 = $L(";");
1049
+ var $L81 = $L("own");
1050
+ var $L82 = $L("finally");
1051
+ var $L83 = $L("break");
1052
+ var $L84 = $L("continue");
1053
+ var $L85 = $L("debugger");
1054
+ var $L86 = $L("assert");
1055
+ var $L87 = $L(":=");
1056
+ var $L88 = $L(".=");
1057
+ var $L89 = $L("/*");
1058
+ var $L90 = $L("*/");
1059
+ var $L91 = $L("\\");
1060
+ var $L92 = $L("(");
1061
+ var $L93 = $L("[");
1062
+ var $L94 = $L("`");
1063
+ var $L95 = $L("abstract");
1064
+ var $L96 = $L("as");
1065
+ var $L97 = $L("@");
1066
+ var $L98 = $L("@@");
1067
+ var $L99 = $L("async");
1068
+ var $L100 = $L("await");
1069
+ var $L101 = $L("by");
1070
+ var $L102 = $L("case");
1071
+ var $L103 = $L("catch");
1072
+ var $L104 = $L("class");
1073
+ var $L105 = $L("#{");
1074
+ var $L106 = $L("declare");
1075
+ var $L107 = $L("default");
1076
+ var $L108 = $L("delete");
1077
+ var $L109 = $L("do");
1078
+ var $L110 = $L("..");
1079
+ var $L111 = $L("...");
1080
+ var $L112 = $L("::");
1081
+ var $L113 = $L('"');
1082
+ var $L114 = $L("else");
1083
+ var $L115 = $L("export");
1084
+ var $L116 = $L("extends");
1085
+ var $L117 = $L("for");
1086
+ var $L118 = $L("from");
1087
+ var $L119 = $L("function");
1088
+ var $L120 = $L("get");
1089
+ var $L121 = $L("set");
1090
+ var $L122 = $L("if");
1091
+ var $L123 = $L("let");
1092
+ var $L124 = $L("const");
1093
+ var $L125 = $L("loop");
1094
+ var $L126 = $L("new");
1095
+ var $L127 = $L("<");
1096
+ var $L128 = $L("{");
1097
+ var $L129 = $L("public");
1098
+ var $L130 = $L("private");
1099
+ var $L131 = $L("protected");
1100
+ var $L132 = $L("|>");
1101
+ var $L133 = $L("readonly");
1102
+ var $L134 = $L("return");
1103
+ var $L135 = $L("satisfies");
1104
+ var $L136 = $L("'");
1105
+ var $L137 = $L("static");
1106
+ var $L138 = $L("${");
1107
+ var $L139 = $L("switch");
1108
+ var $L140 = $L("target");
1109
+ var $L141 = $L("then");
1110
+ var $L142 = $L("this");
1111
+ var $L143 = $L("throw");
1112
+ var $L144 = $L('"""');
1113
+ var $L145 = $L("'''");
1114
+ var $L146 = $L("///");
1115
+ var $L147 = $L("```");
1116
+ var $L148 = $L("try");
1117
+ var $L149 = $L("typeof");
1118
+ var $L150 = $L("unless");
1119
+ var $L151 = $L("until");
1120
+ var $L152 = $L("var");
1121
+ var $L153 = $L("void");
1122
+ var $L154 = $L("when");
1123
+ var $L155 = $L("while");
1124
+ var $L156 = $L("yield");
1125
+ var $L157 = $L("/>");
1126
+ var $L158 = $L("</");
1127
+ var $L159 = $L("<>");
1128
+ var $L160 = $L("</>");
1129
+ var $L161 = $L("<!--");
1130
+ var $L162 = $L("-->");
1131
+ var $L163 = $L("type");
1132
+ var $L164 = $L("interface");
1133
+ var $L165 = $L("namespace");
1134
+ var $L166 = $L("asserts");
1135
+ var $L167 = $L("keyof");
1136
+ var $L168 = $L("infer");
1137
+ var $L169 = $L("[]");
1138
+ var $L170 = $L("civet");
1139
+ var $R0 = $R(new RegExp("(as|for|of|satisfies|then|when|implements)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
1136
1140
  var $R1 = $R(new RegExp("[&]", "suy"));
1137
1141
  var $R2 = $R(new RegExp("[!~+-]+", "suy"));
1138
1142
  var $R3 = $R(new RegExp("(?:\\p{ID_Start}|[_$])(?:\\p{ID_Continue}|[\\u200C\\u200D$])*", "suy"));
@@ -1180,16 +1184,17 @@ ${input.slice(result.pos)}
1180
1184
  var $R45 = $R(new RegExp("\\s", "suy"));
1181
1185
  var $R46 = $R(new RegExp("(?:\\p{ID_Start}|[_$])(?:\\p{ID_Continue}|[\\u200C\\u200D$-])*", "suy"));
1182
1186
  var $R47 = $R(new RegExp("(?:[\\w\\-:]+|\\([^()]*\\)|\\[[^\\[\\]]*\\])+", "suy"));
1183
- var $R48 = $R(new RegExp("(?:-[^-]|[^-]*)*", "suy"));
1184
- var $R49 = $R(new RegExp("[^{}<>\\r\\n]+", "suy"));
1185
- var $R50 = $R(new RegExp("[+-]?", "suy"));
1186
- var $R51 = $R(new RegExp("[+-]", "suy"));
1187
- var $R52 = $R(new RegExp("#![^\\r\\n]*", "suy"));
1188
- var $R53 = $R(new RegExp("[\\t ]*", "suy"));
1189
- var $R54 = $R(new RegExp("[\\s]*", "suy"));
1190
- var $R55 = $R(new RegExp("\\s+([+-]?)([a-zA-Z0-9-]+)(\\s*=\\s*([a-zA-Z0-9.+-]*))?", "suy"));
1191
- var $R56 = $R(new RegExp("\\r\\n|\\n|\\r|$", "suy"));
1192
- var $R57 = $R(new RegExp("[ \\t]*", "suy"));
1187
+ var $R48 = $R(new RegExp("[<>]", "suy"));
1188
+ var $R49 = $R(new RegExp("(?:-[^-]|[^-]*)*", "suy"));
1189
+ var $R50 = $R(new RegExp("[^{}<>\\r\\n]+", "suy"));
1190
+ var $R51 = $R(new RegExp("[+-]?", "suy"));
1191
+ var $R52 = $R(new RegExp("[+-]", "suy"));
1192
+ var $R53 = $R(new RegExp("#![^\\r\\n]*", "suy"));
1193
+ var $R54 = $R(new RegExp("[\\t ]*", "suy"));
1194
+ var $R55 = $R(new RegExp("[\\s]*", "suy"));
1195
+ var $R56 = $R(new RegExp("\\s+([+-]?)([a-zA-Z0-9-]+)(\\s*=\\s*([a-zA-Z0-9.+-]*))?", "suy"));
1196
+ var $R57 = $R(new RegExp("\\r\\n|\\n|\\r|$", "suy"));
1197
+ var $R58 = $R(new RegExp("[ \\t]*", "suy"));
1193
1198
  var Program$0 = $TS($S(Reset, Init, __, $Q(TopLevelStatement), __), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
1194
1199
  var statements = $4;
1195
1200
  module2.processProgram(statements);
@@ -1408,7 +1413,7 @@ ${input.slice(result.pos)}
1408
1413
  return result;
1409
1414
  }
1410
1415
  }
1411
- var ImplicitArguments$0 = $TS($S($E($S(TypeArguments, $N($S(__, ImplementsToken)))), ApplicationStart, InsertOpenParen, $Q(_), ArgumentList, InsertCloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
1416
+ var ImplicitArguments$0 = $TS($S($E($S(TypeArguments, $N(ImplementsToken))), ApplicationStart, InsertOpenParen, $Q(_), ArgumentList, InsertCloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
1412
1417
  var ta = $1;
1413
1418
  var open = $3;
1414
1419
  var ws = $4;
@@ -1485,7 +1490,7 @@ ${input.slice(result.pos)}
1485
1490
  return result;
1486
1491
  }
1487
1492
  }
1488
- var ForbiddenImplicitCalls$0 = $R$0($EXPECT($R0, fail, "ForbiddenImplicitCalls /(as|for|of|satisfies|then|when)(?!\\p{ID_Continue}|[\\u200C\\u200D$])/"));
1493
+ var ForbiddenImplicitCalls$0 = $R$0($EXPECT($R0, fail, "ForbiddenImplicitCalls /(as|for|of|satisfies|then|when|implements)(?!\\p{ID_Continue}|[\\u200C\\u200D$])/"));
1489
1494
  var ForbiddenImplicitCalls$1 = $EXPECT($L0, fail, 'ForbiddenImplicitCalls "/ "');
1490
1495
  var ForbiddenImplicitCalls$2 = AtAt;
1491
1496
  function ForbiddenImplicitCalls(state) {
@@ -1510,7 +1515,15 @@ ${input.slice(result.pos)}
1510
1515
  return result;
1511
1516
  }
1512
1517
  }
1513
- var ArgumentsWithTrailingMemberExpressions$0 = $S(Arguments, TrailingMemberExpressions);
1518
+ var ArgumentsWithTrailingMemberExpressions$0 = $TS($S(Arguments, TrailingMemberExpressions), function($skip, $loc, $0, $1, $2) {
1519
+ var args = $1;
1520
+ var trailing = $2;
1521
+ const call = {
1522
+ type: "Call",
1523
+ children: args
1524
+ };
1525
+ return [call, ...trailing];
1526
+ });
1514
1527
  function ArgumentsWithTrailingMemberExpressions(state) {
1515
1528
  let eventData;
1516
1529
  if (state.events) {
@@ -2673,9 +2686,7 @@ ${input.slice(result.pos)}
2673
2686
  if (!ws.length) {
2674
2687
  children.unshift({ $loc: l.$loc, token: " " });
2675
2688
  }
2676
- return {
2677
- children
2678
- };
2689
+ return { children };
2679
2690
  });
2680
2691
  var ExtendsToken$1 = $S(__, Extends);
2681
2692
  function ExtendsToken(state) {
@@ -2730,7 +2741,7 @@ ${input.slice(result.pos)}
2730
2741
  return result;
2731
2742
  }
2732
2743
  }
2733
- var ImplementsClause$0 = $TS($S(__, ImplementsToken, ImplementsTarget, $Q($S(Comma, ImplementsTarget))), function($skip, $loc, $0, $1, $2, $3, $4) {
2744
+ var ImplementsClause$0 = $TS($S(ImplementsToken, ImplementsTarget, $Q($S(Comma, ImplementsTarget))), function($skip, $loc, $0, $1, $2, $3) {
2734
2745
  return {
2735
2746
  ts: true,
2736
2747
  children: $0
@@ -2758,8 +2769,19 @@ ${input.slice(result.pos)}
2758
2769
  return result;
2759
2770
  }
2760
2771
  }
2761
- var ImplementsToken$0 = $TS($S($EXPECT($L7, fail, 'ImplementsToken "implements"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
2762
- return { $loc, token: $1 };
2772
+ var ImplementsToken$0 = $TS($S(Loc, __, ImplementsShorthand, $E($EXPECT($L6, fail, 'ImplementsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
2773
+ var l = $1;
2774
+ var ws = $2;
2775
+ var token = $3;
2776
+ const children = [...ws, token];
2777
+ if (!ws.length) {
2778
+ children.unshift({ $loc: l.$loc, token: " " });
2779
+ }
2780
+ return { children };
2781
+ });
2782
+ var ImplementsToken$1 = $TS($S(__, $EXPECT($L7, fail, 'ImplementsToken "implements"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
2783
+ $2 = { $loc, token: $2 };
2784
+ return [$1, $2];
2763
2785
  });
2764
2786
  function ImplementsToken(state) {
2765
2787
  let eventData;
@@ -2772,17 +2794,42 @@ ${input.slice(result.pos)}
2772
2794
  }
2773
2795
  }
2774
2796
  if (state.tokenize) {
2775
- const result = $TOKEN("ImplementsToken", state, ImplementsToken$0(state));
2797
+ const result = $TOKEN("ImplementsToken", state, ImplementsToken$0(state) || ImplementsToken$1(state));
2776
2798
  if (state.events)
2777
2799
  state.events.exit?.("ImplementsToken", state, result, eventData);
2778
2800
  return result;
2779
2801
  } else {
2780
- const result = ImplementsToken$0(state);
2802
+ const result = ImplementsToken$0(state) || ImplementsToken$1(state);
2781
2803
  if (state.events)
2782
2804
  state.events.exit?.("ImplementsToken", state, result, eventData);
2783
2805
  return result;
2784
2806
  }
2785
2807
  }
2808
+ var ImplementsShorthand$0 = $TV($EXPECT($L8, fail, 'ImplementsShorthand "<:"'), function($skip, $loc, $0, $1) {
2809
+ return { $loc, token: "implements " };
2810
+ });
2811
+ function ImplementsShorthand(state) {
2812
+ let eventData;
2813
+ if (state.events) {
2814
+ const result = state.events.enter?.("ImplementsShorthand", state);
2815
+ if (result) {
2816
+ if (result.cache)
2817
+ return result.cache;
2818
+ eventData = result.data;
2819
+ }
2820
+ }
2821
+ if (state.tokenize) {
2822
+ const result = $TOKEN("ImplementsShorthand", state, ImplementsShorthand$0(state));
2823
+ if (state.events)
2824
+ state.events.exit?.("ImplementsShorthand", state, result, eventData);
2825
+ return result;
2826
+ } else {
2827
+ const result = ImplementsShorthand$0(state);
2828
+ if (state.events)
2829
+ state.events.exit?.("ImplementsShorthand", state, result, eventData);
2830
+ return result;
2831
+ }
2832
+ }
2786
2833
  var ImplementsTarget$0 = $S(__, IdentifierName, $Q($S(Dot, IdentifierName)), $E(TypeArguments));
2787
2834
  function ImplementsTarget(state) {
2788
2835
  let eventData;
@@ -3009,7 +3056,7 @@ ${input.slice(result.pos)}
3009
3056
  }
3010
3057
  }
3011
3058
  var ThisLiteral$0 = This;
3012
- var ThisLiteral$1 = $TS($S(AtThis, $TEXT($S($E($EXPECT($L8, fail, 'ThisLiteral "#"')), IdentifierName))), function($skip, $loc, $0, $1, $2) {
3059
+ var ThisLiteral$1 = $TS($S(AtThis, $TEXT($S($E($EXPECT($L9, fail, 'ThisLiteral "#"')), IdentifierName))), function($skip, $loc, $0, $1, $2) {
3013
3060
  var at = $1;
3014
3061
  var id = $2;
3015
3062
  return [at, ".", id];
@@ -3090,11 +3137,18 @@ ${input.slice(result.pos)}
3090
3137
  return result;
3091
3138
  }
3092
3139
  }
3093
- var CallExpression$0 = $S($EXPECT($L9, fail, 'CallExpression "super"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest));
3094
- var CallExpression$1 = $TS($S($EXPECT($L10, fail, 'CallExpression "import"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3140
+ var CallExpression$0 = $TS($S($EXPECT($L10, fail, 'CallExpression "super"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3141
+ var rest = $3;
3095
3142
  return {
3096
3143
  type: "CallExpression",
3097
- children: $0
3144
+ children: [$1, ...$2, ...rest.flat()]
3145
+ };
3146
+ });
3147
+ var CallExpression$1 = $TS($S($EXPECT($L11, fail, 'CallExpression "import"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3148
+ var rest = $3;
3149
+ return {
3150
+ type: "CallExpression",
3151
+ children: [$1, ...$2, ...rest.flat()]
3098
3152
  };
3099
3153
  });
3100
3154
  var CallExpression$2 = $TS($S(MemberExpression, NonSuppressedTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
@@ -3102,8 +3156,9 @@ ${input.slice(result.pos)}
3102
3156
  var trailing = $2;
3103
3157
  var rest = $3;
3104
3158
  if (rest.length || trailing.length) {
3159
+ rest = rest.flat();
3105
3160
  return {
3106
- type: rest.length ? "CallExpression" : "MemberExpression",
3161
+ type: rest.length && rest[rest.length - 1].type === "Call" ? "CallExpression" : "MemberExpression",
3107
3162
  children: [member, ...trailing, ...rest]
3108
3163
  };
3109
3164
  }
@@ -3133,7 +3188,11 @@ ${input.slice(result.pos)}
3133
3188
  }
3134
3189
  var CallExpressionRest$0 = MemberExpressionRest;
3135
3190
  var CallExpressionRest$1 = TemplateLiteral;
3136
- var CallExpressionRest$2 = $S($E($C(OptionalShorthand, NonNullAssertion)), ArgumentsWithTrailingMemberExpressions);
3191
+ var CallExpressionRest$2 = $TS($S($E($C(OptionalShorthand, NonNullAssertion)), ArgumentsWithTrailingMemberExpressions), function($skip, $loc, $0, $1, $2) {
3192
+ if (!$1)
3193
+ return $2;
3194
+ return [$1, ...$2];
3195
+ });
3137
3196
  function CallExpressionRest(state) {
3138
3197
  let eventData;
3139
3198
  if (state.events) {
@@ -3156,7 +3215,12 @@ ${input.slice(result.pos)}
3156
3215
  return result;
3157
3216
  }
3158
3217
  }
3159
- var OptionalShorthand$0 = $S(QuestionMark, $C(Dot, InsertDot));
3218
+ var OptionalShorthand$0 = $TS($S(QuestionMark, $C(Dot, InsertDot)), function($skip, $loc, $0, $1, $2) {
3219
+ return {
3220
+ type: "Optional",
3221
+ children: $0
3222
+ };
3223
+ });
3160
3224
  function OptionalShorthand(state) {
3161
3225
  let eventData;
3162
3226
  if (state.events) {
@@ -3179,8 +3243,8 @@ ${input.slice(result.pos)}
3179
3243
  return result;
3180
3244
  }
3181
3245
  }
3182
- var NonNullAssertion$0 = $T($EXPECT($L11, fail, 'NonNullAssertion "!"'), function(value) {
3183
- return { "ts": true, "children": value };
3246
+ var NonNullAssertion$0 = $T($EXPECT($L12, fail, 'NonNullAssertion "!"'), function(value) {
3247
+ return { "type": "NonNullAssertion", "ts": true, "children": value };
3184
3248
  });
3185
3249
  function NonNullAssertion(state) {
3186
3250
  let eventData;
@@ -3240,8 +3304,8 @@ ${input.slice(result.pos)}
3240
3304
  }
3241
3305
  var MemberExpressionRest$0 = $TS($S($E($C(OptionalShorthand, NonNullAssertion)), MemberBracketContent), function($skip, $loc, $0, $1, $2) {
3242
3306
  if ($1) {
3243
- if ($1.length === 2 && $2.type === "SliceExpression") {
3244
- return [$1[0], $2];
3307
+ if ($1.type === "Optional" && $2.type === "SliceExpression") {
3308
+ return [$1.children[0], $2];
3245
3309
  }
3246
3310
  return $0;
3247
3311
  }
@@ -3291,6 +3355,15 @@ ${input.slice(result.pos)}
3291
3355
  }
3292
3356
  return $0;
3293
3357
  });
3358
+ var MemberBracketContent$1 = $TS($S(Dot, $C(StringLiteral, TemplateLiteral)), function($skip, $loc, $0, $1, $2) {
3359
+ var dot = $1;
3360
+ var str = $2;
3361
+ return [
3362
+ { token: "[", $loc: dot.$loc },
3363
+ str,
3364
+ "]"
3365
+ ];
3366
+ });
3294
3367
  function MemberBracketContent(state) {
3295
3368
  let eventData;
3296
3369
  if (state.events) {
@@ -3302,12 +3375,12 @@ ${input.slice(result.pos)}
3302
3375
  }
3303
3376
  }
3304
3377
  if (state.tokenize) {
3305
- const result = $TOKEN("MemberBracketContent", state, MemberBracketContent$0(state));
3378
+ const result = $TOKEN("MemberBracketContent", state, MemberBracketContent$0(state) || MemberBracketContent$1(state));
3306
3379
  if (state.events)
3307
3380
  state.events.exit?.("MemberBracketContent", state, result, eventData);
3308
3381
  return result;
3309
3382
  } else {
3310
- const result = MemberBracketContent$0(state);
3383
+ const result = MemberBracketContent$0(state) || MemberBracketContent$1(state);
3311
3384
  if (state.events)
3312
3385
  state.events.exit?.("MemberBracketContent", state, result, eventData);
3313
3386
  return result;
@@ -3388,6 +3461,7 @@ ${input.slice(result.pos)}
3388
3461
  children.unshift($1);
3389
3462
  return {
3390
3463
  type: "PropertyAccess",
3464
+ name: id.name,
3391
3465
  children
3392
3466
  };
3393
3467
  });
@@ -3423,8 +3497,8 @@ ${input.slice(result.pos)}
3423
3497
  return result;
3424
3498
  }
3425
3499
  }
3426
- var SuperProperty$0 = $S($EXPECT($L12, fail, 'SuperProperty "super["'), ExtendedExpression, __, CloseBracket);
3427
- var SuperProperty$1 = $S($EXPECT($L9, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
3500
+ var SuperProperty$0 = $S($EXPECT($L13, fail, 'SuperProperty "super["'), ExtendedExpression, __, CloseBracket);
3501
+ var SuperProperty$1 = $S($EXPECT($L10, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
3428
3502
  function SuperProperty(state) {
3429
3503
  let eventData;
3430
3504
  if (state.events) {
@@ -3448,7 +3522,7 @@ ${input.slice(result.pos)}
3448
3522
  }
3449
3523
  }
3450
3524
  var MetaProperty$0 = $S(New, Dot, Target);
3451
- var MetaProperty$1 = $TS($S($EXPECT($L13, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
3525
+ var MetaProperty$1 = $TS($S($EXPECT($L14, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
3452
3526
  return { $loc, token: $1 };
3453
3527
  });
3454
3528
  function MetaProperty(state) {
@@ -3474,7 +3548,7 @@ ${input.slice(result.pos)}
3474
3548
  }
3475
3549
  }
3476
3550
  var Parameters$0 = NonEmptyParameters;
3477
- var Parameters$1 = $TV($EXPECT($L14, fail, 'Parameters ""'), function($skip, $loc, $0, $1) {
3551
+ var Parameters$1 = $TV($EXPECT($L15, fail, 'Parameters ""'), function($skip, $loc, $0, $1) {
3478
3552
  return {
3479
3553
  type: "Parameters",
3480
3554
  children: [{ $loc, token: "()" }],
@@ -3635,7 +3709,7 @@ ${input.slice(result.pos)}
3635
3709
  }
3636
3710
  }
3637
3711
  var ParameterElementDelimiter$0 = $S($Q(_), Comma);
3638
- var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L15, fail, 'ParameterElementDelimiter ")"')));
3712
+ var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L16, fail, 'ParameterElementDelimiter ")"')));
3639
3713
  var ParameterElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
3640
3714
  return value[1];
3641
3715
  });
@@ -4293,7 +4367,7 @@ ${input.slice(result.pos)}
4293
4367
  return result;
4294
4368
  }
4295
4369
  }
4296
- var EmptyBindingPattern$0 = $TV($EXPECT($L14, fail, 'EmptyBindingPattern ""'), function($skip, $loc, $0, $1) {
4370
+ var EmptyBindingPattern$0 = $TV($EXPECT($L15, fail, 'EmptyBindingPattern ""'), function($skip, $loc, $0, $1) {
4297
4371
  const ref = {
4298
4372
  type: "Ref",
4299
4373
  base: "ref",
@@ -4569,7 +4643,7 @@ ${input.slice(result.pos)}
4569
4643
  return result;
4570
4644
  }
4571
4645
  }
4572
- var Arrow$0 = $TV($EXPECT($L16, fail, 'Arrow "->"'), function($skip, $loc, $0, $1) {
4646
+ var Arrow$0 = $TV($EXPECT($L17, fail, 'Arrow "->"'), function($skip, $loc, $0, $1) {
4573
4647
  return { $loc, token: $1 };
4574
4648
  });
4575
4649
  function Arrow(state) {
@@ -4594,7 +4668,17 @@ ${input.slice(result.pos)}
4594
4668
  return result;
4595
4669
  }
4596
4670
  }
4597
- var ExplicitBlock$0 = $TS($S(__, OpenBrace, NestedBlockStatements, __, CloseBrace), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
4671
+ var ExplicitBlock$0 = $TS($S(__, OpenBrace, __, CloseBrace), function($skip, $loc, $0, $1, $2, $3, $4) {
4672
+ const expressions = [];
4673
+ return {
4674
+ type: "BlockStatement",
4675
+ expressions,
4676
+ children: [$1, expressions, $2],
4677
+ bare: false,
4678
+ empty: true
4679
+ };
4680
+ });
4681
+ var ExplicitBlock$1 = $TS($S(__, OpenBrace, NestedBlockStatements, __, CloseBrace), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
4598
4682
  var block = $3;
4599
4683
  return Object.assign({}, block, {
4600
4684
  children: [$1, $2, ...block.children, $4, $5],
@@ -4612,12 +4696,12 @@ ${input.slice(result.pos)}
4612
4696
  }
4613
4697
  }
4614
4698
  if (state.tokenize) {
4615
- const result = $TOKEN("ExplicitBlock", state, ExplicitBlock$0(state));
4699
+ const result = $TOKEN("ExplicitBlock", state, ExplicitBlock$0(state) || ExplicitBlock$1(state));
4616
4700
  if (state.events)
4617
4701
  state.events.exit?.("ExplicitBlock", state, result, eventData);
4618
4702
  return result;
4619
4703
  } else {
4620
- const result = ExplicitBlock$0(state);
4704
+ const result = ExplicitBlock$0(state) || ExplicitBlock$1(state);
4621
4705
  if (state.events)
4622
4706
  state.events.exit?.("ExplicitBlock", state, result, eventData);
4623
4707
  return result;
@@ -4743,7 +4827,8 @@ ${input.slice(result.pos)}
4743
4827
  type: "BlockStatement",
4744
4828
  expressions,
4745
4829
  children: [$1, expressions, $2],
4746
- bare: false
4830
+ bare: false,
4831
+ empty: true
4747
4832
  };
4748
4833
  });
4749
4834
  function EmptyBlock(state) {
@@ -4792,6 +4877,8 @@ ${input.slice(result.pos)}
4792
4877
  var s = $3;
4793
4878
  var ws = $4;
4794
4879
  var c = $5;
4880
+ if (!s.children.length)
4881
+ return $skip;
4795
4882
  return {
4796
4883
  type: "BlockStatement",
4797
4884
  expressions: s.expressions,
@@ -4864,7 +4951,7 @@ ${input.slice(result.pos)}
4864
4951
  children: [$1, expressions]
4865
4952
  };
4866
4953
  });
4867
- var BracedContent$2 = $TV($Y($S(__, $EXPECT($L17, fail, 'BracedContent "}"'))), function($skip, $loc, $0, $1) {
4954
+ var BracedContent$2 = $TV($Y($S(__, $EXPECT($L18, fail, 'BracedContent "}"'))), function($skip, $loc, $0, $1) {
4868
4955
  const expressions = [];
4869
4956
  return {
4870
4957
  type: "BlockStatement",
@@ -5009,7 +5096,7 @@ ${input.slice(result.pos)}
5009
5096
  return result;
5010
5097
  }
5011
5098
  }
5012
- var NullLiteral$0 = $TS($S($EXPECT($L18, fail, 'NullLiteral "null"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5099
+ var NullLiteral$0 = $TS($S($EXPECT($L19, fail, 'NullLiteral "null"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5013
5100
  return { $loc, token: $1 };
5014
5101
  });
5015
5102
  function NullLiteral(state) {
@@ -5037,7 +5124,7 @@ ${input.slice(result.pos)}
5037
5124
  var BooleanLiteral$0 = $T($S(CoffeeBooleansEnabled, CoffeeScriptBooleanLiteral), function(value) {
5038
5125
  return value[1];
5039
5126
  });
5040
- var BooleanLiteral$1 = $TS($S($C($EXPECT($L19, fail, 'BooleanLiteral "true"'), $EXPECT($L20, fail, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5127
+ var BooleanLiteral$1 = $TS($S($C($EXPECT($L20, fail, 'BooleanLiteral "true"'), $EXPECT($L21, fail, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5041
5128
  return { $loc, token: $1 };
5042
5129
  });
5043
5130
  function BooleanLiteral(state) {
@@ -5062,10 +5149,10 @@ ${input.slice(result.pos)}
5062
5149
  return result;
5063
5150
  }
5064
5151
  }
5065
- var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L21, fail, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L22, fail, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5152
+ var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L22, fail, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L23, fail, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5066
5153
  return { $loc, token: "true" };
5067
5154
  });
5068
- var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($L23, fail, 'CoffeeScriptBooleanLiteral "no"'), $EXPECT($L24, fail, 'CoffeeScriptBooleanLiteral "off"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5155
+ var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($L24, fail, 'CoffeeScriptBooleanLiteral "no"'), $EXPECT($L25, fail, 'CoffeeScriptBooleanLiteral "off"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5069
5156
  return { $loc, token: "false" };
5070
5157
  });
5071
5158
  function CoffeeScriptBooleanLiteral(state) {
@@ -5090,7 +5177,7 @@ ${input.slice(result.pos)}
5090
5177
  return result;
5091
5178
  }
5092
5179
  }
5093
- var Comma$0 = $TV($EXPECT($L25, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
5180
+ var Comma$0 = $TV($EXPECT($L26, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
5094
5181
  return { $loc, token: $1 };
5095
5182
  });
5096
5183
  function Comma(state) {
@@ -5196,7 +5283,7 @@ ${input.slice(result.pos)}
5196
5283
  return result;
5197
5284
  }
5198
5285
  }
5199
- var UpcomingAssignment$0 = $Y($S(__, $EXPECT($L26, fail, 'UpcomingAssignment "="'), $N($C($EXPECT($L26, fail, 'UpcomingAssignment "="'), $EXPECT($L27, fail, 'UpcomingAssignment ">"')))));
5286
+ var UpcomingAssignment$0 = $Y($S(__, $EXPECT($L27, fail, 'UpcomingAssignment "="'), $N($C($EXPECT($L27, fail, 'UpcomingAssignment "="'), $EXPECT($L28, fail, 'UpcomingAssignment ">"')))));
5200
5287
  function UpcomingAssignment(state) {
5201
5288
  let eventData;
5202
5289
  if (state.events) {
@@ -5469,7 +5556,7 @@ ${input.slice(result.pos)}
5469
5556
  }
5470
5557
  }
5471
5558
  var ArrayElementDelimiter$0 = $S(__, Comma);
5472
- var ArrayElementDelimiter$1 = $Y($S(__, $EXPECT($L28, fail, 'ArrayElementDelimiter "]"')));
5559
+ var ArrayElementDelimiter$1 = $Y($S(__, $EXPECT($L29, fail, 'ArrayElementDelimiter "]"')));
5473
5560
  var ArrayElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
5474
5561
  return value[1];
5475
5562
  });
@@ -5894,7 +5981,7 @@ ${input.slice(result.pos)}
5894
5981
  var ImplicitInlineObjectPropertyDelimiter$1 = $T($S($Y($S($C(Samedent, $Q(_)), NamedProperty)), InsertComma), function(value) {
5895
5982
  return value[1];
5896
5983
  });
5897
- 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) {
5984
+ var ImplicitInlineObjectPropertyDelimiter$2 = $T($Y($S(__, $C($EXPECT($L30, fail, 'ImplicitInlineObjectPropertyDelimiter ":"'), $EXPECT($L16, fail, 'ImplicitInlineObjectPropertyDelimiter ")"'), $EXPECT($L29, fail, 'ImplicitInlineObjectPropertyDelimiter "]"'), $EXPECT($L18, fail, 'ImplicitInlineObjectPropertyDelimiter "}"'), ReservedWord))), function(value) {
5898
5985
  return "";
5899
5986
  });
5900
5987
  var ImplicitInlineObjectPropertyDelimiter$3 = $T($Y(EOS), function(value) {
@@ -5923,7 +6010,7 @@ ${input.slice(result.pos)}
5923
6010
  }
5924
6011
  }
5925
6012
  var ObjectPropertyDelimiter$0 = $S($Q(_), Comma);
5926
- var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L17, fail, 'ObjectPropertyDelimiter "}"')));
6013
+ var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L18, fail, 'ObjectPropertyDelimiter "}"')));
5927
6014
  var ObjectPropertyDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
5928
6015
  return value[1];
5929
6016
  });
@@ -6016,6 +6103,8 @@ ${input.slice(result.pos)}
6016
6103
  var PropertyDefinition$3 = $TS($S(__, MethodDefinition), function($skip, $loc, $0, $1, $2) {
6017
6104
  var ws = $1;
6018
6105
  var def = $2;
6106
+ if (def.block.empty)
6107
+ return $skip;
6019
6108
  return {
6020
6109
  ...def,
6021
6110
  children: [...ws, ...def.children]
@@ -6032,10 +6121,31 @@ ${input.slice(result.pos)}
6032
6121
  value: [dots, exp]
6033
6122
  };
6034
6123
  });
6035
- var PropertyDefinition$5 = $TS($S(__, IdentifierReference), function($skip, $loc, $0, $1, $2) {
6124
+ var PropertyDefinition$5 = $TS($S(__, CallExpression), function($skip, $loc, $0, $1, $2) {
6036
6125
  var ws = $1;
6037
- var id = $2;
6038
- return { ...id, children: [...ws, ...id.children] };
6126
+ var value = $2;
6127
+ if (value.type === "Identifier") {
6128
+ return { ...value, children: [...ws, ...value.children] };
6129
+ }
6130
+ let exp = value, children, i;
6131
+ do {
6132
+ ({ children } = exp);
6133
+ i = children.length - 1;
6134
+ while (i >= 0 && (children[i].type === "Call" || children[i].type === "NonNullAssertion" || children[i].type === "Optional"))
6135
+ i--;
6136
+ if (i < 0)
6137
+ return $skip;
6138
+ } while (children[i].type === "MemberExpression" && (exp = children[i]));
6139
+ const { name } = children[i];
6140
+ if (!name)
6141
+ return $skip;
6142
+ return {
6143
+ type: "Property",
6144
+ children: [ws, name, ": ", value],
6145
+ name,
6146
+ value,
6147
+ names: []
6148
+ };
6039
6149
  });
6040
6150
  function PropertyDefinition(state) {
6041
6151
  let eventData;
@@ -6366,7 +6476,7 @@ ${input.slice(result.pos)}
6366
6476
  return result;
6367
6477
  }
6368
6478
  }
6369
- var PrivateIdentifier$0 = $TV($TEXT($S($EXPECT($L8, fail, 'PrivateIdentifier "#"'), IdentifierName)), function($skip, $loc, $0, $1) {
6479
+ var PrivateIdentifier$0 = $TV($TEXT($S($EXPECT($L9, fail, 'PrivateIdentifier "#"'), IdentifierName)), function($skip, $loc, $0, $1) {
6370
6480
  return {
6371
6481
  type: "Identifier",
6372
6482
  name: $0,
@@ -6430,25 +6540,25 @@ ${input.slice(result.pos)}
6430
6540
  return result;
6431
6541
  }
6432
6542
  }
6433
- var AssignmentOpSymbol$0 = $EXPECT($L30, fail, 'AssignmentOpSymbol "**="');
6434
- var AssignmentOpSymbol$1 = $EXPECT($L31, fail, 'AssignmentOpSymbol "*="');
6435
- var AssignmentOpSymbol$2 = $EXPECT($L32, fail, 'AssignmentOpSymbol "/="');
6436
- var AssignmentOpSymbol$3 = $EXPECT($L33, fail, 'AssignmentOpSymbol "%="');
6437
- var AssignmentOpSymbol$4 = $EXPECT($L34, fail, 'AssignmentOpSymbol "+="');
6438
- var AssignmentOpSymbol$5 = $EXPECT($L35, fail, 'AssignmentOpSymbol "-="');
6439
- var AssignmentOpSymbol$6 = $EXPECT($L36, fail, 'AssignmentOpSymbol "<<="');
6440
- var AssignmentOpSymbol$7 = $EXPECT($L37, fail, 'AssignmentOpSymbol ">>>="');
6441
- var AssignmentOpSymbol$8 = $EXPECT($L38, fail, 'AssignmentOpSymbol ">>="');
6442
- var AssignmentOpSymbol$9 = $EXPECT($L39, fail, 'AssignmentOpSymbol "&&="');
6443
- var AssignmentOpSymbol$10 = $EXPECT($L40, fail, 'AssignmentOpSymbol "&="');
6444
- var AssignmentOpSymbol$11 = $EXPECT($L41, fail, 'AssignmentOpSymbol "^="');
6445
- var AssignmentOpSymbol$12 = $EXPECT($L42, fail, 'AssignmentOpSymbol "||="');
6446
- var AssignmentOpSymbol$13 = $EXPECT($L43, fail, 'AssignmentOpSymbol "|="');
6447
- var AssignmentOpSymbol$14 = $EXPECT($L44, fail, 'AssignmentOpSymbol "??="');
6448
- var AssignmentOpSymbol$15 = $T($EXPECT($L45, fail, 'AssignmentOpSymbol "?="'), function(value) {
6543
+ var AssignmentOpSymbol$0 = $EXPECT($L31, fail, 'AssignmentOpSymbol "**="');
6544
+ var AssignmentOpSymbol$1 = $EXPECT($L32, fail, 'AssignmentOpSymbol "*="');
6545
+ var AssignmentOpSymbol$2 = $EXPECT($L33, fail, 'AssignmentOpSymbol "/="');
6546
+ var AssignmentOpSymbol$3 = $EXPECT($L34, fail, 'AssignmentOpSymbol "%="');
6547
+ var AssignmentOpSymbol$4 = $EXPECT($L35, fail, 'AssignmentOpSymbol "+="');
6548
+ var AssignmentOpSymbol$5 = $EXPECT($L36, fail, 'AssignmentOpSymbol "-="');
6549
+ var AssignmentOpSymbol$6 = $EXPECT($L37, fail, 'AssignmentOpSymbol "<<="');
6550
+ var AssignmentOpSymbol$7 = $EXPECT($L38, fail, 'AssignmentOpSymbol ">>>="');
6551
+ var AssignmentOpSymbol$8 = $EXPECT($L39, fail, 'AssignmentOpSymbol ">>="');
6552
+ var AssignmentOpSymbol$9 = $EXPECT($L40, fail, 'AssignmentOpSymbol "&&="');
6553
+ var AssignmentOpSymbol$10 = $EXPECT($L41, fail, 'AssignmentOpSymbol "&="');
6554
+ var AssignmentOpSymbol$11 = $EXPECT($L42, fail, 'AssignmentOpSymbol "^="');
6555
+ var AssignmentOpSymbol$12 = $EXPECT($L43, fail, 'AssignmentOpSymbol "||="');
6556
+ var AssignmentOpSymbol$13 = $EXPECT($L44, fail, 'AssignmentOpSymbol "|="');
6557
+ var AssignmentOpSymbol$14 = $EXPECT($L45, fail, 'AssignmentOpSymbol "??="');
6558
+ var AssignmentOpSymbol$15 = $T($EXPECT($L46, fail, 'AssignmentOpSymbol "?="'), function(value) {
6449
6559
  return "??=";
6450
6560
  });
6451
- var AssignmentOpSymbol$16 = $T($S($EXPECT($L26, fail, 'AssignmentOpSymbol "="'), $N($EXPECT($L26, fail, 'AssignmentOpSymbol "="'))), function(value) {
6561
+ var AssignmentOpSymbol$16 = $T($S($EXPECT($L27, fail, 'AssignmentOpSymbol "="'), $N($EXPECT($L27, fail, 'AssignmentOpSymbol "="'))), function(value) {
6452
6562
  return value[0];
6453
6563
  });
6454
6564
  var AssignmentOpSymbol$17 = $T($S(CoffeeWordAssignmentOp), function(value) {
@@ -6476,10 +6586,10 @@ ${input.slice(result.pos)}
6476
6586
  return result;
6477
6587
  }
6478
6588
  }
6479
- var CoffeeWordAssignmentOp$0 = $T($EXPECT($L46, fail, 'CoffeeWordAssignmentOp "and="'), function(value) {
6589
+ var CoffeeWordAssignmentOp$0 = $T($EXPECT($L47, fail, 'CoffeeWordAssignmentOp "and="'), function(value) {
6480
6590
  return "&&=";
6481
6591
  });
6482
- var CoffeeWordAssignmentOp$1 = $T($EXPECT($L47, fail, 'CoffeeWordAssignmentOp "or="'), function(value) {
6592
+ var CoffeeWordAssignmentOp$1 = $T($EXPECT($L48, fail, 'CoffeeWordAssignmentOp "or="'), function(value) {
6483
6593
  return "||=";
6484
6594
  });
6485
6595
  function CoffeeWordAssignmentOp(state) {
@@ -6531,74 +6641,80 @@ ${input.slice(result.pos)}
6531
6641
  return result;
6532
6642
  }
6533
6643
  }
6534
- var BinaryOpSymbol$0 = $EXPECT($L48, fail, 'BinaryOpSymbol "**"');
6535
- var BinaryOpSymbol$1 = $EXPECT($L49, fail, 'BinaryOpSymbol "*"');
6536
- var BinaryOpSymbol$2 = $EXPECT($L50, fail, 'BinaryOpSymbol "/"');
6537
- var BinaryOpSymbol$3 = $TV($EXPECT($L51, fail, 'BinaryOpSymbol "%%"'), function($skip, $loc, $0, $1) {
6644
+ var BinaryOpSymbol$0 = $EXPECT($L49, fail, 'BinaryOpSymbol "**"');
6645
+ var BinaryOpSymbol$1 = $EXPECT($L50, fail, 'BinaryOpSymbol "*"');
6646
+ var BinaryOpSymbol$2 = $EXPECT($L51, fail, 'BinaryOpSymbol "/"');
6647
+ var BinaryOpSymbol$3 = $TV($EXPECT($L52, fail, 'BinaryOpSymbol "%%"'), function($skip, $loc, $0, $1) {
6538
6648
  return {
6539
6649
  call: module2.getRef("modulo"),
6540
6650
  special: true
6541
6651
  };
6542
6652
  });
6543
- var BinaryOpSymbol$4 = $EXPECT($L52, fail, 'BinaryOpSymbol "%"');
6544
- var BinaryOpSymbol$5 = $EXPECT($L53, fail, 'BinaryOpSymbol "+"');
6545
- var BinaryOpSymbol$6 = $EXPECT($L54, fail, 'BinaryOpSymbol "-"');
6546
- var BinaryOpSymbol$7 = $EXPECT($L55, fail, 'BinaryOpSymbol "<="');
6547
- var BinaryOpSymbol$8 = $EXPECT($L56, fail, 'BinaryOpSymbol ">="');
6548
- var BinaryOpSymbol$9 = $TS($S($EXPECT($L57, fail, 'BinaryOpSymbol "<?"'), $E($EXPECT($L6, fail, 'BinaryOpSymbol " "'))), function($skip, $loc, $0, $1, $2) {
6549
- return "instanceof ";
6653
+ var BinaryOpSymbol$4 = $EXPECT($L53, fail, 'BinaryOpSymbol "%"');
6654
+ var BinaryOpSymbol$5 = $EXPECT($L54, fail, 'BinaryOpSymbol "+"');
6655
+ var BinaryOpSymbol$6 = $EXPECT($L55, fail, 'BinaryOpSymbol "-"');
6656
+ var BinaryOpSymbol$7 = $EXPECT($L56, fail, 'BinaryOpSymbol "<="');
6657
+ var BinaryOpSymbol$8 = $EXPECT($L57, fail, 'BinaryOpSymbol ">="');
6658
+ var BinaryOpSymbol$9 = $TV($EXPECT($L58, fail, 'BinaryOpSymbol "<?"'), function($skip, $loc, $0, $1) {
6659
+ return {
6660
+ $loc,
6661
+ token: "instanceof",
6662
+ relational: true,
6663
+ special: true
6664
+ };
6550
6665
  });
6551
- var BinaryOpSymbol$10 = $EXPECT($L58, fail, 'BinaryOpSymbol "<<"');
6666
+ var BinaryOpSymbol$10 = $EXPECT($L59, fail, 'BinaryOpSymbol "<<"');
6552
6667
  var BinaryOpSymbol$11 = $TR($EXPECT($R5, fail, "BinaryOpSymbol /<(?!\\p{ID_Start}|[_$])/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
6553
6668
  return "<";
6554
6669
  });
6555
- var BinaryOpSymbol$12 = $EXPECT($L59, fail, 'BinaryOpSymbol ">>>"');
6556
- var BinaryOpSymbol$13 = $EXPECT($L60, fail, 'BinaryOpSymbol ">>"');
6557
- var BinaryOpSymbol$14 = $EXPECT($L27, fail, 'BinaryOpSymbol ">"');
6558
- var BinaryOpSymbol$15 = $EXPECT($L61, fail, 'BinaryOpSymbol "!=="');
6559
- var BinaryOpSymbol$16 = $TV($EXPECT($L62, fail, 'BinaryOpSymbol "!="'), function($skip, $loc, $0, $1) {
6670
+ var BinaryOpSymbol$12 = $EXPECT($L60, fail, 'BinaryOpSymbol ">>>"');
6671
+ var BinaryOpSymbol$13 = $EXPECT($L61, fail, 'BinaryOpSymbol ">>"');
6672
+ var BinaryOpSymbol$14 = $EXPECT($L28, fail, 'BinaryOpSymbol ">"');
6673
+ var BinaryOpSymbol$15 = $EXPECT($L62, fail, 'BinaryOpSymbol "!=="');
6674
+ var BinaryOpSymbol$16 = $TV($EXPECT($L63, fail, 'BinaryOpSymbol "!="'), function($skip, $loc, $0, $1) {
6560
6675
  if (module2.config.coffeeEq)
6561
6676
  return "!==";
6562
6677
  return $1;
6563
6678
  });
6564
- var BinaryOpSymbol$17 = $TS($S($EXPECT($L63, fail, 'BinaryOpSymbol "isnt"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
6679
+ var BinaryOpSymbol$17 = $TS($S($EXPECT($L64, fail, 'BinaryOpSymbol "isnt"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
6565
6680
  if (module2.config.coffeeIsnt)
6566
6681
  return "!==";
6567
6682
  return $skip;
6568
6683
  });
6569
- var BinaryOpSymbol$18 = $EXPECT($L64, fail, 'BinaryOpSymbol "==="');
6570
- var BinaryOpSymbol$19 = $TV($EXPECT($L65, fail, 'BinaryOpSymbol "=="'), function($skip, $loc, $0, $1) {
6684
+ var BinaryOpSymbol$18 = $EXPECT($L65, fail, 'BinaryOpSymbol "==="');
6685
+ var BinaryOpSymbol$19 = $TV($EXPECT($L66, fail, 'BinaryOpSymbol "=="'), function($skip, $loc, $0, $1) {
6571
6686
  if (module2.config.coffeeEq)
6572
6687
  return "===";
6573
6688
  return $1;
6574
6689
  });
6575
- var BinaryOpSymbol$20 = $T($S($EXPECT($L66, fail, 'BinaryOpSymbol "and"'), NonIdContinue), function(value) {
6690
+ var BinaryOpSymbol$20 = $T($S($EXPECT($L67, fail, 'BinaryOpSymbol "and"'), NonIdContinue), function(value) {
6576
6691
  return "&&";
6577
6692
  });
6578
- var BinaryOpSymbol$21 = $EXPECT($L67, fail, 'BinaryOpSymbol "&&"');
6579
- var BinaryOpSymbol$22 = $T($S(CoffeeOfEnabled, $EXPECT($L68, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function(value) {
6693
+ var BinaryOpSymbol$21 = $EXPECT($L68, fail, 'BinaryOpSymbol "&&"');
6694
+ var BinaryOpSymbol$22 = $T($S(CoffeeOfEnabled, $EXPECT($L69, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function(value) {
6580
6695
  return "in";
6581
6696
  });
6582
- var BinaryOpSymbol$23 = $T($S($EXPECT($L69, fail, 'BinaryOpSymbol "or"'), NonIdContinue), function(value) {
6697
+ var BinaryOpSymbol$23 = $T($S($EXPECT($L70, fail, 'BinaryOpSymbol "or"'), NonIdContinue), function(value) {
6583
6698
  return "||";
6584
6699
  });
6585
- var BinaryOpSymbol$24 = $EXPECT($L70, fail, 'BinaryOpSymbol "||"');
6586
- var BinaryOpSymbol$25 = $EXPECT($L71, fail, 'BinaryOpSymbol "??"');
6700
+ var BinaryOpSymbol$24 = $EXPECT($L71, fail, 'BinaryOpSymbol "||"');
6701
+ var BinaryOpSymbol$25 = $EXPECT($L72, fail, 'BinaryOpSymbol "??"');
6587
6702
  var BinaryOpSymbol$26 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L1, fail, 'BinaryOpSymbol "?"')), function(value) {
6588
6703
  return "??";
6589
6704
  });
6590
- var BinaryOpSymbol$27 = $TS($S($EXPECT($L72, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
6705
+ var BinaryOpSymbol$27 = $TS($S($EXPECT($L73, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
6591
6706
  return $1;
6592
6707
  });
6593
- var BinaryOpSymbol$28 = $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) {
6708
+ var BinaryOpSymbol$28 = $TS($S(CoffeeNotEnabled, $EXPECT($L74, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L73, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
6594
6709
  return {
6595
6710
  $loc,
6596
6711
  token: "instanceof",
6712
+ relational: true,
6597
6713
  special: true,
6598
6714
  negated: true
6599
6715
  };
6600
6716
  });
6601
- var BinaryOpSymbol$29 = $TV($C($S($N(CoffeeOfEnabled), $EXPECT($L73, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue), $S(CoffeeOfEnabled, $EXPECT($L73, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L68, fail, 'BinaryOpSymbol "of"'), NonIdContinue)), function($skip, $loc, $0, $1) {
6717
+ var BinaryOpSymbol$29 = $TV($C($S($N(CoffeeOfEnabled), $EXPECT($L74, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L75, fail, 'BinaryOpSymbol "in"'), NonIdContinue), $S(CoffeeOfEnabled, $EXPECT($L74, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L69, fail, 'BinaryOpSymbol "of"'), NonIdContinue)), function($skip, $loc, $0, $1) {
6602
6718
  return {
6603
6719
  $loc,
6604
6720
  token: "in",
@@ -6606,7 +6722,7 @@ ${input.slice(result.pos)}
6606
6722
  negated: true
6607
6723
  };
6608
6724
  });
6609
- var BinaryOpSymbol$30 = $TS($S($EXPECT($L75, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
6725
+ var BinaryOpSymbol$30 = $TS($S($EXPECT($L76, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L75, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
6610
6726
  return {
6611
6727
  method: "includes",
6612
6728
  relational: true,
@@ -6614,7 +6730,7 @@ ${input.slice(result.pos)}
6614
6730
  special: true
6615
6731
  };
6616
6732
  });
6617
- var BinaryOpSymbol$31 = $TS($S(CoffeeOfEnabled, $EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
6733
+ var BinaryOpSymbol$31 = $TS($S(CoffeeOfEnabled, $EXPECT($L75, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
6618
6734
  return {
6619
6735
  call: [module2.getRef("indexOf"), ".call"],
6620
6736
  relational: true,
@@ -6623,7 +6739,7 @@ ${input.slice(result.pos)}
6623
6739
  special: true
6624
6740
  };
6625
6741
  });
6626
- var BinaryOpSymbol$32 = $TS($S($EXPECT($L75, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L73, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8) {
6742
+ var BinaryOpSymbol$32 = $TS($S($EXPECT($L76, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L74, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L75, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8) {
6627
6743
  return {
6628
6744
  method: "includes",
6629
6745
  relational: true,
@@ -6632,7 +6748,7 @@ ${input.slice(result.pos)}
6632
6748
  negated: true
6633
6749
  };
6634
6750
  });
6635
- var BinaryOpSymbol$33 = $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) {
6751
+ var BinaryOpSymbol$33 = $TS($S(CoffeeOfEnabled, $EXPECT($L74, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L75, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
6636
6752
  return {
6637
6753
  call: [module2.getRef("indexOf"), ".call"],
6638
6754
  relational: true,
@@ -6641,18 +6757,35 @@ ${input.slice(result.pos)}
6641
6757
  special: true
6642
6758
  };
6643
6759
  });
6644
- var BinaryOpSymbol$34 = $T($S($N(CoffeeNotEnabled), $EXPECT($L75, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L73, fail, 'BinaryOpSymbol "not"'), NonIdContinue), function(value) {
6760
+ var BinaryOpSymbol$34 = $TS($S($N(CoffeeNotEnabled), $EXPECT($L76, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L74, fail, 'BinaryOpSymbol "not"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
6761
+ if (module2.config.objectIs) {
6762
+ return {
6763
+ call: module2.getRef("is"),
6764
+ relational: true,
6765
+ special: true,
6766
+ asConst: true,
6767
+ negated: true
6768
+ };
6769
+ }
6645
6770
  return "!==";
6646
6771
  });
6647
- var BinaryOpSymbol$35 = $T($S($EXPECT($L75, fail, 'BinaryOpSymbol "is"'), NonIdContinue), function(value) {
6772
+ var BinaryOpSymbol$35 = $TS($S($EXPECT($L76, fail, 'BinaryOpSymbol "is"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
6773
+ if (module2.config.objectIs) {
6774
+ return {
6775
+ call: module2.getRef("is"),
6776
+ relational: true,
6777
+ special: true,
6778
+ asConst: true
6779
+ };
6780
+ }
6648
6781
  return "===";
6649
6782
  });
6650
- var BinaryOpSymbol$36 = $TS($S($EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
6783
+ var BinaryOpSymbol$36 = $TS($S($EXPECT($L75, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
6651
6784
  return $1;
6652
6785
  });
6653
- var BinaryOpSymbol$37 = $EXPECT($L76, fail, 'BinaryOpSymbol "&"');
6654
- var BinaryOpSymbol$38 = $EXPECT($L77, fail, 'BinaryOpSymbol "^"');
6655
- var BinaryOpSymbol$39 = $EXPECT($L78, fail, 'BinaryOpSymbol "|"');
6786
+ var BinaryOpSymbol$37 = $EXPECT($L77, fail, 'BinaryOpSymbol "&"');
6787
+ var BinaryOpSymbol$38 = $EXPECT($L78, fail, 'BinaryOpSymbol "^"');
6788
+ var BinaryOpSymbol$39 = $EXPECT($L79, fail, 'BinaryOpSymbol "|"');
6656
6789
  function BinaryOpSymbol(state) {
6657
6790
  let eventData;
6658
6791
  if (state.events) {
@@ -6823,7 +6956,7 @@ ${input.slice(result.pos)}
6823
6956
  return result;
6824
6957
  }
6825
6958
  }
6826
- var EmptyStatement$0 = $T($S($Q(TrailingComment), $Y($EXPECT($L79, fail, 'EmptyStatement ";"'))), function(value) {
6959
+ var EmptyStatement$0 = $T($S($Q(TrailingComment), $Y($EXPECT($L80, fail, 'EmptyStatement ";"'))), function(value) {
6827
6960
  return { "type": "EmptyStatement", "children": value[0] };
6828
6961
  });
6829
6962
  function EmptyStatement(state) {
@@ -6848,7 +6981,7 @@ ${input.slice(result.pos)}
6848
6981
  return result;
6849
6982
  }
6850
6983
  }
6851
- var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($L26, fail, 'BlockStatement "="')))), function(value) {
6984
+ var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($L27, fail, 'BlockStatement "="')))), function(value) {
6852
6985
  return value[0];
6853
6986
  });
6854
6987
  function BlockStatement(state) {
@@ -7783,7 +7916,7 @@ ${input.slice(result.pos)}
7783
7916
  return result;
7784
7917
  }
7785
7918
  }
7786
- var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($L80, fail, 'CoffeeForDeclaration "own"'), NonIdContinue)), ForBinding), function($skip, $loc, $0, $1, $2) {
7919
+ var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($L81, fail, 'CoffeeForDeclaration "own"'), NonIdContinue)), ForBinding), function($skip, $loc, $0, $1, $2) {
7787
7920
  var own = $1;
7788
7921
  var binding = $2;
7789
7922
  return {
@@ -8252,7 +8385,7 @@ ${input.slice(result.pos)}
8252
8385
  return result;
8253
8386
  }
8254
8387
  }
8255
- var NoExpressions$0 = $T($EXPECT($L14, fail, 'NoExpressions ""'), function(value) {
8388
+ var NoExpressions$0 = $T($EXPECT($L15, fail, 'NoExpressions ""'), function(value) {
8256
8389
  return [];
8257
8390
  });
8258
8391
  function NoExpressions(state) {
@@ -8278,7 +8411,7 @@ ${input.slice(result.pos)}
8278
8411
  }
8279
8412
  }
8280
8413
  var ImpliedColon$0 = $S(__, Colon);
8281
- var ImpliedColon$1 = $TV($EXPECT($L14, fail, 'ImpliedColon ""'), function($skip, $loc, $0, $1) {
8414
+ var ImpliedColon$1 = $TV($EXPECT($L15, fail, 'ImpliedColon ""'), function($skip, $loc, $0, $1) {
8282
8415
  return { $loc, token: ":" };
8283
8416
  });
8284
8417
  function ImpliedColon(state) {
@@ -8418,7 +8551,7 @@ ${input.slice(result.pos)}
8418
8551
  return result;
8419
8552
  }
8420
8553
  }
8421
- var Finally$0 = $S(__, $EXPECT($L81, fail, 'Finally "finally"'), NonIdContinue, BracedBlock);
8554
+ var Finally$0 = $S(__, $EXPECT($L82, fail, 'Finally "finally"'), NonIdContinue, BracedBlock);
8422
8555
  function Finally(state) {
8423
8556
  let eventData;
8424
8557
  if (state.events) {
@@ -8530,7 +8663,7 @@ ${input.slice(result.pos)}
8530
8663
  return result;
8531
8664
  }
8532
8665
  }
8533
- var SuppressIndentedApplication$0 = $TV($EXPECT($L14, fail, 'SuppressIndentedApplication ""'), function($skip, $loc, $0, $1) {
8666
+ var SuppressIndentedApplication$0 = $TV($EXPECT($L15, fail, 'SuppressIndentedApplication ""'), function($skip, $loc, $0, $1) {
8534
8667
  module2.suppressIndentedApplication = true;
8535
8668
  });
8536
8669
  function SuppressIndentedApplication(state) {
@@ -8555,7 +8688,7 @@ ${input.slice(result.pos)}
8555
8688
  return result;
8556
8689
  }
8557
8690
  }
8558
- var IndentedApplicationAllowed$0 = $TV($EXPECT($L14, fail, 'IndentedApplicationAllowed ""'), function($skip, $loc, $0, $1) {
8691
+ var IndentedApplicationAllowed$0 = $TV($EXPECT($L15, fail, 'IndentedApplicationAllowed ""'), function($skip, $loc, $0, $1) {
8559
8692
  if (module2.suppressIndentedApplication)
8560
8693
  return $skip;
8561
8694
  return;
@@ -8582,7 +8715,7 @@ ${input.slice(result.pos)}
8582
8715
  return result;
8583
8716
  }
8584
8717
  }
8585
- var SuppressTrailingMemberProperty$0 = $TV($EXPECT($L14, fail, 'SuppressTrailingMemberProperty ""'), function($skip, $loc, $0, $1) {
8718
+ var SuppressTrailingMemberProperty$0 = $TV($EXPECT($L15, fail, 'SuppressTrailingMemberProperty ""'), function($skip, $loc, $0, $1) {
8586
8719
  module2.suppressTrailingMemberProperty.push(true);
8587
8720
  });
8588
8721
  function SuppressTrailingMemberProperty(state) {
@@ -8607,7 +8740,7 @@ ${input.slice(result.pos)}
8607
8740
  return result;
8608
8741
  }
8609
8742
  }
8610
- var TrailingMemberPropertyAllowed$0 = $TV($EXPECT($L14, fail, 'TrailingMemberPropertyAllowed ""'), function($skip, $loc, $0, $1) {
8743
+ var TrailingMemberPropertyAllowed$0 = $TV($EXPECT($L15, fail, 'TrailingMemberPropertyAllowed ""'), function($skip, $loc, $0, $1) {
8611
8744
  if (module2.trailingMemberPropertySuppressed)
8612
8745
  return $skip;
8613
8746
  });
@@ -8656,13 +8789,13 @@ ${input.slice(result.pos)}
8656
8789
  return result;
8657
8790
  }
8658
8791
  }
8659
- var KeywordStatement$0 = $T($S($EXPECT($L82, fail, 'KeywordStatement "break"'), NonIdContinue), function(value) {
8792
+ var KeywordStatement$0 = $T($S($EXPECT($L83, fail, 'KeywordStatement "break"'), NonIdContinue), function(value) {
8660
8793
  return { "type": "BreakStatement", "children": value };
8661
8794
  });
8662
- var KeywordStatement$1 = $T($S($EXPECT($L83, fail, 'KeywordStatement "continue"'), NonIdContinue), function(value) {
8795
+ var KeywordStatement$1 = $T($S($EXPECT($L84, fail, 'KeywordStatement "continue"'), NonIdContinue), function(value) {
8663
8796
  return { "type": "ContinueStatement", "children": value };
8664
8797
  });
8665
- var KeywordStatement$2 = $T($S($EXPECT($L84, fail, 'KeywordStatement "debugger"'), NonIdContinue), function(value) {
8798
+ var KeywordStatement$2 = $T($S($EXPECT($L85, fail, 'KeywordStatement "debugger"'), NonIdContinue), function(value) {
8666
8799
  return { "type": "DebuggerStatement", "children": value };
8667
8800
  });
8668
8801
  var KeywordStatement$3 = $T($S(Return, $E(MaybeNestedExpression)), function(value) {
@@ -8693,7 +8826,7 @@ ${input.slice(result.pos)}
8693
8826
  return result;
8694
8827
  }
8695
8828
  }
8696
- var DebuggerExpression$0 = $TS($S($EXPECT($L84, fail, 'DebuggerExpression "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
8829
+ var DebuggerExpression$0 = $TS($S($EXPECT($L85, fail, 'DebuggerExpression "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
8697
8830
  return {
8698
8831
  type: "DebuggerExpression",
8699
8832
  children: ["(()=>{", $1, "})()"]
@@ -8821,7 +8954,7 @@ ${input.slice(result.pos)}
8821
8954
  return result;
8822
8955
  }
8823
8956
  }
8824
- var ImpliedImport$0 = $TV($EXPECT($L14, fail, 'ImpliedImport ""'), function($skip, $loc, $0, $1) {
8957
+ var ImpliedImport$0 = $TV($EXPECT($L15, fail, 'ImpliedImport ""'), function($skip, $loc, $0, $1) {
8825
8958
  return { $loc, token: "import " };
8826
8959
  });
8827
8960
  function ImpliedImport(state) {
@@ -8970,7 +9103,7 @@ ${input.slice(result.pos)}
8970
9103
  return result;
8971
9104
  }
8972
9105
  }
8973
- var ImportAssertion$0 = $S($E(_), $EXPECT($L85, fail, 'ImportAssertion "assert"'), NonIdContinue, $E(_), ObjectLiteral);
9106
+ var ImportAssertion$0 = $S($E(_), $EXPECT($L86, fail, 'ImportAssertion "assert"'), NonIdContinue, $E(_), ObjectLiteral);
8974
9107
  function ImportAssertion(state) {
8975
9108
  let eventData;
8976
9109
  if (state.events) {
@@ -9550,7 +9683,7 @@ ${input.slice(result.pos)}
9550
9683
  return result;
9551
9684
  }
9552
9685
  }
9553
- var ConstAssignment$0 = $TV($EXPECT($L86, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
9686
+ var ConstAssignment$0 = $TV($EXPECT($L87, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
9554
9687
  return { $loc, token: "=" };
9555
9688
  });
9556
9689
  function ConstAssignment(state) {
@@ -9575,7 +9708,7 @@ ${input.slice(result.pos)}
9575
9708
  return result;
9576
9709
  }
9577
9710
  }
9578
- var LetAssignment$0 = $TV($EXPECT($L87, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
9711
+ var LetAssignment$0 = $TV($EXPECT($L88, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
9579
9712
  return { $loc, token: "=" };
9580
9713
  });
9581
9714
  function LetAssignment(state) {
@@ -10225,7 +10358,7 @@ ${input.slice(result.pos)}
10225
10358
  }
10226
10359
  }
10227
10360
  var RegularExpressionLiteral$0 = HeregexLiteral;
10228
- var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($L50, fail, 'RegularExpressionLiteral "/"'), RegularExpressionBody, $EXPECT($L50, fail, 'RegularExpressionLiteral "/"'), RegularExpressionFlags)), function($skip, $loc, $0, $1) {
10361
+ var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($L51, fail, 'RegularExpressionLiteral "/"'), RegularExpressionBody, $EXPECT($L51, fail, 'RegularExpressionLiteral "/"'), RegularExpressionFlags)), function($skip, $loc, $0, $1) {
10229
10362
  return { $loc, token: $1 };
10230
10363
  });
10231
10364
  function RegularExpressionLiteral(state) {
@@ -10628,7 +10761,7 @@ ${input.slice(result.pos)}
10628
10761
  var ReservedWord$2 = $S(CoffeeForLoopsEnabled, $R$0($EXPECT($R34, fail, "ReservedWord /(?:by)(?!\\p{ID_Continue})/")));
10629
10762
  var ReservedWord$3 = $S(CoffeeOfEnabled, $R$0($EXPECT($R35, fail, "ReservedWord /(?:of)(?!\\p{ID_Continue})/")));
10630
10763
  var ReservedWord$4 = $S(CoffeeNotEnabled, $R$0($EXPECT($R36, fail, "ReservedWord /(?:not)(?!\\p{ID_Continue})/")));
10631
- var ReservedWord$5 = $S($EXPECT($L73, fail, 'ReservedWord "not"'), NonIdContinue, __, $EXPECT($L74, fail, 'ReservedWord "in"'), NonIdContinue);
10764
+ var ReservedWord$5 = $S($EXPECT($L74, fail, 'ReservedWord "not"'), NonIdContinue, __, $EXPECT($L75, fail, 'ReservedWord "in"'), NonIdContinue);
10632
10765
  var ReservedWord$6 = $R$0($EXPECT($R37, fail, "ReservedWord /(?:and|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|if|import|in|instanceof|interface|is|let|loop|new|null|or|private|protected|public|return|static|super|switch|this|throw|true|try|typeof|unless|until|var|void|while|with|yield)(?!\\p{ID_Continue})/"));
10633
10766
  function ReservedWord(state) {
10634
10767
  let eventData;
@@ -10749,7 +10882,7 @@ ${input.slice(result.pos)}
10749
10882
  return result;
10750
10883
  }
10751
10884
  }
10752
- var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L88, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L89, fail, 'JSMultiLineComment "*/"')), $EXPECT($R39, fail, "JSMultiLineComment /./"))), $EXPECT($L89, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
10885
+ var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L89, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L90, fail, 'JSMultiLineComment "*/"')), $EXPECT($R39, fail, "JSMultiLineComment /./"))), $EXPECT($L90, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
10753
10886
  return { $loc, token: $1 };
10754
10887
  });
10755
10888
  function JSMultiLineComment(state) {
@@ -10799,7 +10932,7 @@ ${input.slice(result.pos)}
10799
10932
  return result;
10800
10933
  }
10801
10934
  }
10802
- var CoffeeMultiLineComment$0 = $TS($S(CoffeeHereCommentStart, $TEXT($Q($S($N($C(CoffeeHereCommentStart, $EXPECT($L89, fail, 'CoffeeMultiLineComment "*/"'))), $EXPECT($R39, fail, "CoffeeMultiLineComment /./")))), CoffeeHereCommentStart), function($skip, $loc, $0, $1, $2, $3) {
10935
+ var CoffeeMultiLineComment$0 = $TS($S(CoffeeHereCommentStart, $TEXT($Q($S($N($C(CoffeeHereCommentStart, $EXPECT($L90, fail, 'CoffeeMultiLineComment "*/"'))), $EXPECT($R39, fail, "CoffeeMultiLineComment /./")))), CoffeeHereCommentStart), function($skip, $loc, $0, $1, $2, $3) {
10803
10936
  return { $loc, token: `/*${$2}*/` };
10804
10937
  });
10805
10938
  function CoffeeMultiLineComment(state) {
@@ -10847,7 +10980,7 @@ ${input.slice(result.pos)}
10847
10980
  return result;
10848
10981
  }
10849
10982
  }
10850
- var InlineComment$0 = $TV($TEXT($S($EXPECT($L88, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L89, fail, 'InlineComment "*/"')), $EXPECT($R42, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L89, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
10983
+ var InlineComment$0 = $TV($TEXT($S($EXPECT($L89, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L90, fail, 'InlineComment "*/"')), $EXPECT($R42, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L90, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
10851
10984
  return { $loc, token: $1 };
10852
10985
  });
10853
10986
  function InlineComment(state) {
@@ -10946,7 +11079,7 @@ ${input.slice(result.pos)}
10946
11079
  var NonNewlineWhitespace$0 = $TR($EXPECT($R43, fail, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10947
11080
  return { $loc, token: $0 };
10948
11081
  });
10949
- var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L90, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
11082
+ var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L91, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
10950
11083
  return "";
10951
11084
  });
10952
11085
  function NonNewlineWhitespace(state) {
@@ -11074,7 +11207,8 @@ ${input.slice(result.pos)}
11074
11207
  }
11075
11208
  }
11076
11209
  var StatementDelimiter$0 = SemicolonDelimiter;
11077
- var StatementDelimiter$1 = $Y(EOS);
11210
+ var StatementDelimiter$1 = $S($Y($S(Samedent, $C($EXPECT($L92, fail, 'StatementDelimiter "("'), $EXPECT($L93, fail, 'StatementDelimiter "["'), $EXPECT($L94, fail, 'StatementDelimiter "`"'), $EXPECT($L54, fail, 'StatementDelimiter "+"'), $EXPECT($L55, fail, 'StatementDelimiter "-"'), $EXPECT($L50, fail, 'StatementDelimiter "*"'), $EXPECT($L51, fail, 'StatementDelimiter "/"'), ObjectLiteral))), InsertSemicolon);
11211
+ var StatementDelimiter$2 = $Y(EOS);
11078
11212
  function StatementDelimiter(state) {
11079
11213
  let eventData;
11080
11214
  if (state.events) {
@@ -11086,12 +11220,12 @@ ${input.slice(result.pos)}
11086
11220
  }
11087
11221
  }
11088
11222
  if (state.tokenize) {
11089
- const result = $TOKEN("StatementDelimiter", state, StatementDelimiter$0(state) || StatementDelimiter$1(state));
11223
+ const result = $TOKEN("StatementDelimiter", state, StatementDelimiter$0(state) || StatementDelimiter$1(state) || StatementDelimiter$2(state));
11090
11224
  if (state.events)
11091
11225
  state.events.exit?.("StatementDelimiter", state, result, eventData);
11092
11226
  return result;
11093
11227
  } else {
11094
- const result = StatementDelimiter$0(state) || StatementDelimiter$1(state);
11228
+ const result = StatementDelimiter$0(state) || StatementDelimiter$1(state) || StatementDelimiter$2(state);
11095
11229
  if (state.events)
11096
11230
  state.events.exit?.("StatementDelimiter", state, result, eventData);
11097
11231
  return result;
@@ -11148,7 +11282,7 @@ ${input.slice(result.pos)}
11148
11282
  return result;
11149
11283
  }
11150
11284
  }
11151
- var Loc$0 = $TV($EXPECT($L14, fail, 'Loc ""'), function($skip, $loc, $0, $1) {
11285
+ var Loc$0 = $TV($EXPECT($L15, fail, 'Loc ""'), function($skip, $loc, $0, $1) {
11152
11286
  return { $loc, token: "" };
11153
11287
  });
11154
11288
  function Loc(state) {
@@ -11173,7 +11307,7 @@ ${input.slice(result.pos)}
11173
11307
  return result;
11174
11308
  }
11175
11309
  }
11176
- var Abstract$0 = $TV($TEXT($S($EXPECT($L91, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L6, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
11310
+ var Abstract$0 = $TV($TEXT($S($EXPECT($L95, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L6, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
11177
11311
  return { $loc, token: $1, ts: true };
11178
11312
  });
11179
11313
  function Abstract(state) {
@@ -11198,7 +11332,7 @@ ${input.slice(result.pos)}
11198
11332
  return result;
11199
11333
  }
11200
11334
  }
11201
- var Ampersand$0 = $TV($EXPECT($L76, fail, 'Ampersand "&"'), function($skip, $loc, $0, $1) {
11335
+ var Ampersand$0 = $TV($EXPECT($L77, fail, 'Ampersand "&"'), function($skip, $loc, $0, $1) {
11202
11336
  return { $loc, token: $1 };
11203
11337
  });
11204
11338
  function Ampersand(state) {
@@ -11223,7 +11357,7 @@ ${input.slice(result.pos)}
11223
11357
  return result;
11224
11358
  }
11225
11359
  }
11226
- var As$0 = $TS($S($EXPECT($L92, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11360
+ var As$0 = $TS($S($EXPECT($L96, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11227
11361
  return { $loc, token: $1 };
11228
11362
  });
11229
11363
  function As(state) {
@@ -11248,7 +11382,7 @@ ${input.slice(result.pos)}
11248
11382
  return result;
11249
11383
  }
11250
11384
  }
11251
- var At$0 = $TV($EXPECT($L93, fail, 'At "@"'), function($skip, $loc, $0, $1) {
11385
+ var At$0 = $TV($EXPECT($L97, fail, 'At "@"'), function($skip, $loc, $0, $1) {
11252
11386
  return { $loc, token: $1 };
11253
11387
  });
11254
11388
  function At(state) {
@@ -11273,7 +11407,7 @@ ${input.slice(result.pos)}
11273
11407
  return result;
11274
11408
  }
11275
11409
  }
11276
- var AtAt$0 = $TV($EXPECT($L94, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
11410
+ var AtAt$0 = $TV($EXPECT($L98, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
11277
11411
  return { $loc, token: "@" };
11278
11412
  });
11279
11413
  function AtAt(state) {
@@ -11298,7 +11432,7 @@ ${input.slice(result.pos)}
11298
11432
  return result;
11299
11433
  }
11300
11434
  }
11301
- var Async$0 = $TS($S($EXPECT($L95, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11435
+ var Async$0 = $TS($S($EXPECT($L99, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11302
11436
  return { $loc, token: $1, type: "Async" };
11303
11437
  });
11304
11438
  function Async(state) {
@@ -11323,7 +11457,7 @@ ${input.slice(result.pos)}
11323
11457
  return result;
11324
11458
  }
11325
11459
  }
11326
- var Await$0 = $TS($S($EXPECT($L96, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11460
+ var Await$0 = $TS($S($EXPECT($L100, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11327
11461
  return { $loc, token: $1 };
11328
11462
  });
11329
11463
  function Await(state) {
@@ -11348,7 +11482,7 @@ ${input.slice(result.pos)}
11348
11482
  return result;
11349
11483
  }
11350
11484
  }
11351
- var Backtick$0 = $TV($EXPECT($L97, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
11485
+ var Backtick$0 = $TV($EXPECT($L94, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
11352
11486
  return { $loc, token: $1 };
11353
11487
  });
11354
11488
  function Backtick(state) {
@@ -11373,7 +11507,7 @@ ${input.slice(result.pos)}
11373
11507
  return result;
11374
11508
  }
11375
11509
  }
11376
- var By$0 = $TS($S($EXPECT($L98, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11510
+ var By$0 = $TS($S($EXPECT($L101, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11377
11511
  return { $loc, token: $1 };
11378
11512
  });
11379
11513
  function By(state) {
@@ -11398,7 +11532,7 @@ ${input.slice(result.pos)}
11398
11532
  return result;
11399
11533
  }
11400
11534
  }
11401
- var Case$0 = $TS($S($EXPECT($L99, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11535
+ var Case$0 = $TS($S($EXPECT($L102, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11402
11536
  return { $loc, token: $1 };
11403
11537
  });
11404
11538
  function Case(state) {
@@ -11423,7 +11557,7 @@ ${input.slice(result.pos)}
11423
11557
  return result;
11424
11558
  }
11425
11559
  }
11426
- var Catch$0 = $TS($S($EXPECT($L100, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11560
+ var Catch$0 = $TS($S($EXPECT($L103, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11427
11561
  return { $loc, token: $1 };
11428
11562
  });
11429
11563
  function Catch(state) {
@@ -11448,7 +11582,7 @@ ${input.slice(result.pos)}
11448
11582
  return result;
11449
11583
  }
11450
11584
  }
11451
- var Class$0 = $TS($S($EXPECT($L101, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11585
+ var Class$0 = $TS($S($EXPECT($L104, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11452
11586
  return { $loc, token: $1 };
11453
11587
  });
11454
11588
  function Class(state) {
@@ -11473,7 +11607,7 @@ ${input.slice(result.pos)}
11473
11607
  return result;
11474
11608
  }
11475
11609
  }
11476
- var CloseBrace$0 = $TV($EXPECT($L17, fail, 'CloseBrace "}"'), function($skip, $loc, $0, $1) {
11610
+ var CloseBrace$0 = $TV($EXPECT($L18, fail, 'CloseBrace "}"'), function($skip, $loc, $0, $1) {
11477
11611
  return { $loc, token: $1 };
11478
11612
  });
11479
11613
  function CloseBrace(state) {
@@ -11498,7 +11632,7 @@ ${input.slice(result.pos)}
11498
11632
  return result;
11499
11633
  }
11500
11634
  }
11501
- var CloseBracket$0 = $TV($EXPECT($L28, fail, 'CloseBracket "]"'), function($skip, $loc, $0, $1) {
11635
+ var CloseBracket$0 = $TV($EXPECT($L29, fail, 'CloseBracket "]"'), function($skip, $loc, $0, $1) {
11502
11636
  return { $loc, token: $1 };
11503
11637
  });
11504
11638
  function CloseBracket(state) {
@@ -11523,7 +11657,7 @@ ${input.slice(result.pos)}
11523
11657
  return result;
11524
11658
  }
11525
11659
  }
11526
- var CloseParen$0 = $TV($EXPECT($L15, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
11660
+ var CloseParen$0 = $TV($EXPECT($L16, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
11527
11661
  return { $loc, token: $1 };
11528
11662
  });
11529
11663
  function CloseParen(state) {
@@ -11548,7 +11682,7 @@ ${input.slice(result.pos)}
11548
11682
  return result;
11549
11683
  }
11550
11684
  }
11551
- var CoffeeSubstitutionStart$0 = $TV($EXPECT($L102, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
11685
+ var CoffeeSubstitutionStart$0 = $TV($EXPECT($L105, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
11552
11686
  return { $loc, token: "${" };
11553
11687
  });
11554
11688
  function CoffeeSubstitutionStart(state) {
@@ -11573,7 +11707,7 @@ ${input.slice(result.pos)}
11573
11707
  return result;
11574
11708
  }
11575
11709
  }
11576
- var Colon$0 = $TV($EXPECT($L29, fail, 'Colon ":"'), function($skip, $loc, $0, $1) {
11710
+ var Colon$0 = $TV($EXPECT($L30, fail, 'Colon ":"'), function($skip, $loc, $0, $1) {
11577
11711
  return { $loc, token: $1 };
11578
11712
  });
11579
11713
  function Colon(state) {
@@ -11598,7 +11732,7 @@ ${input.slice(result.pos)}
11598
11732
  return result;
11599
11733
  }
11600
11734
  }
11601
- var ConstructorShorthand$0 = $TV($EXPECT($L93, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
11735
+ var ConstructorShorthand$0 = $TV($EXPECT($L97, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
11602
11736
  return { $loc, token: "constructor" };
11603
11737
  });
11604
11738
  function ConstructorShorthand(state) {
@@ -11623,7 +11757,7 @@ ${input.slice(result.pos)}
11623
11757
  return result;
11624
11758
  }
11625
11759
  }
11626
- var Declare$0 = $TS($S($EXPECT($L103, fail, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11760
+ var Declare$0 = $TS($S($EXPECT($L106, fail, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11627
11761
  return { $loc, token: $1 };
11628
11762
  });
11629
11763
  function Declare(state) {
@@ -11648,7 +11782,7 @@ ${input.slice(result.pos)}
11648
11782
  return result;
11649
11783
  }
11650
11784
  }
11651
- var Default$0 = $TS($S($EXPECT($L104, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11785
+ var Default$0 = $TS($S($EXPECT($L107, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11652
11786
  return { $loc, token: $1 };
11653
11787
  });
11654
11788
  function Default(state) {
@@ -11673,7 +11807,7 @@ ${input.slice(result.pos)}
11673
11807
  return result;
11674
11808
  }
11675
11809
  }
11676
- var Delete$0 = $TS($S($EXPECT($L105, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11810
+ var Delete$0 = $TS($S($EXPECT($L108, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11677
11811
  return { $loc, token: $1 };
11678
11812
  });
11679
11813
  function Delete(state) {
@@ -11698,7 +11832,7 @@ ${input.slice(result.pos)}
11698
11832
  return result;
11699
11833
  }
11700
11834
  }
11701
- var Do$0 = $TS($S($EXPECT($L106, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11835
+ var Do$0 = $TS($S($EXPECT($L109, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11702
11836
  return { $loc, token: $1 };
11703
11837
  });
11704
11838
  function Do(state) {
@@ -11748,7 +11882,7 @@ ${input.slice(result.pos)}
11748
11882
  return result;
11749
11883
  }
11750
11884
  }
11751
- var DotDot$0 = $TV($EXPECT($L107, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
11885
+ var DotDot$0 = $TV($EXPECT($L110, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
11752
11886
  return { $loc, token: $1 };
11753
11887
  });
11754
11888
  function DotDot(state) {
@@ -11773,7 +11907,7 @@ ${input.slice(result.pos)}
11773
11907
  return result;
11774
11908
  }
11775
11909
  }
11776
- var DotDotDot$0 = $TV($EXPECT($L108, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
11910
+ var DotDotDot$0 = $TV($EXPECT($L111, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
11777
11911
  return { $loc, token: $1 };
11778
11912
  });
11779
11913
  function DotDotDot(state) {
@@ -11798,7 +11932,7 @@ ${input.slice(result.pos)}
11798
11932
  return result;
11799
11933
  }
11800
11934
  }
11801
- var DoubleColon$0 = $TV($EXPECT($L109, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
11935
+ var DoubleColon$0 = $TV($EXPECT($L112, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
11802
11936
  return { $loc, token: $1 };
11803
11937
  });
11804
11938
  function DoubleColon(state) {
@@ -11823,7 +11957,7 @@ ${input.slice(result.pos)}
11823
11957
  return result;
11824
11958
  }
11825
11959
  }
11826
- var DoubleQuote$0 = $TV($EXPECT($L110, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
11960
+ var DoubleQuote$0 = $TV($EXPECT($L113, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
11827
11961
  return { $loc, token: $1 };
11828
11962
  });
11829
11963
  function DoubleQuote(state) {
@@ -11848,7 +11982,7 @@ ${input.slice(result.pos)}
11848
11982
  return result;
11849
11983
  }
11850
11984
  }
11851
- var Else$0 = $TS($S($EXPECT($L111, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11985
+ var Else$0 = $TS($S($EXPECT($L114, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11852
11986
  return { $loc, token: $1 };
11853
11987
  });
11854
11988
  function Else(state) {
@@ -11873,7 +12007,7 @@ ${input.slice(result.pos)}
11873
12007
  return result;
11874
12008
  }
11875
12009
  }
11876
- var Equals$0 = $TV($EXPECT($L26, fail, 'Equals "="'), function($skip, $loc, $0, $1) {
12010
+ var Equals$0 = $TV($EXPECT($L27, fail, 'Equals "="'), function($skip, $loc, $0, $1) {
11877
12011
  return { $loc, token: $1 };
11878
12012
  });
11879
12013
  function Equals(state) {
@@ -11898,7 +12032,7 @@ ${input.slice(result.pos)}
11898
12032
  return result;
11899
12033
  }
11900
12034
  }
11901
- var Export$0 = $TS($S($EXPECT($L112, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12035
+ var Export$0 = $TS($S($EXPECT($L115, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11902
12036
  return { $loc, token: $1 };
11903
12037
  });
11904
12038
  function Export(state) {
@@ -11923,7 +12057,7 @@ ${input.slice(result.pos)}
11923
12057
  return result;
11924
12058
  }
11925
12059
  }
11926
- var Extends$0 = $TS($S($EXPECT($L113, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12060
+ var Extends$0 = $TS($S($EXPECT($L116, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11927
12061
  return { $loc, token: $1 };
11928
12062
  });
11929
12063
  function Extends(state) {
@@ -11948,7 +12082,7 @@ ${input.slice(result.pos)}
11948
12082
  return result;
11949
12083
  }
11950
12084
  }
11951
- var For$0 = $TS($S($EXPECT($L114, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12085
+ var For$0 = $TS($S($EXPECT($L117, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11952
12086
  return { $loc, token: $1 };
11953
12087
  });
11954
12088
  function For(state) {
@@ -11973,7 +12107,7 @@ ${input.slice(result.pos)}
11973
12107
  return result;
11974
12108
  }
11975
12109
  }
11976
- var From$0 = $TS($S($EXPECT($L115, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12110
+ var From$0 = $TS($S($EXPECT($L118, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11977
12111
  return { $loc, token: $1 };
11978
12112
  });
11979
12113
  function From(state) {
@@ -11998,7 +12132,7 @@ ${input.slice(result.pos)}
11998
12132
  return result;
11999
12133
  }
12000
12134
  }
12001
- var Function$0 = $TS($S($EXPECT($L116, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12135
+ var Function$0 = $TS($S($EXPECT($L119, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12002
12136
  return { $loc, token: $1 };
12003
12137
  });
12004
12138
  function Function(state) {
@@ -12023,7 +12157,7 @@ ${input.slice(result.pos)}
12023
12157
  return result;
12024
12158
  }
12025
12159
  }
12026
- var GetOrSet$0 = $TS($S($C($EXPECT($L117, fail, 'GetOrSet "get"'), $EXPECT($L118, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12160
+ var GetOrSet$0 = $TS($S($C($EXPECT($L120, fail, 'GetOrSet "get"'), $EXPECT($L121, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12027
12161
  return { $loc, token: $1, type: "GetOrSet" };
12028
12162
  });
12029
12163
  function GetOrSet(state) {
@@ -12048,7 +12182,7 @@ ${input.slice(result.pos)}
12048
12182
  return result;
12049
12183
  }
12050
12184
  }
12051
- var If$0 = $TV($TEXT($S($EXPECT($L119, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L6, fail, 'If " "')))), function($skip, $loc, $0, $1) {
12185
+ var If$0 = $TV($TEXT($S($EXPECT($L122, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L6, fail, 'If " "')))), function($skip, $loc, $0, $1) {
12052
12186
  return { $loc, token: $1 };
12053
12187
  });
12054
12188
  function If(state) {
@@ -12073,7 +12207,7 @@ ${input.slice(result.pos)}
12073
12207
  return result;
12074
12208
  }
12075
12209
  }
12076
- var Import$0 = $TS($S($EXPECT($L10, fail, 'Import "import"'), $Y($EXPECT($R45, fail, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
12210
+ var Import$0 = $TS($S($EXPECT($L11, fail, 'Import "import"'), $Y($EXPECT($R45, fail, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
12077
12211
  return { $loc, token: $1 };
12078
12212
  });
12079
12213
  function Import(state) {
@@ -12098,7 +12232,7 @@ ${input.slice(result.pos)}
12098
12232
  return result;
12099
12233
  }
12100
12234
  }
12101
- var In$0 = $TS($S($EXPECT($L74, fail, 'In "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12235
+ var In$0 = $TS($S($EXPECT($L75, fail, 'In "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12102
12236
  return { $loc, token: $1 };
12103
12237
  });
12104
12238
  function In(state) {
@@ -12123,7 +12257,7 @@ ${input.slice(result.pos)}
12123
12257
  return result;
12124
12258
  }
12125
12259
  }
12126
- var LetOrConst$0 = $TS($S($C($EXPECT($L120, fail, 'LetOrConst "let"'), $EXPECT($L121, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12260
+ var LetOrConst$0 = $TS($S($C($EXPECT($L123, fail, 'LetOrConst "let"'), $EXPECT($L124, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12127
12261
  return { $loc, token: $1 };
12128
12262
  });
12129
12263
  function LetOrConst(state) {
@@ -12148,7 +12282,7 @@ ${input.slice(result.pos)}
12148
12282
  return result;
12149
12283
  }
12150
12284
  }
12151
- var Loop$0 = $TS($S($EXPECT($L122, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12285
+ var Loop$0 = $TS($S($EXPECT($L125, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12152
12286
  return { $loc, token: "while(true)" };
12153
12287
  });
12154
12288
  function Loop(state) {
@@ -12173,7 +12307,7 @@ ${input.slice(result.pos)}
12173
12307
  return result;
12174
12308
  }
12175
12309
  }
12176
- var New$0 = $TS($S($EXPECT($L123, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12310
+ var New$0 = $TS($S($EXPECT($L126, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12177
12311
  return { $loc, token: $1 };
12178
12312
  });
12179
12313
  function New(state) {
@@ -12198,7 +12332,7 @@ ${input.slice(result.pos)}
12198
12332
  return result;
12199
12333
  }
12200
12334
  }
12201
- var Not$0 = $TS($S(CoffeeNotEnabled, $EXPECT($L73, fail, 'Not "not"'), NonIdContinue, $E($EXPECT($L6, fail, 'Not " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
12335
+ var Not$0 = $TS($S(CoffeeNotEnabled, $EXPECT($L74, fail, 'Not "not"'), NonIdContinue, $E($EXPECT($L6, fail, 'Not " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
12202
12336
  return { $loc, token: "!" };
12203
12337
  });
12204
12338
  function Not(state) {
@@ -12223,7 +12357,7 @@ ${input.slice(result.pos)}
12223
12357
  return result;
12224
12358
  }
12225
12359
  }
12226
- var Of$0 = $TS($S($EXPECT($L68, fail, 'Of "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12360
+ var Of$0 = $TS($S($EXPECT($L69, fail, 'Of "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12227
12361
  return { $loc, token: $1 };
12228
12362
  });
12229
12363
  function Of(state) {
@@ -12248,7 +12382,7 @@ ${input.slice(result.pos)}
12248
12382
  return result;
12249
12383
  }
12250
12384
  }
12251
- var OpenAngleBracket$0 = $TV($EXPECT($L124, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
12385
+ var OpenAngleBracket$0 = $TV($EXPECT($L127, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
12252
12386
  return { $loc, token: $1 };
12253
12387
  });
12254
12388
  function OpenAngleBracket(state) {
@@ -12273,7 +12407,7 @@ ${input.slice(result.pos)}
12273
12407
  return result;
12274
12408
  }
12275
12409
  }
12276
- var OpenBrace$0 = $TV($EXPECT($L125, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
12410
+ var OpenBrace$0 = $TV($EXPECT($L128, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
12277
12411
  return { $loc, token: $1 };
12278
12412
  });
12279
12413
  function OpenBrace(state) {
@@ -12298,7 +12432,7 @@ ${input.slice(result.pos)}
12298
12432
  return result;
12299
12433
  }
12300
12434
  }
12301
- var OpenBracket$0 = $TV($EXPECT($L126, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
12435
+ var OpenBracket$0 = $TV($EXPECT($L93, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
12302
12436
  return { $loc, token: $1 };
12303
12437
  });
12304
12438
  function OpenBracket(state) {
@@ -12323,7 +12457,7 @@ ${input.slice(result.pos)}
12323
12457
  return result;
12324
12458
  }
12325
12459
  }
12326
- var OpenParen$0 = $TV($EXPECT($L127, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
12460
+ var OpenParen$0 = $TV($EXPECT($L92, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
12327
12461
  return { $loc, token: $1 };
12328
12462
  });
12329
12463
  function OpenParen(state) {
@@ -12348,7 +12482,7 @@ ${input.slice(result.pos)}
12348
12482
  return result;
12349
12483
  }
12350
12484
  }
12351
- var Public$0 = $TS($S($EXPECT($L128, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12485
+ var Public$0 = $TS($S($EXPECT($L129, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12352
12486
  return { $loc, token: $1 };
12353
12487
  });
12354
12488
  function Public(state) {
@@ -12373,7 +12507,7 @@ ${input.slice(result.pos)}
12373
12507
  return result;
12374
12508
  }
12375
12509
  }
12376
- var Private$0 = $TS($S($EXPECT($L129, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12510
+ var Private$0 = $TS($S($EXPECT($L130, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12377
12511
  return { $loc, token: $1 };
12378
12512
  });
12379
12513
  function Private(state) {
@@ -12398,7 +12532,7 @@ ${input.slice(result.pos)}
12398
12532
  return result;
12399
12533
  }
12400
12534
  }
12401
- var Protected$0 = $TS($S($EXPECT($L130, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12535
+ var Protected$0 = $TS($S($EXPECT($L131, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12402
12536
  return { $loc, token: $1 };
12403
12537
  });
12404
12538
  function Protected(state) {
@@ -12423,7 +12557,7 @@ ${input.slice(result.pos)}
12423
12557
  return result;
12424
12558
  }
12425
12559
  }
12426
- var Pipe$0 = $TV($EXPECT($L131, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
12560
+ var Pipe$0 = $TV($EXPECT($L132, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
12427
12561
  return { $loc, token: $1 };
12428
12562
  });
12429
12563
  function Pipe(state) {
@@ -12473,7 +12607,7 @@ ${input.slice(result.pos)}
12473
12607
  return result;
12474
12608
  }
12475
12609
  }
12476
- var Readonly$0 = $TS($S($EXPECT($L132, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12610
+ var Readonly$0 = $TS($S($EXPECT($L133, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12477
12611
  return { $loc, token: $1, ts: true };
12478
12612
  });
12479
12613
  function Readonly(state) {
@@ -12498,7 +12632,7 @@ ${input.slice(result.pos)}
12498
12632
  return result;
12499
12633
  }
12500
12634
  }
12501
- var Return$0 = $TS($S($EXPECT($L133, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12635
+ var Return$0 = $TS($S($EXPECT($L134, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12502
12636
  return { $loc, token: $1 };
12503
12637
  });
12504
12638
  function Return(state) {
@@ -12523,7 +12657,7 @@ ${input.slice(result.pos)}
12523
12657
  return result;
12524
12658
  }
12525
12659
  }
12526
- var Satisfies$0 = $TS($S($EXPECT($L134, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12660
+ var Satisfies$0 = $TS($S($EXPECT($L135, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12527
12661
  return { $loc, token: $1 };
12528
12662
  });
12529
12663
  function Satisfies(state) {
@@ -12548,7 +12682,7 @@ ${input.slice(result.pos)}
12548
12682
  return result;
12549
12683
  }
12550
12684
  }
12551
- var Semicolon$0 = $TV($EXPECT($L79, fail, 'Semicolon ";"'), function($skip, $loc, $0, $1) {
12685
+ var Semicolon$0 = $TV($EXPECT($L80, fail, 'Semicolon ";"'), function($skip, $loc, $0, $1) {
12552
12686
  return { $loc, token: $1 };
12553
12687
  });
12554
12688
  function Semicolon(state) {
@@ -12573,7 +12707,7 @@ ${input.slice(result.pos)}
12573
12707
  return result;
12574
12708
  }
12575
12709
  }
12576
- var SingleQuote$0 = $TV($EXPECT($L135, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
12710
+ var SingleQuote$0 = $TV($EXPECT($L136, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
12577
12711
  return { $loc, token: $1 };
12578
12712
  });
12579
12713
  function SingleQuote(state) {
@@ -12598,7 +12732,7 @@ ${input.slice(result.pos)}
12598
12732
  return result;
12599
12733
  }
12600
12734
  }
12601
- var Star$0 = $TV($EXPECT($L49, fail, 'Star "*"'), function($skip, $loc, $0, $1) {
12735
+ var Star$0 = $TV($EXPECT($L50, fail, 'Star "*"'), function($skip, $loc, $0, $1) {
12602
12736
  return { $loc, token: $1 };
12603
12737
  });
12604
12738
  function Star(state) {
@@ -12623,10 +12757,10 @@ ${input.slice(result.pos)}
12623
12757
  return result;
12624
12758
  }
12625
12759
  }
12626
- var Static$0 = $TS($S($EXPECT($L136, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12760
+ var Static$0 = $TS($S($EXPECT($L137, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12627
12761
  return { $loc, token: $1 };
12628
12762
  });
12629
- var Static$1 = $TS($S($EXPECT($L93, fail, 'Static "@"'), $N($C($EXPECT($L127, fail, 'Static "("'), $EXPECT($L93, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
12763
+ var Static$1 = $TS($S($EXPECT($L97, fail, 'Static "@"'), $N($C($EXPECT($L92, fail, 'Static "("'), $EXPECT($L97, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
12630
12764
  return { $loc, token: "static " };
12631
12765
  });
12632
12766
  function Static(state) {
@@ -12651,7 +12785,7 @@ ${input.slice(result.pos)}
12651
12785
  return result;
12652
12786
  }
12653
12787
  }
12654
- var SubstitutionStart$0 = $TV($EXPECT($L137, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
12788
+ var SubstitutionStart$0 = $TV($EXPECT($L138, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
12655
12789
  return { $loc, token: $1 };
12656
12790
  });
12657
12791
  function SubstitutionStart(state) {
@@ -12676,7 +12810,7 @@ ${input.slice(result.pos)}
12676
12810
  return result;
12677
12811
  }
12678
12812
  }
12679
- var Switch$0 = $TS($S($EXPECT($L138, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12813
+ var Switch$0 = $TS($S($EXPECT($L139, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12680
12814
  return { $loc, token: $1 };
12681
12815
  });
12682
12816
  function Switch(state) {
@@ -12701,7 +12835,7 @@ ${input.slice(result.pos)}
12701
12835
  return result;
12702
12836
  }
12703
12837
  }
12704
- var Target$0 = $TS($S($EXPECT($L139, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12838
+ var Target$0 = $TS($S($EXPECT($L140, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12705
12839
  return { $loc, token: $1 };
12706
12840
  });
12707
12841
  function Target(state) {
@@ -12726,7 +12860,7 @@ ${input.slice(result.pos)}
12726
12860
  return result;
12727
12861
  }
12728
12862
  }
12729
- var Then$0 = $TS($S(__, $EXPECT($L140, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
12863
+ var Then$0 = $TS($S(__, $EXPECT($L141, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
12730
12864
  return { $loc, token: "" };
12731
12865
  });
12732
12866
  function Then(state) {
@@ -12751,7 +12885,7 @@ ${input.slice(result.pos)}
12751
12885
  return result;
12752
12886
  }
12753
12887
  }
12754
- var This$0 = $TS($S($EXPECT($L141, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12888
+ var This$0 = $TS($S($EXPECT($L142, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12755
12889
  return { $loc, token: $1 };
12756
12890
  });
12757
12891
  function This(state) {
@@ -12776,7 +12910,7 @@ ${input.slice(result.pos)}
12776
12910
  return result;
12777
12911
  }
12778
12912
  }
12779
- var Throw$0 = $TS($S($EXPECT($L142, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12913
+ var Throw$0 = $TS($S($EXPECT($L143, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12780
12914
  return { $loc, token: $1 };
12781
12915
  });
12782
12916
  function Throw(state) {
@@ -12801,7 +12935,7 @@ ${input.slice(result.pos)}
12801
12935
  return result;
12802
12936
  }
12803
12937
  }
12804
- var TripleDoubleQuote$0 = $TV($EXPECT($L143, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
12938
+ var TripleDoubleQuote$0 = $TV($EXPECT($L144, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
12805
12939
  return { $loc, token: "`" };
12806
12940
  });
12807
12941
  function TripleDoubleQuote(state) {
@@ -12826,7 +12960,7 @@ ${input.slice(result.pos)}
12826
12960
  return result;
12827
12961
  }
12828
12962
  }
12829
- var TripleSingleQuote$0 = $TV($EXPECT($L144, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
12963
+ var TripleSingleQuote$0 = $TV($EXPECT($L145, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
12830
12964
  return { $loc, token: "`" };
12831
12965
  });
12832
12966
  function TripleSingleQuote(state) {
@@ -12851,7 +12985,7 @@ ${input.slice(result.pos)}
12851
12985
  return result;
12852
12986
  }
12853
12987
  }
12854
- var TripleSlash$0 = $TV($EXPECT($L145, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
12988
+ var TripleSlash$0 = $TV($EXPECT($L146, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
12855
12989
  return { $loc, token: "/" };
12856
12990
  });
12857
12991
  function TripleSlash(state) {
@@ -12876,7 +13010,7 @@ ${input.slice(result.pos)}
12876
13010
  return result;
12877
13011
  }
12878
13012
  }
12879
- var TripleTick$0 = $TV($EXPECT($L146, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
13013
+ var TripleTick$0 = $TV($EXPECT($L147, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
12880
13014
  return { $loc, token: "`" };
12881
13015
  });
12882
13016
  function TripleTick(state) {
@@ -12901,7 +13035,7 @@ ${input.slice(result.pos)}
12901
13035
  return result;
12902
13036
  }
12903
13037
  }
12904
- var Try$0 = $TS($S($EXPECT($L147, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13038
+ var Try$0 = $TS($S($EXPECT($L148, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12905
13039
  return { $loc, token: $1 };
12906
13040
  });
12907
13041
  function Try(state) {
@@ -12926,7 +13060,7 @@ ${input.slice(result.pos)}
12926
13060
  return result;
12927
13061
  }
12928
13062
  }
12929
- var Typeof$0 = $TS($S($EXPECT($L148, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13063
+ var Typeof$0 = $TS($S($EXPECT($L149, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12930
13064
  return { $loc, token: $1 };
12931
13065
  });
12932
13066
  function Typeof(state) {
@@ -12951,7 +13085,7 @@ ${input.slice(result.pos)}
12951
13085
  return result;
12952
13086
  }
12953
13087
  }
12954
- var Unless$0 = $TS($S($EXPECT($L149, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13088
+ var Unless$0 = $TS($S($EXPECT($L150, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12955
13089
  return { $loc, token: $1 };
12956
13090
  });
12957
13091
  function Unless(state) {
@@ -12976,7 +13110,7 @@ ${input.slice(result.pos)}
12976
13110
  return result;
12977
13111
  }
12978
13112
  }
12979
- var Until$0 = $TS($S($EXPECT($L150, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13113
+ var Until$0 = $TS($S($EXPECT($L151, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12980
13114
  return { $loc, token: $1 };
12981
13115
  });
12982
13116
  function Until(state) {
@@ -13001,7 +13135,7 @@ ${input.slice(result.pos)}
13001
13135
  return result;
13002
13136
  }
13003
13137
  }
13004
- var Var$0 = $TS($S($EXPECT($L151, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13138
+ var Var$0 = $TS($S($EXPECT($L152, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13005
13139
  return { $loc, token: $1 };
13006
13140
  });
13007
13141
  function Var(state) {
@@ -13026,7 +13160,7 @@ ${input.slice(result.pos)}
13026
13160
  return result;
13027
13161
  }
13028
13162
  }
13029
- var Void$0 = $TS($S($EXPECT($L152, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13163
+ var Void$0 = $TS($S($EXPECT($L153, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13030
13164
  return { $loc, token: $1 };
13031
13165
  });
13032
13166
  function Void(state) {
@@ -13051,7 +13185,7 @@ ${input.slice(result.pos)}
13051
13185
  return result;
13052
13186
  }
13053
13187
  }
13054
- var When$0 = $TS($S($EXPECT($L153, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13188
+ var When$0 = $TS($S($EXPECT($L154, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13055
13189
  return { $loc, token: "case" };
13056
13190
  });
13057
13191
  function When(state) {
@@ -13076,7 +13210,7 @@ ${input.slice(result.pos)}
13076
13210
  return result;
13077
13211
  }
13078
13212
  }
13079
- var While$0 = $TS($S($EXPECT($L154, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13213
+ var While$0 = $TS($S($EXPECT($L155, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13080
13214
  return { $loc, token: $1 };
13081
13215
  });
13082
13216
  function While(state) {
@@ -13101,7 +13235,7 @@ ${input.slice(result.pos)}
13101
13235
  return result;
13102
13236
  }
13103
13237
  }
13104
- var Yield$0 = $TS($S($EXPECT($L155, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13238
+ var Yield$0 = $TS($S($EXPECT($L156, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13105
13239
  return { $loc, token: $1 };
13106
13240
  });
13107
13241
  function Yield(state) {
@@ -13247,7 +13381,7 @@ ${input.slice(result.pos)}
13247
13381
  return result;
13248
13382
  }
13249
13383
  }
13250
- var JSXSelfClosingElement$0 = $TS($S($EXPECT($L124, fail, 'JSXSelfClosingElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L156, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
13384
+ var JSXSelfClosingElement$0 = $TS($S($EXPECT($L127, fail, 'JSXSelfClosingElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L157, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
13251
13385
  return { type: "JSXElement", children: $0, tag: $2 };
13252
13386
  });
13253
13387
  function JSXSelfClosingElement(state) {
@@ -13298,7 +13432,7 @@ ${input.slice(result.pos)}
13298
13432
  return result;
13299
13433
  }
13300
13434
  }
13301
- var JSXOpeningElement$0 = $S($EXPECT($L124, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L27, fail, 'JSXOpeningElement ">"'));
13435
+ var JSXOpeningElement$0 = $S($EXPECT($L127, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L28, fail, 'JSXOpeningElement ">"'));
13302
13436
  function JSXOpeningElement(state) {
13303
13437
  let eventData;
13304
13438
  if (state.events) {
@@ -13327,7 +13461,7 @@ ${input.slice(result.pos)}
13327
13461
  return $skip;
13328
13462
  return $0;
13329
13463
  });
13330
- var JSXOptionalClosingElement$1 = $EXPECT($L14, fail, 'JSXOptionalClosingElement ""');
13464
+ var JSXOptionalClosingElement$1 = $EXPECT($L15, fail, 'JSXOptionalClosingElement ""');
13331
13465
  function JSXOptionalClosingElement(state) {
13332
13466
  let eventData;
13333
13467
  if (state.events) {
@@ -13350,7 +13484,7 @@ ${input.slice(result.pos)}
13350
13484
  return result;
13351
13485
  }
13352
13486
  }
13353
- var JSXClosingElement$0 = $S($EXPECT($L157, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L27, fail, 'JSXClosingElement ">"'));
13487
+ var JSXClosingElement$0 = $S($EXPECT($L158, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L28, fail, 'JSXClosingElement ">"'));
13354
13488
  function JSXClosingElement(state) {
13355
13489
  let eventData;
13356
13490
  if (state.events) {
@@ -13389,7 +13523,7 @@ ${input.slice(result.pos)}
13389
13523
  ];
13390
13524
  return { type: "JSXFragment", children: parts, jsxChildren: children.jsxChildren };
13391
13525
  });
13392
- var JSXFragment$1 = $TS($S(CoffeeJSXEnabled, $EXPECT($L158, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), JSXClosingFragment), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
13526
+ var JSXFragment$1 = $TS($S(CoffeeJSXEnabled, $EXPECT($L159, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), JSXClosingFragment), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
13393
13527
  var children = $3;
13394
13528
  $0 = $0.slice(1);
13395
13529
  return {
@@ -13420,7 +13554,7 @@ ${input.slice(result.pos)}
13420
13554
  return result;
13421
13555
  }
13422
13556
  }
13423
- var PushJSXOpeningFragment$0 = $TV($EXPECT($L158, fail, 'PushJSXOpeningFragment "<>"'), function($skip, $loc, $0, $1) {
13557
+ var PushJSXOpeningFragment$0 = $TV($EXPECT($L159, fail, 'PushJSXOpeningFragment "<>"'), function($skip, $loc, $0, $1) {
13424
13558
  module2.JSXTagStack.push("");
13425
13559
  return $1;
13426
13560
  });
@@ -13451,7 +13585,7 @@ ${input.slice(result.pos)}
13451
13585
  return $skip;
13452
13586
  return $0;
13453
13587
  });
13454
- var JSXOptionalClosingFragment$1 = $EXPECT($L14, fail, 'JSXOptionalClosingFragment ""');
13588
+ var JSXOptionalClosingFragment$1 = $EXPECT($L15, fail, 'JSXOptionalClosingFragment ""');
13455
13589
  function JSXOptionalClosingFragment(state) {
13456
13590
  let eventData;
13457
13591
  if (state.events) {
@@ -13474,7 +13608,7 @@ ${input.slice(result.pos)}
13474
13608
  return result;
13475
13609
  }
13476
13610
  }
13477
- var JSXClosingFragment$0 = $EXPECT($L159, fail, 'JSXClosingFragment "</>"');
13611
+ var JSXClosingFragment$0 = $EXPECT($L160, fail, 'JSXClosingFragment "</>"');
13478
13612
  function JSXClosingFragment(state) {
13479
13613
  let eventData;
13480
13614
  if (state.events) {
@@ -13699,7 +13833,7 @@ ${input.slice(result.pos)}
13699
13833
  }
13700
13834
  });
13701
13835
  var JSXAttribute$2 = $S(InsertInlineOpenBrace, DotDotDot, InlineJSXAttributeValue, InsertCloseBrace);
13702
- var JSXAttribute$3 = $TS($S($EXPECT($L8, fail, 'JSXAttribute "#"'), JSXShorthandString), function($skip, $loc, $0, $1, $2) {
13836
+ var JSXAttribute$3 = $TS($S($EXPECT($L9, fail, 'JSXAttribute "#"'), JSXShorthandString), function($skip, $loc, $0, $1, $2) {
13703
13837
  return [" ", "id=", $2];
13704
13838
  });
13705
13839
  var JSXAttribute$4 = $TS($S(Dot, JSXShorthandString), function($skip, $loc, $0, $1, $2) {
@@ -13877,8 +14011,10 @@ ${input.slice(result.pos)}
13877
14011
  return result;
13878
14012
  }
13879
14013
  }
13880
- var InlineJSXBinaryOpRHS$0 = $TS($S(BinaryOp, $C(ParenthesizedAssignment, InlineJSXUnaryExpression)), function($skip, $loc, $0, $1, $2) {
13881
- return [[], $1, [], $2];
14014
+ var InlineJSXBinaryOpRHS$0 = $TS($S($N($EXPECT($R48, fail, "InlineJSXBinaryOpRHS /[<>]/")), BinaryOp, $C(ParenthesizedAssignment, InlineJSXUnaryExpression)), function($skip, $loc, $0, $1, $2, $3) {
14015
+ var op = $2;
14016
+ var rhs = $3;
14017
+ return [[], op, [], rhs];
13882
14018
  });
13883
14019
  function InlineJSXBinaryOpRHS(state) {
13884
14020
  let eventData;
@@ -14006,8 +14142,8 @@ ${input.slice(result.pos)}
14006
14142
  return result;
14007
14143
  }
14008
14144
  }
14009
- var InlineJSXCallExpression$0 = $S($EXPECT($L9, fail, 'InlineJSXCallExpression "super"'), ExplicitArguments);
14010
- var InlineJSXCallExpression$1 = $S($EXPECT($L10, fail, 'InlineJSXCallExpression "import"'), OpenParen, ExtendedExpression, __, CloseParen);
14145
+ var InlineJSXCallExpression$0 = $S($EXPECT($L10, fail, 'InlineJSXCallExpression "super"'), ExplicitArguments);
14146
+ var InlineJSXCallExpression$1 = $S($EXPECT($L11, fail, 'InlineJSXCallExpression "import"'), OpenParen, ExtendedExpression, __, CloseParen);
14011
14147
  var InlineJSXCallExpression$2 = $TS($S(InlineJSXMemberExpression, $Q(InlineJSXCallExpressionRest)), function($skip, $loc, $0, $1, $2) {
14012
14148
  if ($2.length)
14013
14149
  return $0;
@@ -14091,8 +14227,8 @@ ${input.slice(result.pos)}
14091
14227
  }
14092
14228
  var InlineJSXMemberExpressionRest$0 = $TS($S($E($C(OptionalShorthand, NonNullAssertion)), MemberBracketContent), function($skip, $loc, $0, $1, $2) {
14093
14229
  if ($1) {
14094
- if ($1.length === 2 && $2.type === "SliceExpression") {
14095
- return [$1[0], $2];
14230
+ if ($1.type === "Optional" && $2.type === "SliceExpression") {
14231
+ return [$1.children[0], $2];
14096
14232
  }
14097
14233
  return $0;
14098
14234
  }
@@ -14222,7 +14358,7 @@ ${input.slice(result.pos)}
14222
14358
  }
14223
14359
  return $skip;
14224
14360
  });
14225
- var JSXNestedChildren$1 = $TV($Y($C(JSXEOS, $EXPECT($L17, fail, 'JSXNestedChildren "}"'), JSXClosingElement, JSXClosingFragment)), function($skip, $loc, $0, $1) {
14361
+ var JSXNestedChildren$1 = $TV($Y($C(JSXEOS, $EXPECT($L18, fail, 'JSXNestedChildren "}"'), JSXClosingElement, JSXClosingFragment)), function($skip, $loc, $0, $1) {
14226
14362
  return { children: [], jsxChildren: [] };
14227
14363
  });
14228
14364
  function JSXNestedChildren(state) {
@@ -14351,7 +14487,7 @@ ${input.slice(result.pos)}
14351
14487
  return result;
14352
14488
  }
14353
14489
  }
14354
- var JSXComment$0 = $TS($S($EXPECT($L160, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L161, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
14490
+ var JSXComment$0 = $TS($S($EXPECT($L161, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L162, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
14355
14491
  return ["{/*", $2, "*/}"];
14356
14492
  });
14357
14493
  function JSXComment(state) {
@@ -14376,7 +14512,7 @@ ${input.slice(result.pos)}
14376
14512
  return result;
14377
14513
  }
14378
14514
  }
14379
- var JSXCommentContent$0 = $TR($EXPECT($R48, fail, "JSXCommentContent /(?:-[^-]|[^-]*)*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14515
+ var JSXCommentContent$0 = $TR($EXPECT($R49, fail, "JSXCommentContent /(?:-[^-]|[^-]*)*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14380
14516
  return { $loc, token: $0.replace(/\*\//g, "* /") };
14381
14517
  });
14382
14518
  function JSXCommentContent(state) {
@@ -14401,7 +14537,7 @@ ${input.slice(result.pos)}
14401
14537
  return result;
14402
14538
  }
14403
14539
  }
14404
- var JSXText$0 = $TR($EXPECT($R49, fail, "JSXText /[^{}<>\\r\\n]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14540
+ var JSXText$0 = $TR($EXPECT($R50, fail, "JSXText /[^{}<>\\r\\n]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
14405
14541
  return {
14406
14542
  type: "JSXText",
14407
14543
  token: $0,
@@ -14603,7 +14739,7 @@ ${input.slice(result.pos)}
14603
14739
  return result;
14604
14740
  }
14605
14741
  }
14606
- var InterfaceExtendsClause$0 = $S(ExtendsToken, InterfaceExtendsTarget);
14742
+ var InterfaceExtendsClause$0 = $S(ExtendsToken, InterfaceExtendsTarget, $Q($S(Comma, InterfaceExtendsTarget)));
14607
14743
  function InterfaceExtendsClause(state) {
14608
14744
  let eventData;
14609
14745
  if (state.events) {
@@ -14649,7 +14785,7 @@ ${input.slice(result.pos)}
14649
14785
  return result;
14650
14786
  }
14651
14787
  }
14652
- var TypeKeyword$0 = $S($EXPECT($L162, fail, 'TypeKeyword "type"'), NonIdContinue);
14788
+ var TypeKeyword$0 = $S($EXPECT($L163, fail, 'TypeKeyword "type"'), NonIdContinue);
14653
14789
  function TypeKeyword(state) {
14654
14790
  let eventData;
14655
14791
  if (state.events) {
@@ -14672,7 +14808,7 @@ ${input.slice(result.pos)}
14672
14808
  return result;
14673
14809
  }
14674
14810
  }
14675
- var Interface$0 = $S($EXPECT($L163, fail, 'Interface "interface"'), NonIdContinue);
14811
+ var Interface$0 = $S($EXPECT($L164, fail, 'Interface "interface"'), NonIdContinue);
14676
14812
  function Interface(state) {
14677
14813
  let eventData;
14678
14814
  if (state.events) {
@@ -14695,7 +14831,7 @@ ${input.slice(result.pos)}
14695
14831
  return result;
14696
14832
  }
14697
14833
  }
14698
- var Namespace$0 = $S($EXPECT($L164, fail, 'Namespace "namespace"'), NonIdContinue);
14834
+ var Namespace$0 = $S($EXPECT($L165, fail, 'Namespace "namespace"'), NonIdContinue);
14699
14835
  function Namespace(state) {
14700
14836
  let eventData;
14701
14837
  if (state.events) {
@@ -14943,7 +15079,7 @@ ${input.slice(result.pos)}
14943
15079
  return result;
14944
15080
  }
14945
15081
  }
14946
- var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R50, fail, "TypeIndexSignature /[+-]?/")), $EXPECT($L132, fail, 'TypeIndexSignature "readonly"'), __)), OpenBracket, TypeIndex, CloseBracket, $E($S(__, $R$0($EXPECT($R51, fail, "TypeIndexSignature /[+-]/")), QuestionMark)));
15082
+ var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R51, fail, "TypeIndexSignature /[+-]?/")), $EXPECT($L133, fail, 'TypeIndexSignature "readonly"'), __)), OpenBracket, TypeIndex, CloseBracket, $E($S(__, $R$0($EXPECT($R52, fail, "TypeIndexSignature /[+-]/")), QuestionMark)));
14947
15083
  function TypeIndexSignature(state) {
14948
15084
  let eventData;
14949
15085
  if (state.events) {
@@ -15015,7 +15151,7 @@ ${input.slice(result.pos)}
15015
15151
  return result;
15016
15152
  }
15017
15153
  }
15018
- var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L165, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
15154
+ var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L166, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
15019
15155
  const children = [...$1, $2];
15020
15156
  if ($3)
15021
15157
  children.push($3);
@@ -15048,7 +15184,7 @@ ${input.slice(result.pos)}
15048
15184
  return result;
15049
15185
  }
15050
15186
  }
15051
- var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($L75, fail, 'TypePredicate "is"'), NonIdContinue, Type))), function($skip, $loc, $0, $1, $2) {
15187
+ var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($L76, fail, 'TypePredicate "is"'), NonIdContinue, Type))), function($skip, $loc, $0, $1, $2) {
15052
15188
  if (!$2)
15053
15189
  return $1;
15054
15190
  return $0;
@@ -15174,10 +15310,10 @@ ${input.slice(result.pos)}
15174
15310
  return result;
15175
15311
  }
15176
15312
  }
15177
- var TypeUnaryOp$0 = $S($EXPECT($L166, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
15178
- var TypeUnaryOp$1 = $S($EXPECT($L148, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
15179
- var TypeUnaryOp$2 = $S($EXPECT($L167, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
15180
- var TypeUnaryOp$3 = $S($EXPECT($L132, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
15313
+ var TypeUnaryOp$0 = $S($EXPECT($L167, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
15314
+ var TypeUnaryOp$1 = $S($EXPECT($L149, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
15315
+ var TypeUnaryOp$2 = $S($EXPECT($L168, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
15316
+ var TypeUnaryOp$3 = $S($EXPECT($L133, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
15181
15317
  function TypeUnaryOp(state) {
15182
15318
  let eventData;
15183
15319
  if (state.events) {
@@ -15253,8 +15389,8 @@ ${input.slice(result.pos)}
15253
15389
  return result;
15254
15390
  }
15255
15391
  }
15256
- var ImportType$0 = $S($EXPECT($L10, fail, 'ImportType "import"'), OpenParen, __, BasicStringLiteral, __, CloseParen, $E($S(Dot, IdentifierName)), $E(TypeArguments));
15257
- var ImportType$1 = $S($EXPECT($L10, fail, 'ImportType "import"'), InsertOpenParen, Trimmed_, BasicStringLiteral, InsertCloseParen);
15392
+ var ImportType$0 = $S($EXPECT($L11, fail, 'ImportType "import"'), OpenParen, __, BasicStringLiteral, __, CloseParen, $E($S(Dot, IdentifierName)), $E(TypeArguments));
15393
+ var ImportType$1 = $S($EXPECT($L11, fail, 'ImportType "import"'), InsertOpenParen, Trimmed_, BasicStringLiteral, InsertCloseParen);
15258
15394
  function ImportType(state) {
15259
15395
  let eventData;
15260
15396
  if (state.events) {
@@ -15375,7 +15511,7 @@ ${input.slice(result.pos)}
15375
15511
  return result;
15376
15512
  }
15377
15513
  }
15378
- var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L113, fail, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
15514
+ var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L116, fail, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
15379
15515
  if ($2)
15380
15516
  return $0;
15381
15517
  return $1;
@@ -15404,10 +15540,10 @@ ${input.slice(result.pos)}
15404
15540
  }
15405
15541
  var TypeLiteral$0 = Literal;
15406
15542
  var TypeLiteral$1 = TemplateLiteral;
15407
- var TypeLiteral$2 = $TS($S($EXPECT($L152, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15543
+ var TypeLiteral$2 = $TS($S($EXPECT($L153, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15408
15544
  return { $loc, token: "void" };
15409
15545
  });
15410
- var TypeLiteral$3 = $TV($EXPECT($L168, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
15546
+ var TypeLiteral$3 = $TV($EXPECT($L169, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
15411
15547
  return { $loc, token: "[]" };
15412
15548
  });
15413
15549
  function TypeLiteral(state) {
@@ -15482,7 +15618,7 @@ ${input.slice(result.pos)}
15482
15618
  var InlineInterfacePropertyDelimiter$1 = $T($S($Y($S($C(IndentedFurther, $E(_)), InlineBasicInterfaceProperty)), InsertComma), function(value) {
15483
15619
  return value[1];
15484
15620
  });
15485
- var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($L29, fail, 'InlineInterfacePropertyDelimiter ":"'), $EXPECT($L15, fail, 'InlineInterfacePropertyDelimiter ")"'), $EXPECT($L28, fail, 'InlineInterfacePropertyDelimiter "]"'), $EXPECT($L17, fail, 'InlineInterfacePropertyDelimiter "}"'))));
15621
+ var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($L30, fail, 'InlineInterfacePropertyDelimiter ":"'), $EXPECT($L16, fail, 'InlineInterfacePropertyDelimiter ")"'), $EXPECT($L29, fail, 'InlineInterfacePropertyDelimiter "]"'), $EXPECT($L18, fail, 'InlineInterfacePropertyDelimiter "}"'))));
15486
15622
  var InlineInterfacePropertyDelimiter$3 = $Y(EOS);
15487
15623
  function InlineInterfacePropertyDelimiter(state) {
15488
15624
  let eventData;
@@ -15506,10 +15642,10 @@ ${input.slice(result.pos)}
15506
15642
  return result;
15507
15643
  }
15508
15644
  }
15509
- var TypeBinaryOp$0 = $TV($EXPECT($L78, fail, 'TypeBinaryOp "|"'), function($skip, $loc, $0, $1) {
15645
+ var TypeBinaryOp$0 = $TV($EXPECT($L79, fail, 'TypeBinaryOp "|"'), function($skip, $loc, $0, $1) {
15510
15646
  return { $loc, token: "|" };
15511
15647
  });
15512
- var TypeBinaryOp$1 = $TV($EXPECT($L76, fail, 'TypeBinaryOp "&"'), function($skip, $loc, $0, $1) {
15648
+ var TypeBinaryOp$1 = $TV($EXPECT($L77, fail, 'TypeBinaryOp "&"'), function($skip, $loc, $0, $1) {
15513
15649
  return { $loc, token: "&" };
15514
15650
  });
15515
15651
  function TypeBinaryOp(state) {
@@ -15563,7 +15699,7 @@ ${input.slice(result.pos)}
15563
15699
  return result;
15564
15700
  }
15565
15701
  }
15566
- var TypeArguments$0 = $TS($S($EXPECT($L124, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L27, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
15702
+ var TypeArguments$0 = $TS($S($EXPECT($L127, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L28, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
15567
15703
  return { ts: true, children: $0 };
15568
15704
  });
15569
15705
  function TypeArguments(state) {
@@ -15634,7 +15770,7 @@ ${input.slice(result.pos)}
15634
15770
  return result;
15635
15771
  }
15636
15772
  }
15637
- var TypeParameters$0 = $TS($S(__, $EXPECT($L124, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L27, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
15773
+ var TypeParameters$0 = $TS($S(__, $EXPECT($L127, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L28, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
15638
15774
  var parameters = $3;
15639
15775
  return {
15640
15776
  type: "TypeParameters",
@@ -15688,7 +15824,7 @@ ${input.slice(result.pos)}
15688
15824
  return result;
15689
15825
  }
15690
15826
  }
15691
- var TypeConstraint$0 = $S(__, $EXPECT($L113, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
15827
+ var TypeConstraint$0 = $S(__, $EXPECT($L116, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
15692
15828
  function TypeConstraint(state) {
15693
15829
  let eventData;
15694
15830
  if (state.events) {
@@ -15711,7 +15847,7 @@ ${input.slice(result.pos)}
15711
15847
  return result;
15712
15848
  }
15713
15849
  }
15714
- var TypeInitializer$0 = $S(__, $EXPECT($L26, fail, 'TypeInitializer "="'), Type);
15850
+ var TypeInitializer$0 = $S(__, $EXPECT($L27, fail, 'TypeInitializer "="'), Type);
15715
15851
  function TypeInitializer(state) {
15716
15852
  let eventData;
15717
15853
  if (state.events) {
@@ -15735,7 +15871,7 @@ ${input.slice(result.pos)}
15735
15871
  }
15736
15872
  }
15737
15873
  var TypeParameterDelimiter$0 = $S($Q(_), Comma);
15738
- var TypeParameterDelimiter$1 = $Y($S(__, $EXPECT($L27, fail, 'TypeParameterDelimiter ">"')));
15874
+ var TypeParameterDelimiter$1 = $Y($S(__, $EXPECT($L28, fail, 'TypeParameterDelimiter ">"')));
15739
15875
  var TypeParameterDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
15740
15876
  return value[1];
15741
15877
  });
@@ -15786,7 +15922,7 @@ ${input.slice(result.pos)}
15786
15922
  return result;
15787
15923
  }
15788
15924
  }
15789
- var Shebang$0 = $S($R$0($EXPECT($R52, fail, "Shebang /#![^\\r\\n]*/")), EOL);
15925
+ var Shebang$0 = $S($R$0($EXPECT($R53, fail, "Shebang /#![^\\r\\n]*/")), EOL);
15790
15926
  function Shebang(state) {
15791
15927
  let eventData;
15792
15928
  if (state.events) {
@@ -15809,11 +15945,11 @@ ${input.slice(result.pos)}
15809
15945
  return result;
15810
15946
  }
15811
15947
  }
15812
- var CivetPrologue$0 = $T($S($EXPECT($R53, fail, "CivetPrologue /[\\t ]*/"), DoubleQuote, CivetPrologueContent, DoubleQuote, $TEXT(StatementDelimiter), $E(EOS)), function(value) {
15948
+ var CivetPrologue$0 = $T($S($EXPECT($R54, fail, "CivetPrologue /[\\t ]*/"), DoubleQuote, CivetPrologueContent, DoubleQuote, $TEXT(StatementDelimiter), $E(EOS)), function(value) {
15813
15949
  var content = value[2];
15814
15950
  return content;
15815
15951
  });
15816
- var CivetPrologue$1 = $T($S($EXPECT($R53, fail, "CivetPrologue /[\\t ]*/"), SingleQuote, CivetPrologueContent, SingleQuote, $TEXT(StatementDelimiter), $E(EOS)), function(value) {
15952
+ var CivetPrologue$1 = $T($S($EXPECT($R54, fail, "CivetPrologue /[\\t ]*/"), SingleQuote, CivetPrologueContent, SingleQuote, $TEXT(StatementDelimiter), $E(EOS)), function(value) {
15817
15953
  var content = value[2];
15818
15954
  return content;
15819
15955
  });
@@ -15839,7 +15975,7 @@ ${input.slice(result.pos)}
15839
15975
  return result;
15840
15976
  }
15841
15977
  }
15842
- var CivetPrologueContent$0 = $TS($S($EXPECT($L169, fail, 'CivetPrologueContent "civet"'), NonIdContinue, $Q(CivetOption), $EXPECT($R54, fail, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3, $4) {
15978
+ var CivetPrologueContent$0 = $TS($S($EXPECT($L170, fail, 'CivetPrologueContent "civet"'), NonIdContinue, $Q(CivetOption), $EXPECT($R55, fail, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3, $4) {
15843
15979
  var options = $3;
15844
15980
  return {
15845
15981
  type: "CivetPrologue",
@@ -15869,7 +16005,7 @@ ${input.slice(result.pos)}
15869
16005
  return result;
15870
16006
  }
15871
16007
  }
15872
- var CivetOption$0 = $TR($EXPECT($R55, fail, "CivetOption /\\s+([+-]?)([a-zA-Z0-9-]+)(\\s*=\\s*([a-zA-Z0-9.+-]*))?/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
16008
+ var CivetOption$0 = $TR($EXPECT($R56, fail, "CivetOption /\\s+([+-]?)([a-zA-Z0-9-]+)(\\s*=\\s*([a-zA-Z0-9.+-]*))?/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
15873
16009
  const optionName = $2.replace(/-+([a-z]?)/g, (_2, l) => {
15874
16010
  if (l)
15875
16011
  return l.toUpperCase();
@@ -15905,7 +16041,7 @@ ${input.slice(result.pos)}
15905
16041
  return result;
15906
16042
  }
15907
16043
  }
15908
- var UnknownPrologue$0 = $S($R$0($EXPECT($R53, fail, "UnknownPrologue /[\\t ]*/")), BasicStringLiteral, $TEXT(StatementDelimiter), EOS);
16044
+ var UnknownPrologue$0 = $S($R$0($EXPECT($R54, fail, "UnknownPrologue /[\\t ]*/")), BasicStringLiteral, $TEXT(StatementDelimiter), EOS);
15909
16045
  function UnknownPrologue(state) {
15910
16046
  let eventData;
15911
16047
  if (state.events) {
@@ -15975,7 +16111,7 @@ ${input.slice(result.pos)}
15975
16111
  return result;
15976
16112
  }
15977
16113
  }
15978
- var EOL$0 = $TR($EXPECT($R56, fail, "EOL /\\r\\n|\\n|\\r|$/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
16114
+ var EOL$0 = $TR($EXPECT($R57, fail, "EOL /\\r\\n|\\n|\\r|$/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
15979
16115
  return { $loc, token: $0 };
15980
16116
  });
15981
16117
  function EOL(state) {
@@ -16000,7 +16136,7 @@ ${input.slice(result.pos)}
16000
16136
  return result;
16001
16137
  }
16002
16138
  }
16003
- var Debugger$0 = $TV($EXPECT($L14, fail, 'Debugger ""'), function($skip, $loc, $0, $1) {
16139
+ var Debugger$0 = $TV($EXPECT($L15, fail, 'Debugger ""'), function($skip, $loc, $0, $1) {
16004
16140
  debugger;
16005
16141
  });
16006
16142
  function Debugger(state) {
@@ -16025,7 +16161,32 @@ ${input.slice(result.pos)}
16025
16161
  return result;
16026
16162
  }
16027
16163
  }
16028
- var InsertOpenParen$0 = $TV($EXPECT($L14, fail, 'InsertOpenParen ""'), function($skip, $loc, $0, $1) {
16164
+ var InsertSemicolon$0 = $TV($EXPECT($L15, fail, 'InsertSemicolon ""'), function($skip, $loc, $0, $1) {
16165
+ return { $loc, token: ";" };
16166
+ });
16167
+ function InsertSemicolon(state) {
16168
+ let eventData;
16169
+ if (state.events) {
16170
+ const result = state.events.enter?.("InsertSemicolon", state);
16171
+ if (result) {
16172
+ if (result.cache)
16173
+ return result.cache;
16174
+ eventData = result.data;
16175
+ }
16176
+ }
16177
+ if (state.tokenize) {
16178
+ const result = $TOKEN("InsertSemicolon", state, InsertSemicolon$0(state));
16179
+ if (state.events)
16180
+ state.events.exit?.("InsertSemicolon", state, result, eventData);
16181
+ return result;
16182
+ } else {
16183
+ const result = InsertSemicolon$0(state);
16184
+ if (state.events)
16185
+ state.events.exit?.("InsertSemicolon", state, result, eventData);
16186
+ return result;
16187
+ }
16188
+ }
16189
+ var InsertOpenParen$0 = $TV($EXPECT($L15, fail, 'InsertOpenParen ""'), function($skip, $loc, $0, $1) {
16029
16190
  return { $loc, token: "(" };
16030
16191
  });
16031
16192
  function InsertOpenParen(state) {
@@ -16050,7 +16211,7 @@ ${input.slice(result.pos)}
16050
16211
  return result;
16051
16212
  }
16052
16213
  }
16053
- var InsertCloseParen$0 = $TV($EXPECT($L14, fail, 'InsertCloseParen ""'), function($skip, $loc, $0, $1) {
16214
+ var InsertCloseParen$0 = $TV($EXPECT($L15, fail, 'InsertCloseParen ""'), function($skip, $loc, $0, $1) {
16054
16215
  return { $loc, token: ")" };
16055
16216
  });
16056
16217
  function InsertCloseParen(state) {
@@ -16075,7 +16236,7 @@ ${input.slice(result.pos)}
16075
16236
  return result;
16076
16237
  }
16077
16238
  }
16078
- var InsertOpenBrace$0 = $TV($EXPECT($L14, fail, 'InsertOpenBrace ""'), function($skip, $loc, $0, $1) {
16239
+ var InsertOpenBrace$0 = $TV($EXPECT($L15, fail, 'InsertOpenBrace ""'), function($skip, $loc, $0, $1) {
16079
16240
  return [{ $loc, token: " " }, { $loc, token: "{" }];
16080
16241
  });
16081
16242
  function InsertOpenBrace(state) {
@@ -16100,7 +16261,7 @@ ${input.slice(result.pos)}
16100
16261
  return result;
16101
16262
  }
16102
16263
  }
16103
- var InsertInlineOpenBrace$0 = $TV($EXPECT($L14, fail, 'InsertInlineOpenBrace ""'), function($skip, $loc, $0, $1) {
16264
+ var InsertInlineOpenBrace$0 = $TV($EXPECT($L15, fail, 'InsertInlineOpenBrace ""'), function($skip, $loc, $0, $1) {
16104
16265
  return { $loc, token: "{" };
16105
16266
  });
16106
16267
  function InsertInlineOpenBrace(state) {
@@ -16125,7 +16286,7 @@ ${input.slice(result.pos)}
16125
16286
  return result;
16126
16287
  }
16127
16288
  }
16128
- var InsertCloseBrace$0 = $TV($EXPECT($L14, fail, 'InsertCloseBrace ""'), function($skip, $loc, $0, $1) {
16289
+ var InsertCloseBrace$0 = $TV($EXPECT($L15, fail, 'InsertCloseBrace ""'), function($skip, $loc, $0, $1) {
16129
16290
  return { $loc, token: "}" };
16130
16291
  });
16131
16292
  function InsertCloseBrace(state) {
@@ -16150,7 +16311,7 @@ ${input.slice(result.pos)}
16150
16311
  return result;
16151
16312
  }
16152
16313
  }
16153
- var InsertComma$0 = $TV($EXPECT($L14, fail, 'InsertComma ""'), function($skip, $loc, $0, $1) {
16314
+ var InsertComma$0 = $TV($EXPECT($L15, fail, 'InsertComma ""'), function($skip, $loc, $0, $1) {
16154
16315
  return { $loc, token: "," };
16155
16316
  });
16156
16317
  function InsertComma(state) {
@@ -16175,7 +16336,7 @@ ${input.slice(result.pos)}
16175
16336
  return result;
16176
16337
  }
16177
16338
  }
16178
- var InsertConst$0 = $TV($EXPECT($L14, fail, 'InsertConst ""'), function($skip, $loc, $0, $1) {
16339
+ var InsertConst$0 = $TV($EXPECT($L15, fail, 'InsertConst ""'), function($skip, $loc, $0, $1) {
16179
16340
  return { $loc, token: "const " };
16180
16341
  });
16181
16342
  function InsertConst(state) {
@@ -16200,7 +16361,7 @@ ${input.slice(result.pos)}
16200
16361
  return result;
16201
16362
  }
16202
16363
  }
16203
- var InsertLet$0 = $TV($EXPECT($L14, fail, 'InsertLet ""'), function($skip, $loc, $0, $1) {
16364
+ var InsertLet$0 = $TV($EXPECT($L15, fail, 'InsertLet ""'), function($skip, $loc, $0, $1) {
16204
16365
  return { $loc, token: "let " };
16205
16366
  });
16206
16367
  function InsertLet(state) {
@@ -16225,7 +16386,7 @@ ${input.slice(result.pos)}
16225
16386
  return result;
16226
16387
  }
16227
16388
  }
16228
- var InsertReadonly$0 = $TV($EXPECT($L14, fail, 'InsertReadonly ""'), function($skip, $loc, $0, $1) {
16389
+ var InsertReadonly$0 = $TV($EXPECT($L15, fail, 'InsertReadonly ""'), function($skip, $loc, $0, $1) {
16229
16390
  return { ts: true, children: [{ $loc, token: "readonly " }] };
16230
16391
  });
16231
16392
  function InsertReadonly(state) {
@@ -16250,7 +16411,7 @@ ${input.slice(result.pos)}
16250
16411
  return result;
16251
16412
  }
16252
16413
  }
16253
- var InsertNewline$0 = $TV($EXPECT($L14, fail, 'InsertNewline ""'), function($skip, $loc, $0, $1) {
16414
+ var InsertNewline$0 = $TV($EXPECT($L15, fail, 'InsertNewline ""'), function($skip, $loc, $0, $1) {
16254
16415
  return "\n";
16255
16416
  });
16256
16417
  function InsertNewline(state) {
@@ -16275,7 +16436,7 @@ ${input.slice(result.pos)}
16275
16436
  return result;
16276
16437
  }
16277
16438
  }
16278
- var InsertIndent$0 = $TV($EXPECT($L14, fail, 'InsertIndent ""'), function($skip, $loc, $0, $1) {
16439
+ var InsertIndent$0 = $TV($EXPECT($L15, fail, 'InsertIndent ""'), function($skip, $loc, $0, $1) {
16279
16440
  return module2.currentIndent.token;
16280
16441
  });
16281
16442
  function InsertIndent(state) {
@@ -16300,7 +16461,7 @@ ${input.slice(result.pos)}
16300
16461
  return result;
16301
16462
  }
16302
16463
  }
16303
- var InsertSpace$0 = $TV($EXPECT($L14, fail, 'InsertSpace ""'), function($skip, $loc, $0, $1) {
16464
+ var InsertSpace$0 = $TV($EXPECT($L15, fail, 'InsertSpace ""'), function($skip, $loc, $0, $1) {
16304
16465
  return { $loc, token: " " };
16305
16466
  });
16306
16467
  function InsertSpace(state) {
@@ -16325,7 +16486,7 @@ ${input.slice(result.pos)}
16325
16486
  return result;
16326
16487
  }
16327
16488
  }
16328
- var InsertDot$0 = $TV($EXPECT($L14, fail, 'InsertDot ""'), function($skip, $loc, $0, $1) {
16489
+ var InsertDot$0 = $TV($EXPECT($L15, fail, 'InsertDot ""'), function($skip, $loc, $0, $1) {
16329
16490
  return { $loc, token: "." };
16330
16491
  });
16331
16492
  function InsertDot(state) {
@@ -16350,7 +16511,7 @@ ${input.slice(result.pos)}
16350
16511
  return result;
16351
16512
  }
16352
16513
  }
16353
- var InsertBreak$0 = $TV($EXPECT($L14, fail, 'InsertBreak ""'), function($skip, $loc, $0, $1) {
16514
+ var InsertBreak$0 = $TV($EXPECT($L15, fail, 'InsertBreak ""'), function($skip, $loc, $0, $1) {
16354
16515
  return { $loc, token: ";break;" };
16355
16516
  });
16356
16517
  function InsertBreak(state) {
@@ -16375,7 +16536,7 @@ ${input.slice(result.pos)}
16375
16536
  return result;
16376
16537
  }
16377
16538
  }
16378
- var InsertVar$0 = $TV($EXPECT($L14, fail, 'InsertVar ""'), function($skip, $loc, $0, $1) {
16539
+ var InsertVar$0 = $TV($EXPECT($L15, fail, 'InsertVar ""'), function($skip, $loc, $0, $1) {
16379
16540
  return { $loc, token: "var " };
16380
16541
  });
16381
16542
  function InsertVar(state) {
@@ -16400,7 +16561,7 @@ ${input.slice(result.pos)}
16400
16561
  return result;
16401
16562
  }
16402
16563
  }
16403
- var CoffeeBinaryExistentialEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeBinaryExistentialEnabled ""'), function($skip, $loc, $0, $1) {
16564
+ var CoffeeBinaryExistentialEnabled$0 = $TV($EXPECT($L15, fail, 'CoffeeBinaryExistentialEnabled ""'), function($skip, $loc, $0, $1) {
16404
16565
  if (module2.config.coffeeBinaryExistential)
16405
16566
  return;
16406
16567
  return $skip;
@@ -16427,7 +16588,7 @@ ${input.slice(result.pos)}
16427
16588
  return result;
16428
16589
  }
16429
16590
  }
16430
- var CoffeeBooleansEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeBooleansEnabled ""'), function($skip, $loc, $0, $1) {
16591
+ var CoffeeBooleansEnabled$0 = $TV($EXPECT($L15, fail, 'CoffeeBooleansEnabled ""'), function($skip, $loc, $0, $1) {
16431
16592
  if (module2.config.coffeeBooleans)
16432
16593
  return;
16433
16594
  return $skip;
@@ -16454,7 +16615,7 @@ ${input.slice(result.pos)}
16454
16615
  return result;
16455
16616
  }
16456
16617
  }
16457
- var CoffeeClassesEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeClassesEnabled ""'), function($skip, $loc, $0, $1) {
16618
+ var CoffeeClassesEnabled$0 = $TV($EXPECT($L15, fail, 'CoffeeClassesEnabled ""'), function($skip, $loc, $0, $1) {
16458
16619
  if (module2.config.coffeeClasses)
16459
16620
  return;
16460
16621
  return $skip;
@@ -16481,7 +16642,7 @@ ${input.slice(result.pos)}
16481
16642
  return result;
16482
16643
  }
16483
16644
  }
16484
- var CoffeeCommentEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeCommentEnabled ""'), function($skip, $loc, $0, $1) {
16645
+ var CoffeeCommentEnabled$0 = $TV($EXPECT($L15, fail, 'CoffeeCommentEnabled ""'), function($skip, $loc, $0, $1) {
16485
16646
  if (module2.config.coffeeComment)
16486
16647
  return;
16487
16648
  return $skip;
@@ -16508,7 +16669,7 @@ ${input.slice(result.pos)}
16508
16669
  return result;
16509
16670
  }
16510
16671
  }
16511
- var CoffeeDoEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeDoEnabled ""'), function($skip, $loc, $0, $1) {
16672
+ var CoffeeDoEnabled$0 = $TV($EXPECT($L15, fail, 'CoffeeDoEnabled ""'), function($skip, $loc, $0, $1) {
16512
16673
  if (module2.config.coffeeDo)
16513
16674
  return;
16514
16675
  return $skip;
@@ -16535,7 +16696,7 @@ ${input.slice(result.pos)}
16535
16696
  return result;
16536
16697
  }
16537
16698
  }
16538
- var CoffeeForLoopsEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeForLoopsEnabled ""'), function($skip, $loc, $0, $1) {
16699
+ var CoffeeForLoopsEnabled$0 = $TV($EXPECT($L15, fail, 'CoffeeForLoopsEnabled ""'), function($skip, $loc, $0, $1) {
16539
16700
  if (module2.config.coffeeForLoops)
16540
16701
  return;
16541
16702
  return $skip;
@@ -16562,7 +16723,7 @@ ${input.slice(result.pos)}
16562
16723
  return result;
16563
16724
  }
16564
16725
  }
16565
- var CoffeeInterpolationEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeInterpolationEnabled ""'), function($skip, $loc, $0, $1) {
16726
+ var CoffeeInterpolationEnabled$0 = $TV($EXPECT($L15, fail, 'CoffeeInterpolationEnabled ""'), function($skip, $loc, $0, $1) {
16566
16727
  if (module2.config.coffeeInterpolation)
16567
16728
  return;
16568
16729
  return $skip;
@@ -16589,7 +16750,7 @@ ${input.slice(result.pos)}
16589
16750
  return result;
16590
16751
  }
16591
16752
  }
16592
- var CoffeeIsntEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeIsntEnabled ""'), function($skip, $loc, $0, $1) {
16753
+ var CoffeeIsntEnabled$0 = $TV($EXPECT($L15, fail, 'CoffeeIsntEnabled ""'), function($skip, $loc, $0, $1) {
16593
16754
  if (module2.config.coffeeIsnt)
16594
16755
  return;
16595
16756
  return $skip;
@@ -16616,7 +16777,7 @@ ${input.slice(result.pos)}
16616
16777
  return result;
16617
16778
  }
16618
16779
  }
16619
- var CoffeeJSXEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeJSXEnabled ""'), function($skip, $loc, $0, $1) {
16780
+ var CoffeeJSXEnabled$0 = $TV($EXPECT($L15, fail, 'CoffeeJSXEnabled ""'), function($skip, $loc, $0, $1) {
16620
16781
  if (module2.config.coffeeJSX)
16621
16782
  return;
16622
16783
  return $skip;
@@ -16643,7 +16804,7 @@ ${input.slice(result.pos)}
16643
16804
  return result;
16644
16805
  }
16645
16806
  }
16646
- var CoffeeLineContinuationEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeLineContinuationEnabled ""'), function($skip, $loc, $0, $1) {
16807
+ var CoffeeLineContinuationEnabled$0 = $TV($EXPECT($L15, fail, 'CoffeeLineContinuationEnabled ""'), function($skip, $loc, $0, $1) {
16647
16808
  if (module2.config.coffeeLineContinuation)
16648
16809
  return;
16649
16810
  return $skip;
@@ -16670,7 +16831,7 @@ ${input.slice(result.pos)}
16670
16831
  return result;
16671
16832
  }
16672
16833
  }
16673
- var CoffeeNotEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeNotEnabled ""'), function($skip, $loc, $0, $1) {
16834
+ var CoffeeNotEnabled$0 = $TV($EXPECT($L15, fail, 'CoffeeNotEnabled ""'), function($skip, $loc, $0, $1) {
16674
16835
  if (module2.config.coffeeNot)
16675
16836
  return;
16676
16837
  return $skip;
@@ -16697,7 +16858,7 @@ ${input.slice(result.pos)}
16697
16858
  return result;
16698
16859
  }
16699
16860
  }
16700
- var CoffeeOfEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeOfEnabled ""'), function($skip, $loc, $0, $1) {
16861
+ var CoffeeOfEnabled$0 = $TV($EXPECT($L15, fail, 'CoffeeOfEnabled ""'), function($skip, $loc, $0, $1) {
16701
16862
  if (module2.config.coffeeOf)
16702
16863
  return;
16703
16864
  return $skip;
@@ -16724,7 +16885,7 @@ ${input.slice(result.pos)}
16724
16885
  return result;
16725
16886
  }
16726
16887
  }
16727
- var CoffeePrototypeEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeePrototypeEnabled ""'), function($skip, $loc, $0, $1) {
16888
+ var CoffeePrototypeEnabled$0 = $TV($EXPECT($L15, fail, 'CoffeePrototypeEnabled ""'), function($skip, $loc, $0, $1) {
16728
16889
  if (module2.config.coffeePrototype)
16729
16890
  return;
16730
16891
  return $skip;
@@ -16751,7 +16912,34 @@ ${input.slice(result.pos)}
16751
16912
  return result;
16752
16913
  }
16753
16914
  }
16754
- var Reset$0 = $TV($EXPECT($L14, fail, 'Reset ""'), function($skip, $loc, $0, $1) {
16915
+ var ObjectIsEnabled$0 = $TV($EXPECT($L15, fail, 'ObjectIsEnabled ""'), function($skip, $loc, $0, $1) {
16916
+ if (module2.config.objectIs)
16917
+ return;
16918
+ return $skip;
16919
+ });
16920
+ function ObjectIsEnabled(state) {
16921
+ let eventData;
16922
+ if (state.events) {
16923
+ const result = state.events.enter?.("ObjectIsEnabled", state);
16924
+ if (result) {
16925
+ if (result.cache)
16926
+ return result.cache;
16927
+ eventData = result.data;
16928
+ }
16929
+ }
16930
+ if (state.tokenize) {
16931
+ const result = $TOKEN("ObjectIsEnabled", state, ObjectIsEnabled$0(state));
16932
+ if (state.events)
16933
+ state.events.exit?.("ObjectIsEnabled", state, result, eventData);
16934
+ return result;
16935
+ } else {
16936
+ const result = ObjectIsEnabled$0(state);
16937
+ if (state.events)
16938
+ state.events.exit?.("ObjectIsEnabled", state, result, eventData);
16939
+ return result;
16940
+ }
16941
+ }
16942
+ var Reset$0 = $TV($EXPECT($L15, fail, 'Reset ""'), function($skip, $loc, $0, $1) {
16755
16943
  module2.indentLevels = [{
16756
16944
  level: 0,
16757
16945
  token: ""
@@ -16799,6 +16987,7 @@ ${input.slice(result.pos)}
16799
16987
  coffeeOf: false,
16800
16988
  coffeePrototype: false,
16801
16989
  implicitReturns: true,
16990
+ objectIs: false,
16802
16991
  react: false,
16803
16992
  solid: false,
16804
16993
  client: false,
@@ -16810,6 +16999,10 @@ ${input.slice(result.pos)}
16810
16999
  ts: true,
16811
17000
  children: [" as any"]
16812
17001
  };
17002
+ module2.asConst = {
17003
+ ts: true,
17004
+ children: [" as const"]
17005
+ };
16813
17006
  module2.prelude = [];
16814
17007
  const declareRef = {
16815
17008
  indexOf(indexOfRef) {
@@ -16826,6 +17019,13 @@ ${input.slice(result.pos)}
16826
17019
  };
16827
17020
  module2.prelude.push(["", ["const ", hasPropRef, typeSuffix, " = {}.hasOwnProperty", module2.asAny, "\n"]]);
16828
17021
  },
17022
+ is(isRef) {
17023
+ const typeSuffix = {
17024
+ ts: true,
17025
+ children: [": { <B, A extends B> (a: A, b: B): b is A, <A, B> (a: A, b: B): a is A & B }"]
17026
+ };
17027
+ module2.prelude.push(["", ["const ", isRef, typeSuffix, " = Object.is", module2.asAny, "\n"]]);
17028
+ },
16829
17029
  modulo(moduloRef) {
16830
17030
  const typeSuffix = {
16831
17031
  ts: true,
@@ -16885,6 +17085,12 @@ ${input.slice(result.pos)}
16885
17085
  declareRef[base](ref);
16886
17086
  return refs[base] = ref;
16887
17087
  };
17088
+ module2.makeAsConst = function(node) {
17089
+ if (node.type === "Literal" && node.raw !== "null" || node.type === "ArrayExpression" || node.type === "ObjectExpression") {
17090
+ return { ...node, children: [...node.children, module2.asConst] };
17091
+ }
17092
+ return node;
17093
+ };
16888
17094
  module2.typeOfJSX = function(node) {
16889
17095
  switch (node.type) {
16890
17096
  case "JSXElement":
@@ -16964,6 +17170,9 @@ ${input.slice(result.pos)}
16964
17170
  ]) {
16965
17171
  module2.config[option] = b;
16966
17172
  }
17173
+ if (b) {
17174
+ module2.config.objectIs = false;
17175
+ }
16967
17176
  }
16968
17177
  });
16969
17178
  module2.modifyString = function(str) {
@@ -17000,7 +17209,7 @@ ${input.slice(result.pos)}
17000
17209
  return result;
17001
17210
  }
17002
17211
  }
17003
- var Init$0 = $TS($S($E(Shebang), $Q(DirectivePrologue), $EXPECT($L14, fail, 'Init ""')), function($skip, $loc, $0, $1, $2, $3) {
17212
+ var Init$0 = $TS($S($E(Shebang), $Q(DirectivePrologue), $EXPECT($L15, fail, 'Init ""')), function($skip, $loc, $0, $1, $2, $3) {
17004
17213
  var directives = $2;
17005
17214
  directives.forEach((directive) => {
17006
17215
  if (directive.type === "CivetPrologue") {
@@ -17307,6 +17516,10 @@ ${input.slice(result.pos)}
17307
17516
  const op = expandedOps[i];
17308
17517
  if (op.special) {
17309
17518
  let [a, wsOp, op2, wsB, b] = expandedOps.slice(i - 2, i + 3);
17519
+ if (op2.asConst) {
17520
+ a = module2.makeAsConst(a);
17521
+ b = module2.makeAsConst(b);
17522
+ }
17310
17523
  let children;
17311
17524
  if (op2.call) {
17312
17525
  wsOp = module2.insertTrimmingSpace(wsOp, "");
@@ -18015,7 +18228,7 @@ ${input.slice(result.pos)}
18015
18228
  return result;
18016
18229
  }
18017
18230
  }
18018
- var Indent$0 = $TR($EXPECT($R57, fail, "Indent /[ \\t]*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
18231
+ var Indent$0 = $TR($EXPECT($R58, fail, "Indent /[ \\t]*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
18019
18232
  let level;
18020
18233
  if (module2.config.tab) {
18021
18234
  const tabs = $0.match(/\t/g);
@@ -18170,7 +18383,7 @@ ${input.slice(result.pos)}
18170
18383
  return result;
18171
18384
  }
18172
18385
  }
18173
- var PopIndent$0 = $TV($EXPECT($L14, fail, 'PopIndent ""'), function($skip, $loc, $0, $1) {
18386
+ var PopIndent$0 = $TV($EXPECT($L15, fail, 'PopIndent ""'), function($skip, $loc, $0, $1) {
18174
18387
  if (module2.config.verbose) {
18175
18388
  console.log("popping indent", module2.indentLevels[module2.indentLevels.length - 1], "->", module2.indentLevels[module2.indentLevels.length - 2]);
18176
18389
  }