oxc-parser 0.73.2 → 0.74.0

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.
@@ -6,12 +6,13 @@
6
6
  const { TOKEN, constructorError } = require('../../raw-transfer/lazy-common.js'),
7
7
  NodeArray = require('../../raw-transfer/node-array.js');
8
8
 
9
- module.exports = { construct, TOKEN };
9
+ const constructors = {};
10
+
11
+ module.exports = { construct, constructors };
10
12
 
11
13
  function construct(ast) {
12
14
  // (2 * 1024 * 1024 * 1024 - 16) >> 2
13
15
  const metadataPos32 = 536870908;
14
-
15
16
  return new RawTransferData(ast.buffer.uint32[metadataPos32], ast);
16
17
  }
17
18
 
@@ -80,6 +81,8 @@ class Program {
80
81
 
81
82
  const DebugProgram = class Program {};
82
83
 
84
+ constructors.Program = Program;
85
+
83
86
  function constructExpression(pos, ast) {
84
87
  switch (ast.buffer[pos]) {
85
88
  case 0:
@@ -221,6 +224,8 @@ class IdentifierName {
221
224
 
222
225
  const DebugIdentifierName = class IdentifierName {};
223
226
 
227
+ constructors.IdentifierName = IdentifierName;
228
+
224
229
  class IdentifierReference {
225
230
  type = 'IdentifierReference';
226
231
  #internal;
@@ -269,6 +274,8 @@ class IdentifierReference {
269
274
 
270
275
  const DebugIdentifierReference = class IdentifierReference {};
271
276
 
277
+ constructors.IdentifierReference = IdentifierReference;
278
+
272
279
  class BindingIdentifier {
273
280
  type = 'BindingIdentifier';
274
281
  #internal;
@@ -317,6 +324,8 @@ class BindingIdentifier {
317
324
 
318
325
  const DebugBindingIdentifier = class BindingIdentifier {};
319
326
 
327
+ constructors.BindingIdentifier = BindingIdentifier;
328
+
320
329
  class LabelIdentifier {
321
330
  type = 'LabelIdentifier';
322
331
  #internal;
@@ -365,6 +374,8 @@ class LabelIdentifier {
365
374
 
366
375
  const DebugLabelIdentifier = class LabelIdentifier {};
367
376
 
377
+ constructors.LabelIdentifier = LabelIdentifier;
378
+
368
379
  class ThisExpression {
369
380
  type = 'ThisExpression';
370
381
  #internal;
@@ -405,6 +416,8 @@ class ThisExpression {
405
416
 
406
417
  const DebugThisExpression = class ThisExpression {};
407
418
 
419
+ constructors.ThisExpression = ThisExpression;
420
+
408
421
  class ArrayExpression {
409
422
  type = 'ArrayExpression';
410
423
  #internal;
@@ -453,6 +466,8 @@ class ArrayExpression {
453
466
 
454
467
  const DebugArrayExpression = class ArrayExpression {};
455
468
 
469
+ constructors.ArrayExpression = ArrayExpression;
470
+
456
471
  function constructArrayExpressionElement(pos, ast) {
457
472
  switch (ast.buffer[pos]) {
458
473
  case 0:
@@ -590,6 +605,8 @@ class Elision {
590
605
 
591
606
  const DebugElision = class Elision {};
592
607
 
608
+ constructors.Elision = Elision;
609
+
593
610
  class ObjectExpression {
594
611
  type = 'ObjectExpression';
595
612
  #internal;
@@ -638,6 +655,8 @@ class ObjectExpression {
638
655
 
639
656
  const DebugObjectExpression = class ObjectExpression {};
640
657
 
658
+ constructors.ObjectExpression = ObjectExpression;
659
+
641
660
  function constructObjectPropertyKind(pos, ast) {
642
661
  switch (ast.buffer[pos]) {
643
662
  case 0:
@@ -725,6 +744,8 @@ class ObjectProperty {
725
744
 
726
745
  const DebugObjectProperty = class ObjectProperty {};
727
746
 
747
+ constructors.ObjectProperty = ObjectProperty;
748
+
728
749
  function constructPropertyKey(pos, ast) {
729
750
  switch (ast.buffer[pos]) {
730
751
  case 0:
@@ -891,6 +912,8 @@ class TemplateLiteral {
891
912
 
892
913
  const DebugTemplateLiteral = class TemplateLiteral {};
893
914
 
915
+ constructors.TemplateLiteral = TemplateLiteral;
916
+
894
917
  class TaggedTemplateExpression {
895
918
  type = 'TaggedTemplateExpression';
896
919
  #internal;
@@ -949,6 +972,8 @@ class TaggedTemplateExpression {
949
972
 
950
973
  const DebugTaggedTemplateExpression = class TaggedTemplateExpression {};
951
974
 
975
+ constructors.TaggedTemplateExpression = TaggedTemplateExpression;
976
+
952
977
  class TemplateElement {
953
978
  type = 'TemplateElement';
954
979
  #internal;
@@ -1001,6 +1026,8 @@ class TemplateElement {
1001
1026
 
1002
1027
  const DebugTemplateElement = class TemplateElement {};
1003
1028
 
1029
+ constructors.TemplateElement = TemplateElement;
1030
+
1004
1031
  class TemplateElementValue {
1005
1032
  #internal;
1006
1033
 
@@ -1043,6 +1070,8 @@ class TemplateElementValue {
1043
1070
 
1044
1071
  const DebugTemplateElementValue = class TemplateElementValue {};
1045
1072
 
1073
+ constructors.TemplateElementValue = TemplateElementValue;
1074
+
1046
1075
  function constructMemberExpression(pos, ast) {
1047
1076
  switch (ast.buffer[pos]) {
1048
1077
  case 48:
@@ -1114,6 +1143,8 @@ class ComputedMemberExpression {
1114
1143
 
1115
1144
  const DebugComputedMemberExpression = class ComputedMemberExpression {};
1116
1145
 
1146
+ constructors.ComputedMemberExpression = ComputedMemberExpression;
1147
+
1117
1148
  class StaticMemberExpression {
1118
1149
  type = 'StaticMemberExpression';
1119
1150
  #internal;
@@ -1172,6 +1203,8 @@ class StaticMemberExpression {
1172
1203
 
1173
1204
  const DebugStaticMemberExpression = class StaticMemberExpression {};
1174
1205
 
1206
+ constructors.StaticMemberExpression = StaticMemberExpression;
1207
+
1175
1208
  class PrivateFieldExpression {
1176
1209
  type = 'PrivateFieldExpression';
1177
1210
  #internal;
@@ -1230,6 +1263,8 @@ class PrivateFieldExpression {
1230
1263
 
1231
1264
  const DebugPrivateFieldExpression = class PrivateFieldExpression {};
1232
1265
 
1266
+ constructors.PrivateFieldExpression = PrivateFieldExpression;
1267
+
1233
1268
  class CallExpression {
1234
1269
  type = 'CallExpression';
1235
1270
  #internal;
@@ -1296,6 +1331,8 @@ class CallExpression {
1296
1331
 
1297
1332
  const DebugCallExpression = class CallExpression {};
1298
1333
 
1334
+ constructors.CallExpression = CallExpression;
1335
+
1299
1336
  class NewExpression {
1300
1337
  type = 'NewExpression';
1301
1338
  #internal;
@@ -1356,6 +1393,8 @@ class NewExpression {
1356
1393
 
1357
1394
  const DebugNewExpression = class NewExpression {};
1358
1395
 
1396
+ constructors.NewExpression = NewExpression;
1397
+
1359
1398
  class MetaProperty {
1360
1399
  type = 'MetaProperty';
1361
1400
  #internal;
@@ -1408,6 +1447,8 @@ class MetaProperty {
1408
1447
 
1409
1448
  const DebugMetaProperty = class MetaProperty {};
1410
1449
 
1450
+ constructors.MetaProperty = MetaProperty;
1451
+
1411
1452
  class SpreadElement {
1412
1453
  type = 'SpreadElement';
1413
1454
  #internal;
@@ -1454,6 +1495,8 @@ class SpreadElement {
1454
1495
 
1455
1496
  const DebugSpreadElement = class SpreadElement {};
1456
1497
 
1498
+ constructors.SpreadElement = SpreadElement;
1499
+
1457
1500
  function constructArgument(pos, ast) {
1458
1501
  switch (ast.buffer[pos]) {
1459
1502
  case 0:
@@ -1607,6 +1650,8 @@ class UpdateExpression {
1607
1650
 
1608
1651
  const DebugUpdateExpression = class UpdateExpression {};
1609
1652
 
1653
+ constructors.UpdateExpression = UpdateExpression;
1654
+
1610
1655
  class UnaryExpression {
1611
1656
  type = 'UnaryExpression';
1612
1657
  #internal;
@@ -1659,6 +1704,8 @@ class UnaryExpression {
1659
1704
 
1660
1705
  const DebugUnaryExpression = class UnaryExpression {};
1661
1706
 
1707
+ constructors.UnaryExpression = UnaryExpression;
1708
+
1662
1709
  class BinaryExpression {
1663
1710
  type = 'BinaryExpression';
1664
1711
  #internal;
@@ -1717,6 +1764,8 @@ class BinaryExpression {
1717
1764
 
1718
1765
  const DebugBinaryExpression = class BinaryExpression {};
1719
1766
 
1767
+ constructors.BinaryExpression = BinaryExpression;
1768
+
1720
1769
  class PrivateInExpression {
1721
1770
  type = 'PrivateInExpression';
1722
1771
  #internal;
@@ -1769,6 +1818,8 @@ class PrivateInExpression {
1769
1818
 
1770
1819
  const DebugPrivateInExpression = class PrivateInExpression {};
1771
1820
 
1821
+ constructors.PrivateInExpression = PrivateInExpression;
1822
+
1772
1823
  class LogicalExpression {
1773
1824
  type = 'LogicalExpression';
1774
1825
  #internal;
@@ -1827,6 +1878,8 @@ class LogicalExpression {
1827
1878
 
1828
1879
  const DebugLogicalExpression = class LogicalExpression {};
1829
1880
 
1881
+ constructors.LogicalExpression = LogicalExpression;
1882
+
1830
1883
  class ConditionalExpression {
1831
1884
  type = 'ConditionalExpression';
1832
1885
  #internal;
@@ -1885,6 +1938,8 @@ class ConditionalExpression {
1885
1938
 
1886
1939
  const DebugConditionalExpression = class ConditionalExpression {};
1887
1940
 
1941
+ constructors.ConditionalExpression = ConditionalExpression;
1942
+
1888
1943
  class AssignmentExpression {
1889
1944
  type = 'AssignmentExpression';
1890
1945
  #internal;
@@ -1943,6 +1998,8 @@ class AssignmentExpression {
1943
1998
 
1944
1999
  const DebugAssignmentExpression = class AssignmentExpression {};
1945
2000
 
2001
+ constructors.AssignmentExpression = AssignmentExpression;
2002
+
1946
2003
  function constructAssignmentTarget(pos, ast) {
1947
2004
  switch (ast.buffer[pos]) {
1948
2005
  case 0:
@@ -2052,6 +2109,8 @@ class ArrayAssignmentTarget {
2052
2109
 
2053
2110
  const DebugArrayAssignmentTarget = class ArrayAssignmentTarget {};
2054
2111
 
2112
+ constructors.ArrayAssignmentTarget = ArrayAssignmentTarget;
2113
+
2055
2114
  class ObjectAssignmentTarget {
2056
2115
  type = 'ObjectAssignmentTarget';
2057
2116
  #internal;
@@ -2100,6 +2159,8 @@ class ObjectAssignmentTarget {
2100
2159
 
2101
2160
  const DebugObjectAssignmentTarget = class ObjectAssignmentTarget {};
2102
2161
 
2162
+ constructors.ObjectAssignmentTarget = ObjectAssignmentTarget;
2163
+
2103
2164
  class AssignmentTargetRest {
2104
2165
  type = 'AssignmentTargetRest';
2105
2166
  #internal;
@@ -2146,6 +2207,8 @@ class AssignmentTargetRest {
2146
2207
 
2147
2208
  const DebugAssignmentTargetRest = class AssignmentTargetRest {};
2148
2209
 
2210
+ constructors.AssignmentTargetRest = AssignmentTargetRest;
2211
+
2149
2212
  function constructAssignmentTargetMaybeDefault(pos, ast) {
2150
2213
  switch (ast.buffer[pos]) {
2151
2214
  case 0:
@@ -2227,6 +2290,8 @@ class AssignmentTargetWithDefault {
2227
2290
 
2228
2291
  const DebugAssignmentTargetWithDefault = class AssignmentTargetWithDefault {};
2229
2292
 
2293
+ constructors.AssignmentTargetWithDefault = AssignmentTargetWithDefault;
2294
+
2230
2295
  function constructAssignmentTargetProperty(pos, ast) {
2231
2296
  switch (ast.buffer[pos]) {
2232
2297
  case 0:
@@ -2290,6 +2355,8 @@ class AssignmentTargetPropertyIdentifier {
2290
2355
 
2291
2356
  const DebugAssignmentTargetPropertyIdentifier = class AssignmentTargetPropertyIdentifier {};
2292
2357
 
2358
+ constructors.AssignmentTargetPropertyIdentifier = AssignmentTargetPropertyIdentifier;
2359
+
2293
2360
  class AssignmentTargetPropertyProperty {
2294
2361
  type = 'AssignmentTargetPropertyProperty';
2295
2362
  #internal;
@@ -2348,6 +2415,8 @@ class AssignmentTargetPropertyProperty {
2348
2415
 
2349
2416
  const DebugAssignmentTargetPropertyProperty = class AssignmentTargetPropertyProperty {};
2350
2417
 
2418
+ constructors.AssignmentTargetPropertyProperty = AssignmentTargetPropertyProperty;
2419
+
2351
2420
  class SequenceExpression {
2352
2421
  type = 'SequenceExpression';
2353
2422
  #internal;
@@ -2396,6 +2465,8 @@ class SequenceExpression {
2396
2465
 
2397
2466
  const DebugSequenceExpression = class SequenceExpression {};
2398
2467
 
2468
+ constructors.SequenceExpression = SequenceExpression;
2469
+
2399
2470
  class Super {
2400
2471
  type = 'Super';
2401
2472
  #internal;
@@ -2436,6 +2507,8 @@ class Super {
2436
2507
 
2437
2508
  const DebugSuper = class Super {};
2438
2509
 
2510
+ constructors.Super = Super;
2511
+
2439
2512
  class AwaitExpression {
2440
2513
  type = 'AwaitExpression';
2441
2514
  #internal;
@@ -2482,6 +2555,8 @@ class AwaitExpression {
2482
2555
 
2483
2556
  const DebugAwaitExpression = class AwaitExpression {};
2484
2557
 
2558
+ constructors.AwaitExpression = AwaitExpression;
2559
+
2485
2560
  class ChainExpression {
2486
2561
  type = 'ChainExpression';
2487
2562
  #internal;
@@ -2528,6 +2603,8 @@ class ChainExpression {
2528
2603
 
2529
2604
  const DebugChainExpression = class ChainExpression {};
2530
2605
 
2606
+ constructors.ChainExpression = ChainExpression;
2607
+
2531
2608
  function constructChainElement(pos, ast) {
2532
2609
  switch (ast.buffer[pos]) {
2533
2610
  case 0:
@@ -2591,6 +2668,8 @@ class ParenthesizedExpression {
2591
2668
 
2592
2669
  const DebugParenthesizedExpression = class ParenthesizedExpression {};
2593
2670
 
2671
+ constructors.ParenthesizedExpression = ParenthesizedExpression;
2672
+
2594
2673
  function constructStatement(pos, ast) {
2595
2674
  switch (ast.buffer[pos]) {
2596
2675
  case 0:
@@ -2716,6 +2795,8 @@ class Directive {
2716
2795
 
2717
2796
  const DebugDirective = class Directive {};
2718
2797
 
2798
+ constructors.Directive = Directive;
2799
+
2719
2800
  class Hashbang {
2720
2801
  type = 'Hashbang';
2721
2802
  #internal;
@@ -2764,6 +2845,8 @@ class Hashbang {
2764
2845
 
2765
2846
  const DebugHashbang = class Hashbang {};
2766
2847
 
2848
+ constructors.Hashbang = Hashbang;
2849
+
2767
2850
  class BlockStatement {
2768
2851
  type = 'BlockStatement';
2769
2852
  #internal;
@@ -2812,6 +2895,8 @@ class BlockStatement {
2812
2895
 
2813
2896
  const DebugBlockStatement = class BlockStatement {};
2814
2897
 
2898
+ constructors.BlockStatement = BlockStatement;
2899
+
2815
2900
  function constructDeclaration(pos, ast) {
2816
2901
  switch (ast.buffer[pos]) {
2817
2902
  case 32:
@@ -2895,6 +2980,8 @@ class VariableDeclaration {
2895
2980
 
2896
2981
  const DebugVariableDeclaration = class VariableDeclaration {};
2897
2982
 
2983
+ constructors.VariableDeclaration = VariableDeclaration;
2984
+
2898
2985
  function constructVariableDeclarationKind(pos, ast) {
2899
2986
  switch (ast.buffer[pos]) {
2900
2987
  case 0:
@@ -2970,6 +3057,8 @@ class VariableDeclarator {
2970
3057
 
2971
3058
  const DebugVariableDeclarator = class VariableDeclarator {};
2972
3059
 
3060
+ constructors.VariableDeclarator = VariableDeclarator;
3061
+
2973
3062
  class EmptyStatement {
2974
3063
  type = 'EmptyStatement';
2975
3064
  #internal;
@@ -3010,6 +3099,8 @@ class EmptyStatement {
3010
3099
 
3011
3100
  const DebugEmptyStatement = class EmptyStatement {};
3012
3101
 
3102
+ constructors.EmptyStatement = EmptyStatement;
3103
+
3013
3104
  class ExpressionStatement {
3014
3105
  type = 'ExpressionStatement';
3015
3106
  #internal;
@@ -3056,6 +3147,8 @@ class ExpressionStatement {
3056
3147
 
3057
3148
  const DebugExpressionStatement = class ExpressionStatement {};
3058
3149
 
3150
+ constructors.ExpressionStatement = ExpressionStatement;
3151
+
3059
3152
  class IfStatement {
3060
3153
  type = 'IfStatement';
3061
3154
  #internal;
@@ -3114,6 +3207,8 @@ class IfStatement {
3114
3207
 
3115
3208
  const DebugIfStatement = class IfStatement {};
3116
3209
 
3210
+ constructors.IfStatement = IfStatement;
3211
+
3117
3212
  class DoWhileStatement {
3118
3213
  type = 'DoWhileStatement';
3119
3214
  #internal;
@@ -3166,6 +3261,8 @@ class DoWhileStatement {
3166
3261
 
3167
3262
  const DebugDoWhileStatement = class DoWhileStatement {};
3168
3263
 
3264
+ constructors.DoWhileStatement = DoWhileStatement;
3265
+
3169
3266
  class WhileStatement {
3170
3267
  type = 'WhileStatement';
3171
3268
  #internal;
@@ -3218,6 +3315,8 @@ class WhileStatement {
3218
3315
 
3219
3316
  const DebugWhileStatement = class WhileStatement {};
3220
3317
 
3318
+ constructors.WhileStatement = WhileStatement;
3319
+
3221
3320
  class ForStatement {
3222
3321
  type = 'ForStatement';
3223
3322
  #internal;
@@ -3282,6 +3381,8 @@ class ForStatement {
3282
3381
 
3283
3382
  const DebugForStatement = class ForStatement {};
3284
3383
 
3384
+ constructors.ForStatement = ForStatement;
3385
+
3285
3386
  function constructForStatementInit(pos, ast) {
3286
3387
  switch (ast.buffer[pos]) {
3287
3388
  case 0:
@@ -3435,6 +3536,8 @@ class ForInStatement {
3435
3536
 
3436
3537
  const DebugForInStatement = class ForInStatement {};
3437
3538
 
3539
+ constructors.ForInStatement = ForInStatement;
3540
+
3438
3541
  function constructForStatementLeft(pos, ast) {
3439
3542
  switch (ast.buffer[pos]) {
3440
3543
  case 0:
@@ -3528,6 +3631,8 @@ class ForOfStatement {
3528
3631
 
3529
3632
  const DebugForOfStatement = class ForOfStatement {};
3530
3633
 
3634
+ constructors.ForOfStatement = ForOfStatement;
3635
+
3531
3636
  class ContinueStatement {
3532
3637
  type = 'ContinueStatement';
3533
3638
  #internal;
@@ -3574,6 +3679,8 @@ class ContinueStatement {
3574
3679
 
3575
3680
  const DebugContinueStatement = class ContinueStatement {};
3576
3681
 
3682
+ constructors.ContinueStatement = ContinueStatement;
3683
+
3577
3684
  class BreakStatement {
3578
3685
  type = 'BreakStatement';
3579
3686
  #internal;
@@ -3620,6 +3727,8 @@ class BreakStatement {
3620
3727
 
3621
3728
  const DebugBreakStatement = class BreakStatement {};
3622
3729
 
3730
+ constructors.BreakStatement = BreakStatement;
3731
+
3623
3732
  class ReturnStatement {
3624
3733
  type = 'ReturnStatement';
3625
3734
  #internal;
@@ -3666,6 +3775,8 @@ class ReturnStatement {
3666
3775
 
3667
3776
  const DebugReturnStatement = class ReturnStatement {};
3668
3777
 
3778
+ constructors.ReturnStatement = ReturnStatement;
3779
+
3669
3780
  class WithStatement {
3670
3781
  type = 'WithStatement';
3671
3782
  #internal;
@@ -3718,6 +3829,8 @@ class WithStatement {
3718
3829
 
3719
3830
  const DebugWithStatement = class WithStatement {};
3720
3831
 
3832
+ constructors.WithStatement = WithStatement;
3833
+
3721
3834
  class SwitchStatement {
3722
3835
  type = 'SwitchStatement';
3723
3836
  #internal;
@@ -3772,6 +3885,8 @@ class SwitchStatement {
3772
3885
 
3773
3886
  const DebugSwitchStatement = class SwitchStatement {};
3774
3887
 
3888
+ constructors.SwitchStatement = SwitchStatement;
3889
+
3775
3890
  class SwitchCase {
3776
3891
  type = 'SwitchCase';
3777
3892
  #internal;
@@ -3826,6 +3941,8 @@ class SwitchCase {
3826
3941
 
3827
3942
  const DebugSwitchCase = class SwitchCase {};
3828
3943
 
3944
+ constructors.SwitchCase = SwitchCase;
3945
+
3829
3946
  class LabeledStatement {
3830
3947
  type = 'LabeledStatement';
3831
3948
  #internal;
@@ -3878,6 +3995,8 @@ class LabeledStatement {
3878
3995
 
3879
3996
  const DebugLabeledStatement = class LabeledStatement {};
3880
3997
 
3998
+ constructors.LabeledStatement = LabeledStatement;
3999
+
3881
4000
  class ThrowStatement {
3882
4001
  type = 'ThrowStatement';
3883
4002
  #internal;
@@ -3924,6 +4043,8 @@ class ThrowStatement {
3924
4043
 
3925
4044
  const DebugThrowStatement = class ThrowStatement {};
3926
4045
 
4046
+ constructors.ThrowStatement = ThrowStatement;
4047
+
3927
4048
  class TryStatement {
3928
4049
  type = 'TryStatement';
3929
4050
  #internal;
@@ -3982,6 +4103,8 @@ class TryStatement {
3982
4103
 
3983
4104
  const DebugTryStatement = class TryStatement {};
3984
4105
 
4106
+ constructors.TryStatement = TryStatement;
4107
+
3985
4108
  class CatchClause {
3986
4109
  type = 'CatchClause';
3987
4110
  #internal;
@@ -4034,6 +4157,8 @@ class CatchClause {
4034
4157
 
4035
4158
  const DebugCatchClause = class CatchClause {};
4036
4159
 
4160
+ constructors.CatchClause = CatchClause;
4161
+
4037
4162
  class CatchParameter {
4038
4163
  #internal;
4039
4164
 
@@ -4066,6 +4191,8 @@ class CatchParameter {
4066
4191
 
4067
4192
  const DebugCatchParameter = class CatchParameter {};
4068
4193
 
4194
+ constructors.CatchParameter = CatchParameter;
4195
+
4069
4196
  class DebuggerStatement {
4070
4197
  type = 'DebuggerStatement';
4071
4198
  #internal;
@@ -4106,6 +4233,8 @@ class DebuggerStatement {
4106
4233
 
4107
4234
  const DebugDebuggerStatement = class DebuggerStatement {};
4108
4235
 
4236
+ constructors.DebuggerStatement = DebuggerStatement;
4237
+
4109
4238
  class BindingPattern {
4110
4239
  #internal;
4111
4240
 
@@ -4150,6 +4279,8 @@ class BindingPattern {
4150
4279
 
4151
4280
  const DebugBindingPattern = class BindingPattern {};
4152
4281
 
4282
+ constructors.BindingPattern = BindingPattern;
4283
+
4153
4284
  function constructBindingPatternKind(pos, ast) {
4154
4285
  switch (ast.buffer[pos]) {
4155
4286
  case 0:
@@ -4217,6 +4348,8 @@ class AssignmentPattern {
4217
4348
 
4218
4349
  const DebugAssignmentPattern = class AssignmentPattern {};
4219
4350
 
4351
+ constructors.AssignmentPattern = AssignmentPattern;
4352
+
4220
4353
  class ObjectPattern {
4221
4354
  type = 'ObjectPattern';
4222
4355
  #internal;
@@ -4265,6 +4398,8 @@ class ObjectPattern {
4265
4398
 
4266
4399
  const DebugObjectPattern = class ObjectPattern {};
4267
4400
 
4401
+ constructors.ObjectPattern = ObjectPattern;
4402
+
4268
4403
  class BindingProperty {
4269
4404
  type = 'BindingProperty';
4270
4405
  #internal;
@@ -4329,6 +4464,8 @@ class BindingProperty {
4329
4464
 
4330
4465
  const DebugBindingProperty = class BindingProperty {};
4331
4466
 
4467
+ constructors.BindingProperty = BindingProperty;
4468
+
4332
4469
  class ArrayPattern {
4333
4470
  type = 'ArrayPattern';
4334
4471
  #internal;
@@ -4377,6 +4514,8 @@ class ArrayPattern {
4377
4514
 
4378
4515
  const DebugArrayPattern = class ArrayPattern {};
4379
4516
 
4517
+ constructors.ArrayPattern = ArrayPattern;
4518
+
4380
4519
  class BindingRestElement {
4381
4520
  type = 'BindingRestElement';
4382
4521
  #internal;
@@ -4423,6 +4562,8 @@ class BindingRestElement {
4423
4562
 
4424
4563
  const DebugBindingRestElement = class BindingRestElement {};
4425
4564
 
4565
+ constructors.BindingRestElement = BindingRestElement;
4566
+
4426
4567
  class Function {
4427
4568
  #internal;
4428
4569
 
@@ -4515,6 +4656,8 @@ class Function {
4515
4656
 
4516
4657
  const DebugFunction = class Function {};
4517
4658
 
4659
+ constructors.Function = Function;
4660
+
4518
4661
  function constructFunctionType(pos, ast) {
4519
4662
  switch (ast.buffer[pos]) {
4520
4663
  case 0:
@@ -4584,6 +4727,8 @@ class FormalParameters {
4584
4727
 
4585
4728
  const DebugFormalParameters = class FormalParameters {};
4586
4729
 
4730
+ constructors.FormalParameters = FormalParameters;
4731
+
4587
4732
  class FormalParameter {
4588
4733
  #internal;
4589
4734
 
@@ -4624,6 +4769,8 @@ class FormalParameter {
4624
4769
 
4625
4770
  const DebugFormalParameter = class FormalParameter {};
4626
4771
 
4772
+ constructors.FormalParameter = FormalParameter;
4773
+
4627
4774
  function constructFormalParameterKind(pos, ast) {
4628
4775
  switch (ast.buffer[pos]) {
4629
4776
  case 0:
@@ -4687,6 +4834,8 @@ class FunctionBody {
4687
4834
 
4688
4835
  const DebugFunctionBody = class FunctionBody {};
4689
4836
 
4837
+ constructors.FunctionBody = FunctionBody;
4838
+
4690
4839
  class ArrowFunctionExpression {
4691
4840
  type = 'ArrowFunctionExpression';
4692
4841
  #internal;
@@ -4763,6 +4912,8 @@ class ArrowFunctionExpression {
4763
4912
 
4764
4913
  const DebugArrowFunctionExpression = class ArrowFunctionExpression {};
4765
4914
 
4915
+ constructors.ArrowFunctionExpression = ArrowFunctionExpression;
4916
+
4766
4917
  class YieldExpression {
4767
4918
  type = 'YieldExpression';
4768
4919
  #internal;
@@ -4815,6 +4966,8 @@ class YieldExpression {
4815
4966
 
4816
4967
  const DebugYieldExpression = class YieldExpression {};
4817
4968
 
4969
+ constructors.YieldExpression = YieldExpression;
4970
+
4818
4971
  class Class {
4819
4972
  #internal;
4820
4973
 
@@ -4917,6 +5070,8 @@ class Class {
4917
5070
 
4918
5071
  const DebugClass = class Class {};
4919
5072
 
5073
+ constructors.Class = Class;
5074
+
4920
5075
  function constructClassType(pos, ast) {
4921
5076
  switch (ast.buffer[pos]) {
4922
5077
  case 0:
@@ -4976,6 +5131,8 @@ class ClassBody {
4976
5131
 
4977
5132
  const DebugClassBody = class ClassBody {};
4978
5133
 
5134
+ constructors.ClassBody = ClassBody;
5135
+
4979
5136
  function constructClassElement(pos, ast) {
4980
5137
  switch (ast.buffer[pos]) {
4981
5138
  case 0:
@@ -5093,6 +5250,8 @@ class MethodDefinition {
5093
5250
 
5094
5251
  const DebugMethodDefinition = class MethodDefinition {};
5095
5252
 
5253
+ constructors.MethodDefinition = MethodDefinition;
5254
+
5096
5255
  function constructMethodDefinitionType(pos, ast) {
5097
5256
  switch (ast.buffer[pos]) {
5098
5257
  case 0:
@@ -5222,6 +5381,8 @@ class PropertyDefinition {
5222
5381
 
5223
5382
  const DebugPropertyDefinition = class PropertyDefinition {};
5224
5383
 
5384
+ constructors.PropertyDefinition = PropertyDefinition;
5385
+
5225
5386
  function constructPropertyDefinitionType(pos, ast) {
5226
5387
  switch (ast.buffer[pos]) {
5227
5388
  case 0:
@@ -5296,6 +5457,8 @@ class PrivateIdentifier {
5296
5457
 
5297
5458
  const DebugPrivateIdentifier = class PrivateIdentifier {};
5298
5459
 
5460
+ constructors.PrivateIdentifier = PrivateIdentifier;
5461
+
5299
5462
  class StaticBlock {
5300
5463
  type = 'StaticBlock';
5301
5464
  #internal;
@@ -5344,6 +5507,8 @@ class StaticBlock {
5344
5507
 
5345
5508
  const DebugStaticBlock = class StaticBlock {};
5346
5509
 
5510
+ constructors.StaticBlock = StaticBlock;
5511
+
5347
5512
  function constructModuleDeclaration(pos, ast) {
5348
5513
  switch (ast.buffer[pos]) {
5349
5514
  case 64:
@@ -5474,6 +5639,8 @@ class AccessorProperty {
5474
5639
 
5475
5640
  const DebugAccessorProperty = class AccessorProperty {};
5476
5641
 
5642
+ constructors.AccessorProperty = AccessorProperty;
5643
+
5477
5644
  class ImportExpression {
5478
5645
  type = 'ImportExpression';
5479
5646
  #internal;
@@ -5532,6 +5699,8 @@ class ImportExpression {
5532
5699
 
5533
5700
  const DebugImportExpression = class ImportExpression {};
5534
5701
 
5702
+ constructors.ImportExpression = ImportExpression;
5703
+
5535
5704
  class ImportDeclaration {
5536
5705
  type = 'ImportDeclaration';
5537
5706
  #internal;
@@ -5604,6 +5773,8 @@ class ImportDeclaration {
5604
5773
 
5605
5774
  const DebugImportDeclaration = class ImportDeclaration {};
5606
5775
 
5776
+ constructors.ImportDeclaration = ImportDeclaration;
5777
+
5607
5778
  function constructImportPhase(pos, ast) {
5608
5779
  switch (ast.buffer[pos]) {
5609
5780
  case 0:
@@ -5686,6 +5857,8 @@ class ImportSpecifier {
5686
5857
 
5687
5858
  const DebugImportSpecifier = class ImportSpecifier {};
5688
5859
 
5860
+ constructors.ImportSpecifier = ImportSpecifier;
5861
+
5689
5862
  class ImportDefaultSpecifier {
5690
5863
  type = 'ImportDefaultSpecifier';
5691
5864
  #internal;
@@ -5732,6 +5905,8 @@ class ImportDefaultSpecifier {
5732
5905
 
5733
5906
  const DebugImportDefaultSpecifier = class ImportDefaultSpecifier {};
5734
5907
 
5908
+ constructors.ImportDefaultSpecifier = ImportDefaultSpecifier;
5909
+
5735
5910
  class ImportNamespaceSpecifier {
5736
5911
  type = 'ImportNamespaceSpecifier';
5737
5912
  #internal;
@@ -5778,6 +5953,8 @@ class ImportNamespaceSpecifier {
5778
5953
 
5779
5954
  const DebugImportNamespaceSpecifier = class ImportNamespaceSpecifier {};
5780
5955
 
5956
+ constructors.ImportNamespaceSpecifier = ImportNamespaceSpecifier;
5957
+
5781
5958
  class WithClause {
5782
5959
  #internal;
5783
5960
 
@@ -5812,6 +5989,8 @@ class WithClause {
5812
5989
 
5813
5990
  const DebugWithClause = class WithClause {};
5814
5991
 
5992
+ constructors.WithClause = WithClause;
5993
+
5815
5994
  class ImportAttribute {
5816
5995
  type = 'ImportAttribute';
5817
5996
  #internal;
@@ -5864,6 +6043,8 @@ class ImportAttribute {
5864
6043
 
5865
6044
  const DebugImportAttribute = class ImportAttribute {};
5866
6045
 
6046
+ constructors.ImportAttribute = ImportAttribute;
6047
+
5867
6048
  function constructImportAttributeKey(pos, ast) {
5868
6049
  switch (ast.buffer[pos]) {
5869
6050
  case 0:
@@ -5947,6 +6128,8 @@ class ExportNamedDeclaration {
5947
6128
 
5948
6129
  const DebugExportNamedDeclaration = class ExportNamedDeclaration {};
5949
6130
 
6131
+ constructors.ExportNamedDeclaration = ExportNamedDeclaration;
6132
+
5950
6133
  class ExportDefaultDeclaration {
5951
6134
  type = 'ExportDefaultDeclaration';
5952
6135
  #internal;
@@ -5993,6 +6176,8 @@ class ExportDefaultDeclaration {
5993
6176
 
5994
6177
  const DebugExportDefaultDeclaration = class ExportDefaultDeclaration {};
5995
6178
 
6179
+ constructors.ExportDefaultDeclaration = ExportDefaultDeclaration;
6180
+
5996
6181
  class ExportAllDeclaration {
5997
6182
  type = 'ExportAllDeclaration';
5998
6183
  #internal;
@@ -6057,6 +6242,8 @@ class ExportAllDeclaration {
6057
6242
 
6058
6243
  const DebugExportAllDeclaration = class ExportAllDeclaration {};
6059
6244
 
6245
+ constructors.ExportAllDeclaration = ExportAllDeclaration;
6246
+
6060
6247
  class ExportSpecifier {
6061
6248
  type = 'ExportSpecifier';
6062
6249
  #internal;
@@ -6115,6 +6302,8 @@ class ExportSpecifier {
6115
6302
 
6116
6303
  const DebugExportSpecifier = class ExportSpecifier {};
6117
6304
 
6305
+ constructors.ExportSpecifier = ExportSpecifier;
6306
+
6118
6307
  function constructExportDefaultDeclarationKind(pos, ast) {
6119
6308
  switch (ast.buffer[pos]) {
6120
6309
  case 0:
@@ -6281,6 +6470,8 @@ class V8IntrinsicExpression {
6281
6470
 
6282
6471
  const DebugV8IntrinsicExpression = class V8IntrinsicExpression {};
6283
6472
 
6473
+ constructors.V8IntrinsicExpression = V8IntrinsicExpression;
6474
+
6284
6475
  class BooleanLiteral {
6285
6476
  type = 'BooleanLiteral';
6286
6477
  #internal;
@@ -6327,6 +6518,8 @@ class BooleanLiteral {
6327
6518
 
6328
6519
  const DebugBooleanLiteral = class BooleanLiteral {};
6329
6520
 
6521
+ constructors.BooleanLiteral = BooleanLiteral;
6522
+
6330
6523
  class NullLiteral {
6331
6524
  type = 'NullLiteral';
6332
6525
  #internal;
@@ -6367,6 +6560,8 @@ class NullLiteral {
6367
6560
 
6368
6561
  const DebugNullLiteral = class NullLiteral {};
6369
6562
 
6563
+ constructors.NullLiteral = NullLiteral;
6564
+
6370
6565
  class NumericLiteral {
6371
6566
  type = 'NumericLiteral';
6372
6567
  #internal;
@@ -6421,6 +6616,8 @@ class NumericLiteral {
6421
6616
 
6422
6617
  const DebugNumericLiteral = class NumericLiteral {};
6423
6618
 
6619
+ constructors.NumericLiteral = NumericLiteral;
6620
+
6424
6621
  class StringLiteral {
6425
6622
  type = 'StringLiteral';
6426
6623
  #internal;
@@ -6477,6 +6674,8 @@ class StringLiteral {
6477
6674
 
6478
6675
  const DebugStringLiteral = class StringLiteral {};
6479
6676
 
6677
+ constructors.StringLiteral = StringLiteral;
6678
+
6480
6679
  class BigIntLiteral {
6481
6680
  type = 'BigIntLiteral';
6482
6681
  #internal;
@@ -6533,6 +6732,8 @@ class BigIntLiteral {
6533
6732
 
6534
6733
  const DebugBigIntLiteral = class BigIntLiteral {};
6535
6734
 
6735
+ constructors.BigIntLiteral = BigIntLiteral;
6736
+
6536
6737
  class RegExpLiteral {
6537
6738
  type = 'RegExpLiteral';
6538
6739
  #internal;
@@ -6587,6 +6788,8 @@ class RegExpLiteral {
6587
6788
 
6588
6789
  const DebugRegExpLiteral = class RegExpLiteral {};
6589
6790
 
6791
+ constructors.RegExpLiteral = RegExpLiteral;
6792
+
6590
6793
  class RegExp {
6591
6794
  #internal;
6592
6795
 
@@ -6626,6 +6829,8 @@ class RegExp {
6626
6829
 
6627
6830
  const DebugRegExp = class RegExp {};
6628
6831
 
6832
+ constructors.RegExp = RegExp;
6833
+
6629
6834
  class RegExpPattern {
6630
6835
  #internal;
6631
6836
 
@@ -6660,8 +6865,9 @@ class RegExpPattern {
6660
6865
 
6661
6866
  const DebugRegExpPattern = class RegExpPattern {};
6662
6867
 
6868
+ constructors.RegExpPattern = RegExpPattern;
6869
+
6663
6870
  class RegExpFlags {
6664
- type = 'RegExpFlags';
6665
6871
  #internal;
6666
6872
 
6667
6873
  constructor(pos, ast) {
@@ -6675,15 +6881,8 @@ class RegExpFlags {
6675
6881
  nodes.set(pos, this);
6676
6882
  }
6677
6883
 
6678
- get 0() {
6679
- const internal = this.#internal;
6680
- return constructU8(internal.pos, internal.ast);
6681
- }
6682
-
6683
6884
  toJSON() {
6684
- return {
6685
- type: 'RegExpFlags',
6686
- };
6885
+ return {};
6687
6886
  }
6688
6887
 
6689
6888
  [inspectSymbol]() {
@@ -6693,6 +6892,8 @@ class RegExpFlags {
6693
6892
 
6694
6893
  const DebugRegExpFlags = class RegExpFlags {};
6695
6894
 
6895
+ constructors.RegExpFlags = RegExpFlags;
6896
+
6696
6897
  class JSXElement {
6697
6898
  type = 'JSXElement';
6698
6899
  #internal;
@@ -6753,6 +6954,8 @@ class JSXElement {
6753
6954
 
6754
6955
  const DebugJSXElement = class JSXElement {};
6755
6956
 
6957
+ constructors.JSXElement = JSXElement;
6958
+
6756
6959
  class JSXOpeningElement {
6757
6960
  type = 'JSXOpeningElement';
6758
6961
  #internal;
@@ -6813,6 +7016,8 @@ class JSXOpeningElement {
6813
7016
 
6814
7017
  const DebugJSXOpeningElement = class JSXOpeningElement {};
6815
7018
 
7019
+ constructors.JSXOpeningElement = JSXOpeningElement;
7020
+
6816
7021
  class JSXClosingElement {
6817
7022
  type = 'JSXClosingElement';
6818
7023
  #internal;
@@ -6859,6 +7064,8 @@ class JSXClosingElement {
6859
7064
 
6860
7065
  const DebugJSXClosingElement = class JSXClosingElement {};
6861
7066
 
7067
+ constructors.JSXClosingElement = JSXClosingElement;
7068
+
6862
7069
  class JSXFragment {
6863
7070
  type = 'JSXFragment';
6864
7071
  #internal;
@@ -6919,6 +7126,8 @@ class JSXFragment {
6919
7126
 
6920
7127
  const DebugJSXFragment = class JSXFragment {};
6921
7128
 
7129
+ constructors.JSXFragment = JSXFragment;
7130
+
6922
7131
  class JSXOpeningFragment {
6923
7132
  type = 'JSXOpeningFragment';
6924
7133
  #internal;
@@ -6959,6 +7168,8 @@ class JSXOpeningFragment {
6959
7168
 
6960
7169
  const DebugJSXOpeningFragment = class JSXOpeningFragment {};
6961
7170
 
7171
+ constructors.JSXOpeningFragment = JSXOpeningFragment;
7172
+
6962
7173
  class JSXClosingFragment {
6963
7174
  type = 'JSXClosingFragment';
6964
7175
  #internal;
@@ -6999,6 +7210,8 @@ class JSXClosingFragment {
6999
7210
 
7000
7211
  const DebugJSXClosingFragment = class JSXClosingFragment {};
7001
7212
 
7213
+ constructors.JSXClosingFragment = JSXClosingFragment;
7214
+
7002
7215
  function constructJSXElementName(pos, ast) {
7003
7216
  switch (ast.buffer[pos]) {
7004
7217
  case 0:
@@ -7068,6 +7281,8 @@ class JSXNamespacedName {
7068
7281
 
7069
7282
  const DebugJSXNamespacedName = class JSXNamespacedName {};
7070
7283
 
7284
+ constructors.JSXNamespacedName = JSXNamespacedName;
7285
+
7071
7286
  class JSXMemberExpression {
7072
7287
  type = 'JSXMemberExpression';
7073
7288
  #internal;
@@ -7120,6 +7335,8 @@ class JSXMemberExpression {
7120
7335
 
7121
7336
  const DebugJSXMemberExpression = class JSXMemberExpression {};
7122
7337
 
7338
+ constructors.JSXMemberExpression = JSXMemberExpression;
7339
+
7123
7340
  function constructJSXMemberExpressionObject(pos, ast) {
7124
7341
  switch (ast.buffer[pos]) {
7125
7342
  case 0:
@@ -7179,6 +7396,8 @@ class JSXExpressionContainer {
7179
7396
 
7180
7397
  const DebugJSXExpressionContainer = class JSXExpressionContainer {};
7181
7398
 
7399
+ constructors.JSXExpressionContainer = JSXExpressionContainer;
7400
+
7182
7401
  function constructJSXExpression(pos, ast) {
7183
7402
  switch (ast.buffer[pos]) {
7184
7403
  case 0:
@@ -7314,6 +7533,8 @@ class JSXEmptyExpression {
7314
7533
 
7315
7534
  const DebugJSXEmptyExpression = class JSXEmptyExpression {};
7316
7535
 
7536
+ constructors.JSXEmptyExpression = JSXEmptyExpression;
7537
+
7317
7538
  function constructJSXAttributeItem(pos, ast) {
7318
7539
  switch (ast.buffer[pos]) {
7319
7540
  case 0:
@@ -7377,6 +7598,8 @@ class JSXAttribute {
7377
7598
 
7378
7599
  const DebugJSXAttribute = class JSXAttribute {};
7379
7600
 
7601
+ constructors.JSXAttribute = JSXAttribute;
7602
+
7380
7603
  class JSXSpreadAttribute {
7381
7604
  type = 'JSXSpreadAttribute';
7382
7605
  #internal;
@@ -7423,6 +7646,8 @@ class JSXSpreadAttribute {
7423
7646
 
7424
7647
  const DebugJSXSpreadAttribute = class JSXSpreadAttribute {};
7425
7648
 
7649
+ constructors.JSXSpreadAttribute = JSXSpreadAttribute;
7650
+
7426
7651
  function constructJSXAttributeName(pos, ast) {
7427
7652
  switch (ast.buffer[pos]) {
7428
7653
  case 0:
@@ -7497,6 +7722,8 @@ class JSXIdentifier {
7497
7722
 
7498
7723
  const DebugJSXIdentifier = class JSXIdentifier {};
7499
7724
 
7725
+ constructors.JSXIdentifier = JSXIdentifier;
7726
+
7500
7727
  function constructJSXChild(pos, ast) {
7501
7728
  switch (ast.buffer[pos]) {
7502
7729
  case 0:
@@ -7560,6 +7787,8 @@ class JSXSpreadChild {
7560
7787
 
7561
7788
  const DebugJSXSpreadChild = class JSXSpreadChild {};
7562
7789
 
7790
+ constructors.JSXSpreadChild = JSXSpreadChild;
7791
+
7563
7792
  class JSXText {
7564
7793
  type = 'JSXText';
7565
7794
  #internal;
@@ -7616,6 +7845,8 @@ class JSXText {
7616
7845
 
7617
7846
  const DebugJSXText = class JSXText {};
7618
7847
 
7848
+ constructors.JSXText = JSXText;
7849
+
7619
7850
  class TSThisParameter {
7620
7851
  type = 'TSThisParameter';
7621
7852
  #internal;
@@ -7662,6 +7893,8 @@ class TSThisParameter {
7662
7893
 
7663
7894
  const DebugTSThisParameter = class TSThisParameter {};
7664
7895
 
7896
+ constructors.TSThisParameter = TSThisParameter;
7897
+
7665
7898
  class TSEnumDeclaration {
7666
7899
  type = 'TSEnumDeclaration';
7667
7900
  #internal;
@@ -7726,6 +7959,8 @@ class TSEnumDeclaration {
7726
7959
 
7727
7960
  const DebugTSEnumDeclaration = class TSEnumDeclaration {};
7728
7961
 
7962
+ constructors.TSEnumDeclaration = TSEnumDeclaration;
7963
+
7729
7964
  class TSEnumBody {
7730
7965
  type = 'TSEnumBody';
7731
7966
  #internal;
@@ -7774,6 +8009,8 @@ class TSEnumBody {
7774
8009
 
7775
8010
  const DebugTSEnumBody = class TSEnumBody {};
7776
8011
 
8012
+ constructors.TSEnumBody = TSEnumBody;
8013
+
7777
8014
  class TSEnumMember {
7778
8015
  type = 'TSEnumMember';
7779
8016
  #internal;
@@ -7826,6 +8063,8 @@ class TSEnumMember {
7826
8063
 
7827
8064
  const DebugTSEnumMember = class TSEnumMember {};
7828
8065
 
8066
+ constructors.TSEnumMember = TSEnumMember;
8067
+
7829
8068
  function constructTSEnumMemberName(pos, ast) {
7830
8069
  switch (ast.buffer[pos]) {
7831
8070
  case 0:
@@ -7887,6 +8126,8 @@ class TSTypeAnnotation {
7887
8126
 
7888
8127
  const DebugTSTypeAnnotation = class TSTypeAnnotation {};
7889
8128
 
8129
+ constructors.TSTypeAnnotation = TSTypeAnnotation;
8130
+
7890
8131
  class TSLiteralType {
7891
8132
  type = 'TSLiteralType';
7892
8133
  #internal;
@@ -7933,6 +8174,8 @@ class TSLiteralType {
7933
8174
 
7934
8175
  const DebugTSLiteralType = class TSLiteralType {};
7935
8176
 
8177
+ constructors.TSLiteralType = TSLiteralType;
8178
+
7936
8179
  function constructTSLiteral(pos, ast) {
7937
8180
  switch (ast.buffer[pos]) {
7938
8181
  case 0:
@@ -8097,6 +8340,8 @@ class TSConditionalType {
8097
8340
 
8098
8341
  const DebugTSConditionalType = class TSConditionalType {};
8099
8342
 
8343
+ constructors.TSConditionalType = TSConditionalType;
8344
+
8100
8345
  class TSUnionType {
8101
8346
  type = 'TSUnionType';
8102
8347
  #internal;
@@ -8145,6 +8390,8 @@ class TSUnionType {
8145
8390
 
8146
8391
  const DebugTSUnionType = class TSUnionType {};
8147
8392
 
8393
+ constructors.TSUnionType = TSUnionType;
8394
+
8148
8395
  class TSIntersectionType {
8149
8396
  type = 'TSIntersectionType';
8150
8397
  #internal;
@@ -8193,6 +8440,8 @@ class TSIntersectionType {
8193
8440
 
8194
8441
  const DebugTSIntersectionType = class TSIntersectionType {};
8195
8442
 
8443
+ constructors.TSIntersectionType = TSIntersectionType;
8444
+
8196
8445
  class TSParenthesizedType {
8197
8446
  type = 'TSParenthesizedType';
8198
8447
  #internal;
@@ -8239,6 +8488,8 @@ class TSParenthesizedType {
8239
8488
 
8240
8489
  const DebugTSParenthesizedType = class TSParenthesizedType {};
8241
8490
 
8491
+ constructors.TSParenthesizedType = TSParenthesizedType;
8492
+
8242
8493
  class TSTypeOperator {
8243
8494
  type = 'TSTypeOperator';
8244
8495
  #internal;
@@ -8291,6 +8542,8 @@ class TSTypeOperator {
8291
8542
 
8292
8543
  const DebugTSTypeOperator = class TSTypeOperator {};
8293
8544
 
8545
+ constructors.TSTypeOperator = TSTypeOperator;
8546
+
8294
8547
  function constructTSTypeOperatorOperator(pos, ast) {
8295
8548
  switch (ast.buffer[pos]) {
8296
8549
  case 0:
@@ -8350,6 +8603,8 @@ class TSArrayType {
8350
8603
 
8351
8604
  const DebugTSArrayType = class TSArrayType {};
8352
8605
 
8606
+ constructors.TSArrayType = TSArrayType;
8607
+
8353
8608
  class TSIndexedAccessType {
8354
8609
  type = 'TSIndexedAccessType';
8355
8610
  #internal;
@@ -8402,6 +8657,8 @@ class TSIndexedAccessType {
8402
8657
 
8403
8658
  const DebugTSIndexedAccessType = class TSIndexedAccessType {};
8404
8659
 
8660
+ constructors.TSIndexedAccessType = TSIndexedAccessType;
8661
+
8405
8662
  class TSTupleType {
8406
8663
  type = 'TSTupleType';
8407
8664
  #internal;
@@ -8450,6 +8707,8 @@ class TSTupleType {
8450
8707
 
8451
8708
  const DebugTSTupleType = class TSTupleType {};
8452
8709
 
8710
+ constructors.TSTupleType = TSTupleType;
8711
+
8453
8712
  class TSNamedTupleMember {
8454
8713
  type = 'TSNamedTupleMember';
8455
8714
  #internal;
@@ -8508,6 +8767,8 @@ class TSNamedTupleMember {
8508
8767
 
8509
8768
  const DebugTSNamedTupleMember = class TSNamedTupleMember {};
8510
8769
 
8770
+ constructors.TSNamedTupleMember = TSNamedTupleMember;
8771
+
8511
8772
  class TSOptionalType {
8512
8773
  type = 'TSOptionalType';
8513
8774
  #internal;
@@ -8554,6 +8815,8 @@ class TSOptionalType {
8554
8815
 
8555
8816
  const DebugTSOptionalType = class TSOptionalType {};
8556
8817
 
8818
+ constructors.TSOptionalType = TSOptionalType;
8819
+
8557
8820
  class TSRestType {
8558
8821
  type = 'TSRestType';
8559
8822
  #internal;
@@ -8600,6 +8863,8 @@ class TSRestType {
8600
8863
 
8601
8864
  const DebugTSRestType = class TSRestType {};
8602
8865
 
8866
+ constructors.TSRestType = TSRestType;
8867
+
8603
8868
  function constructTSTupleElement(pos, ast) {
8604
8869
  switch (ast.buffer[pos]) {
8605
8870
  case 0:
@@ -8725,6 +8990,8 @@ class TSAnyKeyword {
8725
8990
 
8726
8991
  const DebugTSAnyKeyword = class TSAnyKeyword {};
8727
8992
 
8993
+ constructors.TSAnyKeyword = TSAnyKeyword;
8994
+
8728
8995
  class TSStringKeyword {
8729
8996
  type = 'TSStringKeyword';
8730
8997
  #internal;
@@ -8765,6 +9032,8 @@ class TSStringKeyword {
8765
9032
 
8766
9033
  const DebugTSStringKeyword = class TSStringKeyword {};
8767
9034
 
9035
+ constructors.TSStringKeyword = TSStringKeyword;
9036
+
8768
9037
  class TSBooleanKeyword {
8769
9038
  type = 'TSBooleanKeyword';
8770
9039
  #internal;
@@ -8805,6 +9074,8 @@ class TSBooleanKeyword {
8805
9074
 
8806
9075
  const DebugTSBooleanKeyword = class TSBooleanKeyword {};
8807
9076
 
9077
+ constructors.TSBooleanKeyword = TSBooleanKeyword;
9078
+
8808
9079
  class TSNumberKeyword {
8809
9080
  type = 'TSNumberKeyword';
8810
9081
  #internal;
@@ -8845,6 +9116,8 @@ class TSNumberKeyword {
8845
9116
 
8846
9117
  const DebugTSNumberKeyword = class TSNumberKeyword {};
8847
9118
 
9119
+ constructors.TSNumberKeyword = TSNumberKeyword;
9120
+
8848
9121
  class TSNeverKeyword {
8849
9122
  type = 'TSNeverKeyword';
8850
9123
  #internal;
@@ -8885,6 +9158,8 @@ class TSNeverKeyword {
8885
9158
 
8886
9159
  const DebugTSNeverKeyword = class TSNeverKeyword {};
8887
9160
 
9161
+ constructors.TSNeverKeyword = TSNeverKeyword;
9162
+
8888
9163
  class TSIntrinsicKeyword {
8889
9164
  type = 'TSIntrinsicKeyword';
8890
9165
  #internal;
@@ -8925,6 +9200,8 @@ class TSIntrinsicKeyword {
8925
9200
 
8926
9201
  const DebugTSIntrinsicKeyword = class TSIntrinsicKeyword {};
8927
9202
 
9203
+ constructors.TSIntrinsicKeyword = TSIntrinsicKeyword;
9204
+
8928
9205
  class TSUnknownKeyword {
8929
9206
  type = 'TSUnknownKeyword';
8930
9207
  #internal;
@@ -8965,6 +9242,8 @@ class TSUnknownKeyword {
8965
9242
 
8966
9243
  const DebugTSUnknownKeyword = class TSUnknownKeyword {};
8967
9244
 
9245
+ constructors.TSUnknownKeyword = TSUnknownKeyword;
9246
+
8968
9247
  class TSNullKeyword {
8969
9248
  type = 'TSNullKeyword';
8970
9249
  #internal;
@@ -9005,6 +9284,8 @@ class TSNullKeyword {
9005
9284
 
9006
9285
  const DebugTSNullKeyword = class TSNullKeyword {};
9007
9286
 
9287
+ constructors.TSNullKeyword = TSNullKeyword;
9288
+
9008
9289
  class TSUndefinedKeyword {
9009
9290
  type = 'TSUndefinedKeyword';
9010
9291
  #internal;
@@ -9045,6 +9326,8 @@ class TSUndefinedKeyword {
9045
9326
 
9046
9327
  const DebugTSUndefinedKeyword = class TSUndefinedKeyword {};
9047
9328
 
9329
+ constructors.TSUndefinedKeyword = TSUndefinedKeyword;
9330
+
9048
9331
  class TSVoidKeyword {
9049
9332
  type = 'TSVoidKeyword';
9050
9333
  #internal;
@@ -9085,6 +9368,8 @@ class TSVoidKeyword {
9085
9368
 
9086
9369
  const DebugTSVoidKeyword = class TSVoidKeyword {};
9087
9370
 
9371
+ constructors.TSVoidKeyword = TSVoidKeyword;
9372
+
9088
9373
  class TSSymbolKeyword {
9089
9374
  type = 'TSSymbolKeyword';
9090
9375
  #internal;
@@ -9125,6 +9410,8 @@ class TSSymbolKeyword {
9125
9410
 
9126
9411
  const DebugTSSymbolKeyword = class TSSymbolKeyword {};
9127
9412
 
9413
+ constructors.TSSymbolKeyword = TSSymbolKeyword;
9414
+
9128
9415
  class TSThisType {
9129
9416
  type = 'TSThisType';
9130
9417
  #internal;
@@ -9165,6 +9452,8 @@ class TSThisType {
9165
9452
 
9166
9453
  const DebugTSThisType = class TSThisType {};
9167
9454
 
9455
+ constructors.TSThisType = TSThisType;
9456
+
9168
9457
  class TSObjectKeyword {
9169
9458
  type = 'TSObjectKeyword';
9170
9459
  #internal;
@@ -9205,6 +9494,8 @@ class TSObjectKeyword {
9205
9494
 
9206
9495
  const DebugTSObjectKeyword = class TSObjectKeyword {};
9207
9496
 
9497
+ constructors.TSObjectKeyword = TSObjectKeyword;
9498
+
9208
9499
  class TSBigIntKeyword {
9209
9500
  type = 'TSBigIntKeyword';
9210
9501
  #internal;
@@ -9245,6 +9536,8 @@ class TSBigIntKeyword {
9245
9536
 
9246
9537
  const DebugTSBigIntKeyword = class TSBigIntKeyword {};
9247
9538
 
9539
+ constructors.TSBigIntKeyword = TSBigIntKeyword;
9540
+
9248
9541
  class TSTypeReference {
9249
9542
  type = 'TSTypeReference';
9250
9543
  #internal;
@@ -9297,6 +9590,8 @@ class TSTypeReference {
9297
9590
 
9298
9591
  const DebugTSTypeReference = class TSTypeReference {};
9299
9592
 
9593
+ constructors.TSTypeReference = TSTypeReference;
9594
+
9300
9595
  function constructTSTypeName(pos, ast) {
9301
9596
  switch (ast.buffer[pos]) {
9302
9597
  case 0:
@@ -9360,6 +9655,8 @@ class TSQualifiedName {
9360
9655
 
9361
9656
  const DebugTSQualifiedName = class TSQualifiedName {};
9362
9657
 
9658
+ constructors.TSQualifiedName = TSQualifiedName;
9659
+
9363
9660
  class TSTypeParameterInstantiation {
9364
9661
  type = 'TSTypeParameterInstantiation';
9365
9662
  #internal;
@@ -9408,6 +9705,8 @@ class TSTypeParameterInstantiation {
9408
9705
 
9409
9706
  const DebugTSTypeParameterInstantiation = class TSTypeParameterInstantiation {};
9410
9707
 
9708
+ constructors.TSTypeParameterInstantiation = TSTypeParameterInstantiation;
9709
+
9411
9710
  class TSTypeParameter {
9412
9711
  type = 'TSTypeParameter';
9413
9712
  #internal;
@@ -9484,6 +9783,8 @@ class TSTypeParameter {
9484
9783
 
9485
9784
  const DebugTSTypeParameter = class TSTypeParameter {};
9486
9785
 
9786
+ constructors.TSTypeParameter = TSTypeParameter;
9787
+
9487
9788
  class TSTypeParameterDeclaration {
9488
9789
  type = 'TSTypeParameterDeclaration';
9489
9790
  #internal;
@@ -9532,6 +9833,8 @@ class TSTypeParameterDeclaration {
9532
9833
 
9533
9834
  const DebugTSTypeParameterDeclaration = class TSTypeParameterDeclaration {};
9534
9835
 
9836
+ constructors.TSTypeParameterDeclaration = TSTypeParameterDeclaration;
9837
+
9535
9838
  class TSTypeAliasDeclaration {
9536
9839
  type = 'TSTypeAliasDeclaration';
9537
9840
  #internal;
@@ -9596,6 +9899,8 @@ class TSTypeAliasDeclaration {
9596
9899
 
9597
9900
  const DebugTSTypeAliasDeclaration = class TSTypeAliasDeclaration {};
9598
9901
 
9902
+ constructors.TSTypeAliasDeclaration = TSTypeAliasDeclaration;
9903
+
9599
9904
  function constructTSAccessibility(pos, ast) {
9600
9905
  switch (ast.buffer[pos]) {
9601
9906
  case 0:
@@ -9661,6 +9966,8 @@ class TSClassImplements {
9661
9966
 
9662
9967
  const DebugTSClassImplements = class TSClassImplements {};
9663
9968
 
9969
+ constructors.TSClassImplements = TSClassImplements;
9970
+
9664
9971
  class TSInterfaceDeclaration {
9665
9972
  type = 'TSInterfaceDeclaration';
9666
9973
  #internal;
@@ -9733,6 +10040,8 @@ class TSInterfaceDeclaration {
9733
10040
 
9734
10041
  const DebugTSInterfaceDeclaration = class TSInterfaceDeclaration {};
9735
10042
 
10043
+ constructors.TSInterfaceDeclaration = TSInterfaceDeclaration;
10044
+
9736
10045
  class TSInterfaceBody {
9737
10046
  type = 'TSInterfaceBody';
9738
10047
  #internal;
@@ -9781,6 +10090,8 @@ class TSInterfaceBody {
9781
10090
 
9782
10091
  const DebugTSInterfaceBody = class TSInterfaceBody {};
9783
10092
 
10093
+ constructors.TSInterfaceBody = TSInterfaceBody;
10094
+
9784
10095
  class TSPropertySignature {
9785
10096
  type = 'TSPropertySignature';
9786
10097
  #internal;
@@ -9851,6 +10162,8 @@ class TSPropertySignature {
9851
10162
 
9852
10163
  const DebugTSPropertySignature = class TSPropertySignature {};
9853
10164
 
10165
+ constructors.TSPropertySignature = TSPropertySignature;
10166
+
9854
10167
  function constructTSSignature(pos, ast) {
9855
10168
  switch (ast.buffer[pos]) {
9856
10169
  case 0:
@@ -9934,6 +10247,8 @@ class TSIndexSignature {
9934
10247
 
9935
10248
  const DebugTSIndexSignature = class TSIndexSignature {};
9936
10249
 
10250
+ constructors.TSIndexSignature = TSIndexSignature;
10251
+
9937
10252
  class TSCallSignatureDeclaration {
9938
10253
  type = 'TSCallSignatureDeclaration';
9939
10254
  #internal;
@@ -9992,6 +10307,8 @@ class TSCallSignatureDeclaration {
9992
10307
 
9993
10308
  const DebugTSCallSignatureDeclaration = class TSCallSignatureDeclaration {};
9994
10309
 
10310
+ constructors.TSCallSignatureDeclaration = TSCallSignatureDeclaration;
10311
+
9995
10312
  function constructTSMethodSignatureKind(pos, ast) {
9996
10313
  switch (ast.buffer[pos]) {
9997
10314
  case 0:
@@ -10087,6 +10404,8 @@ class TSMethodSignature {
10087
10404
 
10088
10405
  const DebugTSMethodSignature = class TSMethodSignature {};
10089
10406
 
10407
+ constructors.TSMethodSignature = TSMethodSignature;
10408
+
10090
10409
  class TSConstructSignatureDeclaration {
10091
10410
  type = 'TSConstructSignatureDeclaration';
10092
10411
  #internal;
@@ -10145,6 +10464,8 @@ class TSConstructSignatureDeclaration {
10145
10464
 
10146
10465
  const DebugTSConstructSignatureDeclaration = class TSConstructSignatureDeclaration {};
10147
10466
 
10467
+ constructors.TSConstructSignatureDeclaration = TSConstructSignatureDeclaration;
10468
+
10148
10469
  class TSIndexSignatureName {
10149
10470
  type = 'TSIndexSignatureName';
10150
10471
  #internal;
@@ -10199,6 +10520,8 @@ class TSIndexSignatureName {
10199
10520
 
10200
10521
  const DebugTSIndexSignatureName = class TSIndexSignatureName {};
10201
10522
 
10523
+ constructors.TSIndexSignatureName = TSIndexSignatureName;
10524
+
10202
10525
  class TSInterfaceHeritage {
10203
10526
  type = 'TSInterfaceHeritage';
10204
10527
  #internal;
@@ -10251,6 +10574,8 @@ class TSInterfaceHeritage {
10251
10574
 
10252
10575
  const DebugTSInterfaceHeritage = class TSInterfaceHeritage {};
10253
10576
 
10577
+ constructors.TSInterfaceHeritage = TSInterfaceHeritage;
10578
+
10254
10579
  class TSTypePredicate {
10255
10580
  type = 'TSTypePredicate';
10256
10581
  #internal;
@@ -10309,6 +10634,8 @@ class TSTypePredicate {
10309
10634
 
10310
10635
  const DebugTSTypePredicate = class TSTypePredicate {};
10311
10636
 
10637
+ constructors.TSTypePredicate = TSTypePredicate;
10638
+
10312
10639
  function constructTSTypePredicateName(pos, ast) {
10313
10640
  switch (ast.buffer[pos]) {
10314
10641
  case 0:
@@ -10384,6 +10711,8 @@ class TSModuleDeclaration {
10384
10711
 
10385
10712
  const DebugTSModuleDeclaration = class TSModuleDeclaration {};
10386
10713
 
10714
+ constructors.TSModuleDeclaration = TSModuleDeclaration;
10715
+
10387
10716
  function constructTSModuleDeclarationKind(pos, ast) {
10388
10717
  switch (ast.buffer[pos]) {
10389
10718
  case 0:
@@ -10467,6 +10796,8 @@ class TSModuleBlock {
10467
10796
 
10468
10797
  const DebugTSModuleBlock = class TSModuleBlock {};
10469
10798
 
10799
+ constructors.TSModuleBlock = TSModuleBlock;
10800
+
10470
10801
  class TSTypeLiteral {
10471
10802
  type = 'TSTypeLiteral';
10472
10803
  #internal;
@@ -10515,6 +10846,8 @@ class TSTypeLiteral {
10515
10846
 
10516
10847
  const DebugTSTypeLiteral = class TSTypeLiteral {};
10517
10848
 
10849
+ constructors.TSTypeLiteral = TSTypeLiteral;
10850
+
10518
10851
  class TSInferType {
10519
10852
  type = 'TSInferType';
10520
10853
  #internal;
@@ -10561,6 +10894,8 @@ class TSInferType {
10561
10894
 
10562
10895
  const DebugTSInferType = class TSInferType {};
10563
10896
 
10897
+ constructors.TSInferType = TSInferType;
10898
+
10564
10899
  class TSTypeQuery {
10565
10900
  type = 'TSTypeQuery';
10566
10901
  #internal;
@@ -10613,6 +10948,8 @@ class TSTypeQuery {
10613
10948
 
10614
10949
  const DebugTSTypeQuery = class TSTypeQuery {};
10615
10950
 
10951
+ constructors.TSTypeQuery = TSTypeQuery;
10952
+
10616
10953
  function constructTSTypeQueryExprName(pos, ast) {
10617
10954
  switch (ast.buffer[pos]) {
10618
10955
  case 0:
@@ -10690,6 +11027,8 @@ class TSImportType {
10690
11027
 
10691
11028
  const DebugTSImportType = class TSImportType {};
10692
11029
 
11030
+ constructors.TSImportType = TSImportType;
11031
+
10693
11032
  class TSFunctionType {
10694
11033
  type = 'TSFunctionType';
10695
11034
  #internal;
@@ -10748,6 +11087,8 @@ class TSFunctionType {
10748
11087
 
10749
11088
  const DebugTSFunctionType = class TSFunctionType {};
10750
11089
 
11090
+ constructors.TSFunctionType = TSFunctionType;
11091
+
10751
11092
  class TSConstructorType {
10752
11093
  type = 'TSConstructorType';
10753
11094
  #internal;
@@ -10812,6 +11153,8 @@ class TSConstructorType {
10812
11153
 
10813
11154
  const DebugTSConstructorType = class TSConstructorType {};
10814
11155
 
11156
+ constructors.TSConstructorType = TSConstructorType;
11157
+
10815
11158
  class TSMappedType {
10816
11159
  type = 'TSMappedType';
10817
11160
  #internal;
@@ -10876,6 +11219,8 @@ class TSMappedType {
10876
11219
 
10877
11220
  const DebugTSMappedType = class TSMappedType {};
10878
11221
 
11222
+ constructors.TSMappedType = TSMappedType;
11223
+
10879
11224
  function constructTSMappedTypeModifierOperator(pos, ast) {
10880
11225
  switch (ast.buffer[pos]) {
10881
11226
  case 0:
@@ -10945,6 +11290,8 @@ class TSTemplateLiteralType {
10945
11290
 
10946
11291
  const DebugTSTemplateLiteralType = class TSTemplateLiteralType {};
10947
11292
 
11293
+ constructors.TSTemplateLiteralType = TSTemplateLiteralType;
11294
+
10948
11295
  class TSAsExpression {
10949
11296
  type = 'TSAsExpression';
10950
11297
  #internal;
@@ -10997,6 +11344,8 @@ class TSAsExpression {
10997
11344
 
10998
11345
  const DebugTSAsExpression = class TSAsExpression {};
10999
11346
 
11347
+ constructors.TSAsExpression = TSAsExpression;
11348
+
11000
11349
  class TSSatisfiesExpression {
11001
11350
  type = 'TSSatisfiesExpression';
11002
11351
  #internal;
@@ -11049,6 +11398,8 @@ class TSSatisfiesExpression {
11049
11398
 
11050
11399
  const DebugTSSatisfiesExpression = class TSSatisfiesExpression {};
11051
11400
 
11401
+ constructors.TSSatisfiesExpression = TSSatisfiesExpression;
11402
+
11052
11403
  class TSTypeAssertion {
11053
11404
  type = 'TSTypeAssertion';
11054
11405
  #internal;
@@ -11101,6 +11452,8 @@ class TSTypeAssertion {
11101
11452
 
11102
11453
  const DebugTSTypeAssertion = class TSTypeAssertion {};
11103
11454
 
11455
+ constructors.TSTypeAssertion = TSTypeAssertion;
11456
+
11104
11457
  class TSImportEqualsDeclaration {
11105
11458
  type = 'TSImportEqualsDeclaration';
11106
11459
  #internal;
@@ -11159,6 +11512,8 @@ class TSImportEqualsDeclaration {
11159
11512
 
11160
11513
  const DebugTSImportEqualsDeclaration = class TSImportEqualsDeclaration {};
11161
11514
 
11515
+ constructors.TSImportEqualsDeclaration = TSImportEqualsDeclaration;
11516
+
11162
11517
  function constructTSModuleReference(pos, ast) {
11163
11518
  switch (ast.buffer[pos]) {
11164
11519
  case 0:
@@ -11218,6 +11573,8 @@ class TSExternalModuleReference {
11218
11573
 
11219
11574
  const DebugTSExternalModuleReference = class TSExternalModuleReference {};
11220
11575
 
11576
+ constructors.TSExternalModuleReference = TSExternalModuleReference;
11577
+
11221
11578
  class TSNonNullExpression {
11222
11579
  type = 'TSNonNullExpression';
11223
11580
  #internal;
@@ -11264,6 +11621,8 @@ class TSNonNullExpression {
11264
11621
 
11265
11622
  const DebugTSNonNullExpression = class TSNonNullExpression {};
11266
11623
 
11624
+ constructors.TSNonNullExpression = TSNonNullExpression;
11625
+
11267
11626
  class Decorator {
11268
11627
  type = 'Decorator';
11269
11628
  #internal;
@@ -11310,6 +11669,8 @@ class Decorator {
11310
11669
 
11311
11670
  const DebugDecorator = class Decorator {};
11312
11671
 
11672
+ constructors.Decorator = Decorator;
11673
+
11313
11674
  class TSExportAssignment {
11314
11675
  type = 'TSExportAssignment';
11315
11676
  #internal;
@@ -11356,6 +11717,8 @@ class TSExportAssignment {
11356
11717
 
11357
11718
  const DebugTSExportAssignment = class TSExportAssignment {};
11358
11719
 
11720
+ constructors.TSExportAssignment = TSExportAssignment;
11721
+
11359
11722
  class TSNamespaceExportDeclaration {
11360
11723
  type = 'TSNamespaceExportDeclaration';
11361
11724
  #internal;
@@ -11402,6 +11765,8 @@ class TSNamespaceExportDeclaration {
11402
11765
 
11403
11766
  const DebugTSNamespaceExportDeclaration = class TSNamespaceExportDeclaration {};
11404
11767
 
11768
+ constructors.TSNamespaceExportDeclaration = TSNamespaceExportDeclaration;
11769
+
11405
11770
  class TSInstantiationExpression {
11406
11771
  type = 'TSInstantiationExpression';
11407
11772
  #internal;
@@ -11454,6 +11819,8 @@ class TSInstantiationExpression {
11454
11819
 
11455
11820
  const DebugTSInstantiationExpression = class TSInstantiationExpression {};
11456
11821
 
11822
+ constructors.TSInstantiationExpression = TSInstantiationExpression;
11823
+
11457
11824
  function constructImportOrExportKind(pos, ast) {
11458
11825
  switch (ast.buffer[pos]) {
11459
11826
  case 0:
@@ -11517,6 +11884,8 @@ class JSDocNullableType {
11517
11884
 
11518
11885
  const DebugJSDocNullableType = class JSDocNullableType {};
11519
11886
 
11887
+ constructors.JSDocNullableType = JSDocNullableType;
11888
+
11520
11889
  class JSDocNonNullableType {
11521
11890
  type = 'JSDocNonNullableType';
11522
11891
  #internal;
@@ -11569,6 +11938,8 @@ class JSDocNonNullableType {
11569
11938
 
11570
11939
  const DebugJSDocNonNullableType = class JSDocNonNullableType {};
11571
11940
 
11941
+ constructors.JSDocNonNullableType = JSDocNonNullableType;
11942
+
11572
11943
  class JSDocUnknownType {
11573
11944
  type = 'JSDocUnknownType';
11574
11945
  #internal;
@@ -11609,6 +11980,8 @@ class JSDocUnknownType {
11609
11980
 
11610
11981
  const DebugJSDocUnknownType = class JSDocUnknownType {};
11611
11982
 
11983
+ constructors.JSDocUnknownType = JSDocUnknownType;
11984
+
11612
11985
  function constructCommentKind(pos, ast) {
11613
11986
  switch (ast.buffer[pos]) {
11614
11987
  case 0:
@@ -11664,6 +12037,8 @@ class Comment {
11664
12037
 
11665
12038
  const DebugComment = class Comment {};
11666
12039
 
12040
+ constructors.Comment = Comment;
12041
+
11667
12042
  class NameSpan {
11668
12043
  #internal;
11669
12044
 
@@ -11710,6 +12085,8 @@ class NameSpan {
11710
12085
 
11711
12086
  const DebugNameSpan = class NameSpan {};
11712
12087
 
12088
+ constructors.NameSpan = NameSpan;
12089
+
11713
12090
  class ImportEntry {
11714
12091
  #internal;
11715
12092
 
@@ -11754,6 +12131,8 @@ class ImportEntry {
11754
12131
 
11755
12132
  const DebugImportEntry = class ImportEntry {};
11756
12133
 
12134
+ constructors.ImportEntry = ImportEntry;
12135
+
11757
12136
  function constructImportImportName(pos, ast) {
11758
12137
  switch (ast.buffer[pos]) {
11759
12138
  case 0:
@@ -11835,6 +12214,8 @@ class ExportEntry {
11835
12214
 
11836
12215
  const DebugExportEntry = class ExportEntry {};
11837
12216
 
12217
+ constructors.ExportEntry = ExportEntry;
12218
+
11838
12219
  function constructExportImportName(pos, ast) {
11839
12220
  switch (ast.buffer[pos]) {
11840
12221
  case 0:
@@ -11920,6 +12301,8 @@ class DynamicImport {
11920
12301
 
11921
12302
  const DebugDynamicImport = class DynamicImport {};
11922
12303
 
12304
+ constructors.DynamicImport = DynamicImport;
12305
+
11923
12306
  function constructAssignmentOperator(pos, ast) {
11924
12307
  switch (ast.buffer[pos]) {
11925
12308
  case 0:
@@ -12093,6 +12476,8 @@ class Span {
12093
12476
 
12094
12477
  const DebugSpan = class Span {};
12095
12478
 
12479
+ constructors.Span = Span;
12480
+
12096
12481
  class SourceType {
12097
12482
  #internal;
12098
12483
 
@@ -12125,6 +12510,8 @@ class SourceType {
12125
12510
 
12126
12511
  const DebugSourceType = class SourceType {};
12127
12512
 
12513
+ constructors.SourceType = SourceType;
12514
+
12128
12515
  function constructModuleKind(pos, ast) {
12129
12516
  switch (ast.buffer[pos]) {
12130
12517
  case 0:
@@ -12191,6 +12578,8 @@ class RawTransferData {
12191
12578
 
12192
12579
  const DebugRawTransferData = class RawTransferData {};
12193
12580
 
12581
+ constructors.RawTransferData = RawTransferData;
12582
+
12194
12583
  class Error {
12195
12584
  #internal;
12196
12585
 
@@ -12255,6 +12644,8 @@ class Error {
12255
12644
 
12256
12645
  const DebugError = class Error {};
12257
12646
 
12647
+ constructors.Error = Error;
12648
+
12258
12649
  function constructErrorSeverity(pos, ast) {
12259
12650
  switch (ast.buffer[pos]) {
12260
12651
  case 0:
@@ -12314,6 +12705,8 @@ class ErrorLabel {
12314
12705
 
12315
12706
  const DebugErrorLabel = class ErrorLabel {};
12316
12707
 
12708
+ constructors.ErrorLabel = ErrorLabel;
12709
+
12317
12710
  class EcmaScriptModule {
12318
12711
  #internal;
12319
12712
 
@@ -12385,6 +12778,8 @@ class EcmaScriptModule {
12385
12778
 
12386
12779
  const DebugEcmaScriptModule = class EcmaScriptModule {};
12387
12780
 
12781
+ constructors.EcmaScriptModule = EcmaScriptModule;
12782
+
12388
12783
  class StaticImport {
12389
12784
  #internal;
12390
12785
 
@@ -12437,6 +12832,8 @@ class StaticImport {
12437
12832
 
12438
12833
  const DebugStaticImport = class StaticImport {};
12439
12834
 
12835
+ constructors.StaticImport = StaticImport;
12836
+
12440
12837
  class StaticExport {
12441
12838
  #internal;
12442
12839
 
@@ -12483,6 +12880,8 @@ class StaticExport {
12483
12880
 
12484
12881
  const DebugStaticExport = class StaticExport {};
12485
12882
 
12883
+ constructors.StaticExport = StaticExport;
12884
+
12486
12885
  function constructStr(pos, ast) {
12487
12886
  const pos32 = pos >> 2,
12488
12887
  { buffer } = ast,