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