@danielx/civet 0.11.2 → 0.11.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.mjs CHANGED
@@ -60,7 +60,7 @@ var require_machine = __commonJS({
60
60
  $N: () => $N2,
61
61
  $P: () => $P2,
62
62
  $Q: () => $Q2,
63
- $R: () => $R104,
63
+ $R: () => $R106,
64
64
  $R$0: () => $R$02,
65
65
  $S: () => $S2,
66
66
  $T: () => $T2,
@@ -97,7 +97,7 @@ var require_machine = __commonJS({
97
97
  return;
98
98
  };
99
99
  }
100
- function $R104(regExp) {
100
+ function $R106(regExp) {
101
101
  return function(_ctx, state2) {
102
102
  const { input, pos } = state2;
103
103
  regExp.lastIndex = state2.pos;
@@ -2912,20 +2912,7 @@ function wrapTypeInApplication(t, id, raw) {
2912
2912
  }
2913
2913
  function implicitFunctionBlock(f) {
2914
2914
  if (f.abstract || f.block || f.signature?.optional) return;
2915
- const { name, parent } = f;
2916
- let ancestor = parent;
2917
- let child = f;
2918
- if (ancestor?.type === "ExportDeclaration") {
2919
- child = ancestor;
2920
- ancestor = ancestor.parent;
2921
- }
2922
- const expressions = ancestor?.expressions ?? ancestor?.elements;
2923
- const currentIndex = expressions?.findIndex(([, def]) => def === child);
2924
- let following = currentIndex >= 0 && expressions[currentIndex + 1]?.[1];
2925
- if (following?.type === "ExportDeclaration") {
2926
- following = following.declaration;
2927
- }
2928
- if (f.type === following?.type && name != null && name === following.name) {
2915
+ if (followingOverloads(f).length) {
2929
2916
  f.ts = true;
2930
2917
  } else {
2931
2918
  const block = makeEmptyBlock();
@@ -2935,6 +2922,66 @@ function implicitFunctionBlock(f) {
2935
2922
  f.ts = false;
2936
2923
  }
2937
2924
  }
2925
+ function overloadsInDirection(f, direction) {
2926
+ if (!(f.name != null)) {
2927
+ return [];
2928
+ }
2929
+ let ancestor = f.parent;
2930
+ let child = f;
2931
+ if (ancestor?.type === "ExportDeclaration") {
2932
+ child = ancestor;
2933
+ ancestor = ancestor.parent;
2934
+ }
2935
+ if (!(ancestor?.type === "BlockStatement")) {
2936
+ return [];
2937
+ }
2938
+ const { expressions } = ancestor;
2939
+ let index = findChildIndex(expressions, child);
2940
+ if (!(index >= 0)) {
2941
+ return [];
2942
+ }
2943
+ if (direction < 0) {
2944
+ const results1 = [];
2945
+ while (--index >= 0) {
2946
+ let candidate = expressions[index][1];
2947
+ if (!candidate) {
2948
+ break;
2949
+ }
2950
+ if (candidate.type === "ExportDeclaration") {
2951
+ candidate = candidate.declaration;
2952
+ }
2953
+ if (!(candidate && candidate.type === f.type && candidate.name === f.name)) {
2954
+ break;
2955
+ }
2956
+ results1.push(candidate);
2957
+ }
2958
+ ;
2959
+ return results1;
2960
+ } else {
2961
+ const results2 = [];
2962
+ while (++index < expressions.length) {
2963
+ let candidate = expressions[index][1];
2964
+ if (!candidate) {
2965
+ break;
2966
+ }
2967
+ if (candidate.type === "ExportDeclaration") {
2968
+ candidate = candidate.declaration;
2969
+ }
2970
+ if (!(candidate && candidate.type === f.type && candidate.name === f.name)) {
2971
+ break;
2972
+ }
2973
+ results2.push(candidate);
2974
+ }
2975
+ ;
2976
+ return results2;
2977
+ }
2978
+ }
2979
+ function precedingOverloads(f) {
2980
+ return overloadsInDirection(f, -1);
2981
+ }
2982
+ function followingOverloads(f) {
2983
+ return overloadsInDirection(f, 1);
2984
+ }
2938
2985
  function processReturn(f, implicitReturns) {
2939
2986
  let { returnType } = f.signature;
2940
2987
  if (returnType && returnType.optional) {
@@ -3968,10 +4015,7 @@ function processParams(f) {
3968
4015
  const classExpressions = ancestor.body.expressions;
3969
4016
  let index2 = findChildIndex(classExpressions, f);
3970
4017
  assert.notEqual(index2, -1, "Could not find constructor in class");
3971
- let m7;
3972
- while (m7 = classExpressions[index2 - 1]?.[1], typeof m7 === "object" && m7 != null && "type" in m7 && m7.type === "MethodDefinition" && "name" in m7 && m7.name === "constructor") {
3973
- index2--;
3974
- }
4018
+ index2 -= precedingOverloads(f).length;
3975
4019
  const fStatement = classExpressions[index2];
3976
4020
  for (let ref20 = gatherRecursive(parameters, ($14) => $14.type === "Parameter"), i10 = 0, len9 = ref20.length; i10 < len9; i10++) {
3977
4021
  const parameter = ref20[i10];
@@ -4066,10 +4110,11 @@ function findSuperCall(block) {
4066
4110
  }
4067
4111
  function processSignature(f) {
4068
4112
  const { block, signature } = f;
4113
+ let addAsync = false;
4114
+ let addGenerator = false;
4069
4115
  if (!f.async?.length && hasAwait(block)) {
4070
4116
  if (f.async != null) {
4071
- f.async.push("async ");
4072
- signature.modifier.async = true;
4117
+ addAsync = true;
4073
4118
  } else {
4074
4119
  for (let ref23 = gatherRecursiveWithinFunction(block, ($17) => $17.type === "Await"), i13 = 0, len12 = ref23.length; i13 < len12; i13++) {
4075
4120
  const a = ref23[i13];
@@ -4083,8 +4128,7 @@ function processSignature(f) {
4083
4128
  }
4084
4129
  if (!f.generator?.length && hasYield(block)) {
4085
4130
  if (f.generator != null) {
4086
- f.generator.push("*");
4087
- signature.modifier.generator = true;
4131
+ addGenerator = true;
4088
4132
  } else {
4089
4133
  for (let ref24 = gatherRecursiveWithinFunction(block, ($18) => $18.type === "YieldExpression"), i14 = 0, len13 = ref24.length; i14 < len13; i14++) {
4090
4134
  const y = ref24[i14];
@@ -4096,17 +4140,28 @@ function processSignature(f) {
4096
4140
  }
4097
4141
  }
4098
4142
  }
4099
- if (signature.modifier.async && !signature.modifier.generator && signature.returnType && !isPromiseType(signature.returnType.t)) {
4100
- replaceNode(
4101
- signature.returnType.t,
4102
- wrapTypeInPromise(signature.returnType.t),
4103
- signature.returnType
4104
- );
4143
+ for (let ref25 = [f, ...precedingOverloads(f)], i15 = 0, len14 = ref25.length; i15 < len14; i15++) {
4144
+ const overload = ref25[i15];
4145
+ if (addAsync && overload.async != null && !overload.async.length) {
4146
+ overload.async.push("async ");
4147
+ overload.signature.modifier.async = true;
4148
+ }
4149
+ if (addGenerator && overload.generator != null && !overload.generator.length) {
4150
+ overload.generator.push("*");
4151
+ overload.signature.modifier.generator = true;
4152
+ }
4153
+ if (overload.signature.modifier.async && !overload.signature.modifier.generator && overload.signature.returnType && !isPromiseType(overload.signature.returnType.t)) {
4154
+ replaceNode(
4155
+ overload.signature.returnType.t,
4156
+ wrapTypeInPromise(overload.signature.returnType.t),
4157
+ overload.signature.returnType
4158
+ );
4159
+ }
4105
4160
  }
4106
4161
  }
4107
4162
  function processFunctions(statements, config2) {
4108
- for (let ref25 = gatherRecursiveAll(statements, ($20) => $20.type === "FunctionExpression" || $20.type === "ArrowFunction" || $20.type === "MethodDefinition"), i15 = 0, len14 = ref25.length; i15 < len14; i15++) {
4109
- const f = ref25[i15];
4163
+ for (let ref26 = gatherRecursiveAll(statements, ($20) => $20.type === "FunctionExpression" || $20.type === "ArrowFunction" || $20.type === "MethodDefinition"), i16 = 0, len15 = ref26.length; i16 < len15; i16++) {
4164
+ const f = ref26[i16];
4110
4165
  if (f.type === "FunctionExpression" || f.type === "MethodDefinition") {
4111
4166
  implicitFunctionBlock(f);
4112
4167
  }
@@ -4165,9 +4220,9 @@ function expressionizeIteration(exp) {
4165
4220
  }
4166
4221
  let done;
4167
4222
  if (!async) {
4168
- let ref26;
4169
- if ((ref26 = blockContainingStatement(exp)) && typeof ref26 === "object" && "block" in ref26 && "index" in ref26) {
4170
- const { block: parentBlock, index } = ref26;
4223
+ let ref27;
4224
+ if ((ref27 = blockContainingStatement(exp)) && typeof ref27 === "object" && "block" in ref27 && "index" in ref27) {
4225
+ const { block: parentBlock, index } = ref27;
4171
4226
  statements[0][0] = parentBlock.expressions[index][0];
4172
4227
  parentBlock.expressions.splice(index, index + 1 - index, ...statements);
4173
4228
  updateParentPointers(parentBlock);
@@ -4184,8 +4239,8 @@ function expressionizeIteration(exp) {
4184
4239
  }
4185
4240
  }
4186
4241
  function processIterationExpressions(statements) {
4187
- for (let ref27 = gatherRecursiveAll(statements, ($21) => $21.type === "IterationExpression"), i16 = 0, len15 = ref27.length; i16 < len15; i16++) {
4188
- const s = ref27[i16];
4242
+ for (let ref28 = gatherRecursiveAll(statements, ($21) => $21.type === "IterationExpression"), i17 = 0, len16 = ref28.length; i17 < len16; i17++) {
4243
+ const s = ref28[i17];
4189
4244
  expressionizeIteration(s);
4190
4245
  }
4191
4246
  }
@@ -4208,13 +4263,13 @@ function processCoffeeDo(ws, expression) {
4208
4263
  if (typeof expression === "object" && expression != null && "type" in expression && expression.type === "ArrowFunction" || typeof expression === "object" && expression != null && "type" in expression && expression.type === "FunctionExpression") {
4209
4264
  let { parameters } = expression;
4210
4265
  const parameterList = parameters.parameters;
4211
- const results1 = [];
4212
- for (let i17 = 0, len16 = parameterList.length; i17 < len16; i17++) {
4213
- let parameter = parameterList[i17];
4266
+ const results3 = [];
4267
+ for (let i18 = 0, len17 = parameterList.length; i18 < len17; i18++) {
4268
+ let parameter = parameterList[i18];
4214
4269
  if (typeof parameter === "object" && parameter != null && "type" in parameter && parameter.type === "Parameter") {
4215
- let ref28;
4216
- if (ref28 = parameter.initializer) {
4217
- const initializer = ref28;
4270
+ let ref29;
4271
+ if (ref29 = parameter.initializer) {
4272
+ const initializer = ref29;
4218
4273
  args.push(initializer.expression, parameter.delim);
4219
4274
  parameter = {
4220
4275
  ...parameter,
@@ -4227,10 +4282,10 @@ function processCoffeeDo(ws, expression) {
4227
4282
  ));
4228
4283
  }
4229
4284
  }
4230
- results1.push(parameter);
4285
+ results3.push(parameter);
4231
4286
  }
4232
4287
  ;
4233
- const newParameterList = results1;
4288
+ const newParameterList = results3;
4234
4289
  const newParameters = {
4235
4290
  ...parameters,
4236
4291
  parameters: newParameterList,
@@ -9166,12 +9221,16 @@ var grammar = {
9166
9221
  CommaDelimiter,
9167
9222
  OptionalCommaDelimiter,
9168
9223
  ArgumentList,
9224
+ PostfixedArgumentList,
9169
9225
  NestedArguments,
9170
9226
  NestedArgumentList,
9171
9227
  NestedArgument,
9172
9228
  SingleLineArgumentExpressions,
9173
9229
  WArgumentPart,
9230
+ SingleLinePostfixedArgumentExpressions,
9231
+ WPostfixedArgumentPart,
9174
9232
  ArgumentPart,
9233
+ PostfixedArgumentPart,
9175
9234
  BinaryOpExpression,
9176
9235
  BinaryOpNotDedented,
9177
9236
  BinaryOpRHS,
@@ -9554,6 +9613,7 @@ var grammar = {
9554
9613
  Debugger,
9555
9614
  MaybeNestedNonPipelineExpression,
9556
9615
  MaybeNestedPostfixedExpression,
9616
+ MaybeNestedPostfixedCommaExpression,
9557
9617
  NestedPostfixedExpressionNoTrailing,
9558
9618
  MaybeNestedExpression,
9559
9619
  MaybeParenNestedExpression,
@@ -9609,6 +9669,8 @@ var grammar = {
9609
9669
  StringLiteral,
9610
9670
  DoubleStringCharacters,
9611
9671
  SingleStringCharacters,
9672
+ SingleLineStringLiteral,
9673
+ UnclosedSingleLineStringLiteral,
9612
9674
  TripleDoubleStringContents,
9613
9675
  CoffeeTripleDoubleStringCharacters,
9614
9676
  TripleDoubleStringCharacters,
@@ -10270,7 +10332,7 @@ var $R30 = (0, import_lib2.$R)(new RegExp("[:.]", "suy"));
10270
10332
  var $R31 = (0, import_lib2.$R)(new RegExp("(?=for|if|loop|unless|until|while)", "suy"));
10271
10333
  var $R32 = (0, import_lib2.$R)(new RegExp("(?:loop|while|until|for|do)(?!\\p{ID_Continue})", "suy"));
10272
10334
  var $R33 = (0, import_lib2.$R)(new RegExp("(?=loop|comptime|do|for|until|while)", "suy"));
10273
- var $R34 = (0, import_lib2.$R)(new RegExp('[^;"\\s=>]+', "suy"));
10335
+ var $R34 = (0, import_lib2.$R)(new RegExp(`[^;"'\\s=>]+`, "suy"));
10274
10336
  var $R35 = (0, import_lib2.$R)(new RegExp("(?=[0-9.])", "suy"));
10275
10337
  var $R36 = (0, import_lib2.$R)(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)n", "suy"));
10276
10338
  var $R37 = (0, import_lib2.$R)(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)(?=\\.(?:\\p{ID_Start}|[_$]))", "suy"));
@@ -10284,62 +10346,64 @@ var $R44 = (0, import_lib2.$R)(new RegExp("(?=[0-9])", "suy"));
10284
10346
  var $R45 = (0, import_lib2.$R)(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)", "suy"));
10285
10347
  var $R46 = (0, import_lib2.$R)(new RegExp('(?:\\\\.|[^"])*', "suy"));
10286
10348
  var $R47 = (0, import_lib2.$R)(new RegExp("(?:\\\\.|[^'])*", "suy"));
10287
- var $R48 = (0, import_lib2.$R)(new RegExp('(?:"(?!"")|#(?!\\{)|\\\\.|[^#"])+', "suy"));
10288
- var $R49 = (0, import_lib2.$R)(new RegExp('(?:"(?!"")|\\\\.|[^"])+', "suy"));
10289
- var $R50 = (0, import_lib2.$R)(new RegExp("(?:'(?!'')|\\\\.|[^'])*", "suy"));
10290
- var $R51 = (0, import_lib2.$R)(new RegExp('(?:\\\\.|#(?!\\{)|[^"#])+', "suy"));
10291
- var $R52 = (0, import_lib2.$R)(new RegExp("(?:\\\\.|[^\\]])*", "suy"));
10292
- var $R53 = (0, import_lib2.$R)(new RegExp("(?:\\\\.)", "suy"));
10293
- var $R54 = (0, import_lib2.$R)(new RegExp("[\\s]+", "suy"));
10294
- var $R55 = (0, import_lib2.$R)(new RegExp("\\/(?!\\/\\/)", "suy"));
10295
- var $R56 = (0, import_lib2.$R)(new RegExp("[^[\\/\\s#$\\\\]+|[#$]", "suy"));
10296
- var $R57 = (0, import_lib2.$R)(new RegExp("[*\\/\\r\\n]", "suy"));
10297
- var $R58 = (0, import_lib2.$R)(new RegExp("(?:\\\\.|[^[\\/\\r\\n])+", "suy"));
10298
- var $R59 = (0, import_lib2.$R)(new RegExp("(?:\\p{ID_Continue}|[\\u200C\\u200D$])*", "suy"));
10299
- var $R60 = (0, import_lib2.$R)(new RegExp("(?=[`'\"])", "suy"));
10300
- var $R61 = (0, import_lib2.$R)(new RegExp("(?:\\$(?!\\{)|\\\\.|[^$`])+", "suy"));
10301
- var $R62 = (0, import_lib2.$R)(new RegExp("(?:\\$(?!\\{)|`(?!``)|\\\\.|[^$`])+", "suy"));
10302
- var $R63 = (0, import_lib2.$R)(new RegExp("(?:on|off|yes|no)(?!\\p{ID_Continue})", "suy"));
10303
- var $R64 = (0, import_lib2.$R)(new RegExp("(?:isnt)(?!\\p{ID_Continue})", "suy"));
10304
- var $R65 = (0, import_lib2.$R)(new RegExp("(?:by)(?!\\p{ID_Continue})", "suy"));
10305
- var $R66 = (0, import_lib2.$R)(new RegExp("(?:of)(?!\\p{ID_Continue})", "suy"));
10306
- var $R67 = (0, import_lib2.$R)(new RegExp("(?: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|not|null|or|private|protected|public|return|static|super|switch|this|throw|true|try|typeof|unless|until|var|void|while|with|yield)(?!\\p{ID_Continue})", "suy"));
10307
- var $R68 = (0, import_lib2.$R)(new RegExp("(?=\\/|#)", "suy"));
10308
- var $R69 = (0, import_lib2.$R)(new RegExp("\\/\\/(?!\\/)[^\\r\\n]*", "suy"));
10309
- var $R70 = (0, import_lib2.$R)(new RegExp(".", "suy"));
10310
- var $R71 = (0, import_lib2.$R)(new RegExp("#(?!##(?!#))([^\\r\\n]*)", "suy"));
10311
- var $R72 = (0, import_lib2.$R)(new RegExp("[^]*?###", "suy"));
10312
- var $R73 = (0, import_lib2.$R)(new RegExp("###(?!#)", "suy"));
10313
- var $R74 = (0, import_lib2.$R)(new RegExp("\\/\\*(?:(?!\\*\\/)[^\\r\\n])*\\*\\/", "suy"));
10314
- var $R75 = (0, import_lib2.$R)(new RegExp("(?=[ \\t\\/\\\\#])", "suy"));
10315
- var $R76 = (0, import_lib2.$R)(new RegExp("(?=\\s|\\/|#)", "suy"));
10316
- var $R77 = (0, import_lib2.$R)(new RegExp("(?!\\p{ID_Continue})", "suy"));
10317
- var $R78 = (0, import_lib2.$R)(new RegExp("[=:]", "suy"));
10318
- var $R79 = (0, import_lib2.$R)(new RegExp("['\u2019]s", "suy"));
10319
- var $R80 = (0, import_lib2.$R)(new RegExp("\\s", "suy"));
10320
- var $R81 = (0, import_lib2.$R)(new RegExp("(?=[<])", "suy"));
10321
- var $R82 = (0, import_lib2.$R)(new RegExp("(?:\\p{ID_Start}|[_$])(?:\\p{ID_Continue}|[\\u200C\\u200D$-])*", "suy"));
10322
- var $R83 = (0, import_lib2.$R)(new RegExp("[!+-]", "suy"));
10323
- var $R84 = (0, import_lib2.$R)(new RegExp("[\\s>]|\\/>", "suy"));
10324
- var $R85 = (0, import_lib2.$R)(new RegExp("(?:[\\w\\-:]+|\\([^()]*\\)|\\[[^\\[\\]]*\\])+", "suy"));
10325
- var $R86 = (0, import_lib2.$R)(new RegExp(`"[^"]*"|'[^']*'`, "suy"));
10326
- var $R87 = (0, import_lib2.$R)(new RegExp("[<>]", "suy"));
10327
- var $R88 = (0, import_lib2.$R)(new RegExp("[!~+-](?!\\s|[!~+-]*&)", "suy"));
10328
- var $R89 = (0, import_lib2.$R)(new RegExp("(?:-[^-]|[^-]*)*", "suy"));
10329
- var $R90 = (0, import_lib2.$R)(new RegExp("[^{}<>\\r\\n]+", "suy"));
10330
- var $R91 = (0, import_lib2.$R)(new RegExp("[+-]?", "suy"));
10331
- var $R92 = (0, import_lib2.$R)(new RegExp("(?=if|unless)", "suy"));
10332
- var $R93 = (0, import_lib2.$R)(new RegExp("[|&<!=\\-\u21D2\u2192]", "suy"));
10333
- var $R94 = (0, import_lib2.$R)(new RegExp("(extends|not|is)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
10334
- var $R95 = (0, import_lib2.$R)(new RegExp("const|in|out", "suy"));
10335
- var $R96 = (0, import_lib2.$R)(new RegExp("#![^\\r\\n]*", "suy"));
10336
- var $R97 = (0, import_lib2.$R)(new RegExp("[\\t ]*", "suy"));
10337
- var $R98 = (0, import_lib2.$R)(new RegExp("[\\s]*", "suy"));
10338
- var $R99 = (0, import_lib2.$R)(new RegExp("\\s+([+-]?)([a-zA-Z0-9-]+)(\\s*=\\s*([\\p{ID_Continue}.,+-]*))?", "suy"));
10339
- var $R100 = (0, import_lib2.$R)(new RegExp("\\/\\/\\/[^\\r\\n]*", "suy"));
10340
- var $R101 = (0, import_lib2.$R)(new RegExp("(?=[ \\t\\r\\n\\/#]|$)", "suy"));
10341
- var $R102 = (0, import_lib2.$R)(new RegExp("\\r\\n|\\n|\\r|$", "suy"));
10342
- var $R103 = (0, import_lib2.$R)(new RegExp("[^]*", "suy"));
10349
+ var $R48 = (0, import_lib2.$R)(new RegExp('(?:\\\\.|[^"\\n])*', "suy"));
10350
+ var $R49 = (0, import_lib2.$R)(new RegExp("(?:\\\\.|[^'\\n])*", "suy"));
10351
+ var $R50 = (0, import_lib2.$R)(new RegExp('(?:"(?!"")|#(?!\\{)|\\\\.|[^#"])+', "suy"));
10352
+ var $R51 = (0, import_lib2.$R)(new RegExp('(?:"(?!"")|\\\\.|[^"])+', "suy"));
10353
+ var $R52 = (0, import_lib2.$R)(new RegExp("(?:'(?!'')|\\\\.|[^'])*", "suy"));
10354
+ var $R53 = (0, import_lib2.$R)(new RegExp('(?:\\\\.|#(?!\\{)|[^"#])+', "suy"));
10355
+ var $R54 = (0, import_lib2.$R)(new RegExp("(?:\\\\.|[^\\]])*", "suy"));
10356
+ var $R55 = (0, import_lib2.$R)(new RegExp("(?:\\\\.)", "suy"));
10357
+ var $R56 = (0, import_lib2.$R)(new RegExp("[\\s]+", "suy"));
10358
+ var $R57 = (0, import_lib2.$R)(new RegExp("\\/(?!\\/\\/)", "suy"));
10359
+ var $R58 = (0, import_lib2.$R)(new RegExp("[^[\\/\\s#$\\\\]+|[#$]", "suy"));
10360
+ var $R59 = (0, import_lib2.$R)(new RegExp("[*\\/\\r\\n]", "suy"));
10361
+ var $R60 = (0, import_lib2.$R)(new RegExp("(?:\\\\.|[^[\\/\\r\\n])+", "suy"));
10362
+ var $R61 = (0, import_lib2.$R)(new RegExp("(?:\\p{ID_Continue}|[\\u200C\\u200D$])*", "suy"));
10363
+ var $R62 = (0, import_lib2.$R)(new RegExp("(?=[`'\"])", "suy"));
10364
+ var $R63 = (0, import_lib2.$R)(new RegExp("(?:\\$(?!\\{)|\\\\.|[^$`])+", "suy"));
10365
+ var $R64 = (0, import_lib2.$R)(new RegExp("(?:\\$(?!\\{)|`(?!``)|\\\\.|[^$`])+", "suy"));
10366
+ var $R65 = (0, import_lib2.$R)(new RegExp("(?:on|off|yes|no)(?!\\p{ID_Continue})", "suy"));
10367
+ var $R66 = (0, import_lib2.$R)(new RegExp("(?:isnt)(?!\\p{ID_Continue})", "suy"));
10368
+ var $R67 = (0, import_lib2.$R)(new RegExp("(?:by)(?!\\p{ID_Continue})", "suy"));
10369
+ var $R68 = (0, import_lib2.$R)(new RegExp("(?:of)(?!\\p{ID_Continue})", "suy"));
10370
+ var $R69 = (0, import_lib2.$R)(new RegExp("(?: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|not|null|or|private|protected|public|return|static|super|switch|this|throw|true|try|typeof|unless|until|var|void|while|with|yield)(?!\\p{ID_Continue})", "suy"));
10371
+ var $R70 = (0, import_lib2.$R)(new RegExp("(?=\\/|#)", "suy"));
10372
+ var $R71 = (0, import_lib2.$R)(new RegExp("\\/\\/(?!\\/)[^\\r\\n]*", "suy"));
10373
+ var $R72 = (0, import_lib2.$R)(new RegExp(".", "suy"));
10374
+ var $R73 = (0, import_lib2.$R)(new RegExp("#(?!##(?!#))([^\\r\\n]*)", "suy"));
10375
+ var $R74 = (0, import_lib2.$R)(new RegExp("[^]*?###", "suy"));
10376
+ var $R75 = (0, import_lib2.$R)(new RegExp("###(?!#)", "suy"));
10377
+ var $R76 = (0, import_lib2.$R)(new RegExp("\\/\\*(?:(?!\\*\\/)[^\\r\\n])*\\*\\/", "suy"));
10378
+ var $R77 = (0, import_lib2.$R)(new RegExp("(?=[ \\t\\/\\\\#])", "suy"));
10379
+ var $R78 = (0, import_lib2.$R)(new RegExp("(?=\\s|\\/|#)", "suy"));
10380
+ var $R79 = (0, import_lib2.$R)(new RegExp("(?!\\p{ID_Continue})", "suy"));
10381
+ var $R80 = (0, import_lib2.$R)(new RegExp("[=:]", "suy"));
10382
+ var $R81 = (0, import_lib2.$R)(new RegExp("['\u2019]s", "suy"));
10383
+ var $R82 = (0, import_lib2.$R)(new RegExp("\\s", "suy"));
10384
+ var $R83 = (0, import_lib2.$R)(new RegExp("(?=[<])", "suy"));
10385
+ var $R84 = (0, import_lib2.$R)(new RegExp("(?:\\p{ID_Start}|[_$])(?:\\p{ID_Continue}|[\\u200C\\u200D$-])*", "suy"));
10386
+ var $R85 = (0, import_lib2.$R)(new RegExp("[!+-]", "suy"));
10387
+ var $R86 = (0, import_lib2.$R)(new RegExp("[\\s>]|\\/>", "suy"));
10388
+ var $R87 = (0, import_lib2.$R)(new RegExp("(?:[\\w\\-:]+|\\([^()]*\\)|\\[[^\\[\\]]*\\])+", "suy"));
10389
+ var $R88 = (0, import_lib2.$R)(new RegExp(`"[^"]*"|'[^']*'`, "suy"));
10390
+ var $R89 = (0, import_lib2.$R)(new RegExp("[<>]", "suy"));
10391
+ var $R90 = (0, import_lib2.$R)(new RegExp("[!~+-](?!\\s|[!~+-]*&)", "suy"));
10392
+ var $R91 = (0, import_lib2.$R)(new RegExp("(?:-[^-]|[^-]*)*", "suy"));
10393
+ var $R92 = (0, import_lib2.$R)(new RegExp("[^{}<>\\r\\n]+", "suy"));
10394
+ var $R93 = (0, import_lib2.$R)(new RegExp("[+-]?", "suy"));
10395
+ var $R94 = (0, import_lib2.$R)(new RegExp("(?=if|unless)", "suy"));
10396
+ var $R95 = (0, import_lib2.$R)(new RegExp("[|&<!=\\-\u21D2\u2192]", "suy"));
10397
+ var $R96 = (0, import_lib2.$R)(new RegExp("(extends|not|is)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
10398
+ var $R97 = (0, import_lib2.$R)(new RegExp("const|in|out", "suy"));
10399
+ var $R98 = (0, import_lib2.$R)(new RegExp("#![^\\r\\n]*", "suy"));
10400
+ var $R99 = (0, import_lib2.$R)(new RegExp("[\\t ]*", "suy"));
10401
+ var $R100 = (0, import_lib2.$R)(new RegExp("[\\s]*", "suy"));
10402
+ var $R101 = (0, import_lib2.$R)(new RegExp("\\s+([+-]?)([a-zA-Z0-9-]+)(\\s*=\\s*([\\p{ID_Continue}.,+-]*))?", "suy"));
10403
+ var $R102 = (0, import_lib2.$R)(new RegExp("\\/\\/\\/[^\\r\\n]*", "suy"));
10404
+ var $R103 = (0, import_lib2.$R)(new RegExp("(?=[ \\t\\r\\n\\/#]|$)", "suy"));
10405
+ var $R104 = (0, import_lib2.$R)(new RegExp("\\r\\n|\\n|\\r|$", "suy"));
10406
+ var $R105 = (0, import_lib2.$R)(new RegExp("[^]*", "suy"));
10343
10407
  var Program$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(Reset, Init, (0, import_lib2.$E)(EOS), TopLevelStatements, __), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
10344
10408
  var reset = $1;
10345
10409
  var init = $2;
@@ -10569,7 +10633,7 @@ var ImplicitArguments$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(ApplicationSt
10569
10633
  function ImplicitArguments(ctx, state2) {
10570
10634
  return (0, import_lib2.$EVENT)(ctx, state2, "ImplicitArguments", ImplicitArguments$0);
10571
10635
  }
10572
- var ExplicitArguments$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(OpenParen, AllowAll, (0, import_lib2.$E)((0, import_lib2.$S)(ArgumentList, (0, import_lib2.$E)((0, import_lib2.$S)(__, Comma)))), __, RestoreAll, CloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
10636
+ var ExplicitArguments$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(OpenParen, AllowAll, (0, import_lib2.$E)((0, import_lib2.$S)(PostfixedArgumentList, (0, import_lib2.$E)((0, import_lib2.$S)(__, Comma)))), __, RestoreAll, CloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
10573
10637
  var open = $1;
10574
10638
  var args = $3;
10575
10639
  var ws = $4;
@@ -10707,6 +10771,35 @@ var ArgumentList$$ = [ArgumentList$0, ArgumentList$1, ArgumentList$2];
10707
10771
  function ArgumentList(ctx, state2) {
10708
10772
  return (0, import_lib2.$EVENT_C)(ctx, state2, "ArgumentList", ArgumentList$$);
10709
10773
  }
10774
+ var PostfixedArgumentList$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$N)(EOS), PostfixedArgumentPart, (0, import_lib2.$Q)((0, import_lib2.$S)(CommaDelimiter, (0, import_lib2.$N)(EOS), (0, import_lib2.$E)(_), PostfixedArgumentPart)), (0, import_lib2.$S)(CommaDelimiter, NestedArguments), (0, import_lib2.$Q)((0, import_lib2.$S)(OptionalCommaDelimiter, NestedArguments))), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
10775
+ return [
10776
+ $2,
10777
+ ...$3.flatMap(([comma, eos, ws, arg]) => [comma, prepend(ws, arg)]),
10778
+ ...Array.isArray($4[1]) ? [$4[0], ...$4[1]] : $4,
10779
+ ...$5.flatMap(
10780
+ ([comma, args]) => Array.isArray(args) ? [comma, ...args] : [comma, args]
10781
+ )
10782
+ ];
10783
+ });
10784
+ var PostfixedArgumentList$1 = (0, import_lib2.$TS)((0, import_lib2.$S)(NestedArguments, (0, import_lib2.$Q)((0, import_lib2.$S)(OptionalCommaDelimiter, NestedArguments))), function($skip, $loc, $0, $1, $2) {
10785
+ if (!Array.isArray($1)) $1 = [$1];
10786
+ return [
10787
+ ...trimFirstSpace($1),
10788
+ ...$2.flatMap(
10789
+ ([comma, args]) => Array.isArray(args) ? [comma, ...args] : [comma, args]
10790
+ )
10791
+ ];
10792
+ });
10793
+ var PostfixedArgumentList$2 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$E)(_), PostfixedArgumentPart, (0, import_lib2.$Q)((0, import_lib2.$S)(CommaDelimiter, (0, import_lib2.$E)(_), PostfixedArgumentPart))), function($skip, $loc, $0, $1, $2, $3) {
10794
+ return [
10795
+ prepend($1, $2),
10796
+ ...$3.flatMap(([comma, ws, arg]) => [comma, prepend(ws, arg)])
10797
+ ];
10798
+ });
10799
+ var PostfixedArgumentList$$ = [PostfixedArgumentList$0, PostfixedArgumentList$1, PostfixedArgumentList$2];
10800
+ function PostfixedArgumentList(ctx, state2) {
10801
+ return (0, import_lib2.$EVENT_C)(ctx, state2, "PostfixedArgumentList", PostfixedArgumentList$$);
10802
+ }
10710
10803
  var NestedArguments$0 = NestedBulletedArray;
10711
10804
  var NestedArguments$1 = NestedImplicitObjectLiteral;
10712
10805
  var NestedArguments$2 = NestedArgumentList;
@@ -10722,7 +10815,7 @@ var NestedArgumentList$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(PushIndent,
10722
10815
  function NestedArgumentList(ctx, state2) {
10723
10816
  return (0, import_lib2.$EVENT)(ctx, state2, "NestedArgumentList", NestedArgumentList$0);
10724
10817
  }
10725
- var NestedArgument$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$N)(NestedImplicitPropertyDefinition), Nested, (0, import_lib2.$N)(Bullet), SingleLineArgumentExpressions, ParameterElementDelimiter), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
10818
+ var NestedArgument$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$N)(NestedImplicitPropertyDefinition), Nested, (0, import_lib2.$N)(Bullet), SingleLinePostfixedArgumentExpressions, ParameterElementDelimiter), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
10726
10819
  var indent = $2;
10727
10820
  var args = $4;
10728
10821
  var comma = $5;
@@ -10745,6 +10838,18 @@ var WArgumentPart$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$
10745
10838
  function WArgumentPart(ctx, state2) {
10746
10839
  return (0, import_lib2.$EVENT)(ctx, state2, "WArgumentPart", WArgumentPart$0);
10747
10840
  }
10841
+ var SingleLinePostfixedArgumentExpressions$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(WPostfixedArgumentPart, (0, import_lib2.$Q)((0, import_lib2.$S)((0, import_lib2.$S)((0, import_lib2.$E)(_), Comma), WPostfixedArgumentPart))), function($skip, $loc, $0, $1, $2) {
10842
+ return [$1, ...$2.flat()];
10843
+ });
10844
+ function SingleLinePostfixedArgumentExpressions(ctx, state2) {
10845
+ return (0, import_lib2.$EVENT)(ctx, state2, "SingleLinePostfixedArgumentExpressions", SingleLinePostfixedArgumentExpressions$0);
10846
+ }
10847
+ var WPostfixedArgumentPart$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$E)(_), PostfixedArgumentPart), function($skip, $loc, $0, $1, $2) {
10848
+ return prepend($1, $2);
10849
+ });
10850
+ function WPostfixedArgumentPart(ctx, state2) {
10851
+ return (0, import_lib2.$EVENT)(ctx, state2, "WPostfixedArgumentPart", WPostfixedArgumentPart$0);
10852
+ }
10748
10853
  var ArgumentPart$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(DotDotDot, Expression), function($skip, $loc, $0, $1, $2) {
10749
10854
  var spread = $1;
10750
10855
  var expression = $2;
@@ -10769,6 +10874,30 @@ var ArgumentPart$$ = [ArgumentPart$0, ArgumentPart$1];
10769
10874
  function ArgumentPart(ctx, state2) {
10770
10875
  return (0, import_lib2.$EVENT_C)(ctx, state2, "ArgumentPart", ArgumentPart$$);
10771
10876
  }
10877
+ var PostfixedArgumentPart$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(DotDotDot, PostfixedExpression), function($skip, $loc, $0, $1, $2) {
10878
+ var spread = $1;
10879
+ var expression = $2;
10880
+ return {
10881
+ type: "Argument",
10882
+ children: $0,
10883
+ expression,
10884
+ spread
10885
+ };
10886
+ });
10887
+ var PostfixedArgumentPart$1 = (0, import_lib2.$TS)((0, import_lib2.$S)(PostfixedExpression, (0, import_lib2.$E)(DotDotDot)), function($skip, $loc, $0, $1, $2) {
10888
+ var expression = $1;
10889
+ var spread = $2;
10890
+ return {
10891
+ type: "Argument",
10892
+ children: spread ? [spread, expression] : [expression],
10893
+ expression,
10894
+ spread
10895
+ };
10896
+ });
10897
+ var PostfixedArgumentPart$$ = [PostfixedArgumentPart$0, PostfixedArgumentPart$1];
10898
+ function PostfixedArgumentPart(ctx, state2) {
10899
+ return (0, import_lib2.$EVENT_C)(ctx, state2, "PostfixedArgumentPart", PostfixedArgumentPart$$);
10900
+ }
10772
10901
  var BinaryOpExpression$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(UnaryExpression, (0, import_lib2.$Q)(BinaryOpRHS)), function($skip, $loc, $0, $1, $2) {
10773
10902
  if (!$2.length) return $1;
10774
10903
  return processBinaryOpExpression($0);
@@ -10801,10 +10930,13 @@ var BinaryOpRHS$1 = (0, import_lib2.$TS)((0, import_lib2.$S)(BinaryOp, RHS), fun
10801
10930
  var BinaryOpRHS$2 = (0, import_lib2.$TS)((0, import_lib2.$S)(NewlineBinaryOpAllowed, NotDedentedBinaryOp, WRHS), function($skip, $loc, $0, $1, $2, $3) {
10802
10931
  var op = $2;
10803
10932
  var rhs = $3;
10933
+ if (op[1].token === ">" && op[0].length === 0) return $skip;
10804
10934
  return [...op, ...rhs];
10805
10935
  });
10806
- var BinaryOpRHS$3 = (0, import_lib2.$T)((0, import_lib2.$S)((0, import_lib2.$N)(NewlineBinaryOpAllowed), SingleLineBinaryOpRHS), function(value) {
10807
- return value[1];
10936
+ var BinaryOpRHS$3 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$N)(NewlineBinaryOpAllowed), SingleLineBinaryOpRHS), function($skip, $loc, $0, $1, $2) {
10937
+ const [ws1, op] = $2;
10938
+ if (op.token === ">" && !ws1.length) return $skip;
10939
+ return $2;
10808
10940
  });
10809
10941
  var BinaryOpRHS$$ = [BinaryOpRHS$0, BinaryOpRHS$1, BinaryOpRHS$2, BinaryOpRHS$3];
10810
10942
  function BinaryOpRHS(ctx, state2) {
@@ -11759,7 +11891,7 @@ var FieldDefinition$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(CoffeeClassesEn
11759
11891
  };
11760
11892
  }
11761
11893
  });
11762
- var FieldDefinition$1 = (0, import_lib2.$TS)((0, import_lib2.$S)(InsertReadonly, ClassElementName, (0, import_lib2.$E)(TypeSuffix), __, ConstAssignment, MaybeNestedExpression), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
11894
+ var FieldDefinition$1 = (0, import_lib2.$TS)((0, import_lib2.$S)(InsertReadonly, ClassElementName, (0, import_lib2.$E)(TypeSuffix), __, ConstAssignment, MaybeNestedPostfixedCommaExpression), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
11763
11895
  var readonly = $1;
11764
11896
  var id = $2;
11765
11897
  var typeSuffix = $3;
@@ -12306,7 +12438,22 @@ var PropertyAccess$2 = (0, import_lib2.$TS)((0, import_lib2.$S)(AccessStart, (0,
12306
12438
  children: [dot, ...comments, ...id.children]
12307
12439
  };
12308
12440
  });
12309
- var PropertyAccess$3 = (0, import_lib2.$TS)((0, import_lib2.$S)(ImplicitAccessStart, (0, import_lib2.$C)(PrivateIdentifier, LengthShorthand)), function($skip, $loc, $0, $1, $2) {
12441
+ var PropertyAccess$3 = (0, import_lib2.$TS)((0, import_lib2.$S)(ExplicitAccessStart, (0, import_lib2.$Y)(EOS)), function($skip, $loc, $0, $1, $2) {
12442
+ var dot = $1;
12443
+ return {
12444
+ type: "PropertyAccess",
12445
+ name: "",
12446
+ dot,
12447
+ children: [
12448
+ dot,
12449
+ {
12450
+ type: "Error",
12451
+ message: "Missing property name after '.'"
12452
+ }
12453
+ ]
12454
+ };
12455
+ });
12456
+ var PropertyAccess$4 = (0, import_lib2.$TS)((0, import_lib2.$S)(ImplicitAccessStart, (0, import_lib2.$C)(PrivateIdentifier, LengthShorthand)), function($skip, $loc, $0, $1, $2) {
12310
12457
  var dot = $1;
12311
12458
  var id = $2;
12312
12459
  return {
@@ -12316,7 +12463,7 @@ var PropertyAccess$3 = (0, import_lib2.$TS)((0, import_lib2.$S)(ImplicitAccessSt
12316
12463
  children: [dot, ...id.children]
12317
12464
  };
12318
12465
  });
12319
- var PropertyAccess$4 = (0, import_lib2.$TS)((0, import_lib2.$S)(CoffeePrototypeEnabled, (0, import_lib2.$E)(PropertyAccessModifier), DoubleColon, (0, import_lib2.$E)(IdentifierName)), function($skip, $loc, $0, $1, $2, $3, $4) {
12466
+ var PropertyAccess$5 = (0, import_lib2.$TS)((0, import_lib2.$S)(CoffeePrototypeEnabled, (0, import_lib2.$E)(PropertyAccessModifier), DoubleColon, (0, import_lib2.$E)(IdentifierName)), function($skip, $loc, $0, $1, $2, $3, $4) {
12320
12467
  var modifier = $2;
12321
12468
  var p = $3;
12322
12469
  var id = $4;
@@ -12342,7 +12489,7 @@ var PropertyAccess$4 = (0, import_lib2.$TS)((0, import_lib2.$S)(CoffeePrototypeE
12342
12489
  };
12343
12490
  }
12344
12491
  });
12345
- var PropertyAccess$$ = [PropertyAccess$0, PropertyAccess$1, PropertyAccess$2, PropertyAccess$3, PropertyAccess$4];
12492
+ var PropertyAccess$$ = [PropertyAccess$0, PropertyAccess$1, PropertyAccess$2, PropertyAccess$3, PropertyAccess$4, PropertyAccess$5];
12346
12493
  function PropertyAccess(ctx, state2) {
12347
12494
  return (0, import_lib2.$EVENT_C)(ctx, state2, "PropertyAccess", PropertyAccess$$);
12348
12495
  }
@@ -15527,26 +15674,37 @@ var PostfixedNoCommaStatement$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(NoCom
15527
15674
  function PostfixedNoCommaStatement(ctx, state2) {
15528
15675
  return (0, import_lib2.$EVENT)(ctx, state2, "PostfixedNoCommaStatement", PostfixedNoCommaStatement$0);
15529
15676
  }
15530
- var PostfixedExpression$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(Expression, (0, import_lib2.$E)((0, import_lib2.$S)((0, import_lib2.$E)(_), PostfixStatement))), function($skip, $loc, $0, $1, $2) {
15677
+ var PostfixedExpression$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(AssignmentExpressionSpread, (0, import_lib2.$E)(_), (0, import_lib2.$N)(IfClause), PostfixStatement), function($skip, $loc, $0, $1, $2, $3, $4) {
15678
+ var expression = $1;
15679
+ var ws = $2;
15680
+ var post = $4;
15681
+ return attachPostfixStatementAsExpression(expression, [ws, post]);
15682
+ });
15683
+ var PostfixedExpression$1 = (0, import_lib2.$TS)((0, import_lib2.$S)(Expression, (0, import_lib2.$S)((0, import_lib2.$E)(_), PostfixStatement)), function($skip, $loc, $0, $1, $2) {
15531
15684
  var expression = $1;
15532
15685
  var post = $2;
15533
- if (post) return attachPostfixStatementAsExpression(expression, post);
15534
- return expression;
15686
+ return attachPostfixStatementAsExpression(expression, post);
15535
15687
  });
15688
+ var PostfixedExpression$2 = Expression;
15689
+ var PostfixedExpression$$ = [PostfixedExpression$0, PostfixedExpression$1, PostfixedExpression$2];
15536
15690
  function PostfixedExpression(ctx, state2) {
15537
- return (0, import_lib2.$EVENT)(ctx, state2, "PostfixedExpression", PostfixedExpression$0);
15691
+ return (0, import_lib2.$EVENT_C)(ctx, state2, "PostfixedExpression", PostfixedExpression$$);
15538
15692
  }
15539
- var PostfixedCommaExpression$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(PostfixedExpression, (0, import_lib2.$C)((0, import_lib2.$S)((0, import_lib2.$E)(_), PostfixStatement), (0, import_lib2.$Q)((0, import_lib2.$S)(CommaDelimiter, AssignmentExpression)))), function($skip, $loc, $0, $1, $2) {
15693
+ var PostfixedCommaExpression$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(CommaExpressionSpread, (0, import_lib2.$E)(_), (0, import_lib2.$N)(IfClause), PostfixStatement), function($skip, $loc, $0, $1, $2, $3, $4) {
15694
+ var expression = $1;
15695
+ var ws = $2;
15696
+ var post = $4;
15697
+ return attachPostfixStatementAsExpression(expression, [ws, post]);
15698
+ });
15699
+ var PostfixedCommaExpression$1 = (0, import_lib2.$TS)((0, import_lib2.$S)(Expression, (0, import_lib2.$S)((0, import_lib2.$E)(_), PostfixStatement)), function($skip, $loc, $0, $1, $2) {
15540
15700
  var expression = $1;
15541
15701
  var post = $2;
15542
- if (!post.length) return $1;
15543
- if (post.length === 2 && !Array.isArray(post[1])) {
15544
- return attachPostfixStatementAsExpression(expression, post);
15545
- }
15546
- return $0;
15702
+ return attachPostfixStatementAsExpression(expression, post);
15547
15703
  });
15704
+ var PostfixedCommaExpression$2 = CommaExpression;
15705
+ var PostfixedCommaExpression$$ = [PostfixedCommaExpression$0, PostfixedCommaExpression$1, PostfixedCommaExpression$2];
15548
15706
  function PostfixedCommaExpression(ctx, state2) {
15549
- return (0, import_lib2.$EVENT)(ctx, state2, "PostfixedCommaExpression", PostfixedCommaExpression$0);
15707
+ return (0, import_lib2.$EVENT_C)(ctx, state2, "PostfixedCommaExpression", PostfixedCommaExpression$$);
15550
15708
  }
15551
15709
  var PostfixStatement$0 = (0, import_lib2.$T)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($R31, "PostfixStatement /(?=for|if|loop|unless|until|while)/"), _PostfixStatement), function(value) {
15552
15710
  return value[1];
@@ -16998,6 +17156,22 @@ var MaybeNestedPostfixedExpression$$ = [MaybeNestedPostfixedExpression$0, MaybeN
16998
17156
  function MaybeNestedPostfixedExpression(ctx, state2) {
16999
17157
  return (0, import_lib2.$EVENT_C)(ctx, state2, "MaybeNestedPostfixedExpression", MaybeNestedPostfixedExpression$$);
17000
17158
  }
17159
+ var MaybeNestedPostfixedCommaExpression$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$N)(NestedBulletedArray), (0, import_lib2.$N)(NestedImplicitObjectLiteral), PushIndent, (0, import_lib2.$E)((0, import_lib2.$S)(Nested, PostfixedCommaExpression)), PopIndent, (0, import_lib2.$E)(AllowedTrailingCallExpressions)), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
17160
+ var expression = $4;
17161
+ var trailing = $6;
17162
+ if (!expression) return $skip;
17163
+ if (!trailing) return expression;
17164
+ return [expression, trailing];
17165
+ });
17166
+ var MaybeNestedPostfixedCommaExpression$1 = (0, import_lib2.$TS)((0, import_lib2.$S)(ForbidImplicitFragment, (0, import_lib2.$E)(PostfixedCommaExpression), RestoreImplicitFragment), function($skip, $loc, $0, $1, $2, $3) {
17167
+ var expression = $2;
17168
+ if (!expression) return $skip;
17169
+ return expression;
17170
+ });
17171
+ var MaybeNestedPostfixedCommaExpression$$ = [MaybeNestedPostfixedCommaExpression$0, MaybeNestedPostfixedCommaExpression$1];
17172
+ function MaybeNestedPostfixedCommaExpression(ctx, state2) {
17173
+ return (0, import_lib2.$EVENT_C)(ctx, state2, "MaybeNestedPostfixedCommaExpression", MaybeNestedPostfixedCommaExpression$$);
17174
+ }
17001
17175
  var NestedPostfixedExpressionNoTrailing$0 = NestedBulletedArray;
17002
17176
  var NestedPostfixedExpressionNoTrailing$1 = NestedImplicitObjectLiteral;
17003
17177
  var NestedPostfixedExpressionNoTrailing$2 = (0, import_lib2.$TS)((0, import_lib2.$S)(PushIndent, (0, import_lib2.$E)((0, import_lib2.$S)(Nested, PostfixedExpression)), PopIndent), function($skip, $loc, $0, $1, $2, $3) {
@@ -17053,7 +17227,7 @@ var ImportDeclaration$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(Import, _, Id
17053
17227
  children: [imp, $0.slice(1)]
17054
17228
  };
17055
17229
  });
17056
- var ImportDeclaration$1 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$C)((0, import_lib2.$S)(Import, __), ImpliedImport), Operator, (0, import_lib2.$E)(OperatorBehavior), __, OperatorNamedImports, __, FromClause), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7) {
17230
+ var ImportDeclaration$1 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$C)((0, import_lib2.$S)(Import, SameLineOrIndentedFurther), ImpliedImport), Operator, (0, import_lib2.$E)(OperatorBehavior), SameLineOrIndentedFurther, OperatorNamedImports, SameLineOrIndentedFurther, FromClause), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7) {
17057
17231
  var i = $1;
17058
17232
  var behavior = $3;
17059
17233
  var ws1 = $4;
@@ -17074,7 +17248,7 @@ var ImportDeclaration$1 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_li
17074
17248
  from
17075
17249
  };
17076
17250
  });
17077
- var ImportDeclaration$2 = (0, import_lib2.$TS)((0, import_lib2.$S)(Import, __, (0, import_lib2.$E)((0, import_lib2.$S)(TypeKeyword, __)), ImportClause, __, FromClause), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
17251
+ var ImportDeclaration$2 = (0, import_lib2.$TS)((0, import_lib2.$S)(Import, SameLineOrIndentedFurther, (0, import_lib2.$E)((0, import_lib2.$S)(TypeKeyword, SameLineOrIndentedFurther)), ImportClause, __, FromClause), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
17078
17252
  var t = $3;
17079
17253
  var imports = $4;
17080
17254
  var from = $6;
@@ -17086,11 +17260,31 @@ var ImportDeclaration$2 = (0, import_lib2.$TS)((0, import_lib2.$S)(Import, __, (
17086
17260
  ts: !!t
17087
17261
  };
17088
17262
  });
17089
- var ImportDeclaration$3 = (0, import_lib2.$T)((0, import_lib2.$S)(Import, __, ModuleSpecifier), function(value) {
17263
+ var ImportDeclaration$3 = (0, import_lib2.$T)((0, import_lib2.$S)(Import, SameLineOrIndentedFurther, ModuleSpecifier), function(value) {
17090
17264
  var module = value[2];
17091
17265
  return { "type": "ImportDeclaration", "children": value, "module": module };
17092
17266
  });
17093
- var ImportDeclaration$4 = (0, import_lib2.$TS)((0, import_lib2.$S)(ImpliedImport, (0, import_lib2.$E)((0, import_lib2.$S)(TypeKeyword, __)), ImportClause, __, FromClause), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
17267
+ var ImportDeclaration$4 = (0, import_lib2.$TS)((0, import_lib2.$S)(Import, (0, import_lib2.$E)(_), (0, import_lib2.$E)(UnclosedSingleLineStringLiteral), (0, import_lib2.$Y)(EOS)), function($skip, $loc, $0, $1, $2, $3, $4) {
17268
+ var i = $1;
17269
+ var ws = $2;
17270
+ var unclosed = $3;
17271
+ return {
17272
+ type: "ImportDeclaration",
17273
+ children: [
17274
+ i,
17275
+ ws,
17276
+ ...unclosed ?? [
17277
+ {
17278
+ type: "Error",
17279
+ message: `Expected module or import clause after "import"`
17280
+ },
17281
+ '""'
17282
+ // act like an empty string to let TypeScript do completions
17283
+ ]
17284
+ ]
17285
+ };
17286
+ });
17287
+ var ImportDeclaration$5 = (0, import_lib2.$TS)((0, import_lib2.$S)(ImpliedImport, (0, import_lib2.$E)((0, import_lib2.$S)(TypeKeyword, SameLineOrIndentedFurther)), ImportClause, SameLineOrIndentedFurther, FromClause), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
17094
17288
  var i = $1;
17095
17289
  var t = $2;
17096
17290
  var imports = $3;
@@ -17103,7 +17297,7 @@ var ImportDeclaration$4 = (0, import_lib2.$TS)((0, import_lib2.$S)(ImpliedImport
17103
17297
  const children = [i, t, imports, w, from];
17104
17298
  return { type: "ImportDeclaration", ts: !!t, children, imports, from };
17105
17299
  });
17106
- var ImportDeclaration$5 = (0, import_lib2.$TS)((0, import_lib2.$S)(FromClause, __, Import, __, Operator, (0, import_lib2.$E)(OperatorBehavior), __, OperatorNamedImports), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8) {
17300
+ var ImportDeclaration$6 = (0, import_lib2.$TS)((0, import_lib2.$S)(FromClause, SameLineOrIndentedFurther, Import, SameLineOrIndentedFurther, Operator, (0, import_lib2.$E)(OperatorBehavior), SameLineOrIndentedFurther, OperatorNamedImports), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8) {
17107
17301
  var from = $1;
17108
17302
  var fws = $2;
17109
17303
  var i = $3;
@@ -17125,7 +17319,7 @@ var ImportDeclaration$5 = (0, import_lib2.$TS)((0, import_lib2.$S)(FromClause, _
17125
17319
  from
17126
17320
  };
17127
17321
  });
17128
- var ImportDeclaration$6 = (0, import_lib2.$TS)((0, import_lib2.$S)(FromClause, __, Import, __, (0, import_lib2.$E)((0, import_lib2.$S)(TypeKeyword, __)), ImportClause), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
17322
+ var ImportDeclaration$7 = (0, import_lib2.$TS)((0, import_lib2.$S)(FromClause, SameLineOrIndentedFurther, Import, SameLineOrIndentedFurther, (0, import_lib2.$E)((0, import_lib2.$S)(TypeKeyword, SameLineOrIndentedFurther)), ImportClause), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
17129
17323
  var from = $1;
17130
17324
  var fws = $2;
17131
17325
  var i = $3;
@@ -17140,7 +17334,7 @@ var ImportDeclaration$6 = (0, import_lib2.$TS)((0, import_lib2.$S)(FromClause, _
17140
17334
  ts: !!t
17141
17335
  };
17142
17336
  });
17143
- var ImportDeclaration$$ = [ImportDeclaration$0, ImportDeclaration$1, ImportDeclaration$2, ImportDeclaration$3, ImportDeclaration$4, ImportDeclaration$5, ImportDeclaration$6];
17337
+ var ImportDeclaration$$ = [ImportDeclaration$0, ImportDeclaration$1, ImportDeclaration$2, ImportDeclaration$3, ImportDeclaration$4, ImportDeclaration$5, ImportDeclaration$6, ImportDeclaration$7];
17144
17338
  function ImportDeclaration(ctx, state2) {
17145
17339
  return (0, import_lib2.$EVENT_C)(ctx, state2, "ImportDeclaration", ImportDeclaration$$);
17146
17340
  }
@@ -17233,9 +17427,17 @@ var DynamicImportContents$$ = [DynamicImportContents$0, DynamicImportContents$1,
17233
17427
  function DynamicImportContents(ctx, state2) {
17234
17428
  return (0, import_lib2.$EVENT_C)(ctx, state2, "DynamicImportContents", DynamicImportContents$$);
17235
17429
  }
17236
- var FromClause$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(From, __, ModuleSpecifier), function($skip, $loc, $0, $1, $2, $3) {
17430
+ var FromClause$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(From, SameLineOrIndentedFurther, (0, import_lib2.$E)((0, import_lib2.$C)(ModuleSpecifier, UnclosedSingleLineStringLiteral))), function($skip, $loc, $0, $1, $2, $3) {
17237
17431
  var module = $3;
17238
- if (!Array.isArray(module)) return $0;
17432
+ module ??= [
17433
+ {
17434
+ type: "Error",
17435
+ message: "Expected module specifier after `from`"
17436
+ },
17437
+ '""'
17438
+ // act like an empty string to let TypeScript do completions
17439
+ ];
17440
+ if (!Array.isArray(module)) return [$1, $2, module];
17239
17441
  return [$1, $2, ...module];
17240
17442
  });
17241
17443
  function FromClause(ctx, state2) {
@@ -17394,13 +17596,13 @@ var ModuleSpecifier$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(UnprocessedModu
17394
17596
  function ModuleSpecifier(ctx, state2) {
17395
17597
  return (0, import_lib2.$EVENT)(ctx, state2, "ModuleSpecifier", ModuleSpecifier$0);
17396
17598
  }
17397
- var UnprocessedModuleSpecifier$0 = StringLiteral;
17599
+ var UnprocessedModuleSpecifier$0 = SingleLineStringLiteral;
17398
17600
  var UnprocessedModuleSpecifier$1 = UnquotedSpecifier;
17399
17601
  var UnprocessedModuleSpecifier$$ = [UnprocessedModuleSpecifier$0, UnprocessedModuleSpecifier$1];
17400
17602
  function UnprocessedModuleSpecifier(ctx, state2) {
17401
17603
  return (0, import_lib2.$EVENT_C)(ctx, state2, "UnprocessedModuleSpecifier", UnprocessedModuleSpecifier$$);
17402
17604
  }
17403
- var UnquotedSpecifier$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($R34, 'UnquotedSpecifier /[^;"\\s=>]+/'), function($skip, $loc, $0, $1) {
17605
+ var UnquotedSpecifier$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($R34, `UnquotedSpecifier /[^;"'\\s=>]+/`), function($skip, $loc, $0, $1) {
17404
17606
  var spec = $0;
17405
17607
  return { $loc, token: `"${spec}"` };
17406
17608
  });
@@ -17448,7 +17650,7 @@ var ExportDeclaration$1 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_li
17448
17650
  }
17449
17651
  ];
17450
17652
  });
17451
- var ExportDeclaration$2 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$E)(Decorators), Export, __, Default, __, (0, import_lib2.$C)(HoistableDeclaration, ClassDeclaration, InterfaceDeclaration, MaybeNestedExpression)), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
17653
+ var ExportDeclaration$2 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$E)(Decorators), Export, __, Default, __, (0, import_lib2.$C)(HoistableDeclaration, ClassDeclaration, InterfaceDeclaration, MaybeNestedPostfixedExpression)), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
17452
17654
  var declaration = $6;
17453
17655
  return { type: "ExportDeclaration", declaration, ts: declaration.ts, children: $0 };
17454
17656
  });
@@ -17571,7 +17773,7 @@ var LexicalDeclaration$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(LetOrConst,
17571
17773
  thisAssignments: bindings.flatMap((b) => b.thisAssignments)
17572
17774
  };
17573
17775
  });
17574
- var LexicalDeclaration$1 = (0, import_lib2.$TS)((0, import_lib2.$S)(Loc, (0, import_lib2.$C)(BindingPattern, BindingIdentifier), (0, import_lib2.$E)(TypeSuffix), __, (0, import_lib2.$C)(ConstAssignment, LetAssignment), MaybeNestedPostfixedExpression), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
17776
+ var LexicalDeclaration$1 = (0, import_lib2.$TS)((0, import_lib2.$S)(Loc, (0, import_lib2.$C)(BindingPattern, BindingIdentifier), (0, import_lib2.$E)(TypeSuffix), __, (0, import_lib2.$C)(ConstAssignment, LetAssignment), MaybeNestedPostfixedCommaExpression), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
17575
17777
  var loc = $1;
17576
17778
  var assign = $5;
17577
17779
  return processAssignmentDeclaration(
@@ -17637,7 +17839,7 @@ var LexicalBinding$$ = [LexicalBinding$0, LexicalBinding$1];
17637
17839
  function LexicalBinding(ctx, state2) {
17638
17840
  return (0, import_lib2.$EVENT_C)(ctx, state2, "LexicalBinding", LexicalBinding$$);
17639
17841
  }
17640
- var Initializer$0 = (0, import_lib2.$T)((0, import_lib2.$S)(__, Equals, MaybeNestedExpression), function(value) {
17842
+ var Initializer$0 = (0, import_lib2.$T)((0, import_lib2.$S)(__, Equals, MaybeNestedPostfixedExpression), function(value) {
17641
17843
  var expression = value[2];
17642
17844
  return { "type": "Initializer", "expression": expression, "children": value };
17643
17845
  });
@@ -17766,6 +17968,32 @@ var SingleStringCharacters$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R4
17766
17968
  function SingleStringCharacters(ctx, state2) {
17767
17969
  return (0, import_lib2.$EVENT)(ctx, state2, "SingleStringCharacters", SingleStringCharacters$0);
17768
17970
  }
17971
+ var SingleLineStringLiteral$0 = (0, import_lib2.$TV)((0, import_lib2.$C)((0, import_lib2.$TEXT)((0, import_lib2.$S)(DoubleQuote, (0, import_lib2.$EXPECT)($R48, 'SingleLineStringLiteral /(?:\\\\.|[^"\\n])*/'), DoubleQuote)), (0, import_lib2.$TEXT)((0, import_lib2.$S)(SingleQuote, (0, import_lib2.$EXPECT)($R49, "SingleLineStringLiteral /(?:\\\\.|[^'\\n])*/"), SingleQuote))), function($skip, $loc, $0, $1) {
17972
+ return {
17973
+ type: "StringLiteral",
17974
+ token: $1,
17975
+ $loc
17976
+ };
17977
+ });
17978
+ function SingleLineStringLiteral(ctx, state2) {
17979
+ return (0, import_lib2.$EVENT)(ctx, state2, "SingleLineStringLiteral", SingleLineStringLiteral$0);
17980
+ }
17981
+ var UnclosedSingleLineStringLiteral$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$C)((0, import_lib2.$TEXT)((0, import_lib2.$S)(DoubleQuote, (0, import_lib2.$EXPECT)($R48, 'UnclosedSingleLineStringLiteral /(?:\\\\.|[^"\\n])*/'))), (0, import_lib2.$TEXT)((0, import_lib2.$S)(SingleQuote, (0, import_lib2.$EXPECT)($R49, "UnclosedSingleLineStringLiteral /(?:\\\\.|[^'\\n])*/")))), (0, import_lib2.$Y)(EOS)), function($skip, $loc, $0, $1, $2) {
17982
+ return [
17983
+ {
17984
+ type: "StringLiteral",
17985
+ token: $1 + $1[0],
17986
+ $loc
17987
+ },
17988
+ {
17989
+ type: "Error",
17990
+ message: "Unclosed string literal"
17991
+ }
17992
+ ];
17993
+ });
17994
+ function UnclosedSingleLineStringLiteral(ctx, state2) {
17995
+ return (0, import_lib2.$EVENT)(ctx, state2, "UnclosedSingleLineStringLiteral", UnclosedSingleLineStringLiteral$0);
17996
+ }
17769
17997
  var TripleDoubleStringContents$0 = (0, import_lib2.$T)((0, import_lib2.$S)(CoffeeInterpolationEnabled, (0, import_lib2.$Q)((0, import_lib2.$C)(CoffeeTripleDoubleStringCharacters, CoffeeStringSubstitution))), function(value) {
17770
17998
  return value[1];
17771
17999
  });
@@ -17776,19 +18004,19 @@ var TripleDoubleStringContents$$ = [TripleDoubleStringContents$0, TripleDoubleSt
17776
18004
  function TripleDoubleStringContents(ctx, state2) {
17777
18005
  return (0, import_lib2.$EVENT_C)(ctx, state2, "TripleDoubleStringContents", TripleDoubleStringContents$$);
17778
18006
  }
17779
- var CoffeeTripleDoubleStringCharacters$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R48, 'CoffeeTripleDoubleStringCharacters /(?:"(?!"")|#(?!\\{)|\\\\.|[^#"])+/'), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
18007
+ var CoffeeTripleDoubleStringCharacters$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R50, 'CoffeeTripleDoubleStringCharacters /(?:"(?!"")|#(?!\\{)|\\\\.|[^#"])+/'), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
17780
18008
  return { $loc, token: $0 };
17781
18009
  });
17782
18010
  function CoffeeTripleDoubleStringCharacters(ctx, state2) {
17783
18011
  return (0, import_lib2.$EVENT)(ctx, state2, "CoffeeTripleDoubleStringCharacters", CoffeeTripleDoubleStringCharacters$0);
17784
18012
  }
17785
- var TripleDoubleStringCharacters$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R49, 'TripleDoubleStringCharacters /(?:"(?!"")|\\\\.|[^"])+/'), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
18013
+ var TripleDoubleStringCharacters$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R51, 'TripleDoubleStringCharacters /(?:"(?!"")|\\\\.|[^"])+/'), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
17786
18014
  return { $loc, token: $0 };
17787
18015
  });
17788
18016
  function TripleDoubleStringCharacters(ctx, state2) {
17789
18017
  return (0, import_lib2.$EVENT)(ctx, state2, "TripleDoubleStringCharacters", TripleDoubleStringCharacters$0);
17790
18018
  }
17791
- var TripleSingleStringCharacters$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R50, "TripleSingleStringCharacters /(?:'(?!'')|\\\\.|[^'])*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
18019
+ var TripleSingleStringCharacters$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R52, "TripleSingleStringCharacters /(?:'(?!'')|\\\\.|[^'])*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
17792
18020
  return { $loc, token: $0 };
17793
18021
  });
17794
18022
  function TripleSingleStringCharacters(ctx, state2) {
@@ -17810,7 +18038,7 @@ var CoffeeInterpolatedDoubleQuotedString$0 = (0, import_lib2.$TS)((0, import_lib
17810
18038
  function CoffeeInterpolatedDoubleQuotedString(ctx, state2) {
17811
18039
  return (0, import_lib2.$EVENT)(ctx, state2, "CoffeeInterpolatedDoubleQuotedString", CoffeeInterpolatedDoubleQuotedString$0);
17812
18040
  }
17813
- var CoffeeDoubleQuotedStringCharacters$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R51, 'CoffeeDoubleQuotedStringCharacters /(?:\\\\.|#(?!\\{)|[^"#])+/'), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
18041
+ var CoffeeDoubleQuotedStringCharacters$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R53, 'CoffeeDoubleQuotedStringCharacters /(?:\\\\.|#(?!\\{)|[^"#])+/'), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
17814
18042
  return { $loc, token: $0 };
17815
18043
  });
17816
18044
  function CoffeeDoubleQuotedStringCharacters(ctx, state2) {
@@ -17835,7 +18063,7 @@ var RegularExpressionClass$0 = (0, import_lib2.$TV)((0, import_lib2.$TEXT)((0, i
17835
18063
  function RegularExpressionClass(ctx, state2) {
17836
18064
  return (0, import_lib2.$EVENT)(ctx, state2, "RegularExpressionClass", RegularExpressionClass$0);
17837
18065
  }
17838
- var RegularExpressionClassCharacters$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R52, "RegularExpressionClassCharacters /(?:\\\\.|[^\\]])*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
18066
+ var RegularExpressionClassCharacters$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R54, "RegularExpressionClassCharacters /(?:\\\\.|[^\\]])*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
17839
18067
  return { $loc, token: $0 };
17840
18068
  });
17841
18069
  function RegularExpressionClassCharacters(ctx, state2) {
@@ -17892,7 +18120,7 @@ var HeregexPart$1 = (0, import_lib2.$T)((0, import_lib2.$S)(CoffeeInterpolationE
17892
18120
  var HeregexPart$2 = (0, import_lib2.$T)((0, import_lib2.$S)(TemplateSubstitution), function(value) {
17893
18121
  return { "type": "Substitution", "children": value[0] };
17894
18122
  });
17895
- var HeregexPart$3 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R53, "HeregexPart /(?:\\\\.)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
18123
+ var HeregexPart$3 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R55, "HeregexPart /(?:\\\\.)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
17896
18124
  let token = $0;
17897
18125
  switch ($0[1]) {
17898
18126
  case "\n":
@@ -17910,13 +18138,13 @@ var HeregexPart$3 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R53, "Heregex
17910
18138
  var HeregexPart$4 = (0, import_lib2.$TS)((0, import_lib2.$S)(HeregexComment), function($skip, $loc, $0, $1) {
17911
18139
  return { $loc, token: "" };
17912
18140
  });
17913
- var HeregexPart$5 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R54, "HeregexPart /[\\s]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
18141
+ var HeregexPart$5 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R56, "HeregexPart /[\\s]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
17914
18142
  return { $loc, token: "" };
17915
18143
  });
17916
- var HeregexPart$6 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R55, "HeregexPart /\\/(?!\\/\\/)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
18144
+ var HeregexPart$6 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R57, "HeregexPart /\\/(?!\\/\\/)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
17917
18145
  return { $loc, token: "\\/" };
17918
18146
  });
17919
- var HeregexPart$7 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R56, "HeregexPart /[^[\\/\\s#$\\\\]+|[#$]/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
18147
+ var HeregexPart$7 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R58, "HeregexPart /[^[\\/\\s#$\\\\]+|[#$]/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
17920
18148
  return { $loc, token: $0 };
17921
18149
  });
17922
18150
  var HeregexPart$$ = [HeregexPart$0, HeregexPart$1, HeregexPart$2, HeregexPart$3, HeregexPart$4, HeregexPart$5, HeregexPart$6, HeregexPart$7];
@@ -17931,7 +18159,7 @@ var HeregexComment$$ = [HeregexComment$0, HeregexComment$1];
17931
18159
  function HeregexComment(ctx, state2) {
17932
18160
  return (0, import_lib2.$EVENT_C)(ctx, state2, "HeregexComment", HeregexComment$$);
17933
18161
  }
17934
- var RegularExpressionBody$0 = (0, import_lib2.$S)((0, import_lib2.$N)((0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R57, "RegularExpressionBody /[*\\/\\r\\n]/"))), (0, import_lib2.$Q)(RegExpPart));
18162
+ var RegularExpressionBody$0 = (0, import_lib2.$S)((0, import_lib2.$N)((0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R59, "RegularExpressionBody /[*\\/\\r\\n]/"))), (0, import_lib2.$Q)(RegExpPart));
17935
18163
  function RegularExpressionBody(ctx, state2) {
17936
18164
  return (0, import_lib2.$EVENT)(ctx, state2, "RegularExpressionBody", RegularExpressionBody$0);
17937
18165
  }
@@ -17941,15 +18169,15 @@ var RegExpPart$$ = [RegExpPart$0, RegExpPart$1];
17941
18169
  function RegExpPart(ctx, state2) {
17942
18170
  return (0, import_lib2.$EVENT_C)(ctx, state2, "RegExpPart", RegExpPart$$);
17943
18171
  }
17944
- var RegExpCharacter$0 = (0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R58, "RegExpCharacter /(?:\\\\.|[^[\\/\\r\\n])+/"));
18172
+ var RegExpCharacter$0 = (0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R60, "RegExpCharacter /(?:\\\\.|[^[\\/\\r\\n])+/"));
17945
18173
  function RegExpCharacter(ctx, state2) {
17946
18174
  return (0, import_lib2.$EVENT)(ctx, state2, "RegExpCharacter", RegExpCharacter$0);
17947
18175
  }
17948
- var RegularExpressionFlags$0 = (0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R59, "RegularExpressionFlags /(?:\\p{ID_Continue}|[\\u200C\\u200D$])*/"));
18176
+ var RegularExpressionFlags$0 = (0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R61, "RegularExpressionFlags /(?:\\p{ID_Continue}|[\\u200C\\u200D$])*/"));
17949
18177
  function RegularExpressionFlags(ctx, state2) {
17950
18178
  return (0, import_lib2.$EVENT)(ctx, state2, "RegularExpressionFlags", RegularExpressionFlags$0);
17951
18179
  }
17952
- var TemplateLiteral$0 = (0, import_lib2.$T)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($R60, "TemplateLiteral /(?=[`'\"])/"), _TemplateLiteral), function(value) {
18180
+ var TemplateLiteral$0 = (0, import_lib2.$T)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($R62, "TemplateLiteral /(?=[`'\"])/"), _TemplateLiteral), function(value) {
17953
18181
  return value[1];
17954
18182
  });
17955
18183
  function TemplateLiteral(ctx, state2) {
@@ -17988,28 +18216,28 @@ var TemplateSubstitution$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(Substituti
17988
18216
  function TemplateSubstitution(ctx, state2) {
17989
18217
  return (0, import_lib2.$EVENT)(ctx, state2, "TemplateSubstitution", TemplateSubstitution$0);
17990
18218
  }
17991
- var TemplateCharacters$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R61, "TemplateCharacters /(?:\\$(?!\\{)|\\\\.|[^$`])+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
18219
+ var TemplateCharacters$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R63, "TemplateCharacters /(?:\\$(?!\\{)|\\\\.|[^$`])+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
17992
18220
  return { $loc, token: $0 };
17993
18221
  });
17994
18222
  function TemplateCharacters(ctx, state2) {
17995
18223
  return (0, import_lib2.$EVENT)(ctx, state2, "TemplateCharacters", TemplateCharacters$0);
17996
18224
  }
17997
- var TemplateBlockCharacters$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R62, "TemplateBlockCharacters /(?:\\$(?!\\{)|`(?!``)|\\\\.|[^$`])+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
18225
+ var TemplateBlockCharacters$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R64, "TemplateBlockCharacters /(?:\\$(?!\\{)|`(?!``)|\\\\.|[^$`])+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
17998
18226
  return { $loc, token: $0 };
17999
18227
  });
18000
18228
  function TemplateBlockCharacters(ctx, state2) {
18001
18229
  return (0, import_lib2.$EVENT)(ctx, state2, "TemplateBlockCharacters", TemplateBlockCharacters$0);
18002
18230
  }
18003
- var ReservedWord$0 = (0, import_lib2.$S)((0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R63, "ReservedWord /(?:on|off|yes|no)(?!\\p{ID_Continue})/")), CoffeeBooleansEnabled);
18004
- var ReservedWord$1 = (0, import_lib2.$S)((0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R64, "ReservedWord /(?:isnt)(?!\\p{ID_Continue})/")), CoffeeIsntEnabled);
18005
- var ReservedWord$2 = (0, import_lib2.$S)((0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R65, "ReservedWord /(?:by)(?!\\p{ID_Continue})/")), CoffeeForLoopsEnabled);
18006
- var ReservedWord$3 = (0, import_lib2.$S)((0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R66, "ReservedWord /(?:of)(?!\\p{ID_Continue})/")), CoffeeOfEnabled);
18007
- var ReservedWord$4 = (0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R67, "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|not|null|or|private|protected|public|return|static|super|switch|this|throw|true|try|typeof|unless|until|var|void|while|with|yield)(?!\\p{ID_Continue})/"));
18231
+ var ReservedWord$0 = (0, import_lib2.$S)((0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R65, "ReservedWord /(?:on|off|yes|no)(?!\\p{ID_Continue})/")), CoffeeBooleansEnabled);
18232
+ var ReservedWord$1 = (0, import_lib2.$S)((0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R66, "ReservedWord /(?:isnt)(?!\\p{ID_Continue})/")), CoffeeIsntEnabled);
18233
+ var ReservedWord$2 = (0, import_lib2.$S)((0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R67, "ReservedWord /(?:by)(?!\\p{ID_Continue})/")), CoffeeForLoopsEnabled);
18234
+ var ReservedWord$3 = (0, import_lib2.$S)((0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R68, "ReservedWord /(?:of)(?!\\p{ID_Continue})/")), CoffeeOfEnabled);
18235
+ var ReservedWord$4 = (0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R69, "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|not|null|or|private|protected|public|return|static|super|switch|this|throw|true|try|typeof|unless|until|var|void|while|with|yield)(?!\\p{ID_Continue})/"));
18008
18236
  var ReservedWord$$ = [ReservedWord$0, ReservedWord$1, ReservedWord$2, ReservedWord$3, ReservedWord$4];
18009
18237
  function ReservedWord(ctx, state2) {
18010
18238
  return (0, import_lib2.$EVENT_C)(ctx, state2, "ReservedWord", ReservedWord$$);
18011
18239
  }
18012
- var Comment$0 = (0, import_lib2.$T)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($R68, "Comment /(?=\\/|#)/"), _Comment), function(value) {
18240
+ var Comment$0 = (0, import_lib2.$T)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($R70, "Comment /(?=\\/|#)/"), _Comment), function(value) {
18013
18241
  return value[1];
18014
18242
  });
18015
18243
  function Comment(ctx, state2) {
@@ -18027,7 +18255,7 @@ var SingleLineComment$$ = [SingleLineComment$0, SingleLineComment$1];
18027
18255
  function SingleLineComment(ctx, state2) {
18028
18256
  return (0, import_lib2.$EVENT_C)(ctx, state2, "SingleLineComment", SingleLineComment$$);
18029
18257
  }
18030
- var JSSingleLineComment$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R69, "JSSingleLineComment /\\/\\/(?!\\/)[^\\r\\n]*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
18258
+ var JSSingleLineComment$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R71, "JSSingleLineComment /\\/\\/(?!\\/)[^\\r\\n]*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
18031
18259
  return { type: "Comment", $loc, token: $0 };
18032
18260
  });
18033
18261
  function JSSingleLineComment(ctx, state2) {
@@ -18039,30 +18267,30 @@ var MultiLineComment$$ = [MultiLineComment$0, MultiLineComment$1];
18039
18267
  function MultiLineComment(ctx, state2) {
18040
18268
  return (0, import_lib2.$EVENT_C)(ctx, state2, "MultiLineComment", MultiLineComment$$);
18041
18269
  }
18042
- var JSMultiLineComment$0 = (0, import_lib2.$TV)((0, import_lib2.$TEXT)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L140, 'JSMultiLineComment "/*"'), (0, import_lib2.$Q)((0, import_lib2.$S)((0, import_lib2.$N)((0, import_lib2.$EXPECT)($L141, 'JSMultiLineComment "*/"')), (0, import_lib2.$EXPECT)($R70, "JSMultiLineComment /./"))), (0, import_lib2.$EXPECT)($L141, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
18270
+ var JSMultiLineComment$0 = (0, import_lib2.$TV)((0, import_lib2.$TEXT)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L140, 'JSMultiLineComment "/*"'), (0, import_lib2.$Q)((0, import_lib2.$S)((0, import_lib2.$N)((0, import_lib2.$EXPECT)($L141, 'JSMultiLineComment "*/"')), (0, import_lib2.$EXPECT)($R72, "JSMultiLineComment /./"))), (0, import_lib2.$EXPECT)($L141, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
18043
18271
  return { type: "Comment", $loc, token: $1 };
18044
18272
  });
18045
18273
  function JSMultiLineComment(ctx, state2) {
18046
18274
  return (0, import_lib2.$EVENT)(ctx, state2, "JSMultiLineComment", JSMultiLineComment$0);
18047
18275
  }
18048
- var CoffeeSingleLineComment$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R71, "CoffeeSingleLineComment /#(?!##(?!#))([^\\r\\n]*)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
18276
+ var CoffeeSingleLineComment$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R73, "CoffeeSingleLineComment /#(?!##(?!#))([^\\r\\n]*)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
18049
18277
  return { type: "Comment", $loc, token: `//${$1}` };
18050
18278
  });
18051
18279
  function CoffeeSingleLineComment(ctx, state2) {
18052
18280
  return (0, import_lib2.$EVENT)(ctx, state2, "CoffeeSingleLineComment", CoffeeSingleLineComment$0);
18053
18281
  }
18054
- var CoffeeMultiLineComment$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(CoffeeHereCommentStart, (0, import_lib2.$TEXT)((0, import_lib2.$EXPECT)($R72, "CoffeeMultiLineComment /[^]*?###/"))), function($skip, $loc, $0, $1, $2) {
18282
+ var CoffeeMultiLineComment$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(CoffeeHereCommentStart, (0, import_lib2.$TEXT)((0, import_lib2.$EXPECT)($R74, "CoffeeMultiLineComment /[^]*?###/"))), function($skip, $loc, $0, $1, $2) {
18055
18283
  $2 = $2.slice(0, $2.length - 3).replace(/\*\//g, "* /");
18056
18284
  return { type: "Comment", $loc, token: `/*${$2}*/` };
18057
18285
  });
18058
18286
  function CoffeeMultiLineComment(ctx, state2) {
18059
18287
  return (0, import_lib2.$EVENT)(ctx, state2, "CoffeeMultiLineComment", CoffeeMultiLineComment$0);
18060
18288
  }
18061
- var CoffeeHereCommentStart$0 = (0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R73, "CoffeeHereCommentStart /###(?!#)/"));
18289
+ var CoffeeHereCommentStart$0 = (0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R75, "CoffeeHereCommentStart /###(?!#)/"));
18062
18290
  function CoffeeHereCommentStart(ctx, state2) {
18063
18291
  return (0, import_lib2.$EVENT)(ctx, state2, "CoffeeHereCommentStart", CoffeeHereCommentStart$0);
18064
18292
  }
18065
- var InlineComment$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R74, "InlineComment /\\/\\*(?:(?!\\*\\/)[^\\r\\n])*\\*\\//"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
18293
+ var InlineComment$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R76, "InlineComment /\\/\\*(?:(?!\\*\\/)[^\\r\\n])*\\*\\//"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
18066
18294
  return { $loc, token: $0 };
18067
18295
  });
18068
18296
  var InlineComment$1 = CoffeeMultiLineComment;
@@ -18078,7 +18306,7 @@ var TrailingComment$0 = (0, import_lib2.$S)((0, import_lib2.$E)(_), (0, import_l
18078
18306
  function TrailingComment(ctx, state2) {
18079
18307
  return (0, import_lib2.$EVENT)(ctx, state2, "TrailingComment", TrailingComment$0);
18080
18308
  }
18081
- var _$0 = (0, import_lib2.$T)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($R75, "_ /(?=[ \\t\\/\\\\#])/"), (0, import_lib2.$P)((0, import_lib2.$C)(NonNewlineWhitespace, InlineComment))), function(value) {
18309
+ var _$0 = (0, import_lib2.$T)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($R77, "_ /(?=[ \\t\\/\\\\#])/"), (0, import_lib2.$P)((0, import_lib2.$C)(NonNewlineWhitespace, InlineComment))), function(value) {
18082
18310
  return value[1];
18083
18311
  });
18084
18312
  function _(ctx, state2) {
@@ -18101,7 +18329,7 @@ var Trimmed_$0 = (0, import_lib2.$TV)(_, function($skip, $loc, $0, $1) {
18101
18329
  function Trimmed_(ctx, state2) {
18102
18330
  return (0, import_lib2.$EVENT)(ctx, state2, "Trimmed_", Trimmed_$0);
18103
18331
  }
18104
- var __$0 = (0, import_lib2.$T)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($R76, "__ /(?=\\s|\\/|#)/"), (0, import_lib2.$Q)((0, import_lib2.$C)(Whitespace, Comment))), function(value) {
18332
+ var __$0 = (0, import_lib2.$T)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($R78, "__ /(?=\\s|\\/|#)/"), (0, import_lib2.$Q)((0, import_lib2.$C)(Whitespace, Comment))), function(value) {
18105
18333
  return value[1];
18106
18334
  });
18107
18335
  var __$1 = (0, import_lib2.$EXPECT)($L0, '__ ""');
@@ -18109,7 +18337,7 @@ var __$$ = [__$0, __$1];
18109
18337
  function __(ctx, state2) {
18110
18338
  return (0, import_lib2.$EVENT_C)(ctx, state2, "__", __$$);
18111
18339
  }
18112
- var Whitespace$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R54, "Whitespace /[\\s]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
18340
+ var Whitespace$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R56, "Whitespace /[\\s]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
18113
18341
  return { $loc, token: $0 };
18114
18342
  });
18115
18343
  function Whitespace(ctx, state2) {
@@ -18151,7 +18379,7 @@ var SemicolonDelimiter$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_l
18151
18379
  function SemicolonDelimiter(ctx, state2) {
18152
18380
  return (0, import_lib2.$EVENT)(ctx, state2, "SemicolonDelimiter", SemicolonDelimiter$0);
18153
18381
  }
18154
- var NonIdContinue$0 = (0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R77, "NonIdContinue /(?!\\p{ID_Continue})/"));
18382
+ var NonIdContinue$0 = (0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R79, "NonIdContinue /(?!\\p{ID_Continue})/"));
18155
18383
  function NonIdContinue(ctx, state2) {
18156
18384
  return (0, import_lib2.$EVENT)(ctx, state2, "NonIdContinue", NonIdContinue$0);
18157
18385
  }
@@ -18269,7 +18497,7 @@ var CoffeeSubstitutionStart$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L
18269
18497
  function CoffeeSubstitutionStart(ctx, state2) {
18270
18498
  return (0, import_lib2.$EVENT)(ctx, state2, "CoffeeSubstitutionStart", CoffeeSubstitutionStart$0);
18271
18499
  }
18272
- var Colon$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L16, 'Colon ":"'), (0, import_lib2.$N)((0, import_lib2.$EXPECT)($R78, "Colon /[=:]/"))), function($skip, $loc, $0, $1, $2) {
18500
+ var Colon$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L16, 'Colon ":"'), (0, import_lib2.$N)((0, import_lib2.$EXPECT)($R80, "Colon /[=:]/"))), function($skip, $loc, $0, $1, $2) {
18273
18501
  return { $loc, token: $1 };
18274
18502
  });
18275
18503
  function Colon(ctx, state2) {
@@ -18320,7 +18548,7 @@ function Do(ctx, state2) {
18320
18548
  var Dot$0 = (0, import_lib2.$TV)((0, import_lib2.$EXPECT)($L7, 'Dot "."'), function($skip, $loc, $0, $1) {
18321
18549
  return { $loc, token: $1 };
18322
18550
  });
18323
- var Dot$1 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($R79, "Dot /['\u2019]s/"), Trimmed_), function($skip, $loc, $0, $1, $2) {
18551
+ var Dot$1 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($R81, "Dot /['\u2019]s/"), Trimmed_), function($skip, $loc, $0, $1, $2) {
18324
18552
  var ws = $2;
18325
18553
  return [
18326
18554
  { $loc, token: "." },
@@ -18453,7 +18681,7 @@ var If$0 = (0, import_lib2.$TV)((0, import_lib2.$TEXT)((0, import_lib2.$S)((0, i
18453
18681
  function If(ctx, state2) {
18454
18682
  return (0, import_lib2.$EVENT)(ctx, state2, "If", If$0);
18455
18683
  }
18456
- var Import$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L15, 'Import "import"'), (0, import_lib2.$Y)((0, import_lib2.$EXPECT)($R80, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
18684
+ var Import$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L15, 'Import "import"'), (0, import_lib2.$Y)((0, import_lib2.$EXPECT)($R82, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
18457
18685
  return { $loc, token: $1 };
18458
18686
  });
18459
18687
  function Import(ctx, state2) {
@@ -18815,7 +19043,7 @@ var JSXImplicitFragment$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(JSXTag, (0,
18815
19043
  function JSXImplicitFragment(ctx, state2) {
18816
19044
  return (0, import_lib2.$EVENT)(ctx, state2, "JSXImplicitFragment", JSXImplicitFragment$0);
18817
19045
  }
18818
- var JSXTag$0 = (0, import_lib2.$T)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($R81, "JSXTag /(?=[<])/"), _JSXTag), function(value) {
19046
+ var JSXTag$0 = (0, import_lib2.$T)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($R83, "JSXTag /(?=[<])/"), _JSXTag), function(value) {
18819
19047
  return value[1];
18820
19048
  });
18821
19049
  function JSXTag(ctx, state2) {
@@ -18957,7 +19185,7 @@ var JSXElementName$$ = [JSXElementName$0, JSXElementName$1];
18957
19185
  function JSXElementName(ctx, state2) {
18958
19186
  return (0, import_lib2.$EVENT_C)(ctx, state2, "JSXElementName", JSXElementName$$);
18959
19187
  }
18960
- var JSXIdentifierName$0 = (0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R82, "JSXIdentifierName /(?:\\p{ID_Start}|[_$])(?:\\p{ID_Continue}|[\\u200C\\u200D$-])*/"));
19188
+ var JSXIdentifierName$0 = (0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R84, "JSXIdentifierName /(?:\\p{ID_Start}|[_$])(?:\\p{ID_Continue}|[\\u200C\\u200D$-])*/"));
18961
19189
  function JSXIdentifierName(ctx, state2) {
18962
19190
  return (0, import_lib2.$EVENT)(ctx, state2, "JSXIdentifierName", JSXIdentifierName$0);
18963
19191
  }
@@ -19135,7 +19363,7 @@ var JSXAttribute$6 = (0, import_lib2.$TS)((0, import_lib2.$S)(Dot, JSXShorthandS
19135
19363
  class: $2
19136
19364
  };
19137
19365
  });
19138
- var JSXAttribute$7 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$TEXT)((0, import_lib2.$EXPECT)($R83, "JSXAttribute /[!+-]/")), JSXAttributeName, (0, import_lib2.$Y)(JSXAttributeSpace)), function($skip, $loc, $0, $1, $2, $3) {
19366
+ var JSXAttribute$7 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$TEXT)((0, import_lib2.$EXPECT)($R85, "JSXAttribute /[!+-]/")), JSXAttributeName, (0, import_lib2.$Y)(JSXAttributeSpace)), function($skip, $loc, $0, $1, $2, $3) {
19139
19367
  var toggle = $1;
19140
19368
  var id = $2;
19141
19369
  const value = toggle === "+" ? "true" : "false";
@@ -19145,11 +19373,11 @@ var JSXAttribute$$ = [JSXAttribute$0, JSXAttribute$1, JSXAttribute$2, JSXAttribu
19145
19373
  function JSXAttribute(ctx, state2) {
19146
19374
  return (0, import_lib2.$EVENT_C)(ctx, state2, "JSXAttribute", JSXAttribute$$);
19147
19375
  }
19148
- var JSXAttributeSpace$0 = (0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R84, "JSXAttributeSpace /[\\s>]|\\/>/"));
19376
+ var JSXAttributeSpace$0 = (0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R86, "JSXAttributeSpace /[\\s>]|\\/>/"));
19149
19377
  function JSXAttributeSpace(ctx, state2) {
19150
19378
  return (0, import_lib2.$EVENT)(ctx, state2, "JSXAttributeSpace", JSXAttributeSpace$0);
19151
19379
  }
19152
- var JSXShorthandString$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R85, "JSXShorthandString /(?:[\\w\\-:]+|\\([^()]*\\)|\\[[^\\[\\]]*\\])+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
19380
+ var JSXShorthandString$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R87, "JSXShorthandString /(?:[\\w\\-:]+|\\([^()]*\\)|\\[[^\\[\\]]*\\])+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
19153
19381
  return quoteString($0);
19154
19382
  });
19155
19383
  var JSXShorthandString$1 = (0, import_lib2.$TS)((0, import_lib2.$S)(TemplateLiteral), function($skip, $loc, $0, $1) {
@@ -19192,7 +19420,7 @@ var JSXAttributeValue$3 = (0, import_lib2.$TS)((0, import_lib2.$S)(InsertInlineO
19192
19420
  }
19193
19421
  return [open, value, close];
19194
19422
  });
19195
- var JSXAttributeValue$4 = (0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R86, `JSXAttributeValue /"[^"]*"|'[^']*'/`));
19423
+ var JSXAttributeValue$4 = (0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R88, `JSXAttributeValue /"[^"]*"|'[^']*'/`));
19196
19424
  var JSXAttributeValue$$ = [JSXAttributeValue$0, JSXAttributeValue$1, JSXAttributeValue$2, JSXAttributeValue$3, JSXAttributeValue$4];
19197
19425
  function JSXAttributeValue(ctx, state2) {
19198
19426
  return (0, import_lib2.$EVENT_C)(ctx, state2, "JSXAttributeValue", JSXAttributeValue$$);
@@ -19204,7 +19432,7 @@ var InlineJSXAttributeValue$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(InlineJ
19204
19432
  function InlineJSXAttributeValue(ctx, state2) {
19205
19433
  return (0, import_lib2.$EVENT)(ctx, state2, "InlineJSXAttributeValue", InlineJSXAttributeValue$0);
19206
19434
  }
19207
- var InlineJSXBinaryOpRHS$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$N)((0, import_lib2.$EXPECT)($R87, "InlineJSXBinaryOpRHS /[<>]/")), BinaryOp, InlineJSXUnaryExpression), function($skip, $loc, $0, $1, $2, $3) {
19435
+ var InlineJSXBinaryOpRHS$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$N)((0, import_lib2.$EXPECT)($R89, "InlineJSXBinaryOpRHS /[<>]/")), BinaryOp, InlineJSXUnaryExpression), function($skip, $loc, $0, $1, $2, $3) {
19208
19436
  var op = $2;
19209
19437
  var rhs = $3;
19210
19438
  return [[], op, [], rhs];
@@ -19221,7 +19449,7 @@ var InlineJSXUnaryExpression$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, im
19221
19449
  function InlineJSXUnaryExpression(ctx, state2) {
19222
19450
  return (0, import_lib2.$EVENT)(ctx, state2, "InlineJSXUnaryExpression", InlineJSXUnaryExpression$0);
19223
19451
  }
19224
- var InlineJSXUnaryOp$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R88, "InlineJSXUnaryOp /[!~+-](?!\\s|[!~+-]*&)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
19452
+ var InlineJSXUnaryOp$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R90, "InlineJSXUnaryOp /[!~+-](?!\\s|[!~+-]*&)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
19225
19453
  return { $loc, token: $0 };
19226
19454
  });
19227
19455
  function InlineJSXUnaryOp(ctx, state2) {
@@ -19468,13 +19696,13 @@ var JSXComment$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXP
19468
19696
  function JSXComment(ctx, state2) {
19469
19697
  return (0, import_lib2.$EVENT)(ctx, state2, "JSXComment", JSXComment$0);
19470
19698
  }
19471
- var JSXCommentContent$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R89, "JSXCommentContent /(?:-[^-]|[^-]*)*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
19699
+ var JSXCommentContent$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R91, "JSXCommentContent /(?:-[^-]|[^-]*)*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
19472
19700
  return { $loc, token: $0.replace(/\*\//g, "* /") };
19473
19701
  });
19474
19702
  function JSXCommentContent(ctx, state2) {
19475
19703
  return (0, import_lib2.$EVENT)(ctx, state2, "JSXCommentContent", JSXCommentContent$0);
19476
19704
  }
19477
- var JSXText$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R90, "JSXText /[^{}<>\\r\\n]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
19705
+ var JSXText$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R92, "JSXText /[^{}<>\\r\\n]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
19478
19706
  return {
19479
19707
  type: "JSXText",
19480
19708
  token: $0,
@@ -19994,7 +20222,7 @@ var TypeProperty$0 = (0, import_lib2.$S)((0, import_lib2.$E)((0, import_lib2.$S)
19994
20222
  function TypeProperty(ctx, state2) {
19995
20223
  return (0, import_lib2.$EVENT)(ctx, state2, "TypeProperty", TypeProperty$0);
19996
20224
  }
19997
- var TypeIndexSignature$0 = (0, import_lib2.$S)((0, import_lib2.$E)((0, import_lib2.$S)((0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R91, "TypeIndexSignature /[+-]?/")), Readonly, NotDedented)), OpenBracket, TypeIndex, CloseBracket, (0, import_lib2.$E)((0, import_lib2.$S)(__, (0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R14, "TypeIndexSignature /[+-]/")), (0, import_lib2.$Y)((0, import_lib2.$S)((0, import_lib2.$E)(_), QuestionMark)))));
20225
+ var TypeIndexSignature$0 = (0, import_lib2.$S)((0, import_lib2.$E)((0, import_lib2.$S)((0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R93, "TypeIndexSignature /[+-]?/")), Readonly, NotDedented)), OpenBracket, TypeIndex, CloseBracket, (0, import_lib2.$E)((0, import_lib2.$S)(__, (0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R14, "TypeIndexSignature /[+-]/")), (0, import_lib2.$Y)((0, import_lib2.$S)((0, import_lib2.$E)(_), QuestionMark)))));
19998
20226
  function TypeIndexSignature(ctx, state2) {
19999
20227
  return (0, import_lib2.$EVENT)(ctx, state2, "TypeIndexSignature", TypeIndexSignature$0);
20000
20228
  }
@@ -20495,7 +20723,7 @@ var TypeWithPostfix$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(TypeConditional
20495
20723
  function TypeWithPostfix(ctx, state2) {
20496
20724
  return (0, import_lib2.$EVENT)(ctx, state2, "TypeWithPostfix", TypeWithPostfix$0);
20497
20725
  }
20498
- var TypeConditional$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$E)(_), (0, import_lib2.$EXPECT)($R92, "TypeConditional /(?=if|unless)/"), TypeIfThenElse), function($skip, $loc, $0, $1, $2, $3) {
20726
+ var TypeConditional$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$E)(_), (0, import_lib2.$EXPECT)($R94, "TypeConditional /(?=if|unless)/"), TypeIfThenElse), function($skip, $loc, $0, $1, $2, $3) {
20499
20727
  return prepend($1, expressionizeTypeIf($3));
20500
20728
  });
20501
20729
  var TypeConditional$1 = (0, import_lib2.$TS)((0, import_lib2.$S)(TypeCondition, NotDedented, QuestionMark, __, Type, __, Colon, __, Type), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
@@ -20723,8 +20951,8 @@ function TypeApplicationStart(ctx, state2) {
20723
20951
  return (0, import_lib2.$EVENT_C)(ctx, state2, "TypeApplicationStart", TypeApplicationStart$$);
20724
20952
  }
20725
20953
  var ForbiddenImplicitTypeCalls$0 = ReservedBinary;
20726
- var ForbiddenImplicitTypeCalls$1 = (0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R93, "ForbiddenImplicitTypeCalls /[|&<!=\\-\u21D2\u2192]/"));
20727
- var ForbiddenImplicitTypeCalls$2 = (0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R94, "ForbiddenImplicitTypeCalls /(extends|not|is)(?!\\p{ID_Continue}|[\\u200C\\u200D$])/"));
20954
+ var ForbiddenImplicitTypeCalls$1 = (0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R95, "ForbiddenImplicitTypeCalls /[|&<!=\\-\u21D2\u2192]/"));
20955
+ var ForbiddenImplicitTypeCalls$2 = (0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R96, "ForbiddenImplicitTypeCalls /(extends|not|is)(?!\\p{ID_Continue}|[\\u200C\\u200D$])/"));
20728
20956
  var ForbiddenImplicitTypeCalls$$ = [ForbiddenImplicitTypeCalls$0, ForbiddenImplicitTypeCalls$1, ForbiddenImplicitTypeCalls$2];
20729
20957
  function ForbiddenImplicitTypeCalls(ctx, state2) {
20730
20958
  return (0, import_lib2.$EVENT_C)(ctx, state2, "ForbiddenImplicitTypeCalls", ForbiddenImplicitTypeCalls$$);
@@ -20814,7 +21042,7 @@ var TypeParameters$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(OpenAngleBracket
20814
21042
  function TypeParameters(ctx, state2) {
20815
21043
  return (0, import_lib2.$EVENT)(ctx, state2, "TypeParameters", TypeParameters$0);
20816
21044
  }
20817
- var TypeParameter$0 = (0, import_lib2.$S)(__, (0, import_lib2.$Q)((0, import_lib2.$S)((0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R95, "TypeParameter /const|in|out/")), _)), Identifier, (0, import_lib2.$E)(TypeConstraint), (0, import_lib2.$E)(TypeInitializer), TypeParameterDelimiter);
21045
+ var TypeParameter$0 = (0, import_lib2.$S)(__, (0, import_lib2.$Q)((0, import_lib2.$S)((0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R97, "TypeParameter /const|in|out/")), _)), Identifier, (0, import_lib2.$E)(TypeConstraint), (0, import_lib2.$E)(TypeInitializer), TypeParameterDelimiter);
20818
21046
  function TypeParameter(ctx, state2) {
20819
21047
  return (0, import_lib2.$EVENT)(ctx, state2, "TypeParameter", TypeParameter$0);
20820
21048
  }
@@ -20841,15 +21069,15 @@ var ThisType$0 = (0, import_lib2.$T)((0, import_lib2.$S)((0, import_lib2.$E)(_),
20841
21069
  function ThisType(ctx, state2) {
20842
21070
  return (0, import_lib2.$EVENT)(ctx, state2, "ThisType", ThisType$0);
20843
21071
  }
20844
- var Shebang$0 = (0, import_lib2.$S)((0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R96, "Shebang /#![^\\r\\n]*/")), EOL);
21072
+ var Shebang$0 = (0, import_lib2.$S)((0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R98, "Shebang /#![^\\r\\n]*/")), EOL);
20845
21073
  function Shebang(ctx, state2) {
20846
21074
  return (0, import_lib2.$EVENT)(ctx, state2, "Shebang", Shebang$0);
20847
21075
  }
20848
- var CivetPrologue$0 = (0, import_lib2.$T)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($R97, "CivetPrologue /[\\t ]*/"), DoubleQuote, CivetPrologueContent, DoubleQuote, SimpleStatementDelimiter, (0, import_lib2.$EXPECT)($R22, "CivetPrologue /[ \\t]*/"), (0, import_lib2.$C)(EOL, (0, import_lib2.$Y)(RestOfLine))), function(value) {
21076
+ var CivetPrologue$0 = (0, import_lib2.$T)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($R99, "CivetPrologue /[\\t ]*/"), DoubleQuote, CivetPrologueContent, DoubleQuote, SimpleStatementDelimiter, (0, import_lib2.$EXPECT)($R22, "CivetPrologue /[ \\t]*/"), (0, import_lib2.$C)(EOL, (0, import_lib2.$Y)(RestOfLine))), function(value) {
20849
21077
  var content = value[2];
20850
21078
  return content;
20851
21079
  });
20852
- var CivetPrologue$1 = (0, import_lib2.$T)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($R97, "CivetPrologue /[\\t ]*/"), SingleQuote, CivetPrologueContent, SingleQuote, SimpleStatementDelimiter, (0, import_lib2.$EXPECT)($R22, "CivetPrologue /[ \\t]*/"), (0, import_lib2.$C)(EOL, (0, import_lib2.$Y)(RestOfLine))), function(value) {
21080
+ var CivetPrologue$1 = (0, import_lib2.$T)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($R99, "CivetPrologue /[\\t ]*/"), SingleQuote, CivetPrologueContent, SingleQuote, SimpleStatementDelimiter, (0, import_lib2.$EXPECT)($R22, "CivetPrologue /[ \\t]*/"), (0, import_lib2.$C)(EOL, (0, import_lib2.$Y)(RestOfLine))), function(value) {
20853
21081
  var content = value[2];
20854
21082
  return content;
20855
21083
  });
@@ -20857,7 +21085,7 @@ var CivetPrologue$$ = [CivetPrologue$0, CivetPrologue$1];
20857
21085
  function CivetPrologue(ctx, state2) {
20858
21086
  return (0, import_lib2.$EVENT_C)(ctx, state2, "CivetPrologue", CivetPrologue$$);
20859
21087
  }
20860
- var CivetPrologueContent$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L248, 'CivetPrologueContent "civet"'), NonIdContinue, (0, import_lib2.$Q)(CivetOption), (0, import_lib2.$EXPECT)($R98, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3, $4) {
21088
+ var CivetPrologueContent$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($L248, 'CivetPrologueContent "civet"'), NonIdContinue, (0, import_lib2.$Q)(CivetOption), (0, import_lib2.$EXPECT)($R100, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3, $4) {
20861
21089
  var options = $3;
20862
21090
  return {
20863
21091
  type: "CivetPrologue",
@@ -20868,7 +21096,7 @@ var CivetPrologueContent$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import
20868
21096
  function CivetPrologueContent(ctx, state2) {
20869
21097
  return (0, import_lib2.$EVENT)(ctx, state2, "CivetPrologueContent", CivetPrologueContent$0);
20870
21098
  }
20871
- var CivetOption$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R99, "CivetOption /\\s+([+-]?)([a-zA-Z0-9-]+)(\\s*=\\s*([\\p{ID_Continue}.,+-]*))?/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
21099
+ var CivetOption$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R101, "CivetOption /\\s+([+-]?)([a-zA-Z0-9-]+)(\\s*=\\s*([\\p{ID_Continue}.,+-]*))?/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
20872
21100
  const optionName = $2.replace(/-+([a-z]?)/g, (_2, l) => {
20873
21101
  if (l) return l.toUpperCase();
20874
21102
  return "";
@@ -20890,11 +21118,11 @@ var CivetOption$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R99, "CivetOp
20890
21118
  function CivetOption(ctx, state2) {
20891
21119
  return (0, import_lib2.$EVENT)(ctx, state2, "CivetOption", CivetOption$0);
20892
21120
  }
20893
- var UnknownPrologue$0 = (0, import_lib2.$S)((0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R97, "UnknownPrologue /[\\t ]*/")), StringLiteral, (0, import_lib2.$TEXT)(SimpleStatementDelimiter), EOS);
21121
+ var UnknownPrologue$0 = (0, import_lib2.$S)((0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R99, "UnknownPrologue /[\\t ]*/")), StringLiteral, (0, import_lib2.$TEXT)(SimpleStatementDelimiter), EOS);
20894
21122
  function UnknownPrologue(ctx, state2) {
20895
21123
  return (0, import_lib2.$EVENT)(ctx, state2, "UnknownPrologue", UnknownPrologue$0);
20896
21124
  }
20897
- var TripleSlashDirective$0 = (0, import_lib2.$S)((0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R100, "TripleSlashDirective /\\/\\/\\/[^\\r\\n]*/")), (0, import_lib2.$E)(EOS));
21125
+ var TripleSlashDirective$0 = (0, import_lib2.$S)((0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R102, "TripleSlashDirective /\\/\\/\\/[^\\r\\n]*/")), (0, import_lib2.$E)(EOS));
20898
21126
  function TripleSlashDirective(ctx, state2) {
20899
21127
  return (0, import_lib2.$EVENT)(ctx, state2, "TripleSlashDirective", TripleSlashDirective$0);
20900
21128
  }
@@ -20910,13 +21138,13 @@ var PrologueString$$ = [PrologueString$0, PrologueString$1];
20910
21138
  function PrologueString(ctx, state2) {
20911
21139
  return (0, import_lib2.$EVENT_C)(ctx, state2, "PrologueString", PrologueString$$);
20912
21140
  }
20913
- var EOS$0 = (0, import_lib2.$T)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($R101, "EOS /(?=[ \\t\\r\\n\\/#]|$)/"), (0, import_lib2.$P)(RestOfLine)), function(value) {
21141
+ var EOS$0 = (0, import_lib2.$T)((0, import_lib2.$S)((0, import_lib2.$EXPECT)($R103, "EOS /(?=[ \\t\\r\\n\\/#]|$)/"), (0, import_lib2.$P)(RestOfLine)), function(value) {
20914
21142
  return value[1];
20915
21143
  });
20916
21144
  function EOS(ctx, state2) {
20917
21145
  return (0, import_lib2.$EVENT)(ctx, state2, "EOS", EOS$0);
20918
21146
  }
20919
- var EOL$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R102, "EOL /\\r\\n|\\n|\\r|$/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
21147
+ var EOL$0 = (0, import_lib2.$TR)((0, import_lib2.$EXPECT)($R104, "EOL /\\r\\n|\\n|\\r|$/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
20920
21148
  return { $loc, token: $0 };
20921
21149
  });
20922
21150
  function EOL(ctx, state2) {
@@ -21345,7 +21573,7 @@ var Prologue$0 = (0, import_lib2.$Q)((0, import_lib2.$C)(TripleSlashDirective, (
21345
21573
  function Prologue(ctx, state2) {
21346
21574
  return (0, import_lib2.$EVENT)(ctx, state2, "Prologue", Prologue$0);
21347
21575
  }
21348
- var ProloguePrefix$0 = (0, import_lib2.$S)(Prologue, (0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R103, "ProloguePrefix /[^]*/")));
21576
+ var ProloguePrefix$0 = (0, import_lib2.$S)(Prologue, (0, import_lib2.$R$0)((0, import_lib2.$EXPECT)($R105, "ProloguePrefix /[^]*/")));
21349
21577
  function ProloguePrefix(ctx, state2) {
21350
21578
  return (0, import_lib2.$EVENT)(ctx, state2, "ProloguePrefix", ProloguePrefix$0);
21351
21579
  }