@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/browser.js +352 -211
- package/dist/civet +25 -15
- package/dist/main.js +352 -211
- package/dist/main.mjs +352 -211
- package/package.json +1 -1
package/dist/browser.js
CHANGED
|
@@ -434,11 +434,13 @@ ${input.slice(result.pos)}
|
|
|
434
434
|
ExpressionizedStatement,
|
|
435
435
|
Expression,
|
|
436
436
|
Arguments,
|
|
437
|
+
ImplicitArguments,
|
|
437
438
|
ExplicitArguments,
|
|
438
439
|
ApplicationStart,
|
|
439
440
|
ForbiddenImplicitCalls,
|
|
440
|
-
IndentedApplicationAllowed,
|
|
441
441
|
ArgumentsWithTrailingMemberExpressions,
|
|
442
|
+
TrailingMemberExpressions,
|
|
443
|
+
NonSuppressedTrailingMemberExpressions,
|
|
442
444
|
ArgumentList,
|
|
443
445
|
NestedArgumentList,
|
|
444
446
|
NestedArgument,
|
|
@@ -647,6 +649,9 @@ ${input.slice(result.pos)}
|
|
|
647
649
|
Condition,
|
|
648
650
|
ExpressionWithIndentedApplicationSuppressed,
|
|
649
651
|
SuppressIndentedApplication,
|
|
652
|
+
IndentedApplicationAllowed,
|
|
653
|
+
SuppressTrailingMemberProperty,
|
|
654
|
+
TrailingMemberPropertyAllowed,
|
|
650
655
|
ExpressionStatement,
|
|
651
656
|
KeywordStatement,
|
|
652
657
|
DebuggerExpression,
|
|
@@ -941,7 +946,7 @@ ${input.slice(result.pos)}
|
|
|
941
946
|
Nested
|
|
942
947
|
});
|
|
943
948
|
var $L0 = $L("/ ");
|
|
944
|
-
var $L1 = $L("");
|
|
949
|
+
var $L1 = $L("?");
|
|
945
950
|
var $L2 = $L(".");
|
|
946
951
|
var $L3 = $L("++");
|
|
947
952
|
var $L4 = $L("--");
|
|
@@ -954,64 +959,64 @@ ${input.slice(result.pos)}
|
|
|
954
959
|
var $L11 = $L("!");
|
|
955
960
|
var $L12 = $L("super[");
|
|
956
961
|
var $L13 = $L("import.meta");
|
|
957
|
-
var $L14 = $L("
|
|
958
|
-
var $L15 = $L("
|
|
959
|
-
var $L16 = $L("
|
|
960
|
-
var $L17 = $L("
|
|
961
|
-
var $L18 = $L("
|
|
962
|
-
var $L19 = $L("
|
|
963
|
-
var $L20 = $L("
|
|
964
|
-
var $L21 = $L("
|
|
965
|
-
var $L22 = $L("
|
|
966
|
-
var $L23 = $L("
|
|
967
|
-
var $L24 = $L("
|
|
968
|
-
var $L25 = $L("
|
|
969
|
-
var $L26 = $L("
|
|
970
|
-
var $L27 = $L("
|
|
971
|
-
var $L28 = $L("
|
|
972
|
-
var $L29 = $L("
|
|
973
|
-
var $L30 = $L("
|
|
974
|
-
var $L31 = $L("
|
|
975
|
-
var $L32 = $L("
|
|
976
|
-
var $L33 = $L("
|
|
977
|
-
var $L34 = $L("
|
|
978
|
-
var $L35 = $L("
|
|
979
|
-
var $L36 = $L("
|
|
980
|
-
var $L37 = $L("
|
|
981
|
-
var $L38 = $L("
|
|
982
|
-
var $L39 = $L("
|
|
983
|
-
var $L40 = $L("
|
|
984
|
-
var $L41 = $L("
|
|
985
|
-
var $L42 = $L("
|
|
986
|
-
var $L43 = $L("
|
|
987
|
-
var $L44 = $L("
|
|
988
|
-
var $L45 = $L("
|
|
989
|
-
var $L46 = $L("
|
|
990
|
-
var $L47 = $L("
|
|
991
|
-
var $L48 = $L("
|
|
992
|
-
var $L49 = $L("
|
|
993
|
-
var $L50 = $L("
|
|
994
|
-
var $L51 = $L("
|
|
995
|
-
var $L52 = $L("
|
|
996
|
-
var $L53 = $L("
|
|
997
|
-
var $L54 = $L("
|
|
998
|
-
var $L55 = $L("
|
|
999
|
-
var $L56 = $L("
|
|
1000
|
-
var $L57 = $L("
|
|
1001
|
-
var $L58 = $L("
|
|
1002
|
-
var $L59 = $L("
|
|
1003
|
-
var $L60 = $L("
|
|
1004
|
-
var $L61 = $L("
|
|
1005
|
-
var $L62 = $L("
|
|
1006
|
-
var $L63 = $L("
|
|
1007
|
-
var $L64 = $L("
|
|
1008
|
-
var $L65 = $L("
|
|
1009
|
-
var $L66 = $L("
|
|
1010
|
-
var $L67 = $L("
|
|
1011
|
-
var $L68 = $L("
|
|
1012
|
-
var $L69 = $L("
|
|
1013
|
-
var $L70 = $L("
|
|
1014
|
-
var $L71 = $L("
|
|
962
|
+
var $L14 = $L("");
|
|
963
|
+
var $L15 = $L(")");
|
|
964
|
+
var $L16 = $L("->");
|
|
965
|
+
var $L17 = $L("}");
|
|
966
|
+
var $L18 = $L("null");
|
|
967
|
+
var $L19 = $L("true");
|
|
968
|
+
var $L20 = $L("false");
|
|
969
|
+
var $L21 = $L("yes");
|
|
970
|
+
var $L22 = $L("on");
|
|
971
|
+
var $L23 = $L("no");
|
|
972
|
+
var $L24 = $L("off");
|
|
973
|
+
var $L25 = $L(",");
|
|
974
|
+
var $L26 = $L("=");
|
|
975
|
+
var $L27 = $L(">");
|
|
976
|
+
var $L28 = $L("]");
|
|
977
|
+
var $L29 = $L(":");
|
|
978
|
+
var $L30 = $L("**=");
|
|
979
|
+
var $L31 = $L("*=");
|
|
980
|
+
var $L32 = $L("/=");
|
|
981
|
+
var $L33 = $L("%=");
|
|
982
|
+
var $L34 = $L("+=");
|
|
983
|
+
var $L35 = $L("-=");
|
|
984
|
+
var $L36 = $L("<<=");
|
|
985
|
+
var $L37 = $L(">>>=");
|
|
986
|
+
var $L38 = $L(">>=");
|
|
987
|
+
var $L39 = $L("&&=");
|
|
988
|
+
var $L40 = $L("&=");
|
|
989
|
+
var $L41 = $L("^=");
|
|
990
|
+
var $L42 = $L("||=");
|
|
991
|
+
var $L43 = $L("|=");
|
|
992
|
+
var $L44 = $L("??=");
|
|
993
|
+
var $L45 = $L("?=");
|
|
994
|
+
var $L46 = $L("and=");
|
|
995
|
+
var $L47 = $L("or=");
|
|
996
|
+
var $L48 = $L("**");
|
|
997
|
+
var $L49 = $L("*");
|
|
998
|
+
var $L50 = $L("/");
|
|
999
|
+
var $L51 = $L("%%");
|
|
1000
|
+
var $L52 = $L("%");
|
|
1001
|
+
var $L53 = $L("+");
|
|
1002
|
+
var $L54 = $L("-");
|
|
1003
|
+
var $L55 = $L("<=");
|
|
1004
|
+
var $L56 = $L(">=");
|
|
1005
|
+
var $L57 = $L("<?");
|
|
1006
|
+
var $L58 = $L("<<");
|
|
1007
|
+
var $L59 = $L(">>>");
|
|
1008
|
+
var $L60 = $L(">>");
|
|
1009
|
+
var $L61 = $L("!==");
|
|
1010
|
+
var $L62 = $L("!=");
|
|
1011
|
+
var $L63 = $L("isnt");
|
|
1012
|
+
var $L64 = $L("===");
|
|
1013
|
+
var $L65 = $L("==");
|
|
1014
|
+
var $L66 = $L("and");
|
|
1015
|
+
var $L67 = $L("&&");
|
|
1016
|
+
var $L68 = $L("of");
|
|
1017
|
+
var $L69 = $L("or");
|
|
1018
|
+
var $L70 = $L("||");
|
|
1019
|
+
var $L71 = $L("??");
|
|
1015
1020
|
var $L72 = $L("instanceof");
|
|
1016
1021
|
var $L73 = $L("not");
|
|
1017
1022
|
var $L74 = $L("in");
|
|
@@ -1356,13 +1361,12 @@ ${input.slice(result.pos)}
|
|
|
1356
1361
|
}
|
|
1357
1362
|
}
|
|
1358
1363
|
var Arguments$0 = ExplicitArguments;
|
|
1359
|
-
var Arguments$1 = $TS($S(
|
|
1360
|
-
var
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
return [ta?.[0], open, module.insertTrimmingSpace(ws, ""), args, close];
|
|
1364
|
+
var Arguments$1 = $TS($S(SuppressTrailingMemberProperty, $E(ImplicitArguments)), function($skip, $loc, $0, $1, $2) {
|
|
1365
|
+
var args = $2;
|
|
1366
|
+
module.suppressTrailingMemberProperty.pop();
|
|
1367
|
+
if (args)
|
|
1368
|
+
return args;
|
|
1369
|
+
return $skip;
|
|
1366
1370
|
});
|
|
1367
1371
|
function Arguments(state) {
|
|
1368
1372
|
let eventData;
|
|
@@ -1386,6 +1390,36 @@ ${input.slice(result.pos)}
|
|
|
1386
1390
|
return result;
|
|
1387
1391
|
}
|
|
1388
1392
|
}
|
|
1393
|
+
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) {
|
|
1394
|
+
var ta = $1;
|
|
1395
|
+
var open = $3;
|
|
1396
|
+
var ws = $4;
|
|
1397
|
+
var args = $5;
|
|
1398
|
+
var close = $6;
|
|
1399
|
+
return [ta?.[0], open, module.insertTrimmingSpace(ws, ""), args, close];
|
|
1400
|
+
});
|
|
1401
|
+
function ImplicitArguments(state) {
|
|
1402
|
+
let eventData;
|
|
1403
|
+
if (state.events) {
|
|
1404
|
+
const result = state.events.enter?.("ImplicitArguments", state);
|
|
1405
|
+
if (result) {
|
|
1406
|
+
if (result.cache)
|
|
1407
|
+
return result.cache;
|
|
1408
|
+
eventData = result.data;
|
|
1409
|
+
}
|
|
1410
|
+
}
|
|
1411
|
+
if (state.tokenize) {
|
|
1412
|
+
const result = $TOKEN("ImplicitArguments", state, ImplicitArguments$0(state));
|
|
1413
|
+
if (state.events)
|
|
1414
|
+
state.events.exit?.("ImplicitArguments", state, result, eventData);
|
|
1415
|
+
return result;
|
|
1416
|
+
} else {
|
|
1417
|
+
const result = ImplicitArguments$0(state);
|
|
1418
|
+
if (state.events)
|
|
1419
|
+
state.events.exit?.("ImplicitArguments", state, result, eventData);
|
|
1420
|
+
return result;
|
|
1421
|
+
}
|
|
1422
|
+
}
|
|
1389
1423
|
var ExplicitArguments$0 = $S($E(TypeArguments), OpenParen, $E(ArgumentList), $E($S(__, Comma)), __, CloseParen);
|
|
1390
1424
|
function ExplicitArguments(state) {
|
|
1391
1425
|
let eventData;
|
|
@@ -1458,15 +1492,36 @@ ${input.slice(result.pos)}
|
|
|
1458
1492
|
return result;
|
|
1459
1493
|
}
|
|
1460
1494
|
}
|
|
1461
|
-
var
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1495
|
+
var ArgumentsWithTrailingMemberExpressions$0 = $S(Arguments, TrailingMemberExpressions);
|
|
1496
|
+
function ArgumentsWithTrailingMemberExpressions(state) {
|
|
1497
|
+
let eventData;
|
|
1498
|
+
if (state.events) {
|
|
1499
|
+
const result = state.events.enter?.("ArgumentsWithTrailingMemberExpressions", state);
|
|
1500
|
+
if (result) {
|
|
1501
|
+
if (result.cache)
|
|
1502
|
+
return result.cache;
|
|
1503
|
+
eventData = result.data;
|
|
1504
|
+
}
|
|
1505
|
+
}
|
|
1506
|
+
if (state.tokenize) {
|
|
1507
|
+
const result = $TOKEN("ArgumentsWithTrailingMemberExpressions", state, ArgumentsWithTrailingMemberExpressions$0(state));
|
|
1508
|
+
if (state.events)
|
|
1509
|
+
state.events.exit?.("ArgumentsWithTrailingMemberExpressions", state, result, eventData);
|
|
1510
|
+
return result;
|
|
1511
|
+
} else {
|
|
1512
|
+
const result = ArgumentsWithTrailingMemberExpressions$0(state);
|
|
1513
|
+
if (state.events)
|
|
1514
|
+
state.events.exit?.("ArgumentsWithTrailingMemberExpressions", state, result, eventData);
|
|
1515
|
+
return result;
|
|
1516
|
+
}
|
|
1517
|
+
}
|
|
1518
|
+
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) {
|
|
1519
|
+
return $1.concat($2);
|
|
1465
1520
|
});
|
|
1466
|
-
function
|
|
1521
|
+
function TrailingMemberExpressions(state) {
|
|
1467
1522
|
let eventData;
|
|
1468
1523
|
if (state.events) {
|
|
1469
|
-
const result = state.events.enter?.("
|
|
1524
|
+
const result = state.events.enter?.("TrailingMemberExpressions", state);
|
|
1470
1525
|
if (result) {
|
|
1471
1526
|
if (result.cache)
|
|
1472
1527
|
return result.cache;
|
|
@@ -1474,22 +1529,25 @@ ${input.slice(result.pos)}
|
|
|
1474
1529
|
}
|
|
1475
1530
|
}
|
|
1476
1531
|
if (state.tokenize) {
|
|
1477
|
-
const result = $TOKEN("
|
|
1532
|
+
const result = $TOKEN("TrailingMemberExpressions", state, TrailingMemberExpressions$0(state));
|
|
1478
1533
|
if (state.events)
|
|
1479
|
-
state.events.exit?.("
|
|
1534
|
+
state.events.exit?.("TrailingMemberExpressions", state, result, eventData);
|
|
1480
1535
|
return result;
|
|
1481
1536
|
} else {
|
|
1482
|
-
const result =
|
|
1537
|
+
const result = TrailingMemberExpressions$0(state);
|
|
1483
1538
|
if (state.events)
|
|
1484
|
-
state.events.exit?.("
|
|
1539
|
+
state.events.exit?.("TrailingMemberExpressions", state, result, eventData);
|
|
1485
1540
|
return result;
|
|
1486
1541
|
}
|
|
1487
1542
|
}
|
|
1488
|
-
var
|
|
1489
|
-
|
|
1543
|
+
var NonSuppressedTrailingMemberExpressions$0 = $T($S(TrailingMemberPropertyAllowed, TrailingMemberExpressions), function(value) {
|
|
1544
|
+
return value[1];
|
|
1545
|
+
});
|
|
1546
|
+
var NonSuppressedTrailingMemberExpressions$1 = $Q(MemberExpressionRest);
|
|
1547
|
+
function NonSuppressedTrailingMemberExpressions(state) {
|
|
1490
1548
|
let eventData;
|
|
1491
1549
|
if (state.events) {
|
|
1492
|
-
const result = state.events.enter?.("
|
|
1550
|
+
const result = state.events.enter?.("NonSuppressedTrailingMemberExpressions", state);
|
|
1493
1551
|
if (result) {
|
|
1494
1552
|
if (result.cache)
|
|
1495
1553
|
return result.cache;
|
|
@@ -1497,14 +1555,14 @@ ${input.slice(result.pos)}
|
|
|
1497
1555
|
}
|
|
1498
1556
|
}
|
|
1499
1557
|
if (state.tokenize) {
|
|
1500
|
-
const result = $TOKEN("
|
|
1558
|
+
const result = $TOKEN("NonSuppressedTrailingMemberExpressions", state, NonSuppressedTrailingMemberExpressions$0(state) || NonSuppressedTrailingMemberExpressions$1(state));
|
|
1501
1559
|
if (state.events)
|
|
1502
|
-
state.events.exit?.("
|
|
1560
|
+
state.events.exit?.("NonSuppressedTrailingMemberExpressions", state, result, eventData);
|
|
1503
1561
|
return result;
|
|
1504
1562
|
} else {
|
|
1505
|
-
const result =
|
|
1563
|
+
const result = NonSuppressedTrailingMemberExpressions$0(state) || NonSuppressedTrailingMemberExpressions$1(state);
|
|
1506
1564
|
if (state.events)
|
|
1507
|
-
state.events.exit?.("
|
|
1565
|
+
state.events.exit?.("NonSuppressedTrailingMemberExpressions", state, result, eventData);
|
|
1508
1566
|
return result;
|
|
1509
1567
|
}
|
|
1510
1568
|
}
|
|
@@ -2973,14 +3031,17 @@ ${input.slice(result.pos)}
|
|
|
2973
3031
|
children: $0
|
|
2974
3032
|
};
|
|
2975
3033
|
});
|
|
2976
|
-
var CallExpression$2 = $TS($S(MemberExpression, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2) {
|
|
2977
|
-
|
|
3034
|
+
var CallExpression$2 = $TS($S(MemberExpression, NonSuppressedTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
|
|
3035
|
+
var member = $1;
|
|
3036
|
+
var trailing = $2;
|
|
3037
|
+
var rest = $3;
|
|
3038
|
+
if (rest.length || trailing.length) {
|
|
2978
3039
|
return {
|
|
2979
|
-
type: "CallExpression",
|
|
2980
|
-
children: [
|
|
3040
|
+
type: rest.length ? "CallExpression" : "MemberExpression",
|
|
3041
|
+
children: [member, ...trailing, ...rest]
|
|
2981
3042
|
};
|
|
2982
3043
|
}
|
|
2983
|
-
return
|
|
3044
|
+
return member;
|
|
2984
3045
|
});
|
|
2985
3046
|
function CallExpression(state) {
|
|
2986
3047
|
let eventData;
|
|
@@ -3120,13 +3181,7 @@ ${input.slice(result.pos)}
|
|
|
3120
3181
|
}
|
|
3121
3182
|
return $2;
|
|
3122
3183
|
});
|
|
3123
|
-
var MemberExpressionRest$1 =
|
|
3124
|
-
if ($1)
|
|
3125
|
-
return Object.assign({}, $2, {
|
|
3126
|
-
children: [$1, ...$2.children]
|
|
3127
|
-
});
|
|
3128
|
-
return $2;
|
|
3129
|
-
});
|
|
3184
|
+
var MemberExpressionRest$1 = PropertyAccess;
|
|
3130
3185
|
var MemberExpressionRest$2 = NonNullAssertion;
|
|
3131
3186
|
function MemberExpressionRest(state) {
|
|
3132
3187
|
let eventData;
|
|
@@ -3353,7 +3408,7 @@ ${input.slice(result.pos)}
|
|
|
3353
3408
|
}
|
|
3354
3409
|
}
|
|
3355
3410
|
var Parameters$0 = NonEmptyParameters;
|
|
3356
|
-
var Parameters$1 = $TV($EXPECT($
|
|
3411
|
+
var Parameters$1 = $TV($EXPECT($L14, fail, 'Parameters ""'), function($skip, $loc, $0, $1) {
|
|
3357
3412
|
return {
|
|
3358
3413
|
type: "Parameters",
|
|
3359
3414
|
children: [{ $loc, token: "()" }],
|
|
@@ -3512,7 +3567,7 @@ ${input.slice(result.pos)}
|
|
|
3512
3567
|
}
|
|
3513
3568
|
}
|
|
3514
3569
|
var ParameterElementDelimiter$0 = $S($Q(_), Comma);
|
|
3515
|
-
var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($
|
|
3570
|
+
var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L15, fail, 'ParameterElementDelimiter ")"')));
|
|
3516
3571
|
var ParameterElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
|
|
3517
3572
|
return value[1];
|
|
3518
3573
|
});
|
|
@@ -4185,7 +4240,7 @@ ${input.slice(result.pos)}
|
|
|
4185
4240
|
return result;
|
|
4186
4241
|
}
|
|
4187
4242
|
}
|
|
4188
|
-
var EmptyBindingPattern$0 = $TV($EXPECT($
|
|
4243
|
+
var EmptyBindingPattern$0 = $TV($EXPECT($L14, fail, 'EmptyBindingPattern ""'), function($skip, $loc, $0, $1) {
|
|
4189
4244
|
const ref = {
|
|
4190
4245
|
type: "Ref",
|
|
4191
4246
|
base: "ref",
|
|
@@ -4461,7 +4516,7 @@ ${input.slice(result.pos)}
|
|
|
4461
4516
|
return result;
|
|
4462
4517
|
}
|
|
4463
4518
|
}
|
|
4464
|
-
var Arrow$0 = $TV($EXPECT($
|
|
4519
|
+
var Arrow$0 = $TV($EXPECT($L16, fail, 'Arrow "->"'), function($skip, $loc, $0, $1) {
|
|
4465
4520
|
return { $loc, token: $1 };
|
|
4466
4521
|
});
|
|
4467
4522
|
function Arrow(state) {
|
|
@@ -4756,7 +4811,7 @@ ${input.slice(result.pos)}
|
|
|
4756
4811
|
children: [$1, expressions]
|
|
4757
4812
|
};
|
|
4758
4813
|
});
|
|
4759
|
-
var BracedContent$2 = $TV($Y($S(__, $EXPECT($
|
|
4814
|
+
var BracedContent$2 = $TV($Y($S(__, $EXPECT($L17, fail, 'BracedContent "}"'))), function($skip, $loc, $0, $1) {
|
|
4760
4815
|
const expressions = [];
|
|
4761
4816
|
return {
|
|
4762
4817
|
type: "BlockStatement",
|
|
@@ -4901,7 +4956,7 @@ ${input.slice(result.pos)}
|
|
|
4901
4956
|
return result;
|
|
4902
4957
|
}
|
|
4903
4958
|
}
|
|
4904
|
-
var NullLiteral$0 = $TS($S($EXPECT($
|
|
4959
|
+
var NullLiteral$0 = $TS($S($EXPECT($L18, fail, 'NullLiteral "null"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
4905
4960
|
return { $loc, token: $1 };
|
|
4906
4961
|
});
|
|
4907
4962
|
function NullLiteral(state) {
|
|
@@ -4929,7 +4984,7 @@ ${input.slice(result.pos)}
|
|
|
4929
4984
|
var BooleanLiteral$0 = $T($S(CoffeeBooleansEnabled, CoffeeScriptBooleanLiteral), function(value) {
|
|
4930
4985
|
return value[1];
|
|
4931
4986
|
});
|
|
4932
|
-
var BooleanLiteral$1 = $TS($S($C($EXPECT($
|
|
4987
|
+
var BooleanLiteral$1 = $TS($S($C($EXPECT($L19, fail, 'BooleanLiteral "true"'), $EXPECT($L20, fail, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
4933
4988
|
return { $loc, token: $1 };
|
|
4934
4989
|
});
|
|
4935
4990
|
function BooleanLiteral(state) {
|
|
@@ -4954,10 +5009,10 @@ ${input.slice(result.pos)}
|
|
|
4954
5009
|
return result;
|
|
4955
5010
|
}
|
|
4956
5011
|
}
|
|
4957
|
-
var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($
|
|
5012
|
+
var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L21, fail, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L22, fail, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
4958
5013
|
return { $loc, token: "true" };
|
|
4959
5014
|
});
|
|
4960
|
-
var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($
|
|
5015
|
+
var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($L23, fail, 'CoffeeScriptBooleanLiteral "no"'), $EXPECT($L24, fail, 'CoffeeScriptBooleanLiteral "off"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
4961
5016
|
return { $loc, token: "false" };
|
|
4962
5017
|
});
|
|
4963
5018
|
function CoffeeScriptBooleanLiteral(state) {
|
|
@@ -4982,7 +5037,7 @@ ${input.slice(result.pos)}
|
|
|
4982
5037
|
return result;
|
|
4983
5038
|
}
|
|
4984
5039
|
}
|
|
4985
|
-
var Comma$0 = $TV($EXPECT($
|
|
5040
|
+
var Comma$0 = $TV($EXPECT($L25, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
|
|
4986
5041
|
return { $loc, token: $1 };
|
|
4987
5042
|
});
|
|
4988
5043
|
function Comma(state) {
|
|
@@ -5088,7 +5143,7 @@ ${input.slice(result.pos)}
|
|
|
5088
5143
|
return result;
|
|
5089
5144
|
}
|
|
5090
5145
|
}
|
|
5091
|
-
var UpcomingAssignment$0 = $Y($S(__, $EXPECT($
|
|
5146
|
+
var UpcomingAssignment$0 = $Y($S(__, $EXPECT($L26, fail, 'UpcomingAssignment "="'), $N($C($EXPECT($L26, fail, 'UpcomingAssignment "="'), $EXPECT($L27, fail, 'UpcomingAssignment ">"')))));
|
|
5092
5147
|
function UpcomingAssignment(state) {
|
|
5093
5148
|
let eventData;
|
|
5094
5149
|
if (state.events) {
|
|
@@ -5361,7 +5416,7 @@ ${input.slice(result.pos)}
|
|
|
5361
5416
|
}
|
|
5362
5417
|
}
|
|
5363
5418
|
var ArrayElementDelimiter$0 = $S(__, Comma);
|
|
5364
|
-
var ArrayElementDelimiter$1 = $Y($S(__, $EXPECT($
|
|
5419
|
+
var ArrayElementDelimiter$1 = $Y($S(__, $EXPECT($L28, fail, 'ArrayElementDelimiter "]"')));
|
|
5365
5420
|
var ArrayElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
|
|
5366
5421
|
return value[1];
|
|
5367
5422
|
});
|
|
@@ -5783,7 +5838,7 @@ ${input.slice(result.pos)}
|
|
|
5783
5838
|
var ImplicitInlineObjectPropertyDelimiter$1 = $T($S($Y($S($C(Samedent, $Q(_)), NamedProperty)), InsertComma), function(value) {
|
|
5784
5839
|
return value[1];
|
|
5785
5840
|
});
|
|
5786
|
-
var ImplicitInlineObjectPropertyDelimiter$2 = $T($Y($S(__, $C($EXPECT($
|
|
5841
|
+
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) {
|
|
5787
5842
|
return "";
|
|
5788
5843
|
});
|
|
5789
5844
|
var ImplicitInlineObjectPropertyDelimiter$3 = $T($Y(EOS), function(value) {
|
|
@@ -5812,7 +5867,7 @@ ${input.slice(result.pos)}
|
|
|
5812
5867
|
}
|
|
5813
5868
|
}
|
|
5814
5869
|
var ObjectPropertyDelimiter$0 = $S($Q(_), Comma);
|
|
5815
|
-
var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($
|
|
5870
|
+
var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L17, fail, 'ObjectPropertyDelimiter "}"')));
|
|
5816
5871
|
var ObjectPropertyDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
|
|
5817
5872
|
return value[1];
|
|
5818
5873
|
});
|
|
@@ -6319,25 +6374,25 @@ ${input.slice(result.pos)}
|
|
|
6319
6374
|
return result;
|
|
6320
6375
|
}
|
|
6321
6376
|
}
|
|
6322
|
-
var AssignmentOpSymbol$0 = $EXPECT($
|
|
6323
|
-
var AssignmentOpSymbol$1 = $EXPECT($
|
|
6324
|
-
var AssignmentOpSymbol$2 = $EXPECT($
|
|
6325
|
-
var AssignmentOpSymbol$3 = $EXPECT($
|
|
6326
|
-
var AssignmentOpSymbol$4 = $EXPECT($
|
|
6327
|
-
var AssignmentOpSymbol$5 = $EXPECT($
|
|
6328
|
-
var AssignmentOpSymbol$6 = $EXPECT($
|
|
6329
|
-
var AssignmentOpSymbol$7 = $EXPECT($
|
|
6330
|
-
var AssignmentOpSymbol$8 = $EXPECT($
|
|
6331
|
-
var AssignmentOpSymbol$9 = $EXPECT($
|
|
6332
|
-
var AssignmentOpSymbol$10 = $EXPECT($
|
|
6333
|
-
var AssignmentOpSymbol$11 = $EXPECT($
|
|
6334
|
-
var AssignmentOpSymbol$12 = $EXPECT($
|
|
6335
|
-
var AssignmentOpSymbol$13 = $EXPECT($
|
|
6336
|
-
var AssignmentOpSymbol$14 = $EXPECT($
|
|
6337
|
-
var AssignmentOpSymbol$15 = $T($EXPECT($
|
|
6377
|
+
var AssignmentOpSymbol$0 = $EXPECT($L30, fail, 'AssignmentOpSymbol "**="');
|
|
6378
|
+
var AssignmentOpSymbol$1 = $EXPECT($L31, fail, 'AssignmentOpSymbol "*="');
|
|
6379
|
+
var AssignmentOpSymbol$2 = $EXPECT($L32, fail, 'AssignmentOpSymbol "/="');
|
|
6380
|
+
var AssignmentOpSymbol$3 = $EXPECT($L33, fail, 'AssignmentOpSymbol "%="');
|
|
6381
|
+
var AssignmentOpSymbol$4 = $EXPECT($L34, fail, 'AssignmentOpSymbol "+="');
|
|
6382
|
+
var AssignmentOpSymbol$5 = $EXPECT($L35, fail, 'AssignmentOpSymbol "-="');
|
|
6383
|
+
var AssignmentOpSymbol$6 = $EXPECT($L36, fail, 'AssignmentOpSymbol "<<="');
|
|
6384
|
+
var AssignmentOpSymbol$7 = $EXPECT($L37, fail, 'AssignmentOpSymbol ">>>="');
|
|
6385
|
+
var AssignmentOpSymbol$8 = $EXPECT($L38, fail, 'AssignmentOpSymbol ">>="');
|
|
6386
|
+
var AssignmentOpSymbol$9 = $EXPECT($L39, fail, 'AssignmentOpSymbol "&&="');
|
|
6387
|
+
var AssignmentOpSymbol$10 = $EXPECT($L40, fail, 'AssignmentOpSymbol "&="');
|
|
6388
|
+
var AssignmentOpSymbol$11 = $EXPECT($L41, fail, 'AssignmentOpSymbol "^="');
|
|
6389
|
+
var AssignmentOpSymbol$12 = $EXPECT($L42, fail, 'AssignmentOpSymbol "||="');
|
|
6390
|
+
var AssignmentOpSymbol$13 = $EXPECT($L43, fail, 'AssignmentOpSymbol "|="');
|
|
6391
|
+
var AssignmentOpSymbol$14 = $EXPECT($L44, fail, 'AssignmentOpSymbol "??="');
|
|
6392
|
+
var AssignmentOpSymbol$15 = $T($EXPECT($L45, fail, 'AssignmentOpSymbol "?="'), function(value) {
|
|
6338
6393
|
return "??=";
|
|
6339
6394
|
});
|
|
6340
|
-
var AssignmentOpSymbol$16 = $T($S($EXPECT($
|
|
6395
|
+
var AssignmentOpSymbol$16 = $T($S($EXPECT($L26, fail, 'AssignmentOpSymbol "="'), $N($EXPECT($L26, fail, 'AssignmentOpSymbol "="'))), function(value) {
|
|
6341
6396
|
return value[0];
|
|
6342
6397
|
});
|
|
6343
6398
|
var AssignmentOpSymbol$17 = $T($S(CoffeeWordAssignmentOp), function(value) {
|
|
@@ -6365,10 +6420,10 @@ ${input.slice(result.pos)}
|
|
|
6365
6420
|
return result;
|
|
6366
6421
|
}
|
|
6367
6422
|
}
|
|
6368
|
-
var CoffeeWordAssignmentOp$0 = $T($EXPECT($
|
|
6423
|
+
var CoffeeWordAssignmentOp$0 = $T($EXPECT($L46, fail, 'CoffeeWordAssignmentOp "and="'), function(value) {
|
|
6369
6424
|
return "&&=";
|
|
6370
6425
|
});
|
|
6371
|
-
var CoffeeWordAssignmentOp$1 = $T($EXPECT($
|
|
6426
|
+
var CoffeeWordAssignmentOp$1 = $T($EXPECT($L47, fail, 'CoffeeWordAssignmentOp "or="'), function(value) {
|
|
6372
6427
|
return "||=";
|
|
6373
6428
|
});
|
|
6374
6429
|
function CoffeeWordAssignmentOp(state) {
|
|
@@ -6420,60 +6475,60 @@ ${input.slice(result.pos)}
|
|
|
6420
6475
|
return result;
|
|
6421
6476
|
}
|
|
6422
6477
|
}
|
|
6423
|
-
var BinaryOpSymbol$0 = $EXPECT($
|
|
6424
|
-
var BinaryOpSymbol$1 = $EXPECT($
|
|
6425
|
-
var BinaryOpSymbol$2 = $EXPECT($
|
|
6426
|
-
var BinaryOpSymbol$3 = $TV($EXPECT($
|
|
6478
|
+
var BinaryOpSymbol$0 = $EXPECT($L48, fail, 'BinaryOpSymbol "**"');
|
|
6479
|
+
var BinaryOpSymbol$1 = $EXPECT($L49, fail, 'BinaryOpSymbol "*"');
|
|
6480
|
+
var BinaryOpSymbol$2 = $EXPECT($L50, fail, 'BinaryOpSymbol "/"');
|
|
6481
|
+
var BinaryOpSymbol$3 = $TV($EXPECT($L51, fail, 'BinaryOpSymbol "%%"'), function($skip, $loc, $0, $1) {
|
|
6427
6482
|
return {
|
|
6428
6483
|
call: module.getRef("modulo"),
|
|
6429
6484
|
special: true
|
|
6430
6485
|
};
|
|
6431
6486
|
});
|
|
6432
|
-
var BinaryOpSymbol$4 = $EXPECT($
|
|
6433
|
-
var BinaryOpSymbol$5 = $EXPECT($
|
|
6434
|
-
var BinaryOpSymbol$6 = $EXPECT($
|
|
6435
|
-
var BinaryOpSymbol$7 = $EXPECT($
|
|
6436
|
-
var BinaryOpSymbol$8 = $EXPECT($
|
|
6437
|
-
var BinaryOpSymbol$9 = $TS($S($EXPECT($
|
|
6487
|
+
var BinaryOpSymbol$4 = $EXPECT($L52, fail, 'BinaryOpSymbol "%"');
|
|
6488
|
+
var BinaryOpSymbol$5 = $EXPECT($L53, fail, 'BinaryOpSymbol "+"');
|
|
6489
|
+
var BinaryOpSymbol$6 = $EXPECT($L54, fail, 'BinaryOpSymbol "-"');
|
|
6490
|
+
var BinaryOpSymbol$7 = $EXPECT($L55, fail, 'BinaryOpSymbol "<="');
|
|
6491
|
+
var BinaryOpSymbol$8 = $EXPECT($L56, fail, 'BinaryOpSymbol ">="');
|
|
6492
|
+
var BinaryOpSymbol$9 = $TS($S($EXPECT($L57, fail, 'BinaryOpSymbol "<?"'), $E($EXPECT($L6, fail, 'BinaryOpSymbol " "'))), function($skip, $loc, $0, $1, $2) {
|
|
6438
6493
|
return "instanceof ";
|
|
6439
6494
|
});
|
|
6440
|
-
var BinaryOpSymbol$10 = $EXPECT($
|
|
6495
|
+
var BinaryOpSymbol$10 = $EXPECT($L58, fail, 'BinaryOpSymbol "<<"');
|
|
6441
6496
|
var BinaryOpSymbol$11 = $TR($EXPECT($R5, fail, "BinaryOpSymbol /<(?!\\p{ID_Start}|[_$])/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
|
|
6442
6497
|
return "<";
|
|
6443
6498
|
});
|
|
6444
|
-
var BinaryOpSymbol$12 = $EXPECT($
|
|
6445
|
-
var BinaryOpSymbol$13 = $EXPECT($
|
|
6446
|
-
var BinaryOpSymbol$14 = $EXPECT($
|
|
6447
|
-
var BinaryOpSymbol$15 = $EXPECT($
|
|
6448
|
-
var BinaryOpSymbol$16 = $TV($EXPECT($
|
|
6499
|
+
var BinaryOpSymbol$12 = $EXPECT($L59, fail, 'BinaryOpSymbol ">>>"');
|
|
6500
|
+
var BinaryOpSymbol$13 = $EXPECT($L60, fail, 'BinaryOpSymbol ">>"');
|
|
6501
|
+
var BinaryOpSymbol$14 = $EXPECT($L27, fail, 'BinaryOpSymbol ">"');
|
|
6502
|
+
var BinaryOpSymbol$15 = $EXPECT($L61, fail, 'BinaryOpSymbol "!=="');
|
|
6503
|
+
var BinaryOpSymbol$16 = $TV($EXPECT($L62, fail, 'BinaryOpSymbol "!="'), function($skip, $loc, $0, $1) {
|
|
6449
6504
|
if (module.config.coffeeEq)
|
|
6450
6505
|
return "!==";
|
|
6451
6506
|
return $1;
|
|
6452
6507
|
});
|
|
6453
|
-
var BinaryOpSymbol$17 = $TS($S($EXPECT($
|
|
6508
|
+
var BinaryOpSymbol$17 = $TS($S($EXPECT($L63, fail, 'BinaryOpSymbol "isnt"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
6454
6509
|
if (module.config.coffeeIsnt)
|
|
6455
6510
|
return "!==";
|
|
6456
6511
|
return $skip;
|
|
6457
6512
|
});
|
|
6458
|
-
var BinaryOpSymbol$18 = $EXPECT($
|
|
6459
|
-
var BinaryOpSymbol$19 = $TV($EXPECT($
|
|
6513
|
+
var BinaryOpSymbol$18 = $EXPECT($L64, fail, 'BinaryOpSymbol "==="');
|
|
6514
|
+
var BinaryOpSymbol$19 = $TV($EXPECT($L65, fail, 'BinaryOpSymbol "=="'), function($skip, $loc, $0, $1) {
|
|
6460
6515
|
if (module.config.coffeeEq)
|
|
6461
6516
|
return "===";
|
|
6462
6517
|
return $1;
|
|
6463
6518
|
});
|
|
6464
|
-
var BinaryOpSymbol$20 = $T($S($EXPECT($
|
|
6519
|
+
var BinaryOpSymbol$20 = $T($S($EXPECT($L66, fail, 'BinaryOpSymbol "and"'), NonIdContinue), function(value) {
|
|
6465
6520
|
return "&&";
|
|
6466
6521
|
});
|
|
6467
|
-
var BinaryOpSymbol$21 = $EXPECT($
|
|
6468
|
-
var BinaryOpSymbol$22 = $T($S(CoffeeOfEnabled, $EXPECT($
|
|
6522
|
+
var BinaryOpSymbol$21 = $EXPECT($L67, fail, 'BinaryOpSymbol "&&"');
|
|
6523
|
+
var BinaryOpSymbol$22 = $T($S(CoffeeOfEnabled, $EXPECT($L68, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function(value) {
|
|
6469
6524
|
return "in";
|
|
6470
6525
|
});
|
|
6471
|
-
var BinaryOpSymbol$23 = $T($S($EXPECT($
|
|
6526
|
+
var BinaryOpSymbol$23 = $T($S($EXPECT($L69, fail, 'BinaryOpSymbol "or"'), NonIdContinue), function(value) {
|
|
6472
6527
|
return "||";
|
|
6473
6528
|
});
|
|
6474
|
-
var BinaryOpSymbol$24 = $EXPECT($
|
|
6475
|
-
var BinaryOpSymbol$25 = $EXPECT($
|
|
6476
|
-
var BinaryOpSymbol$26 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($
|
|
6529
|
+
var BinaryOpSymbol$24 = $EXPECT($L70, fail, 'BinaryOpSymbol "||"');
|
|
6530
|
+
var BinaryOpSymbol$25 = $EXPECT($L71, fail, 'BinaryOpSymbol "??"');
|
|
6531
|
+
var BinaryOpSymbol$26 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L1, fail, 'BinaryOpSymbol "?"')), function(value) {
|
|
6477
6532
|
return "??";
|
|
6478
6533
|
});
|
|
6479
6534
|
var BinaryOpSymbol$27 = $TS($S($EXPECT($L72, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
@@ -6486,7 +6541,7 @@ ${input.slice(result.pos)}
|
|
|
6486
6541
|
special: true
|
|
6487
6542
|
};
|
|
6488
6543
|
});
|
|
6489
|
-
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($
|
|
6544
|
+
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) {
|
|
6490
6545
|
return {
|
|
6491
6546
|
$loc,
|
|
6492
6547
|
token: "in",
|
|
@@ -6710,7 +6765,7 @@ ${input.slice(result.pos)}
|
|
|
6710
6765
|
return result;
|
|
6711
6766
|
}
|
|
6712
6767
|
}
|
|
6713
|
-
var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($
|
|
6768
|
+
var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($L26, fail, 'BlockStatement "="')))), function(value) {
|
|
6714
6769
|
return value[0];
|
|
6715
6770
|
});
|
|
6716
6771
|
function BlockStatement(state) {
|
|
@@ -8106,7 +8161,7 @@ ${input.slice(result.pos)}
|
|
|
8106
8161
|
return result;
|
|
8107
8162
|
}
|
|
8108
8163
|
}
|
|
8109
|
-
var NoExpressions$0 = $T($EXPECT($
|
|
8164
|
+
var NoExpressions$0 = $T($EXPECT($L14, fail, 'NoExpressions ""'), function(value) {
|
|
8110
8165
|
return [];
|
|
8111
8166
|
});
|
|
8112
8167
|
function NoExpressions(state) {
|
|
@@ -8132,7 +8187,7 @@ ${input.slice(result.pos)}
|
|
|
8132
8187
|
}
|
|
8133
8188
|
}
|
|
8134
8189
|
var ImpliedColon$0 = $S(__, Colon);
|
|
8135
|
-
var ImpliedColon$1 = $TV($EXPECT($
|
|
8190
|
+
var ImpliedColon$1 = $TV($EXPECT($L14, fail, 'ImpliedColon ""'), function($skip, $loc, $0, $1) {
|
|
8136
8191
|
return { $loc, token: ":" };
|
|
8137
8192
|
});
|
|
8138
8193
|
function ImpliedColon(state) {
|
|
@@ -8384,7 +8439,7 @@ ${input.slice(result.pos)}
|
|
|
8384
8439
|
return result;
|
|
8385
8440
|
}
|
|
8386
8441
|
}
|
|
8387
|
-
var SuppressIndentedApplication$0 = $TV($EXPECT($
|
|
8442
|
+
var SuppressIndentedApplication$0 = $TV($EXPECT($L14, fail, 'SuppressIndentedApplication ""'), function($skip, $loc, $0, $1) {
|
|
8388
8443
|
module.suppressIndentedApplication = true;
|
|
8389
8444
|
});
|
|
8390
8445
|
function SuppressIndentedApplication(state) {
|
|
@@ -8409,6 +8464,84 @@ ${input.slice(result.pos)}
|
|
|
8409
8464
|
return result;
|
|
8410
8465
|
}
|
|
8411
8466
|
}
|
|
8467
|
+
var IndentedApplicationAllowed$0 = $TV($EXPECT($L14, fail, 'IndentedApplicationAllowed ""'), function($skip, $loc, $0, $1) {
|
|
8468
|
+
if (module.suppressIndentedApplication)
|
|
8469
|
+
return $skip;
|
|
8470
|
+
return;
|
|
8471
|
+
});
|
|
8472
|
+
function IndentedApplicationAllowed(state) {
|
|
8473
|
+
let eventData;
|
|
8474
|
+
if (state.events) {
|
|
8475
|
+
const result = state.events.enter?.("IndentedApplicationAllowed", state);
|
|
8476
|
+
if (result) {
|
|
8477
|
+
if (result.cache)
|
|
8478
|
+
return result.cache;
|
|
8479
|
+
eventData = result.data;
|
|
8480
|
+
}
|
|
8481
|
+
}
|
|
8482
|
+
if (state.tokenize) {
|
|
8483
|
+
const result = $TOKEN("IndentedApplicationAllowed", state, IndentedApplicationAllowed$0(state));
|
|
8484
|
+
if (state.events)
|
|
8485
|
+
state.events.exit?.("IndentedApplicationAllowed", state, result, eventData);
|
|
8486
|
+
return result;
|
|
8487
|
+
} else {
|
|
8488
|
+
const result = IndentedApplicationAllowed$0(state);
|
|
8489
|
+
if (state.events)
|
|
8490
|
+
state.events.exit?.("IndentedApplicationAllowed", state, result, eventData);
|
|
8491
|
+
return result;
|
|
8492
|
+
}
|
|
8493
|
+
}
|
|
8494
|
+
var SuppressTrailingMemberProperty$0 = $TV($EXPECT($L14, fail, 'SuppressTrailingMemberProperty ""'), function($skip, $loc, $0, $1) {
|
|
8495
|
+
module.suppressTrailingMemberProperty.push(true);
|
|
8496
|
+
});
|
|
8497
|
+
function SuppressTrailingMemberProperty(state) {
|
|
8498
|
+
let eventData;
|
|
8499
|
+
if (state.events) {
|
|
8500
|
+
const result = state.events.enter?.("SuppressTrailingMemberProperty", state);
|
|
8501
|
+
if (result) {
|
|
8502
|
+
if (result.cache)
|
|
8503
|
+
return result.cache;
|
|
8504
|
+
eventData = result.data;
|
|
8505
|
+
}
|
|
8506
|
+
}
|
|
8507
|
+
if (state.tokenize) {
|
|
8508
|
+
const result = $TOKEN("SuppressTrailingMemberProperty", state, SuppressTrailingMemberProperty$0(state));
|
|
8509
|
+
if (state.events)
|
|
8510
|
+
state.events.exit?.("SuppressTrailingMemberProperty", state, result, eventData);
|
|
8511
|
+
return result;
|
|
8512
|
+
} else {
|
|
8513
|
+
const result = SuppressTrailingMemberProperty$0(state);
|
|
8514
|
+
if (state.events)
|
|
8515
|
+
state.events.exit?.("SuppressTrailingMemberProperty", state, result, eventData);
|
|
8516
|
+
return result;
|
|
8517
|
+
}
|
|
8518
|
+
}
|
|
8519
|
+
var TrailingMemberPropertyAllowed$0 = $TV($EXPECT($L14, fail, 'TrailingMemberPropertyAllowed ""'), function($skip, $loc, $0, $1) {
|
|
8520
|
+
if (module.trailingMemberPropertySuppressed)
|
|
8521
|
+
return $skip;
|
|
8522
|
+
});
|
|
8523
|
+
function TrailingMemberPropertyAllowed(state) {
|
|
8524
|
+
let eventData;
|
|
8525
|
+
if (state.events) {
|
|
8526
|
+
const result = state.events.enter?.("TrailingMemberPropertyAllowed", state);
|
|
8527
|
+
if (result) {
|
|
8528
|
+
if (result.cache)
|
|
8529
|
+
return result.cache;
|
|
8530
|
+
eventData = result.data;
|
|
8531
|
+
}
|
|
8532
|
+
}
|
|
8533
|
+
if (state.tokenize) {
|
|
8534
|
+
const result = $TOKEN("TrailingMemberPropertyAllowed", state, TrailingMemberPropertyAllowed$0(state));
|
|
8535
|
+
if (state.events)
|
|
8536
|
+
state.events.exit?.("TrailingMemberPropertyAllowed", state, result, eventData);
|
|
8537
|
+
return result;
|
|
8538
|
+
} else {
|
|
8539
|
+
const result = TrailingMemberPropertyAllowed$0(state);
|
|
8540
|
+
if (state.events)
|
|
8541
|
+
state.events.exit?.("TrailingMemberPropertyAllowed", state, result, eventData);
|
|
8542
|
+
return result;
|
|
8543
|
+
}
|
|
8544
|
+
}
|
|
8412
8545
|
var ExpressionStatement$0 = Expression;
|
|
8413
8546
|
function ExpressionStatement(state) {
|
|
8414
8547
|
let eventData;
|
|
@@ -8592,7 +8725,7 @@ ${input.slice(result.pos)}
|
|
|
8592
8725
|
return result;
|
|
8593
8726
|
}
|
|
8594
8727
|
}
|
|
8595
|
-
var ImpliedImport$0 = $TV($EXPECT($
|
|
8728
|
+
var ImpliedImport$0 = $TV($EXPECT($L14, fail, 'ImpliedImport ""'), function($skip, $loc, $0, $1) {
|
|
8596
8729
|
return { $loc, token: "import " };
|
|
8597
8730
|
});
|
|
8598
8731
|
function ImpliedImport(state) {
|
|
@@ -9973,7 +10106,7 @@ ${input.slice(result.pos)}
|
|
|
9973
10106
|
}
|
|
9974
10107
|
}
|
|
9975
10108
|
var RegularExpressionLiteral$0 = HeregexLiteral;
|
|
9976
|
-
var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($
|
|
10109
|
+
var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($L50, fail, 'RegularExpressionLiteral "/"'), RegularExpressionBody, $EXPECT($L50, fail, 'RegularExpressionLiteral "/"'), RegularExpressionFlags)), function($skip, $loc, $0, $1) {
|
|
9977
10110
|
return { $loc, token: $1 };
|
|
9978
10111
|
});
|
|
9979
10112
|
function RegularExpressionLiteral(state) {
|
|
@@ -10896,7 +11029,7 @@ ${input.slice(result.pos)}
|
|
|
10896
11029
|
return result;
|
|
10897
11030
|
}
|
|
10898
11031
|
}
|
|
10899
|
-
var Loc$0 = $TV($EXPECT($
|
|
11032
|
+
var Loc$0 = $TV($EXPECT($L14, fail, 'Loc ""'), function($skip, $loc, $0, $1) {
|
|
10900
11033
|
return { $loc, token: "" };
|
|
10901
11034
|
});
|
|
10902
11035
|
function Loc(state) {
|
|
@@ -11221,7 +11354,7 @@ ${input.slice(result.pos)}
|
|
|
11221
11354
|
return result;
|
|
11222
11355
|
}
|
|
11223
11356
|
}
|
|
11224
|
-
var CloseBrace$0 = $TV($EXPECT($
|
|
11357
|
+
var CloseBrace$0 = $TV($EXPECT($L17, fail, 'CloseBrace "}"'), function($skip, $loc, $0, $1) {
|
|
11225
11358
|
return { $loc, token: $1 };
|
|
11226
11359
|
});
|
|
11227
11360
|
function CloseBrace(state) {
|
|
@@ -11246,7 +11379,7 @@ ${input.slice(result.pos)}
|
|
|
11246
11379
|
return result;
|
|
11247
11380
|
}
|
|
11248
11381
|
}
|
|
11249
|
-
var CloseBracket$0 = $TV($EXPECT($
|
|
11382
|
+
var CloseBracket$0 = $TV($EXPECT($L28, fail, 'CloseBracket "]"'), function($skip, $loc, $0, $1) {
|
|
11250
11383
|
return { $loc, token: $1 };
|
|
11251
11384
|
});
|
|
11252
11385
|
function CloseBracket(state) {
|
|
@@ -11271,7 +11404,7 @@ ${input.slice(result.pos)}
|
|
|
11271
11404
|
return result;
|
|
11272
11405
|
}
|
|
11273
11406
|
}
|
|
11274
|
-
var CloseParen$0 = $TV($EXPECT($
|
|
11407
|
+
var CloseParen$0 = $TV($EXPECT($L15, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
|
|
11275
11408
|
return { $loc, token: $1 };
|
|
11276
11409
|
});
|
|
11277
11410
|
function CloseParen(state) {
|
|
@@ -11321,7 +11454,7 @@ ${input.slice(result.pos)}
|
|
|
11321
11454
|
return result;
|
|
11322
11455
|
}
|
|
11323
11456
|
}
|
|
11324
|
-
var Colon$0 = $TV($EXPECT($
|
|
11457
|
+
var Colon$0 = $TV($EXPECT($L29, fail, 'Colon ":"'), function($skip, $loc, $0, $1) {
|
|
11325
11458
|
return { $loc, token: $1 };
|
|
11326
11459
|
});
|
|
11327
11460
|
function Colon(state) {
|
|
@@ -11596,7 +11729,7 @@ ${input.slice(result.pos)}
|
|
|
11596
11729
|
return result;
|
|
11597
11730
|
}
|
|
11598
11731
|
}
|
|
11599
|
-
var Equals$0 = $TV($EXPECT($
|
|
11732
|
+
var Equals$0 = $TV($EXPECT($L26, fail, 'Equals "="'), function($skip, $loc, $0, $1) {
|
|
11600
11733
|
return { $loc, token: $1 };
|
|
11601
11734
|
});
|
|
11602
11735
|
function Equals(state) {
|
|
@@ -11946,7 +12079,7 @@ ${input.slice(result.pos)}
|
|
|
11946
12079
|
return result;
|
|
11947
12080
|
}
|
|
11948
12081
|
}
|
|
11949
|
-
var Of$0 = $TS($S($EXPECT($
|
|
12082
|
+
var Of$0 = $TS($S($EXPECT($L68, fail, 'Of "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11950
12083
|
return { $loc, token: $1 };
|
|
11951
12084
|
});
|
|
11952
12085
|
function Of(state) {
|
|
@@ -12171,7 +12304,7 @@ ${input.slice(result.pos)}
|
|
|
12171
12304
|
return result;
|
|
12172
12305
|
}
|
|
12173
12306
|
}
|
|
12174
|
-
var QuestionMark$0 = $TV($EXPECT($
|
|
12307
|
+
var QuestionMark$0 = $TV($EXPECT($L1, fail, 'QuestionMark "?"'), function($skip, $loc, $0, $1) {
|
|
12175
12308
|
return { $loc, token: $1 };
|
|
12176
12309
|
});
|
|
12177
12310
|
function QuestionMark(state) {
|
|
@@ -12321,7 +12454,7 @@ ${input.slice(result.pos)}
|
|
|
12321
12454
|
return result;
|
|
12322
12455
|
}
|
|
12323
12456
|
}
|
|
12324
|
-
var Star$0 = $TV($EXPECT($
|
|
12457
|
+
var Star$0 = $TV($EXPECT($L49, fail, 'Star "*"'), function($skip, $loc, $0, $1) {
|
|
12325
12458
|
return { $loc, token: $1 };
|
|
12326
12459
|
});
|
|
12327
12460
|
function Star(state) {
|
|
@@ -12981,7 +13114,7 @@ ${input.slice(result.pos)}
|
|
|
12981
13114
|
return result;
|
|
12982
13115
|
}
|
|
12983
13116
|
}
|
|
12984
|
-
var JSXOpeningElement$0 = $S($EXPECT($L122, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($
|
|
13117
|
+
var JSXOpeningElement$0 = $S($EXPECT($L122, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L27, fail, 'JSXOpeningElement ">"'));
|
|
12985
13118
|
function JSXOpeningElement(state) {
|
|
12986
13119
|
let eventData;
|
|
12987
13120
|
if (state.events) {
|
|
@@ -13004,7 +13137,7 @@ ${input.slice(result.pos)}
|
|
|
13004
13137
|
return result;
|
|
13005
13138
|
}
|
|
13006
13139
|
}
|
|
13007
|
-
var JSXClosingElement$0 = $S($EXPECT($L155, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($
|
|
13140
|
+
var JSXClosingElement$0 = $S($EXPECT($L155, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L27, fail, 'JSXClosingElement ">"'));
|
|
13008
13141
|
function JSXClosingElement(state) {
|
|
13009
13142
|
let eventData;
|
|
13010
13143
|
if (state.events) {
|
|
@@ -13784,7 +13917,7 @@ ${input.slice(result.pos)}
|
|
|
13784
13917
|
}
|
|
13785
13918
|
return $skip;
|
|
13786
13919
|
});
|
|
13787
|
-
var JSXNestedChildren$1 = $TV($Y($C(EOS, $EXPECT($
|
|
13920
|
+
var JSXNestedChildren$1 = $TV($Y($C(EOS, $EXPECT($L17, fail, 'JSXNestedChildren "}"'))), function($skip, $loc, $0, $1) {
|
|
13788
13921
|
return { children: [], jsxChildren: [] };
|
|
13789
13922
|
});
|
|
13790
13923
|
function JSXNestedChildren(state) {
|
|
@@ -14948,7 +15081,7 @@ ${input.slice(result.pos)}
|
|
|
14948
15081
|
return result;
|
|
14949
15082
|
}
|
|
14950
15083
|
}
|
|
14951
|
-
var TypeArguments$0 = $TS($S($EXPECT($L122, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($
|
|
15084
|
+
var TypeArguments$0 = $TS($S($EXPECT($L122, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L27, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
14952
15085
|
return { ts: true, children: $0 };
|
|
14953
15086
|
});
|
|
14954
15087
|
function TypeArguments(state) {
|
|
@@ -15019,7 +15152,7 @@ ${input.slice(result.pos)}
|
|
|
15019
15152
|
return result;
|
|
15020
15153
|
}
|
|
15021
15154
|
}
|
|
15022
|
-
var TypeParameters$0 = $TS($S(__, $EXPECT($L122, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($
|
|
15155
|
+
var TypeParameters$0 = $TS($S(__, $EXPECT($L122, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L27, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
|
|
15023
15156
|
var parameters = $3;
|
|
15024
15157
|
return {
|
|
15025
15158
|
type: "TypeParameters",
|
|
@@ -15096,7 +15229,7 @@ ${input.slice(result.pos)}
|
|
|
15096
15229
|
return result;
|
|
15097
15230
|
}
|
|
15098
15231
|
}
|
|
15099
|
-
var TypeInitializer$0 = $S(__, $EXPECT($
|
|
15232
|
+
var TypeInitializer$0 = $S(__, $EXPECT($L26, fail, 'TypeInitializer "="'), Type);
|
|
15100
15233
|
function TypeInitializer(state) {
|
|
15101
15234
|
let eventData;
|
|
15102
15235
|
if (state.events) {
|
|
@@ -15120,7 +15253,7 @@ ${input.slice(result.pos)}
|
|
|
15120
15253
|
}
|
|
15121
15254
|
}
|
|
15122
15255
|
var TypeParameterDelimiter$0 = $S($Q(_), Comma);
|
|
15123
|
-
var TypeParameterDelimiter$1 = $Y($S(__, $EXPECT($
|
|
15256
|
+
var TypeParameterDelimiter$1 = $Y($S(__, $EXPECT($L27, fail, 'TypeParameterDelimiter ">"')));
|
|
15124
15257
|
var TypeParameterDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
|
|
15125
15258
|
return value[1];
|
|
15126
15259
|
});
|
|
@@ -15360,7 +15493,7 @@ ${input.slice(result.pos)}
|
|
|
15360
15493
|
return result;
|
|
15361
15494
|
}
|
|
15362
15495
|
}
|
|
15363
|
-
var Debugger$0 = $TV($EXPECT($
|
|
15496
|
+
var Debugger$0 = $TV($EXPECT($L14, fail, 'Debugger ""'), function($skip, $loc, $0, $1) {
|
|
15364
15497
|
debugger;
|
|
15365
15498
|
});
|
|
15366
15499
|
function Debugger(state) {
|
|
@@ -15385,7 +15518,7 @@ ${input.slice(result.pos)}
|
|
|
15385
15518
|
return result;
|
|
15386
15519
|
}
|
|
15387
15520
|
}
|
|
15388
|
-
var InsertOpenParen$0 = $TV($EXPECT($
|
|
15521
|
+
var InsertOpenParen$0 = $TV($EXPECT($L14, fail, 'InsertOpenParen ""'), function($skip, $loc, $0, $1) {
|
|
15389
15522
|
return { $loc, token: "(" };
|
|
15390
15523
|
});
|
|
15391
15524
|
function InsertOpenParen(state) {
|
|
@@ -15410,7 +15543,7 @@ ${input.slice(result.pos)}
|
|
|
15410
15543
|
return result;
|
|
15411
15544
|
}
|
|
15412
15545
|
}
|
|
15413
|
-
var InsertCloseParen$0 = $TV($EXPECT($
|
|
15546
|
+
var InsertCloseParen$0 = $TV($EXPECT($L14, fail, 'InsertCloseParen ""'), function($skip, $loc, $0, $1) {
|
|
15414
15547
|
return { $loc, token: ")" };
|
|
15415
15548
|
});
|
|
15416
15549
|
function InsertCloseParen(state) {
|
|
@@ -15435,7 +15568,7 @@ ${input.slice(result.pos)}
|
|
|
15435
15568
|
return result;
|
|
15436
15569
|
}
|
|
15437
15570
|
}
|
|
15438
|
-
var InsertOpenBrace$0 = $TV($EXPECT($
|
|
15571
|
+
var InsertOpenBrace$0 = $TV($EXPECT($L14, fail, 'InsertOpenBrace ""'), function($skip, $loc, $0, $1) {
|
|
15439
15572
|
return [{ $loc, token: " " }, { $loc, token: "{" }];
|
|
15440
15573
|
});
|
|
15441
15574
|
function InsertOpenBrace(state) {
|
|
@@ -15460,7 +15593,7 @@ ${input.slice(result.pos)}
|
|
|
15460
15593
|
return result;
|
|
15461
15594
|
}
|
|
15462
15595
|
}
|
|
15463
|
-
var InsertInlineOpenBrace$0 = $TV($EXPECT($
|
|
15596
|
+
var InsertInlineOpenBrace$0 = $TV($EXPECT($L14, fail, 'InsertInlineOpenBrace ""'), function($skip, $loc, $0, $1) {
|
|
15464
15597
|
return { $loc, token: "{" };
|
|
15465
15598
|
});
|
|
15466
15599
|
function InsertInlineOpenBrace(state) {
|
|
@@ -15485,7 +15618,7 @@ ${input.slice(result.pos)}
|
|
|
15485
15618
|
return result;
|
|
15486
15619
|
}
|
|
15487
15620
|
}
|
|
15488
|
-
var InsertCloseBrace$0 = $TV($EXPECT($
|
|
15621
|
+
var InsertCloseBrace$0 = $TV($EXPECT($L14, fail, 'InsertCloseBrace ""'), function($skip, $loc, $0, $1) {
|
|
15489
15622
|
return { $loc, token: "}" };
|
|
15490
15623
|
});
|
|
15491
15624
|
function InsertCloseBrace(state) {
|
|
@@ -15510,7 +15643,7 @@ ${input.slice(result.pos)}
|
|
|
15510
15643
|
return result;
|
|
15511
15644
|
}
|
|
15512
15645
|
}
|
|
15513
|
-
var InsertComma$0 = $TV($EXPECT($
|
|
15646
|
+
var InsertComma$0 = $TV($EXPECT($L14, fail, 'InsertComma ""'), function($skip, $loc, $0, $1) {
|
|
15514
15647
|
return { $loc, token: "," };
|
|
15515
15648
|
});
|
|
15516
15649
|
function InsertComma(state) {
|
|
@@ -15535,7 +15668,7 @@ ${input.slice(result.pos)}
|
|
|
15535
15668
|
return result;
|
|
15536
15669
|
}
|
|
15537
15670
|
}
|
|
15538
|
-
var InsertConst$0 = $TV($EXPECT($
|
|
15671
|
+
var InsertConst$0 = $TV($EXPECT($L14, fail, 'InsertConst ""'), function($skip, $loc, $0, $1) {
|
|
15539
15672
|
return { $loc, token: "const " };
|
|
15540
15673
|
});
|
|
15541
15674
|
function InsertConst(state) {
|
|
@@ -15560,7 +15693,7 @@ ${input.slice(result.pos)}
|
|
|
15560
15693
|
return result;
|
|
15561
15694
|
}
|
|
15562
15695
|
}
|
|
15563
|
-
var InsertLet$0 = $TV($EXPECT($
|
|
15696
|
+
var InsertLet$0 = $TV($EXPECT($L14, fail, 'InsertLet ""'), function($skip, $loc, $0, $1) {
|
|
15564
15697
|
return { $loc, token: "let " };
|
|
15565
15698
|
});
|
|
15566
15699
|
function InsertLet(state) {
|
|
@@ -15585,7 +15718,7 @@ ${input.slice(result.pos)}
|
|
|
15585
15718
|
return result;
|
|
15586
15719
|
}
|
|
15587
15720
|
}
|
|
15588
|
-
var InsertReadonly$0 = $TV($EXPECT($
|
|
15721
|
+
var InsertReadonly$0 = $TV($EXPECT($L14, fail, 'InsertReadonly ""'), function($skip, $loc, $0, $1) {
|
|
15589
15722
|
return { ts: true, children: [{ $loc, token: "readonly " }] };
|
|
15590
15723
|
});
|
|
15591
15724
|
function InsertReadonly(state) {
|
|
@@ -15610,7 +15743,7 @@ ${input.slice(result.pos)}
|
|
|
15610
15743
|
return result;
|
|
15611
15744
|
}
|
|
15612
15745
|
}
|
|
15613
|
-
var InsertNewline$0 = $TV($EXPECT($
|
|
15746
|
+
var InsertNewline$0 = $TV($EXPECT($L14, fail, 'InsertNewline ""'), function($skip, $loc, $0, $1) {
|
|
15614
15747
|
return "\n";
|
|
15615
15748
|
});
|
|
15616
15749
|
function InsertNewline(state) {
|
|
@@ -15635,7 +15768,7 @@ ${input.slice(result.pos)}
|
|
|
15635
15768
|
return result;
|
|
15636
15769
|
}
|
|
15637
15770
|
}
|
|
15638
|
-
var InsertIndent$0 = $TV($EXPECT($
|
|
15771
|
+
var InsertIndent$0 = $TV($EXPECT($L14, fail, 'InsertIndent ""'), function($skip, $loc, $0, $1) {
|
|
15639
15772
|
return module.currentIndent.token;
|
|
15640
15773
|
});
|
|
15641
15774
|
function InsertIndent(state) {
|
|
@@ -15660,7 +15793,7 @@ ${input.slice(result.pos)}
|
|
|
15660
15793
|
return result;
|
|
15661
15794
|
}
|
|
15662
15795
|
}
|
|
15663
|
-
var InsertSpace$0 = $TV($EXPECT($
|
|
15796
|
+
var InsertSpace$0 = $TV($EXPECT($L14, fail, 'InsertSpace ""'), function($skip, $loc, $0, $1) {
|
|
15664
15797
|
return { $loc, token: " " };
|
|
15665
15798
|
});
|
|
15666
15799
|
function InsertSpace(state) {
|
|
@@ -15685,7 +15818,7 @@ ${input.slice(result.pos)}
|
|
|
15685
15818
|
return result;
|
|
15686
15819
|
}
|
|
15687
15820
|
}
|
|
15688
|
-
var InsertDot$0 = $TV($EXPECT($
|
|
15821
|
+
var InsertDot$0 = $TV($EXPECT($L14, fail, 'InsertDot ""'), function($skip, $loc, $0, $1) {
|
|
15689
15822
|
return { $loc, token: "." };
|
|
15690
15823
|
});
|
|
15691
15824
|
function InsertDot(state) {
|
|
@@ -15710,7 +15843,7 @@ ${input.slice(result.pos)}
|
|
|
15710
15843
|
return result;
|
|
15711
15844
|
}
|
|
15712
15845
|
}
|
|
15713
|
-
var InsertBreak$0 = $TV($EXPECT($
|
|
15846
|
+
var InsertBreak$0 = $TV($EXPECT($L14, fail, 'InsertBreak ""'), function($skip, $loc, $0, $1) {
|
|
15714
15847
|
return { $loc, token: ";break;" };
|
|
15715
15848
|
});
|
|
15716
15849
|
function InsertBreak(state) {
|
|
@@ -15735,7 +15868,7 @@ ${input.slice(result.pos)}
|
|
|
15735
15868
|
return result;
|
|
15736
15869
|
}
|
|
15737
15870
|
}
|
|
15738
|
-
var InsertVar$0 = $TV($EXPECT($
|
|
15871
|
+
var InsertVar$0 = $TV($EXPECT($L14, fail, 'InsertVar ""'), function($skip, $loc, $0, $1) {
|
|
15739
15872
|
return { $loc, token: "var " };
|
|
15740
15873
|
});
|
|
15741
15874
|
function InsertVar(state) {
|
|
@@ -15760,7 +15893,7 @@ ${input.slice(result.pos)}
|
|
|
15760
15893
|
return result;
|
|
15761
15894
|
}
|
|
15762
15895
|
}
|
|
15763
|
-
var CoffeeBinaryExistentialEnabled$0 = $TV($EXPECT($
|
|
15896
|
+
var CoffeeBinaryExistentialEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeBinaryExistentialEnabled ""'), function($skip, $loc, $0, $1) {
|
|
15764
15897
|
if (module.config.coffeeBinaryExistential)
|
|
15765
15898
|
return;
|
|
15766
15899
|
return $skip;
|
|
@@ -15787,7 +15920,7 @@ ${input.slice(result.pos)}
|
|
|
15787
15920
|
return result;
|
|
15788
15921
|
}
|
|
15789
15922
|
}
|
|
15790
|
-
var CoffeeBooleansEnabled$0 = $TV($EXPECT($
|
|
15923
|
+
var CoffeeBooleansEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeBooleansEnabled ""'), function($skip, $loc, $0, $1) {
|
|
15791
15924
|
if (module.config.coffeeBooleans)
|
|
15792
15925
|
return;
|
|
15793
15926
|
return $skip;
|
|
@@ -15814,7 +15947,7 @@ ${input.slice(result.pos)}
|
|
|
15814
15947
|
return result;
|
|
15815
15948
|
}
|
|
15816
15949
|
}
|
|
15817
|
-
var CoffeeClassesEnabled$0 = $TV($EXPECT($
|
|
15950
|
+
var CoffeeClassesEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeClassesEnabled ""'), function($skip, $loc, $0, $1) {
|
|
15818
15951
|
if (module.config.coffeeClasses)
|
|
15819
15952
|
return;
|
|
15820
15953
|
return $skip;
|
|
@@ -15841,7 +15974,7 @@ ${input.slice(result.pos)}
|
|
|
15841
15974
|
return result;
|
|
15842
15975
|
}
|
|
15843
15976
|
}
|
|
15844
|
-
var CoffeeCommentEnabled$0 = $TV($EXPECT($
|
|
15977
|
+
var CoffeeCommentEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeCommentEnabled ""'), function($skip, $loc, $0, $1) {
|
|
15845
15978
|
if (module.config.coffeeComment)
|
|
15846
15979
|
return;
|
|
15847
15980
|
return $skip;
|
|
@@ -15868,7 +16001,7 @@ ${input.slice(result.pos)}
|
|
|
15868
16001
|
return result;
|
|
15869
16002
|
}
|
|
15870
16003
|
}
|
|
15871
|
-
var CoffeeDoEnabled$0 = $TV($EXPECT($
|
|
16004
|
+
var CoffeeDoEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeDoEnabled ""'), function($skip, $loc, $0, $1) {
|
|
15872
16005
|
if (module.config.coffeeDo)
|
|
15873
16006
|
return;
|
|
15874
16007
|
return $skip;
|
|
@@ -15895,7 +16028,7 @@ ${input.slice(result.pos)}
|
|
|
15895
16028
|
return result;
|
|
15896
16029
|
}
|
|
15897
16030
|
}
|
|
15898
|
-
var CoffeeForLoopsEnabled$0 = $TV($EXPECT($
|
|
16031
|
+
var CoffeeForLoopsEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeForLoopsEnabled ""'), function($skip, $loc, $0, $1) {
|
|
15899
16032
|
if (module.config.coffeeForLoops)
|
|
15900
16033
|
return;
|
|
15901
16034
|
return $skip;
|
|
@@ -15922,7 +16055,7 @@ ${input.slice(result.pos)}
|
|
|
15922
16055
|
return result;
|
|
15923
16056
|
}
|
|
15924
16057
|
}
|
|
15925
|
-
var CoffeeInterpolationEnabled$0 = $TV($EXPECT($
|
|
16058
|
+
var CoffeeInterpolationEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeInterpolationEnabled ""'), function($skip, $loc, $0, $1) {
|
|
15926
16059
|
if (module.config.coffeeInterpolation)
|
|
15927
16060
|
return;
|
|
15928
16061
|
return $skip;
|
|
@@ -15949,7 +16082,7 @@ ${input.slice(result.pos)}
|
|
|
15949
16082
|
return result;
|
|
15950
16083
|
}
|
|
15951
16084
|
}
|
|
15952
|
-
var CoffeeIsntEnabled$0 = $TV($EXPECT($
|
|
16085
|
+
var CoffeeIsntEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeIsntEnabled ""'), function($skip, $loc, $0, $1) {
|
|
15953
16086
|
if (module.config.coffeeIsnt)
|
|
15954
16087
|
return;
|
|
15955
16088
|
return $skip;
|
|
@@ -15976,7 +16109,7 @@ ${input.slice(result.pos)}
|
|
|
15976
16109
|
return result;
|
|
15977
16110
|
}
|
|
15978
16111
|
}
|
|
15979
|
-
var CoffeeLineContinuationEnabled$0 = $TV($EXPECT($
|
|
16112
|
+
var CoffeeLineContinuationEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeLineContinuationEnabled ""'), function($skip, $loc, $0, $1) {
|
|
15980
16113
|
if (module.config.coffeeLineContinuation)
|
|
15981
16114
|
return;
|
|
15982
16115
|
return $skip;
|
|
@@ -16003,7 +16136,7 @@ ${input.slice(result.pos)}
|
|
|
16003
16136
|
return result;
|
|
16004
16137
|
}
|
|
16005
16138
|
}
|
|
16006
|
-
var CoffeeNotEnabled$0 = $TV($EXPECT($
|
|
16139
|
+
var CoffeeNotEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeNotEnabled ""'), function($skip, $loc, $0, $1) {
|
|
16007
16140
|
if (module.config.coffeeNot)
|
|
16008
16141
|
return;
|
|
16009
16142
|
return $skip;
|
|
@@ -16030,7 +16163,7 @@ ${input.slice(result.pos)}
|
|
|
16030
16163
|
return result;
|
|
16031
16164
|
}
|
|
16032
16165
|
}
|
|
16033
|
-
var CoffeeOfEnabled$0 = $TV($EXPECT($
|
|
16166
|
+
var CoffeeOfEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeOfEnabled ""'), function($skip, $loc, $0, $1) {
|
|
16034
16167
|
if (module.config.coffeeOf)
|
|
16035
16168
|
return;
|
|
16036
16169
|
return $skip;
|
|
@@ -16057,7 +16190,7 @@ ${input.slice(result.pos)}
|
|
|
16057
16190
|
return result;
|
|
16058
16191
|
}
|
|
16059
16192
|
}
|
|
16060
|
-
var CoffeePrototypeEnabled$0 = $TV($EXPECT($
|
|
16193
|
+
var CoffeePrototypeEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeePrototypeEnabled ""'), function($skip, $loc, $0, $1) {
|
|
16061
16194
|
if (module.config.coffeePrototype)
|
|
16062
16195
|
return;
|
|
16063
16196
|
return $skip;
|
|
@@ -16084,17 +16217,25 @@ ${input.slice(result.pos)}
|
|
|
16084
16217
|
return result;
|
|
16085
16218
|
}
|
|
16086
16219
|
}
|
|
16087
|
-
var Reset$0 = $TV($EXPECT($
|
|
16220
|
+
var Reset$0 = $TV($EXPECT($L14, fail, 'Reset ""'), function($skip, $loc, $0, $1) {
|
|
16088
16221
|
module.indentLevels = [{
|
|
16089
16222
|
level: 0,
|
|
16090
16223
|
token: ""
|
|
16091
16224
|
}];
|
|
16225
|
+
module.suppressTrailingMemberProperty = [false];
|
|
16092
16226
|
if (!module._init) {
|
|
16093
16227
|
module._init = true;
|
|
16094
16228
|
Object.defineProperties(module, {
|
|
16095
16229
|
currentIndent: {
|
|
16096
16230
|
get() {
|
|
16097
|
-
|
|
16231
|
+
const { indentLevels: l } = module;
|
|
16232
|
+
return l[l.length - 1];
|
|
16233
|
+
}
|
|
16234
|
+
},
|
|
16235
|
+
trailingMemberPropertySuppressed: {
|
|
16236
|
+
get() {
|
|
16237
|
+
const { suppressTrailingMemberProperty: s } = module;
|
|
16238
|
+
return s[s.length - 1];
|
|
16098
16239
|
}
|
|
16099
16240
|
}
|
|
16100
16241
|
});
|
|
@@ -16332,7 +16473,7 @@ ${input.slice(result.pos)}
|
|
|
16332
16473
|
return result;
|
|
16333
16474
|
}
|
|
16334
16475
|
}
|
|
16335
|
-
var Init$0 = $TS($S($E(Shebang), $Q(DirectivePrologue), $EXPECT($
|
|
16476
|
+
var Init$0 = $TS($S($E(Shebang), $Q(DirectivePrologue), $EXPECT($L14, fail, 'Init ""')), function($skip, $loc, $0, $1, $2, $3) {
|
|
16336
16477
|
var directives = $2;
|
|
16337
16478
|
directives.forEach((directive) => {
|
|
16338
16479
|
if (directive.type === "CivetPrologue") {
|
|
@@ -17466,7 +17607,7 @@ ${input.slice(result.pos)}
|
|
|
17466
17607
|
return result;
|
|
17467
17608
|
}
|
|
17468
17609
|
}
|
|
17469
|
-
var PopIndent$0 = $TV($EXPECT($
|
|
17610
|
+
var PopIndent$0 = $TV($EXPECT($L14, fail, 'PopIndent ""'), function($skip, $loc, $0, $1) {
|
|
17470
17611
|
if (module.config.verbose) {
|
|
17471
17612
|
console.log("popping indent", module.indentLevels[module.indentLevels.length - 1], "->", module.indentLevels[module.indentLevels.length - 2]);
|
|
17472
17613
|
}
|
|
@@ -17958,7 +18099,7 @@ ${input.slice(result.pos)}
|
|
|
17958
18099
|
({ parse } = import_parser.default);
|
|
17959
18100
|
({ SourceMap: SourceMap2, base64Encode: base64Encode2 } = util_exports);
|
|
17960
18101
|
defaultOptions = {};
|
|
17961
|
-
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"]);
|
|
18102
|
+
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"]);
|
|
17962
18103
|
var compile = function(src, options = defaultOptions) {
|
|
17963
18104
|
var ast, code, events, filename, sm, srcMapJSON;
|
|
17964
18105
|
filename = options.filename || "unknown";
|