@danielx/civet 0.5.38 → 0.5.39

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
@@ -431,11 +431,13 @@ ${input.slice(result.pos)}
431
431
  ExpressionizedStatement,
432
432
  Expression,
433
433
  Arguments,
434
+ ImplicitArguments,
434
435
  ExplicitArguments,
435
436
  ApplicationStart,
436
437
  ForbiddenImplicitCalls,
437
- IndentedApplicationAllowed,
438
438
  ArgumentsWithTrailingMemberExpressions,
439
+ TrailingMemberExpressions,
440
+ NonSuppressedTrailingMemberExpressions,
439
441
  ArgumentList,
440
442
  NestedArgumentList,
441
443
  NestedArgument,
@@ -644,6 +646,9 @@ ${input.slice(result.pos)}
644
646
  Condition,
645
647
  ExpressionWithIndentedApplicationSuppressed,
646
648
  SuppressIndentedApplication,
649
+ IndentedApplicationAllowed,
650
+ SuppressTrailingMemberProperty,
651
+ TrailingMemberPropertyAllowed,
647
652
  ExpressionStatement,
648
653
  KeywordStatement,
649
654
  DebuggerExpression,
@@ -938,7 +943,7 @@ ${input.slice(result.pos)}
938
943
  Nested
939
944
  });
940
945
  var $L0 = $L("/ ");
941
- var $L1 = $L("");
946
+ var $L1 = $L("?");
942
947
  var $L2 = $L(".");
943
948
  var $L3 = $L("++");
944
949
  var $L4 = $L("--");
@@ -951,64 +956,64 @@ ${input.slice(result.pos)}
951
956
  var $L11 = $L("!");
952
957
  var $L12 = $L("super[");
953
958
  var $L13 = $L("import.meta");
954
- var $L14 = $L(")");
955
- var $L15 = $L("->");
956
- var $L16 = $L("}");
957
- var $L17 = $L("null");
958
- var $L18 = $L("true");
959
- var $L19 = $L("false");
960
- var $L20 = $L("yes");
961
- var $L21 = $L("on");
962
- var $L22 = $L("no");
963
- var $L23 = $L("off");
964
- var $L24 = $L(",");
965
- var $L25 = $L("=");
966
- var $L26 = $L(">");
967
- var $L27 = $L("]");
968
- var $L28 = $L(":");
969
- var $L29 = $L("**=");
970
- var $L30 = $L("*=");
971
- var $L31 = $L("/=");
972
- var $L32 = $L("%=");
973
- var $L33 = $L("+=");
974
- var $L34 = $L("-=");
975
- var $L35 = $L("<<=");
976
- var $L36 = $L(">>>=");
977
- var $L37 = $L(">>=");
978
- var $L38 = $L("&&=");
979
- var $L39 = $L("&=");
980
- var $L40 = $L("^=");
981
- var $L41 = $L("||=");
982
- var $L42 = $L("|=");
983
- var $L43 = $L("??=");
984
- var $L44 = $L("?=");
985
- var $L45 = $L("and=");
986
- var $L46 = $L("or=");
987
- var $L47 = $L("**");
988
- var $L48 = $L("*");
989
- var $L49 = $L("/");
990
- var $L50 = $L("%%");
991
- var $L51 = $L("%");
992
- var $L52 = $L("+");
993
- var $L53 = $L("-");
994
- var $L54 = $L("<=");
995
- var $L55 = $L(">=");
996
- var $L56 = $L("<?");
997
- var $L57 = $L("<<");
998
- var $L58 = $L(">>>");
999
- var $L59 = $L(">>");
1000
- var $L60 = $L("!==");
1001
- var $L61 = $L("!=");
1002
- var $L62 = $L("isnt");
1003
- var $L63 = $L("===");
1004
- var $L64 = $L("==");
1005
- var $L65 = $L("and");
1006
- var $L66 = $L("&&");
1007
- var $L67 = $L("of");
1008
- var $L68 = $L("or");
1009
- var $L69 = $L("||");
1010
- var $L70 = $L("??");
1011
- var $L71 = $L("?");
959
+ var $L14 = $L("");
960
+ var $L15 = $L(")");
961
+ var $L16 = $L("->");
962
+ var $L17 = $L("}");
963
+ var $L18 = $L("null");
964
+ var $L19 = $L("true");
965
+ var $L20 = $L("false");
966
+ var $L21 = $L("yes");
967
+ var $L22 = $L("on");
968
+ var $L23 = $L("no");
969
+ var $L24 = $L("off");
970
+ var $L25 = $L(",");
971
+ var $L26 = $L("=");
972
+ var $L27 = $L(">");
973
+ var $L28 = $L("]");
974
+ var $L29 = $L(":");
975
+ var $L30 = $L("**=");
976
+ var $L31 = $L("*=");
977
+ var $L32 = $L("/=");
978
+ var $L33 = $L("%=");
979
+ var $L34 = $L("+=");
980
+ var $L35 = $L("-=");
981
+ var $L36 = $L("<<=");
982
+ var $L37 = $L(">>>=");
983
+ var $L38 = $L(">>=");
984
+ var $L39 = $L("&&=");
985
+ var $L40 = $L("&=");
986
+ var $L41 = $L("^=");
987
+ var $L42 = $L("||=");
988
+ var $L43 = $L("|=");
989
+ var $L44 = $L("??=");
990
+ var $L45 = $L("?=");
991
+ var $L46 = $L("and=");
992
+ var $L47 = $L("or=");
993
+ var $L48 = $L("**");
994
+ var $L49 = $L("*");
995
+ var $L50 = $L("/");
996
+ var $L51 = $L("%%");
997
+ var $L52 = $L("%");
998
+ var $L53 = $L("+");
999
+ var $L54 = $L("-");
1000
+ var $L55 = $L("<=");
1001
+ var $L56 = $L(">=");
1002
+ var $L57 = $L("<?");
1003
+ var $L58 = $L("<<");
1004
+ var $L59 = $L(">>>");
1005
+ var $L60 = $L(">>");
1006
+ var $L61 = $L("!==");
1007
+ var $L62 = $L("!=");
1008
+ var $L63 = $L("isnt");
1009
+ var $L64 = $L("===");
1010
+ var $L65 = $L("==");
1011
+ var $L66 = $L("and");
1012
+ var $L67 = $L("&&");
1013
+ var $L68 = $L("of");
1014
+ var $L69 = $L("or");
1015
+ var $L70 = $L("||");
1016
+ var $L71 = $L("??");
1012
1017
  var $L72 = $L("instanceof");
1013
1018
  var $L73 = $L("not");
1014
1019
  var $L74 = $L("in");
@@ -1353,13 +1358,12 @@ ${input.slice(result.pos)}
1353
1358
  }
1354
1359
  }
1355
1360
  var Arguments$0 = ExplicitArguments;
1356
- var Arguments$1 = $TS($S($E($S(TypeArguments, $N($S(__, ImplementsToken)))), ApplicationStart, InsertOpenParen, $Q(_), ArgumentList, InsertCloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
1357
- var ta = $1;
1358
- var open = $3;
1359
- var ws = $4;
1360
- var args = $5;
1361
- var close = $6;
1362
- return [ta?.[0], open, module.insertTrimmingSpace(ws, ""), args, close];
1361
+ var Arguments$1 = $TS($S(SuppressTrailingMemberProperty, $E(ImplicitArguments)), function($skip, $loc, $0, $1, $2) {
1362
+ var args = $2;
1363
+ module.suppressTrailingMemberProperty.pop();
1364
+ if (args)
1365
+ return args;
1366
+ return $skip;
1363
1367
  });
1364
1368
  function Arguments(state) {
1365
1369
  let eventData;
@@ -1383,6 +1387,36 @@ ${input.slice(result.pos)}
1383
1387
  return result;
1384
1388
  }
1385
1389
  }
1390
+ var ImplicitArguments$0 = $TS($S($E($S(TypeArguments, $N($S(__, ImplementsToken)))), ApplicationStart, InsertOpenParen, $Q(_), ArgumentList, InsertCloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
1391
+ var ta = $1;
1392
+ var open = $3;
1393
+ var ws = $4;
1394
+ var args = $5;
1395
+ var close = $6;
1396
+ return [ta?.[0], open, module.insertTrimmingSpace(ws, ""), args, close];
1397
+ });
1398
+ function ImplicitArguments(state) {
1399
+ let eventData;
1400
+ if (state.events) {
1401
+ const result = state.events.enter?.("ImplicitArguments", state);
1402
+ if (result) {
1403
+ if (result.cache)
1404
+ return result.cache;
1405
+ eventData = result.data;
1406
+ }
1407
+ }
1408
+ if (state.tokenize) {
1409
+ const result = $TOKEN("ImplicitArguments", state, ImplicitArguments$0(state));
1410
+ if (state.events)
1411
+ state.events.exit?.("ImplicitArguments", state, result, eventData);
1412
+ return result;
1413
+ } else {
1414
+ const result = ImplicitArguments$0(state);
1415
+ if (state.events)
1416
+ state.events.exit?.("ImplicitArguments", state, result, eventData);
1417
+ return result;
1418
+ }
1419
+ }
1386
1420
  var ExplicitArguments$0 = $S($E(TypeArguments), OpenParen, $E(ArgumentList), $E($S(__, Comma)), __, CloseParen);
1387
1421
  function ExplicitArguments(state) {
1388
1422
  let eventData;
@@ -1455,15 +1489,36 @@ ${input.slice(result.pos)}
1455
1489
  return result;
1456
1490
  }
1457
1491
  }
1458
- var IndentedApplicationAllowed$0 = $TV($EXPECT($L1, fail, 'IndentedApplicationAllowed ""'), function($skip, $loc, $0, $1) {
1459
- if (module.suppressIndentedApplication)
1460
- return $skip;
1461
- return;
1492
+ var ArgumentsWithTrailingMemberExpressions$0 = $S(Arguments, TrailingMemberExpressions);
1493
+ function ArgumentsWithTrailingMemberExpressions(state) {
1494
+ let eventData;
1495
+ if (state.events) {
1496
+ const result = state.events.enter?.("ArgumentsWithTrailingMemberExpressions", state);
1497
+ if (result) {
1498
+ if (result.cache)
1499
+ return result.cache;
1500
+ eventData = result.data;
1501
+ }
1502
+ }
1503
+ if (state.tokenize) {
1504
+ const result = $TOKEN("ArgumentsWithTrailingMemberExpressions", state, ArgumentsWithTrailingMemberExpressions$0(state));
1505
+ if (state.events)
1506
+ state.events.exit?.("ArgumentsWithTrailingMemberExpressions", state, result, eventData);
1507
+ return result;
1508
+ } else {
1509
+ const result = ArgumentsWithTrailingMemberExpressions$0(state);
1510
+ if (state.events)
1511
+ state.events.exit?.("ArgumentsWithTrailingMemberExpressions", state, result, eventData);
1512
+ return result;
1513
+ }
1514
+ }
1515
+ var TrailingMemberExpressions$0 = $TS($S($Q(MemberExpressionRest), $Q($S($C(Samedent, IndentedFurther), $Y($S($E($EXPECT($L1, fail, 'TrailingMemberExpressions "?"')), $EXPECT($L2, fail, 'TrailingMemberExpressions "."'))), MemberExpressionRest))), function($skip, $loc, $0, $1, $2) {
1516
+ return $1.concat($2);
1462
1517
  });
1463
- function IndentedApplicationAllowed(state) {
1518
+ function TrailingMemberExpressions(state) {
1464
1519
  let eventData;
1465
1520
  if (state.events) {
1466
- const result = state.events.enter?.("IndentedApplicationAllowed", state);
1521
+ const result = state.events.enter?.("TrailingMemberExpressions", state);
1467
1522
  if (result) {
1468
1523
  if (result.cache)
1469
1524
  return result.cache;
@@ -1471,22 +1526,25 @@ ${input.slice(result.pos)}
1471
1526
  }
1472
1527
  }
1473
1528
  if (state.tokenize) {
1474
- const result = $TOKEN("IndentedApplicationAllowed", state, IndentedApplicationAllowed$0(state));
1529
+ const result = $TOKEN("TrailingMemberExpressions", state, TrailingMemberExpressions$0(state));
1475
1530
  if (state.events)
1476
- state.events.exit?.("IndentedApplicationAllowed", state, result, eventData);
1531
+ state.events.exit?.("TrailingMemberExpressions", state, result, eventData);
1477
1532
  return result;
1478
1533
  } else {
1479
- const result = IndentedApplicationAllowed$0(state);
1534
+ const result = TrailingMemberExpressions$0(state);
1480
1535
  if (state.events)
1481
- state.events.exit?.("IndentedApplicationAllowed", state, result, eventData);
1536
+ state.events.exit?.("TrailingMemberExpressions", state, result, eventData);
1482
1537
  return result;
1483
1538
  }
1484
1539
  }
1485
- var ArgumentsWithTrailingMemberExpressions$0 = $S(Arguments, $Q($S(Samedent, $Y($EXPECT($L2, fail, 'ArgumentsWithTrailingMemberExpressions "."')), MemberExpressionRest)));
1486
- function ArgumentsWithTrailingMemberExpressions(state) {
1540
+ var NonSuppressedTrailingMemberExpressions$0 = $T($S(TrailingMemberPropertyAllowed, TrailingMemberExpressions), function(value) {
1541
+ return value[1];
1542
+ });
1543
+ var NonSuppressedTrailingMemberExpressions$1 = $Q(MemberExpressionRest);
1544
+ function NonSuppressedTrailingMemberExpressions(state) {
1487
1545
  let eventData;
1488
1546
  if (state.events) {
1489
- const result = state.events.enter?.("ArgumentsWithTrailingMemberExpressions", state);
1547
+ const result = state.events.enter?.("NonSuppressedTrailingMemberExpressions", state);
1490
1548
  if (result) {
1491
1549
  if (result.cache)
1492
1550
  return result.cache;
@@ -1494,14 +1552,14 @@ ${input.slice(result.pos)}
1494
1552
  }
1495
1553
  }
1496
1554
  if (state.tokenize) {
1497
- const result = $TOKEN("ArgumentsWithTrailingMemberExpressions", state, ArgumentsWithTrailingMemberExpressions$0(state));
1555
+ const result = $TOKEN("NonSuppressedTrailingMemberExpressions", state, NonSuppressedTrailingMemberExpressions$0(state) || NonSuppressedTrailingMemberExpressions$1(state));
1498
1556
  if (state.events)
1499
- state.events.exit?.("ArgumentsWithTrailingMemberExpressions", state, result, eventData);
1557
+ state.events.exit?.("NonSuppressedTrailingMemberExpressions", state, result, eventData);
1500
1558
  return result;
1501
1559
  } else {
1502
- const result = ArgumentsWithTrailingMemberExpressions$0(state);
1560
+ const result = NonSuppressedTrailingMemberExpressions$0(state) || NonSuppressedTrailingMemberExpressions$1(state);
1503
1561
  if (state.events)
1504
- state.events.exit?.("ArgumentsWithTrailingMemberExpressions", state, result, eventData);
1562
+ state.events.exit?.("NonSuppressedTrailingMemberExpressions", state, result, eventData);
1505
1563
  return result;
1506
1564
  }
1507
1565
  }
@@ -2970,14 +3028,17 @@ ${input.slice(result.pos)}
2970
3028
  children: $0
2971
3029
  };
2972
3030
  });
2973
- var CallExpression$2 = $TS($S(MemberExpression, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2) {
2974
- if ($2.length) {
3031
+ var CallExpression$2 = $TS($S(MemberExpression, NonSuppressedTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3032
+ var member = $1;
3033
+ var trailing = $2;
3034
+ var rest = $3;
3035
+ if (rest.length || trailing.length) {
2975
3036
  return {
2976
- type: "CallExpression",
2977
- children: [$1].concat($2)
3037
+ type: rest.length ? "CallExpression" : "MemberExpression",
3038
+ children: [member, ...trailing, ...rest]
2978
3039
  };
2979
3040
  }
2980
- return $1;
3041
+ return member;
2981
3042
  });
2982
3043
  function CallExpression(state) {
2983
3044
  let eventData;
@@ -3117,13 +3178,7 @@ ${input.slice(result.pos)}
3117
3178
  }
3118
3179
  return $2;
3119
3180
  });
3120
- var MemberExpressionRest$1 = $TS($S($E(IndentedFurther), PropertyAccess), function($skip, $loc, $0, $1, $2) {
3121
- if ($1)
3122
- return Object.assign({}, $2, {
3123
- children: [$1, ...$2.children]
3124
- });
3125
- return $2;
3126
- });
3181
+ var MemberExpressionRest$1 = PropertyAccess;
3127
3182
  var MemberExpressionRest$2 = NonNullAssertion;
3128
3183
  function MemberExpressionRest(state) {
3129
3184
  let eventData;
@@ -3350,7 +3405,7 @@ ${input.slice(result.pos)}
3350
3405
  }
3351
3406
  }
3352
3407
  var Parameters$0 = NonEmptyParameters;
3353
- var Parameters$1 = $TV($EXPECT($L1, fail, 'Parameters ""'), function($skip, $loc, $0, $1) {
3408
+ var Parameters$1 = $TV($EXPECT($L14, fail, 'Parameters ""'), function($skip, $loc, $0, $1) {
3354
3409
  return {
3355
3410
  type: "Parameters",
3356
3411
  children: [{ $loc, token: "()" }],
@@ -3509,7 +3564,7 @@ ${input.slice(result.pos)}
3509
3564
  }
3510
3565
  }
3511
3566
  var ParameterElementDelimiter$0 = $S($Q(_), Comma);
3512
- var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L14, fail, 'ParameterElementDelimiter ")"')));
3567
+ var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L15, fail, 'ParameterElementDelimiter ")"')));
3513
3568
  var ParameterElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
3514
3569
  return value[1];
3515
3570
  });
@@ -4182,7 +4237,7 @@ ${input.slice(result.pos)}
4182
4237
  return result;
4183
4238
  }
4184
4239
  }
4185
- var EmptyBindingPattern$0 = $TV($EXPECT($L1, fail, 'EmptyBindingPattern ""'), function($skip, $loc, $0, $1) {
4240
+ var EmptyBindingPattern$0 = $TV($EXPECT($L14, fail, 'EmptyBindingPattern ""'), function($skip, $loc, $0, $1) {
4186
4241
  const ref = {
4187
4242
  type: "Ref",
4188
4243
  base: "ref",
@@ -4458,7 +4513,7 @@ ${input.slice(result.pos)}
4458
4513
  return result;
4459
4514
  }
4460
4515
  }
4461
- var Arrow$0 = $TV($EXPECT($L15, fail, 'Arrow "->"'), function($skip, $loc, $0, $1) {
4516
+ var Arrow$0 = $TV($EXPECT($L16, fail, 'Arrow "->"'), function($skip, $loc, $0, $1) {
4462
4517
  return { $loc, token: $1 };
4463
4518
  });
4464
4519
  function Arrow(state) {
@@ -4753,7 +4808,7 @@ ${input.slice(result.pos)}
4753
4808
  children: [$1, expressions]
4754
4809
  };
4755
4810
  });
4756
- var BracedContent$2 = $TV($Y($S(__, $EXPECT($L16, fail, 'BracedContent "}"'))), function($skip, $loc, $0, $1) {
4811
+ var BracedContent$2 = $TV($Y($S(__, $EXPECT($L17, fail, 'BracedContent "}"'))), function($skip, $loc, $0, $1) {
4757
4812
  const expressions = [];
4758
4813
  return {
4759
4814
  type: "BlockStatement",
@@ -4898,7 +4953,7 @@ ${input.slice(result.pos)}
4898
4953
  return result;
4899
4954
  }
4900
4955
  }
4901
- var NullLiteral$0 = $TS($S($EXPECT($L17, fail, 'NullLiteral "null"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4956
+ var NullLiteral$0 = $TS($S($EXPECT($L18, fail, 'NullLiteral "null"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4902
4957
  return { $loc, token: $1 };
4903
4958
  });
4904
4959
  function NullLiteral(state) {
@@ -4926,7 +4981,7 @@ ${input.slice(result.pos)}
4926
4981
  var BooleanLiteral$0 = $T($S(CoffeeBooleansEnabled, CoffeeScriptBooleanLiteral), function(value) {
4927
4982
  return value[1];
4928
4983
  });
4929
- var BooleanLiteral$1 = $TS($S($C($EXPECT($L18, fail, 'BooleanLiteral "true"'), $EXPECT($L19, fail, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4984
+ var BooleanLiteral$1 = $TS($S($C($EXPECT($L19, fail, 'BooleanLiteral "true"'), $EXPECT($L20, fail, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4930
4985
  return { $loc, token: $1 };
4931
4986
  });
4932
4987
  function BooleanLiteral(state) {
@@ -4951,10 +5006,10 @@ ${input.slice(result.pos)}
4951
5006
  return result;
4952
5007
  }
4953
5008
  }
4954
- var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L20, fail, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L21, fail, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5009
+ var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L21, fail, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L22, fail, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4955
5010
  return { $loc, token: "true" };
4956
5011
  });
4957
- var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($L22, fail, 'CoffeeScriptBooleanLiteral "no"'), $EXPECT($L23, fail, 'CoffeeScriptBooleanLiteral "off"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5012
+ var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($L23, fail, 'CoffeeScriptBooleanLiteral "no"'), $EXPECT($L24, fail, 'CoffeeScriptBooleanLiteral "off"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4958
5013
  return { $loc, token: "false" };
4959
5014
  });
4960
5015
  function CoffeeScriptBooleanLiteral(state) {
@@ -4979,7 +5034,7 @@ ${input.slice(result.pos)}
4979
5034
  return result;
4980
5035
  }
4981
5036
  }
4982
- var Comma$0 = $TV($EXPECT($L24, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
5037
+ var Comma$0 = $TV($EXPECT($L25, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
4983
5038
  return { $loc, token: $1 };
4984
5039
  });
4985
5040
  function Comma(state) {
@@ -5085,7 +5140,7 @@ ${input.slice(result.pos)}
5085
5140
  return result;
5086
5141
  }
5087
5142
  }
5088
- var UpcomingAssignment$0 = $Y($S(__, $EXPECT($L25, fail, 'UpcomingAssignment "="'), $N($C($EXPECT($L25, fail, 'UpcomingAssignment "="'), $EXPECT($L26, fail, 'UpcomingAssignment ">"')))));
5143
+ var UpcomingAssignment$0 = $Y($S(__, $EXPECT($L26, fail, 'UpcomingAssignment "="'), $N($C($EXPECT($L26, fail, 'UpcomingAssignment "="'), $EXPECT($L27, fail, 'UpcomingAssignment ">"')))));
5089
5144
  function UpcomingAssignment(state) {
5090
5145
  let eventData;
5091
5146
  if (state.events) {
@@ -5358,7 +5413,7 @@ ${input.slice(result.pos)}
5358
5413
  }
5359
5414
  }
5360
5415
  var ArrayElementDelimiter$0 = $S(__, Comma);
5361
- var ArrayElementDelimiter$1 = $Y($S(__, $EXPECT($L27, fail, 'ArrayElementDelimiter "]"')));
5416
+ var ArrayElementDelimiter$1 = $Y($S(__, $EXPECT($L28, fail, 'ArrayElementDelimiter "]"')));
5362
5417
  var ArrayElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
5363
5418
  return value[1];
5364
5419
  });
@@ -5780,7 +5835,7 @@ ${input.slice(result.pos)}
5780
5835
  var ImplicitInlineObjectPropertyDelimiter$1 = $T($S($Y($S($C(Samedent, $Q(_)), NamedProperty)), InsertComma), function(value) {
5781
5836
  return value[1];
5782
5837
  });
5783
- var ImplicitInlineObjectPropertyDelimiter$2 = $T($Y($S(__, $C($EXPECT($L28, fail, 'ImplicitInlineObjectPropertyDelimiter ":"'), $EXPECT($L14, fail, 'ImplicitInlineObjectPropertyDelimiter ")"'), $EXPECT($L27, fail, 'ImplicitInlineObjectPropertyDelimiter "]"'), $EXPECT($L16, fail, 'ImplicitInlineObjectPropertyDelimiter "}"'), ReservedWord))), function(value) {
5838
+ var ImplicitInlineObjectPropertyDelimiter$2 = $T($Y($S(__, $C($EXPECT($L29, fail, 'ImplicitInlineObjectPropertyDelimiter ":"'), $EXPECT($L15, fail, 'ImplicitInlineObjectPropertyDelimiter ")"'), $EXPECT($L28, fail, 'ImplicitInlineObjectPropertyDelimiter "]"'), $EXPECT($L17, fail, 'ImplicitInlineObjectPropertyDelimiter "}"'), ReservedWord))), function(value) {
5784
5839
  return "";
5785
5840
  });
5786
5841
  var ImplicitInlineObjectPropertyDelimiter$3 = $T($Y(EOS), function(value) {
@@ -5809,7 +5864,7 @@ ${input.slice(result.pos)}
5809
5864
  }
5810
5865
  }
5811
5866
  var ObjectPropertyDelimiter$0 = $S($Q(_), Comma);
5812
- var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L16, fail, 'ObjectPropertyDelimiter "}"')));
5867
+ var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L17, fail, 'ObjectPropertyDelimiter "}"')));
5813
5868
  var ObjectPropertyDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
5814
5869
  return value[1];
5815
5870
  });
@@ -6316,25 +6371,25 @@ ${input.slice(result.pos)}
6316
6371
  return result;
6317
6372
  }
6318
6373
  }
6319
- var AssignmentOpSymbol$0 = $EXPECT($L29, fail, 'AssignmentOpSymbol "**="');
6320
- var AssignmentOpSymbol$1 = $EXPECT($L30, fail, 'AssignmentOpSymbol "*="');
6321
- var AssignmentOpSymbol$2 = $EXPECT($L31, fail, 'AssignmentOpSymbol "/="');
6322
- var AssignmentOpSymbol$3 = $EXPECT($L32, fail, 'AssignmentOpSymbol "%="');
6323
- var AssignmentOpSymbol$4 = $EXPECT($L33, fail, 'AssignmentOpSymbol "+="');
6324
- var AssignmentOpSymbol$5 = $EXPECT($L34, fail, 'AssignmentOpSymbol "-="');
6325
- var AssignmentOpSymbol$6 = $EXPECT($L35, fail, 'AssignmentOpSymbol "<<="');
6326
- var AssignmentOpSymbol$7 = $EXPECT($L36, fail, 'AssignmentOpSymbol ">>>="');
6327
- var AssignmentOpSymbol$8 = $EXPECT($L37, fail, 'AssignmentOpSymbol ">>="');
6328
- var AssignmentOpSymbol$9 = $EXPECT($L38, fail, 'AssignmentOpSymbol "&&="');
6329
- var AssignmentOpSymbol$10 = $EXPECT($L39, fail, 'AssignmentOpSymbol "&="');
6330
- var AssignmentOpSymbol$11 = $EXPECT($L40, fail, 'AssignmentOpSymbol "^="');
6331
- var AssignmentOpSymbol$12 = $EXPECT($L41, fail, 'AssignmentOpSymbol "||="');
6332
- var AssignmentOpSymbol$13 = $EXPECT($L42, fail, 'AssignmentOpSymbol "|="');
6333
- var AssignmentOpSymbol$14 = $EXPECT($L43, fail, 'AssignmentOpSymbol "??="');
6334
- var AssignmentOpSymbol$15 = $T($EXPECT($L44, fail, 'AssignmentOpSymbol "?="'), function(value) {
6374
+ var AssignmentOpSymbol$0 = $EXPECT($L30, fail, 'AssignmentOpSymbol "**="');
6375
+ var AssignmentOpSymbol$1 = $EXPECT($L31, fail, 'AssignmentOpSymbol "*="');
6376
+ var AssignmentOpSymbol$2 = $EXPECT($L32, fail, 'AssignmentOpSymbol "/="');
6377
+ var AssignmentOpSymbol$3 = $EXPECT($L33, fail, 'AssignmentOpSymbol "%="');
6378
+ var AssignmentOpSymbol$4 = $EXPECT($L34, fail, 'AssignmentOpSymbol "+="');
6379
+ var AssignmentOpSymbol$5 = $EXPECT($L35, fail, 'AssignmentOpSymbol "-="');
6380
+ var AssignmentOpSymbol$6 = $EXPECT($L36, fail, 'AssignmentOpSymbol "<<="');
6381
+ var AssignmentOpSymbol$7 = $EXPECT($L37, fail, 'AssignmentOpSymbol ">>>="');
6382
+ var AssignmentOpSymbol$8 = $EXPECT($L38, fail, 'AssignmentOpSymbol ">>="');
6383
+ var AssignmentOpSymbol$9 = $EXPECT($L39, fail, 'AssignmentOpSymbol "&&="');
6384
+ var AssignmentOpSymbol$10 = $EXPECT($L40, fail, 'AssignmentOpSymbol "&="');
6385
+ var AssignmentOpSymbol$11 = $EXPECT($L41, fail, 'AssignmentOpSymbol "^="');
6386
+ var AssignmentOpSymbol$12 = $EXPECT($L42, fail, 'AssignmentOpSymbol "||="');
6387
+ var AssignmentOpSymbol$13 = $EXPECT($L43, fail, 'AssignmentOpSymbol "|="');
6388
+ var AssignmentOpSymbol$14 = $EXPECT($L44, fail, 'AssignmentOpSymbol "??="');
6389
+ var AssignmentOpSymbol$15 = $T($EXPECT($L45, fail, 'AssignmentOpSymbol "?="'), function(value) {
6335
6390
  return "??=";
6336
6391
  });
6337
- var AssignmentOpSymbol$16 = $T($S($EXPECT($L25, fail, 'AssignmentOpSymbol "="'), $N($EXPECT($L25, fail, 'AssignmentOpSymbol "="'))), function(value) {
6392
+ var AssignmentOpSymbol$16 = $T($S($EXPECT($L26, fail, 'AssignmentOpSymbol "="'), $N($EXPECT($L26, fail, 'AssignmentOpSymbol "="'))), function(value) {
6338
6393
  return value[0];
6339
6394
  });
6340
6395
  var AssignmentOpSymbol$17 = $T($S(CoffeeWordAssignmentOp), function(value) {
@@ -6362,10 +6417,10 @@ ${input.slice(result.pos)}
6362
6417
  return result;
6363
6418
  }
6364
6419
  }
6365
- var CoffeeWordAssignmentOp$0 = $T($EXPECT($L45, fail, 'CoffeeWordAssignmentOp "and="'), function(value) {
6420
+ var CoffeeWordAssignmentOp$0 = $T($EXPECT($L46, fail, 'CoffeeWordAssignmentOp "and="'), function(value) {
6366
6421
  return "&&=";
6367
6422
  });
6368
- var CoffeeWordAssignmentOp$1 = $T($EXPECT($L46, fail, 'CoffeeWordAssignmentOp "or="'), function(value) {
6423
+ var CoffeeWordAssignmentOp$1 = $T($EXPECT($L47, fail, 'CoffeeWordAssignmentOp "or="'), function(value) {
6369
6424
  return "||=";
6370
6425
  });
6371
6426
  function CoffeeWordAssignmentOp(state) {
@@ -6417,60 +6472,60 @@ ${input.slice(result.pos)}
6417
6472
  return result;
6418
6473
  }
6419
6474
  }
6420
- var BinaryOpSymbol$0 = $EXPECT($L47, fail, 'BinaryOpSymbol "**"');
6421
- var BinaryOpSymbol$1 = $EXPECT($L48, fail, 'BinaryOpSymbol "*"');
6422
- var BinaryOpSymbol$2 = $EXPECT($L49, fail, 'BinaryOpSymbol "/"');
6423
- var BinaryOpSymbol$3 = $TV($EXPECT($L50, fail, 'BinaryOpSymbol "%%"'), function($skip, $loc, $0, $1) {
6475
+ var BinaryOpSymbol$0 = $EXPECT($L48, fail, 'BinaryOpSymbol "**"');
6476
+ var BinaryOpSymbol$1 = $EXPECT($L49, fail, 'BinaryOpSymbol "*"');
6477
+ var BinaryOpSymbol$2 = $EXPECT($L50, fail, 'BinaryOpSymbol "/"');
6478
+ var BinaryOpSymbol$3 = $TV($EXPECT($L51, fail, 'BinaryOpSymbol "%%"'), function($skip, $loc, $0, $1) {
6424
6479
  return {
6425
6480
  call: module.getRef("modulo"),
6426
6481
  special: true
6427
6482
  };
6428
6483
  });
6429
- var BinaryOpSymbol$4 = $EXPECT($L51, fail, 'BinaryOpSymbol "%"');
6430
- var BinaryOpSymbol$5 = $EXPECT($L52, fail, 'BinaryOpSymbol "+"');
6431
- var BinaryOpSymbol$6 = $EXPECT($L53, fail, 'BinaryOpSymbol "-"');
6432
- var BinaryOpSymbol$7 = $EXPECT($L54, fail, 'BinaryOpSymbol "<="');
6433
- var BinaryOpSymbol$8 = $EXPECT($L55, fail, 'BinaryOpSymbol ">="');
6434
- var BinaryOpSymbol$9 = $TS($S($EXPECT($L56, fail, 'BinaryOpSymbol "<?"'), $E($EXPECT($L6, fail, 'BinaryOpSymbol " "'))), function($skip, $loc, $0, $1, $2) {
6484
+ var BinaryOpSymbol$4 = $EXPECT($L52, fail, 'BinaryOpSymbol "%"');
6485
+ var BinaryOpSymbol$5 = $EXPECT($L53, fail, 'BinaryOpSymbol "+"');
6486
+ var BinaryOpSymbol$6 = $EXPECT($L54, fail, 'BinaryOpSymbol "-"');
6487
+ var BinaryOpSymbol$7 = $EXPECT($L55, fail, 'BinaryOpSymbol "<="');
6488
+ var BinaryOpSymbol$8 = $EXPECT($L56, fail, 'BinaryOpSymbol ">="');
6489
+ var BinaryOpSymbol$9 = $TS($S($EXPECT($L57, fail, 'BinaryOpSymbol "<?"'), $E($EXPECT($L6, fail, 'BinaryOpSymbol " "'))), function($skip, $loc, $0, $1, $2) {
6435
6490
  return "instanceof ";
6436
6491
  });
6437
- var BinaryOpSymbol$10 = $EXPECT($L57, fail, 'BinaryOpSymbol "<<"');
6492
+ var BinaryOpSymbol$10 = $EXPECT($L58, fail, 'BinaryOpSymbol "<<"');
6438
6493
  var BinaryOpSymbol$11 = $TR($EXPECT($R5, fail, "BinaryOpSymbol /<(?!\\p{ID_Start}|[_$])/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
6439
6494
  return "<";
6440
6495
  });
6441
- var BinaryOpSymbol$12 = $EXPECT($L58, fail, 'BinaryOpSymbol ">>>"');
6442
- var BinaryOpSymbol$13 = $EXPECT($L59, fail, 'BinaryOpSymbol ">>"');
6443
- var BinaryOpSymbol$14 = $EXPECT($L26, fail, 'BinaryOpSymbol ">"');
6444
- var BinaryOpSymbol$15 = $EXPECT($L60, fail, 'BinaryOpSymbol "!=="');
6445
- var BinaryOpSymbol$16 = $TV($EXPECT($L61, fail, 'BinaryOpSymbol "!="'), function($skip, $loc, $0, $1) {
6496
+ var BinaryOpSymbol$12 = $EXPECT($L59, fail, 'BinaryOpSymbol ">>>"');
6497
+ var BinaryOpSymbol$13 = $EXPECT($L60, fail, 'BinaryOpSymbol ">>"');
6498
+ var BinaryOpSymbol$14 = $EXPECT($L27, fail, 'BinaryOpSymbol ">"');
6499
+ var BinaryOpSymbol$15 = $EXPECT($L61, fail, 'BinaryOpSymbol "!=="');
6500
+ var BinaryOpSymbol$16 = $TV($EXPECT($L62, fail, 'BinaryOpSymbol "!="'), function($skip, $loc, $0, $1) {
6446
6501
  if (module.config.coffeeEq)
6447
6502
  return "!==";
6448
6503
  return $1;
6449
6504
  });
6450
- var BinaryOpSymbol$17 = $TS($S($EXPECT($L62, fail, 'BinaryOpSymbol "isnt"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
6505
+ var BinaryOpSymbol$17 = $TS($S($EXPECT($L63, fail, 'BinaryOpSymbol "isnt"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
6451
6506
  if (module.config.coffeeIsnt)
6452
6507
  return "!==";
6453
6508
  return $skip;
6454
6509
  });
6455
- var BinaryOpSymbol$18 = $EXPECT($L63, fail, 'BinaryOpSymbol "==="');
6456
- var BinaryOpSymbol$19 = $TV($EXPECT($L64, fail, 'BinaryOpSymbol "=="'), function($skip, $loc, $0, $1) {
6510
+ var BinaryOpSymbol$18 = $EXPECT($L64, fail, 'BinaryOpSymbol "==="');
6511
+ var BinaryOpSymbol$19 = $TV($EXPECT($L65, fail, 'BinaryOpSymbol "=="'), function($skip, $loc, $0, $1) {
6457
6512
  if (module.config.coffeeEq)
6458
6513
  return "===";
6459
6514
  return $1;
6460
6515
  });
6461
- var BinaryOpSymbol$20 = $T($S($EXPECT($L65, fail, 'BinaryOpSymbol "and"'), NonIdContinue), function(value) {
6516
+ var BinaryOpSymbol$20 = $T($S($EXPECT($L66, fail, 'BinaryOpSymbol "and"'), NonIdContinue), function(value) {
6462
6517
  return "&&";
6463
6518
  });
6464
- var BinaryOpSymbol$21 = $EXPECT($L66, fail, 'BinaryOpSymbol "&&"');
6465
- var BinaryOpSymbol$22 = $T($S(CoffeeOfEnabled, $EXPECT($L67, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function(value) {
6519
+ var BinaryOpSymbol$21 = $EXPECT($L67, fail, 'BinaryOpSymbol "&&"');
6520
+ var BinaryOpSymbol$22 = $T($S(CoffeeOfEnabled, $EXPECT($L68, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function(value) {
6466
6521
  return "in";
6467
6522
  });
6468
- var BinaryOpSymbol$23 = $T($S($EXPECT($L68, fail, 'BinaryOpSymbol "or"'), NonIdContinue), function(value) {
6523
+ var BinaryOpSymbol$23 = $T($S($EXPECT($L69, fail, 'BinaryOpSymbol "or"'), NonIdContinue), function(value) {
6469
6524
  return "||";
6470
6525
  });
6471
- var BinaryOpSymbol$24 = $EXPECT($L69, fail, 'BinaryOpSymbol "||"');
6472
- var BinaryOpSymbol$25 = $EXPECT($L70, fail, 'BinaryOpSymbol "??"');
6473
- var BinaryOpSymbol$26 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L71, fail, 'BinaryOpSymbol "?"')), function(value) {
6526
+ var BinaryOpSymbol$24 = $EXPECT($L70, fail, 'BinaryOpSymbol "||"');
6527
+ var BinaryOpSymbol$25 = $EXPECT($L71, fail, 'BinaryOpSymbol "??"');
6528
+ var BinaryOpSymbol$26 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L1, fail, 'BinaryOpSymbol "?"')), function(value) {
6474
6529
  return "??";
6475
6530
  });
6476
6531
  var BinaryOpSymbol$27 = $TS($S($EXPECT($L72, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
@@ -6483,7 +6538,7 @@ ${input.slice(result.pos)}
6483
6538
  special: true
6484
6539
  };
6485
6540
  });
6486
- var BinaryOpSymbol$29 = $TV($C($S($N(CoffeeOfEnabled), $EXPECT($L73, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue), $S(CoffeeOfEnabled, $EXPECT($L73, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L67, fail, 'BinaryOpSymbol "of"'), NonIdContinue)), function($skip, $loc, $0, $1) {
6541
+ var BinaryOpSymbol$29 = $TV($C($S($N(CoffeeOfEnabled), $EXPECT($L73, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue), $S(CoffeeOfEnabled, $EXPECT($L73, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L68, fail, 'BinaryOpSymbol "of"'), NonIdContinue)), function($skip, $loc, $0, $1) {
6487
6542
  return {
6488
6543
  $loc,
6489
6544
  token: "in",
@@ -6707,7 +6762,7 @@ ${input.slice(result.pos)}
6707
6762
  return result;
6708
6763
  }
6709
6764
  }
6710
- var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($L25, fail, 'BlockStatement "="')))), function(value) {
6765
+ var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($L26, fail, 'BlockStatement "="')))), function(value) {
6711
6766
  return value[0];
6712
6767
  });
6713
6768
  function BlockStatement(state) {
@@ -8103,7 +8158,7 @@ ${input.slice(result.pos)}
8103
8158
  return result;
8104
8159
  }
8105
8160
  }
8106
- var NoExpressions$0 = $T($EXPECT($L1, fail, 'NoExpressions ""'), function(value) {
8161
+ var NoExpressions$0 = $T($EXPECT($L14, fail, 'NoExpressions ""'), function(value) {
8107
8162
  return [];
8108
8163
  });
8109
8164
  function NoExpressions(state) {
@@ -8129,7 +8184,7 @@ ${input.slice(result.pos)}
8129
8184
  }
8130
8185
  }
8131
8186
  var ImpliedColon$0 = $S(__, Colon);
8132
- var ImpliedColon$1 = $TV($EXPECT($L1, fail, 'ImpliedColon ""'), function($skip, $loc, $0, $1) {
8187
+ var ImpliedColon$1 = $TV($EXPECT($L14, fail, 'ImpliedColon ""'), function($skip, $loc, $0, $1) {
8133
8188
  return { $loc, token: ":" };
8134
8189
  });
8135
8190
  function ImpliedColon(state) {
@@ -8381,7 +8436,7 @@ ${input.slice(result.pos)}
8381
8436
  return result;
8382
8437
  }
8383
8438
  }
8384
- var SuppressIndentedApplication$0 = $TV($EXPECT($L1, fail, 'SuppressIndentedApplication ""'), function($skip, $loc, $0, $1) {
8439
+ var SuppressIndentedApplication$0 = $TV($EXPECT($L14, fail, 'SuppressIndentedApplication ""'), function($skip, $loc, $0, $1) {
8385
8440
  module.suppressIndentedApplication = true;
8386
8441
  });
8387
8442
  function SuppressIndentedApplication(state) {
@@ -8406,6 +8461,84 @@ ${input.slice(result.pos)}
8406
8461
  return result;
8407
8462
  }
8408
8463
  }
8464
+ var IndentedApplicationAllowed$0 = $TV($EXPECT($L14, fail, 'IndentedApplicationAllowed ""'), function($skip, $loc, $0, $1) {
8465
+ if (module.suppressIndentedApplication)
8466
+ return $skip;
8467
+ return;
8468
+ });
8469
+ function IndentedApplicationAllowed(state) {
8470
+ let eventData;
8471
+ if (state.events) {
8472
+ const result = state.events.enter?.("IndentedApplicationAllowed", state);
8473
+ if (result) {
8474
+ if (result.cache)
8475
+ return result.cache;
8476
+ eventData = result.data;
8477
+ }
8478
+ }
8479
+ if (state.tokenize) {
8480
+ const result = $TOKEN("IndentedApplicationAllowed", state, IndentedApplicationAllowed$0(state));
8481
+ if (state.events)
8482
+ state.events.exit?.("IndentedApplicationAllowed", state, result, eventData);
8483
+ return result;
8484
+ } else {
8485
+ const result = IndentedApplicationAllowed$0(state);
8486
+ if (state.events)
8487
+ state.events.exit?.("IndentedApplicationAllowed", state, result, eventData);
8488
+ return result;
8489
+ }
8490
+ }
8491
+ var SuppressTrailingMemberProperty$0 = $TV($EXPECT($L14, fail, 'SuppressTrailingMemberProperty ""'), function($skip, $loc, $0, $1) {
8492
+ module.suppressTrailingMemberProperty.push(true);
8493
+ });
8494
+ function SuppressTrailingMemberProperty(state) {
8495
+ let eventData;
8496
+ if (state.events) {
8497
+ const result = state.events.enter?.("SuppressTrailingMemberProperty", state);
8498
+ if (result) {
8499
+ if (result.cache)
8500
+ return result.cache;
8501
+ eventData = result.data;
8502
+ }
8503
+ }
8504
+ if (state.tokenize) {
8505
+ const result = $TOKEN("SuppressTrailingMemberProperty", state, SuppressTrailingMemberProperty$0(state));
8506
+ if (state.events)
8507
+ state.events.exit?.("SuppressTrailingMemberProperty", state, result, eventData);
8508
+ return result;
8509
+ } else {
8510
+ const result = SuppressTrailingMemberProperty$0(state);
8511
+ if (state.events)
8512
+ state.events.exit?.("SuppressTrailingMemberProperty", state, result, eventData);
8513
+ return result;
8514
+ }
8515
+ }
8516
+ var TrailingMemberPropertyAllowed$0 = $TV($EXPECT($L14, fail, 'TrailingMemberPropertyAllowed ""'), function($skip, $loc, $0, $1) {
8517
+ if (module.trailingMemberPropertySuppressed)
8518
+ return $skip;
8519
+ });
8520
+ function TrailingMemberPropertyAllowed(state) {
8521
+ let eventData;
8522
+ if (state.events) {
8523
+ const result = state.events.enter?.("TrailingMemberPropertyAllowed", state);
8524
+ if (result) {
8525
+ if (result.cache)
8526
+ return result.cache;
8527
+ eventData = result.data;
8528
+ }
8529
+ }
8530
+ if (state.tokenize) {
8531
+ const result = $TOKEN("TrailingMemberPropertyAllowed", state, TrailingMemberPropertyAllowed$0(state));
8532
+ if (state.events)
8533
+ state.events.exit?.("TrailingMemberPropertyAllowed", state, result, eventData);
8534
+ return result;
8535
+ } else {
8536
+ const result = TrailingMemberPropertyAllowed$0(state);
8537
+ if (state.events)
8538
+ state.events.exit?.("TrailingMemberPropertyAllowed", state, result, eventData);
8539
+ return result;
8540
+ }
8541
+ }
8409
8542
  var ExpressionStatement$0 = Expression;
8410
8543
  function ExpressionStatement(state) {
8411
8544
  let eventData;
@@ -8589,7 +8722,7 @@ ${input.slice(result.pos)}
8589
8722
  return result;
8590
8723
  }
8591
8724
  }
8592
- var ImpliedImport$0 = $TV($EXPECT($L1, fail, 'ImpliedImport ""'), function($skip, $loc, $0, $1) {
8725
+ var ImpliedImport$0 = $TV($EXPECT($L14, fail, 'ImpliedImport ""'), function($skip, $loc, $0, $1) {
8593
8726
  return { $loc, token: "import " };
8594
8727
  });
8595
8728
  function ImpliedImport(state) {
@@ -9970,7 +10103,7 @@ ${input.slice(result.pos)}
9970
10103
  }
9971
10104
  }
9972
10105
  var RegularExpressionLiteral$0 = HeregexLiteral;
9973
- var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($L49, fail, 'RegularExpressionLiteral "/"'), RegularExpressionBody, $EXPECT($L49, fail, 'RegularExpressionLiteral "/"'), RegularExpressionFlags)), function($skip, $loc, $0, $1) {
10106
+ var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($L50, fail, 'RegularExpressionLiteral "/"'), RegularExpressionBody, $EXPECT($L50, fail, 'RegularExpressionLiteral "/"'), RegularExpressionFlags)), function($skip, $loc, $0, $1) {
9974
10107
  return { $loc, token: $1 };
9975
10108
  });
9976
10109
  function RegularExpressionLiteral(state) {
@@ -10893,7 +11026,7 @@ ${input.slice(result.pos)}
10893
11026
  return result;
10894
11027
  }
10895
11028
  }
10896
- var Loc$0 = $TV($EXPECT($L1, fail, 'Loc ""'), function($skip, $loc, $0, $1) {
11029
+ var Loc$0 = $TV($EXPECT($L14, fail, 'Loc ""'), function($skip, $loc, $0, $1) {
10897
11030
  return { $loc, token: "" };
10898
11031
  });
10899
11032
  function Loc(state) {
@@ -11218,7 +11351,7 @@ ${input.slice(result.pos)}
11218
11351
  return result;
11219
11352
  }
11220
11353
  }
11221
- var CloseBrace$0 = $TV($EXPECT($L16, fail, 'CloseBrace "}"'), function($skip, $loc, $0, $1) {
11354
+ var CloseBrace$0 = $TV($EXPECT($L17, fail, 'CloseBrace "}"'), function($skip, $loc, $0, $1) {
11222
11355
  return { $loc, token: $1 };
11223
11356
  });
11224
11357
  function CloseBrace(state) {
@@ -11243,7 +11376,7 @@ ${input.slice(result.pos)}
11243
11376
  return result;
11244
11377
  }
11245
11378
  }
11246
- var CloseBracket$0 = $TV($EXPECT($L27, fail, 'CloseBracket "]"'), function($skip, $loc, $0, $1) {
11379
+ var CloseBracket$0 = $TV($EXPECT($L28, fail, 'CloseBracket "]"'), function($skip, $loc, $0, $1) {
11247
11380
  return { $loc, token: $1 };
11248
11381
  });
11249
11382
  function CloseBracket(state) {
@@ -11268,7 +11401,7 @@ ${input.slice(result.pos)}
11268
11401
  return result;
11269
11402
  }
11270
11403
  }
11271
- var CloseParen$0 = $TV($EXPECT($L14, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
11404
+ var CloseParen$0 = $TV($EXPECT($L15, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
11272
11405
  return { $loc, token: $1 };
11273
11406
  });
11274
11407
  function CloseParen(state) {
@@ -11318,7 +11451,7 @@ ${input.slice(result.pos)}
11318
11451
  return result;
11319
11452
  }
11320
11453
  }
11321
- var Colon$0 = $TV($EXPECT($L28, fail, 'Colon ":"'), function($skip, $loc, $0, $1) {
11454
+ var Colon$0 = $TV($EXPECT($L29, fail, 'Colon ":"'), function($skip, $loc, $0, $1) {
11322
11455
  return { $loc, token: $1 };
11323
11456
  });
11324
11457
  function Colon(state) {
@@ -11593,7 +11726,7 @@ ${input.slice(result.pos)}
11593
11726
  return result;
11594
11727
  }
11595
11728
  }
11596
- var Equals$0 = $TV($EXPECT($L25, fail, 'Equals "="'), function($skip, $loc, $0, $1) {
11729
+ var Equals$0 = $TV($EXPECT($L26, fail, 'Equals "="'), function($skip, $loc, $0, $1) {
11597
11730
  return { $loc, token: $1 };
11598
11731
  });
11599
11732
  function Equals(state) {
@@ -11943,7 +12076,7 @@ ${input.slice(result.pos)}
11943
12076
  return result;
11944
12077
  }
11945
12078
  }
11946
- var Of$0 = $TS($S($EXPECT($L67, fail, 'Of "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12079
+ var Of$0 = $TS($S($EXPECT($L68, fail, 'Of "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11947
12080
  return { $loc, token: $1 };
11948
12081
  });
11949
12082
  function Of(state) {
@@ -12168,7 +12301,7 @@ ${input.slice(result.pos)}
12168
12301
  return result;
12169
12302
  }
12170
12303
  }
12171
- var QuestionMark$0 = $TV($EXPECT($L71, fail, 'QuestionMark "?"'), function($skip, $loc, $0, $1) {
12304
+ var QuestionMark$0 = $TV($EXPECT($L1, fail, 'QuestionMark "?"'), function($skip, $loc, $0, $1) {
12172
12305
  return { $loc, token: $1 };
12173
12306
  });
12174
12307
  function QuestionMark(state) {
@@ -12318,7 +12451,7 @@ ${input.slice(result.pos)}
12318
12451
  return result;
12319
12452
  }
12320
12453
  }
12321
- var Star$0 = $TV($EXPECT($L48, fail, 'Star "*"'), function($skip, $loc, $0, $1) {
12454
+ var Star$0 = $TV($EXPECT($L49, fail, 'Star "*"'), function($skip, $loc, $0, $1) {
12322
12455
  return { $loc, token: $1 };
12323
12456
  });
12324
12457
  function Star(state) {
@@ -12978,7 +13111,7 @@ ${input.slice(result.pos)}
12978
13111
  return result;
12979
13112
  }
12980
13113
  }
12981
- var JSXOpeningElement$0 = $S($EXPECT($L122, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L26, fail, 'JSXOpeningElement ">"'));
13114
+ var JSXOpeningElement$0 = $S($EXPECT($L122, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L27, fail, 'JSXOpeningElement ">"'));
12982
13115
  function JSXOpeningElement(state) {
12983
13116
  let eventData;
12984
13117
  if (state.events) {
@@ -13001,7 +13134,7 @@ ${input.slice(result.pos)}
13001
13134
  return result;
13002
13135
  }
13003
13136
  }
13004
- var JSXClosingElement$0 = $S($EXPECT($L155, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L26, fail, 'JSXClosingElement ">"'));
13137
+ var JSXClosingElement$0 = $S($EXPECT($L155, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L27, fail, 'JSXClosingElement ">"'));
13005
13138
  function JSXClosingElement(state) {
13006
13139
  let eventData;
13007
13140
  if (state.events) {
@@ -13781,7 +13914,7 @@ ${input.slice(result.pos)}
13781
13914
  }
13782
13915
  return $skip;
13783
13916
  });
13784
- var JSXNestedChildren$1 = $TV($Y($C(EOS, $EXPECT($L16, fail, 'JSXNestedChildren "}"'))), function($skip, $loc, $0, $1) {
13917
+ var JSXNestedChildren$1 = $TV($Y($C(EOS, $EXPECT($L17, fail, 'JSXNestedChildren "}"'))), function($skip, $loc, $0, $1) {
13785
13918
  return { children: [], jsxChildren: [] };
13786
13919
  });
13787
13920
  function JSXNestedChildren(state) {
@@ -14945,7 +15078,7 @@ ${input.slice(result.pos)}
14945
15078
  return result;
14946
15079
  }
14947
15080
  }
14948
- var TypeArguments$0 = $TS($S($EXPECT($L122, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L26, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
15081
+ var TypeArguments$0 = $TS($S($EXPECT($L122, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L27, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
14949
15082
  return { ts: true, children: $0 };
14950
15083
  });
14951
15084
  function TypeArguments(state) {
@@ -15016,7 +15149,7 @@ ${input.slice(result.pos)}
15016
15149
  return result;
15017
15150
  }
15018
15151
  }
15019
- var TypeParameters$0 = $TS($S(__, $EXPECT($L122, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L26, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
15152
+ var TypeParameters$0 = $TS($S(__, $EXPECT($L122, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L27, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
15020
15153
  var parameters = $3;
15021
15154
  return {
15022
15155
  type: "TypeParameters",
@@ -15093,7 +15226,7 @@ ${input.slice(result.pos)}
15093
15226
  return result;
15094
15227
  }
15095
15228
  }
15096
- var TypeInitializer$0 = $S(__, $EXPECT($L25, fail, 'TypeInitializer "="'), Type);
15229
+ var TypeInitializer$0 = $S(__, $EXPECT($L26, fail, 'TypeInitializer "="'), Type);
15097
15230
  function TypeInitializer(state) {
15098
15231
  let eventData;
15099
15232
  if (state.events) {
@@ -15117,7 +15250,7 @@ ${input.slice(result.pos)}
15117
15250
  }
15118
15251
  }
15119
15252
  var TypeParameterDelimiter$0 = $S($Q(_), Comma);
15120
- var TypeParameterDelimiter$1 = $Y($S(__, $EXPECT($L26, fail, 'TypeParameterDelimiter ">"')));
15253
+ var TypeParameterDelimiter$1 = $Y($S(__, $EXPECT($L27, fail, 'TypeParameterDelimiter ">"')));
15121
15254
  var TypeParameterDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
15122
15255
  return value[1];
15123
15256
  });
@@ -15357,7 +15490,7 @@ ${input.slice(result.pos)}
15357
15490
  return result;
15358
15491
  }
15359
15492
  }
15360
- var Debugger$0 = $TV($EXPECT($L1, fail, 'Debugger ""'), function($skip, $loc, $0, $1) {
15493
+ var Debugger$0 = $TV($EXPECT($L14, fail, 'Debugger ""'), function($skip, $loc, $0, $1) {
15361
15494
  debugger;
15362
15495
  });
15363
15496
  function Debugger(state) {
@@ -15382,7 +15515,7 @@ ${input.slice(result.pos)}
15382
15515
  return result;
15383
15516
  }
15384
15517
  }
15385
- var InsertOpenParen$0 = $TV($EXPECT($L1, fail, 'InsertOpenParen ""'), function($skip, $loc, $0, $1) {
15518
+ var InsertOpenParen$0 = $TV($EXPECT($L14, fail, 'InsertOpenParen ""'), function($skip, $loc, $0, $1) {
15386
15519
  return { $loc, token: "(" };
15387
15520
  });
15388
15521
  function InsertOpenParen(state) {
@@ -15407,7 +15540,7 @@ ${input.slice(result.pos)}
15407
15540
  return result;
15408
15541
  }
15409
15542
  }
15410
- var InsertCloseParen$0 = $TV($EXPECT($L1, fail, 'InsertCloseParen ""'), function($skip, $loc, $0, $1) {
15543
+ var InsertCloseParen$0 = $TV($EXPECT($L14, fail, 'InsertCloseParen ""'), function($skip, $loc, $0, $1) {
15411
15544
  return { $loc, token: ")" };
15412
15545
  });
15413
15546
  function InsertCloseParen(state) {
@@ -15432,7 +15565,7 @@ ${input.slice(result.pos)}
15432
15565
  return result;
15433
15566
  }
15434
15567
  }
15435
- var InsertOpenBrace$0 = $TV($EXPECT($L1, fail, 'InsertOpenBrace ""'), function($skip, $loc, $0, $1) {
15568
+ var InsertOpenBrace$0 = $TV($EXPECT($L14, fail, 'InsertOpenBrace ""'), function($skip, $loc, $0, $1) {
15436
15569
  return [{ $loc, token: " " }, { $loc, token: "{" }];
15437
15570
  });
15438
15571
  function InsertOpenBrace(state) {
@@ -15457,7 +15590,7 @@ ${input.slice(result.pos)}
15457
15590
  return result;
15458
15591
  }
15459
15592
  }
15460
- var InsertInlineOpenBrace$0 = $TV($EXPECT($L1, fail, 'InsertInlineOpenBrace ""'), function($skip, $loc, $0, $1) {
15593
+ var InsertInlineOpenBrace$0 = $TV($EXPECT($L14, fail, 'InsertInlineOpenBrace ""'), function($skip, $loc, $0, $1) {
15461
15594
  return { $loc, token: "{" };
15462
15595
  });
15463
15596
  function InsertInlineOpenBrace(state) {
@@ -15482,7 +15615,7 @@ ${input.slice(result.pos)}
15482
15615
  return result;
15483
15616
  }
15484
15617
  }
15485
- var InsertCloseBrace$0 = $TV($EXPECT($L1, fail, 'InsertCloseBrace ""'), function($skip, $loc, $0, $1) {
15618
+ var InsertCloseBrace$0 = $TV($EXPECT($L14, fail, 'InsertCloseBrace ""'), function($skip, $loc, $0, $1) {
15486
15619
  return { $loc, token: "}" };
15487
15620
  });
15488
15621
  function InsertCloseBrace(state) {
@@ -15507,7 +15640,7 @@ ${input.slice(result.pos)}
15507
15640
  return result;
15508
15641
  }
15509
15642
  }
15510
- var InsertComma$0 = $TV($EXPECT($L1, fail, 'InsertComma ""'), function($skip, $loc, $0, $1) {
15643
+ var InsertComma$0 = $TV($EXPECT($L14, fail, 'InsertComma ""'), function($skip, $loc, $0, $1) {
15511
15644
  return { $loc, token: "," };
15512
15645
  });
15513
15646
  function InsertComma(state) {
@@ -15532,7 +15665,7 @@ ${input.slice(result.pos)}
15532
15665
  return result;
15533
15666
  }
15534
15667
  }
15535
- var InsertConst$0 = $TV($EXPECT($L1, fail, 'InsertConst ""'), function($skip, $loc, $0, $1) {
15668
+ var InsertConst$0 = $TV($EXPECT($L14, fail, 'InsertConst ""'), function($skip, $loc, $0, $1) {
15536
15669
  return { $loc, token: "const " };
15537
15670
  });
15538
15671
  function InsertConst(state) {
@@ -15557,7 +15690,7 @@ ${input.slice(result.pos)}
15557
15690
  return result;
15558
15691
  }
15559
15692
  }
15560
- var InsertLet$0 = $TV($EXPECT($L1, fail, 'InsertLet ""'), function($skip, $loc, $0, $1) {
15693
+ var InsertLet$0 = $TV($EXPECT($L14, fail, 'InsertLet ""'), function($skip, $loc, $0, $1) {
15561
15694
  return { $loc, token: "let " };
15562
15695
  });
15563
15696
  function InsertLet(state) {
@@ -15582,7 +15715,7 @@ ${input.slice(result.pos)}
15582
15715
  return result;
15583
15716
  }
15584
15717
  }
15585
- var InsertReadonly$0 = $TV($EXPECT($L1, fail, 'InsertReadonly ""'), function($skip, $loc, $0, $1) {
15718
+ var InsertReadonly$0 = $TV($EXPECT($L14, fail, 'InsertReadonly ""'), function($skip, $loc, $0, $1) {
15586
15719
  return { ts: true, children: [{ $loc, token: "readonly " }] };
15587
15720
  });
15588
15721
  function InsertReadonly(state) {
@@ -15607,7 +15740,7 @@ ${input.slice(result.pos)}
15607
15740
  return result;
15608
15741
  }
15609
15742
  }
15610
- var InsertNewline$0 = $TV($EXPECT($L1, fail, 'InsertNewline ""'), function($skip, $loc, $0, $1) {
15743
+ var InsertNewline$0 = $TV($EXPECT($L14, fail, 'InsertNewline ""'), function($skip, $loc, $0, $1) {
15611
15744
  return "\n";
15612
15745
  });
15613
15746
  function InsertNewline(state) {
@@ -15632,7 +15765,7 @@ ${input.slice(result.pos)}
15632
15765
  return result;
15633
15766
  }
15634
15767
  }
15635
- var InsertIndent$0 = $TV($EXPECT($L1, fail, 'InsertIndent ""'), function($skip, $loc, $0, $1) {
15768
+ var InsertIndent$0 = $TV($EXPECT($L14, fail, 'InsertIndent ""'), function($skip, $loc, $0, $1) {
15636
15769
  return module.currentIndent.token;
15637
15770
  });
15638
15771
  function InsertIndent(state) {
@@ -15657,7 +15790,7 @@ ${input.slice(result.pos)}
15657
15790
  return result;
15658
15791
  }
15659
15792
  }
15660
- var InsertSpace$0 = $TV($EXPECT($L1, fail, 'InsertSpace ""'), function($skip, $loc, $0, $1) {
15793
+ var InsertSpace$0 = $TV($EXPECT($L14, fail, 'InsertSpace ""'), function($skip, $loc, $0, $1) {
15661
15794
  return { $loc, token: " " };
15662
15795
  });
15663
15796
  function InsertSpace(state) {
@@ -15682,7 +15815,7 @@ ${input.slice(result.pos)}
15682
15815
  return result;
15683
15816
  }
15684
15817
  }
15685
- var InsertDot$0 = $TV($EXPECT($L1, fail, 'InsertDot ""'), function($skip, $loc, $0, $1) {
15818
+ var InsertDot$0 = $TV($EXPECT($L14, fail, 'InsertDot ""'), function($skip, $loc, $0, $1) {
15686
15819
  return { $loc, token: "." };
15687
15820
  });
15688
15821
  function InsertDot(state) {
@@ -15707,7 +15840,7 @@ ${input.slice(result.pos)}
15707
15840
  return result;
15708
15841
  }
15709
15842
  }
15710
- var InsertBreak$0 = $TV($EXPECT($L1, fail, 'InsertBreak ""'), function($skip, $loc, $0, $1) {
15843
+ var InsertBreak$0 = $TV($EXPECT($L14, fail, 'InsertBreak ""'), function($skip, $loc, $0, $1) {
15711
15844
  return { $loc, token: ";break;" };
15712
15845
  });
15713
15846
  function InsertBreak(state) {
@@ -15732,7 +15865,7 @@ ${input.slice(result.pos)}
15732
15865
  return result;
15733
15866
  }
15734
15867
  }
15735
- var InsertVar$0 = $TV($EXPECT($L1, fail, 'InsertVar ""'), function($skip, $loc, $0, $1) {
15868
+ var InsertVar$0 = $TV($EXPECT($L14, fail, 'InsertVar ""'), function($skip, $loc, $0, $1) {
15736
15869
  return { $loc, token: "var " };
15737
15870
  });
15738
15871
  function InsertVar(state) {
@@ -15757,7 +15890,7 @@ ${input.slice(result.pos)}
15757
15890
  return result;
15758
15891
  }
15759
15892
  }
15760
- var CoffeeBinaryExistentialEnabled$0 = $TV($EXPECT($L1, fail, 'CoffeeBinaryExistentialEnabled ""'), function($skip, $loc, $0, $1) {
15893
+ var CoffeeBinaryExistentialEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeBinaryExistentialEnabled ""'), function($skip, $loc, $0, $1) {
15761
15894
  if (module.config.coffeeBinaryExistential)
15762
15895
  return;
15763
15896
  return $skip;
@@ -15784,7 +15917,7 @@ ${input.slice(result.pos)}
15784
15917
  return result;
15785
15918
  }
15786
15919
  }
15787
- var CoffeeBooleansEnabled$0 = $TV($EXPECT($L1, fail, 'CoffeeBooleansEnabled ""'), function($skip, $loc, $0, $1) {
15920
+ var CoffeeBooleansEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeBooleansEnabled ""'), function($skip, $loc, $0, $1) {
15788
15921
  if (module.config.coffeeBooleans)
15789
15922
  return;
15790
15923
  return $skip;
@@ -15811,7 +15944,7 @@ ${input.slice(result.pos)}
15811
15944
  return result;
15812
15945
  }
15813
15946
  }
15814
- var CoffeeClassesEnabled$0 = $TV($EXPECT($L1, fail, 'CoffeeClassesEnabled ""'), function($skip, $loc, $0, $1) {
15947
+ var CoffeeClassesEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeClassesEnabled ""'), function($skip, $loc, $0, $1) {
15815
15948
  if (module.config.coffeeClasses)
15816
15949
  return;
15817
15950
  return $skip;
@@ -15838,7 +15971,7 @@ ${input.slice(result.pos)}
15838
15971
  return result;
15839
15972
  }
15840
15973
  }
15841
- var CoffeeCommentEnabled$0 = $TV($EXPECT($L1, fail, 'CoffeeCommentEnabled ""'), function($skip, $loc, $0, $1) {
15974
+ var CoffeeCommentEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeCommentEnabled ""'), function($skip, $loc, $0, $1) {
15842
15975
  if (module.config.coffeeComment)
15843
15976
  return;
15844
15977
  return $skip;
@@ -15865,7 +15998,7 @@ ${input.slice(result.pos)}
15865
15998
  return result;
15866
15999
  }
15867
16000
  }
15868
- var CoffeeDoEnabled$0 = $TV($EXPECT($L1, fail, 'CoffeeDoEnabled ""'), function($skip, $loc, $0, $1) {
16001
+ var CoffeeDoEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeDoEnabled ""'), function($skip, $loc, $0, $1) {
15869
16002
  if (module.config.coffeeDo)
15870
16003
  return;
15871
16004
  return $skip;
@@ -15892,7 +16025,7 @@ ${input.slice(result.pos)}
15892
16025
  return result;
15893
16026
  }
15894
16027
  }
15895
- var CoffeeForLoopsEnabled$0 = $TV($EXPECT($L1, fail, 'CoffeeForLoopsEnabled ""'), function($skip, $loc, $0, $1) {
16028
+ var CoffeeForLoopsEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeForLoopsEnabled ""'), function($skip, $loc, $0, $1) {
15896
16029
  if (module.config.coffeeForLoops)
15897
16030
  return;
15898
16031
  return $skip;
@@ -15919,7 +16052,7 @@ ${input.slice(result.pos)}
15919
16052
  return result;
15920
16053
  }
15921
16054
  }
15922
- var CoffeeInterpolationEnabled$0 = $TV($EXPECT($L1, fail, 'CoffeeInterpolationEnabled ""'), function($skip, $loc, $0, $1) {
16055
+ var CoffeeInterpolationEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeInterpolationEnabled ""'), function($skip, $loc, $0, $1) {
15923
16056
  if (module.config.coffeeInterpolation)
15924
16057
  return;
15925
16058
  return $skip;
@@ -15946,7 +16079,7 @@ ${input.slice(result.pos)}
15946
16079
  return result;
15947
16080
  }
15948
16081
  }
15949
- var CoffeeIsntEnabled$0 = $TV($EXPECT($L1, fail, 'CoffeeIsntEnabled ""'), function($skip, $loc, $0, $1) {
16082
+ var CoffeeIsntEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeIsntEnabled ""'), function($skip, $loc, $0, $1) {
15950
16083
  if (module.config.coffeeIsnt)
15951
16084
  return;
15952
16085
  return $skip;
@@ -15973,7 +16106,7 @@ ${input.slice(result.pos)}
15973
16106
  return result;
15974
16107
  }
15975
16108
  }
15976
- var CoffeeLineContinuationEnabled$0 = $TV($EXPECT($L1, fail, 'CoffeeLineContinuationEnabled ""'), function($skip, $loc, $0, $1) {
16109
+ var CoffeeLineContinuationEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeLineContinuationEnabled ""'), function($skip, $loc, $0, $1) {
15977
16110
  if (module.config.coffeeLineContinuation)
15978
16111
  return;
15979
16112
  return $skip;
@@ -16000,7 +16133,7 @@ ${input.slice(result.pos)}
16000
16133
  return result;
16001
16134
  }
16002
16135
  }
16003
- var CoffeeNotEnabled$0 = $TV($EXPECT($L1, fail, 'CoffeeNotEnabled ""'), function($skip, $loc, $0, $1) {
16136
+ var CoffeeNotEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeNotEnabled ""'), function($skip, $loc, $0, $1) {
16004
16137
  if (module.config.coffeeNot)
16005
16138
  return;
16006
16139
  return $skip;
@@ -16027,7 +16160,7 @@ ${input.slice(result.pos)}
16027
16160
  return result;
16028
16161
  }
16029
16162
  }
16030
- var CoffeeOfEnabled$0 = $TV($EXPECT($L1, fail, 'CoffeeOfEnabled ""'), function($skip, $loc, $0, $1) {
16163
+ var CoffeeOfEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeOfEnabled ""'), function($skip, $loc, $0, $1) {
16031
16164
  if (module.config.coffeeOf)
16032
16165
  return;
16033
16166
  return $skip;
@@ -16054,7 +16187,7 @@ ${input.slice(result.pos)}
16054
16187
  return result;
16055
16188
  }
16056
16189
  }
16057
- var CoffeePrototypeEnabled$0 = $TV($EXPECT($L1, fail, 'CoffeePrototypeEnabled ""'), function($skip, $loc, $0, $1) {
16190
+ var CoffeePrototypeEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeePrototypeEnabled ""'), function($skip, $loc, $0, $1) {
16058
16191
  if (module.config.coffeePrototype)
16059
16192
  return;
16060
16193
  return $skip;
@@ -16081,17 +16214,25 @@ ${input.slice(result.pos)}
16081
16214
  return result;
16082
16215
  }
16083
16216
  }
16084
- var Reset$0 = $TV($EXPECT($L1, fail, 'Reset ""'), function($skip, $loc, $0, $1) {
16217
+ var Reset$0 = $TV($EXPECT($L14, fail, 'Reset ""'), function($skip, $loc, $0, $1) {
16085
16218
  module.indentLevels = [{
16086
16219
  level: 0,
16087
16220
  token: ""
16088
16221
  }];
16222
+ module.suppressTrailingMemberProperty = [false];
16089
16223
  if (!module._init) {
16090
16224
  module._init = true;
16091
16225
  Object.defineProperties(module, {
16092
16226
  currentIndent: {
16093
16227
  get() {
16094
- return module.indentLevels[module.indentLevels.length - 1];
16228
+ const { indentLevels: l } = module;
16229
+ return l[l.length - 1];
16230
+ }
16231
+ },
16232
+ trailingMemberPropertySuppressed: {
16233
+ get() {
16234
+ const { suppressTrailingMemberProperty: s } = module;
16235
+ return s[s.length - 1];
16095
16236
  }
16096
16237
  }
16097
16238
  });
@@ -16329,7 +16470,7 @@ ${input.slice(result.pos)}
16329
16470
  return result;
16330
16471
  }
16331
16472
  }
16332
- var Init$0 = $TS($S($E(Shebang), $Q(DirectivePrologue), $EXPECT($L1, fail, 'Init ""')), function($skip, $loc, $0, $1, $2, $3) {
16473
+ var Init$0 = $TS($S($E(Shebang), $Q(DirectivePrologue), $EXPECT($L14, fail, 'Init ""')), function($skip, $loc, $0, $1, $2, $3) {
16333
16474
  var directives = $2;
16334
16475
  directives.forEach((directive) => {
16335
16476
  if (directive.type === "CivetPrologue") {
@@ -17463,7 +17604,7 @@ ${input.slice(result.pos)}
17463
17604
  return result;
17464
17605
  }
17465
17606
  }
17466
- var PopIndent$0 = $TV($EXPECT($L1, fail, 'PopIndent ""'), function($skip, $loc, $0, $1) {
17607
+ var PopIndent$0 = $TV($EXPECT($L14, fail, 'PopIndent ""'), function($skip, $loc, $0, $1) {
17467
17608
  if (module.config.verbose) {
17468
17609
  console.log("popping indent", module.indentLevels[module.indentLevels.length - 1], "->", module.indentLevels[module.indentLevels.length - 2]);
17469
17610
  }
@@ -17946,7 +18087,7 @@ var uncacheable;
17946
18087
  ({ parse } = import_parser.default);
17947
18088
  ({ SourceMap: SourceMap2, base64Encode: base64Encode2 } = util_exports);
17948
18089
  defaultOptions = {};
17949
- uncacheable = /* @__PURE__ */ new Set(["ActualAssignment", "ApplicationStart", "Arguments", "ArgumentsWithTrailingMemberExpressions", "ArrowFunction", "ArrowFunctionTail", "AssignmentExpression", "AssignmentExpressionTail", "BinaryOpExpression", "BinaryOpRHS", "BracedBlock", "BracedObjectLiteralContent", "BracedOrEmptyBlock", "CallExpression", "CallExpressionRest", "CoffeeCommentEnabled", "ConditionalExpression", "Debugger", "ElseClause", "Expression", "ExpressionStatement", "ExpressionWithIndentedApplicationSuppressed", "ExtendedExpression", "FatArrowBody", "ImplicitInlineObjectPropertyDelimiter", "ImplicitNestedBlock", "IndentedApplicationAllowed", "IndentedFurther", "IndentedJSXChildExpression", "InlineObjectLiteral", "InsertIndent", "JSXChild", "JSXChildren", "JSXElement", "JSXFragment", "JSXImplicitFragment", "JSXMixedChildren", "JSXNestedChildren", "JSXTag", "LeftHandSideExpression", "MemberExpression", "MemberExpressionRest", "Nested", "NestedBindingElement", "NestedBindingElements", "NestedBlockExpression", "NestedBlockExpression", "NestedBlockStatement", "NestedBlockStatements", "NestedElement", "NestedElementList", "NestedImplicitObjectLiteral", "NestedImplicitPropertyDefinition", "NestedImplicitPropertyDefinitions", "NestedInterfaceProperty", "NestedJSXChildExpression", "NestedObject", "NestedPropertyDefinitions", "ObjectLiteral", "PopIndent", "PrimaryExpression", "PushIndent", "Samedent", "ShortCircuitExpression", "SingleLineComment", "SingleLineStatements", "SnugNamedProperty", "Statement", "SuppressIndentedApplication", "ThinArrowFunction", "TrackIndented", "TypedJSXElement", "TypedJSXFragment", "UnaryExpression", "UpdateExpression"]);
18090
+ uncacheable = /* @__PURE__ */ new Set(["ActualAssignment", "ApplicationStart", "Arguments", "ArgumentsWithTrailingMemberExpressions", "ArrowFunction", "ArrowFunctionTail", "AssignmentExpression", "AssignmentExpressionTail", "BinaryOpExpression", "BinaryOpRHS", "BracedBlock", "BracedObjectLiteralContent", "BracedOrEmptyBlock", "CallExpression", "CallExpressionRest", "CoffeeCommentEnabled", "ConditionalExpression", "Debugger", "ElseClause", "Expression", "ExpressionStatement", "ExpressionWithIndentedApplicationSuppressed", "ExtendedExpression", "FatArrowBody", "ImplicitArguments", "ImplicitInlineObjectPropertyDelimiter", "ImplicitNestedBlock", "IndentedApplicationAllowed", "IndentedFurther", "IndentedJSXChildExpression", "InlineObjectLiteral", "InsertIndent", "JSXChild", "JSXChildren", "JSXElement", "JSXFragment", "JSXImplicitFragment", "JSXMixedChildren", "JSXNestedChildren", "JSXTag", "LeftHandSideExpression", "MemberExpression", "MemberExpressionRest", "Nested", "NestedBindingElement", "NestedBindingElements", "NestedBlockExpression", "NestedBlockExpression", "NestedBlockStatement", "NestedBlockStatements", "NestedElement", "NestedElementList", "NestedImplicitObjectLiteral", "NestedImplicitPropertyDefinition", "NestedImplicitPropertyDefinitions", "NestedInterfaceProperty", "NestedJSXChildExpression", "NestedObject", "NestedPropertyDefinitions", "NonSuppressedTrailingMemberExpressions", "ObjectLiteral", "PopIndent", "PrimaryExpression", "PushIndent", "Samedent", "ShortCircuitExpression", "SingleLineComment", "SingleLineStatements", "SnugNamedProperty", "Statement", "SuppressIndentedApplication", "SuppressTrailingMemberProperty", "ThinArrowFunction", "TrackIndented", "TrailingMemberExpressions", "TrailingMemberPropertyAllowed", "TypedJSXElement", "TypedJSXFragment", "UnaryExpression", "UpdateExpression"]);
17950
18091
  var compile = function(src, options = defaultOptions) {
17951
18092
  var ast, code, events, filename, sm, srcMapJSON;
17952
18093
  filename = options.filename || "unknown";