hermes-transform 0.5.0 → 0.6.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.
Files changed (74) hide show
  1. package/LICENSE +1 -1
  2. package/dist/detachedNode.js +25 -49
  3. package/dist/detachedNode.js.flow +3 -3
  4. package/dist/generated/TransformCloneSignatures.js.flow +1761 -9
  5. package/dist/generated/TransformReplaceSignatures.js.flow +936 -774
  6. package/dist/generated/node-types.js +1117 -1132
  7. package/dist/generated/node-types.js.flow +26 -1
  8. package/dist/generated/special-case-node-types.js +106 -85
  9. package/dist/generated/special-case-node-types.js.flow +28 -2
  10. package/dist/getVisitorKeys.js +4 -6
  11. package/dist/getVisitorKeys.js.flow +1 -1
  12. package/dist/index.js +13 -18
  13. package/dist/index.js.flow +7 -2
  14. package/dist/transform/Errors.js +8 -116
  15. package/dist/transform/Errors.js.flow +1 -1
  16. package/dist/transform/MutationContext.js +54 -67
  17. package/dist/transform/MutationContext.js.flow +1 -1
  18. package/dist/transform/TransformContext.js +106 -54
  19. package/dist/transform/TransformContext.js.flow +255 -121
  20. package/dist/transform/comments/comments.js +25 -25
  21. package/dist/transform/comments/comments.js.flow +1 -1
  22. package/dist/transform/comments/prettier/common/util.js +46 -47
  23. package/dist/transform/comments/prettier/common/util.js.flow +1 -1
  24. package/dist/transform/comments/prettier/language-js/comments.js +199 -216
  25. package/dist/transform/comments/prettier/language-js/comments.js.flow +1 -1
  26. package/dist/transform/comments/prettier/language-js/loc.js +10 -9
  27. package/dist/transform/comments/prettier/language-js/loc.js.flow +1 -1
  28. package/dist/transform/comments/prettier/language-js/printer-estree.js +7 -6
  29. package/dist/transform/comments/prettier/language-js/printer-estree.js.flow +1 -1
  30. package/dist/transform/comments/prettier/language-js/utils.js +18 -30
  31. package/dist/transform/comments/prettier/language-js/utils.js.flow +1 -1
  32. package/dist/transform/comments/prettier/main/comments.js +225 -298
  33. package/dist/transform/comments/prettier/main/comments.js.flow +1 -1
  34. package/dist/transform/comments/prettier/utils/get-last.js +2 -4
  35. package/dist/transform/comments/prettier/utils/get-last.js.flow +1 -1
  36. package/dist/transform/getTransformedAST.js +85 -101
  37. package/dist/transform/getTransformedAST.js.flow +7 -2
  38. package/dist/transform/mutations/AddLeadingComments.js +15 -22
  39. package/dist/transform/mutations/AddLeadingComments.js.flow +1 -1
  40. package/dist/transform/mutations/AddTrailingComments.js +15 -22
  41. package/dist/transform/mutations/AddTrailingComments.js.flow +1 -1
  42. package/dist/transform/mutations/CloneCommentsTo.js +16 -23
  43. package/dist/transform/mutations/CloneCommentsTo.js.flow +1 -1
  44. package/dist/transform/mutations/InsertStatement.js +27 -30
  45. package/dist/transform/mutations/InsertStatement.js.flow +1 -1
  46. package/dist/transform/mutations/RemoveComment.js +25 -43
  47. package/dist/transform/mutations/RemoveComment.js.flow +1 -1
  48. package/dist/transform/mutations/RemoveNode.js +185 -0
  49. package/dist/transform/mutations/RemoveNode.js.flow +279 -0
  50. package/dist/transform/mutations/RemoveStatement.js +7 -9
  51. package/dist/transform/mutations/RemoveStatement.js.flow +1 -1
  52. package/dist/transform/mutations/ReplaceNode.js +36 -44
  53. package/dist/transform/mutations/ReplaceNode.js.flow +1 -1
  54. package/dist/transform/mutations/ReplaceStatementWithMany.js +11 -13
  55. package/dist/transform/mutations/ReplaceStatementWithMany.js.flow +1 -1
  56. package/dist/transform/mutations/utils/arrayUtils.js +2 -14
  57. package/dist/transform/mutations/utils/arrayUtils.js.flow +1 -1
  58. package/dist/transform/mutations/utils/getStatementParent.js +23 -28
  59. package/dist/transform/mutations/utils/getStatementParent.js.flow +2 -2
  60. package/dist/transform/mutations/utils/isValidModuleDeclarationParent.js +7 -24
  61. package/dist/transform/mutations/utils/isValidModuleDeclarationParent.js.flow +1 -1
  62. package/dist/transform/transform.js +20 -24
  63. package/dist/transform/transform.js.flow +12 -8
  64. package/dist/traverse/NodeEventGenerator.js +91 -165
  65. package/dist/traverse/NodeEventGenerator.js.flow +1 -1
  66. package/dist/traverse/SafeEmitter.js +20 -38
  67. package/dist/traverse/SafeEmitter.js.flow +1 -1
  68. package/dist/traverse/SimpleTraverser.js +67 -98
  69. package/dist/traverse/SimpleTraverser.js.flow +4 -1
  70. package/dist/traverse/esquery.js +6 -6
  71. package/dist/traverse/esquery.js.flow +1 -1
  72. package/dist/traverse/traverse.js +39 -51
  73. package/dist/traverse/traverse.js.flow +1 -1
  74. package/package.json +4 -3
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright (c) Facebook, Inc. and its affiliates.
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
3
  *
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -7,6 +7,11 @@
7
7
  *
8
8
  * @format
9
9
  */
10
+ // lint directives to let us do some basic validation of generated files
11
+
12
+ /* eslint no-undef: 'error', no-unused-vars: ['error', {vars: "local"}], no-redeclare: 'error' */
13
+
14
+ /* global $NonMaybeType, $Partial, $ReadOnly, $ReadOnlyArray */
10
15
  'use strict';
11
16
 
12
17
  Object.defineProperty(exports, "__esModule", {
@@ -20,6 +25,7 @@ var _exportNames = {
20
25
  AssignmentExpression: true,
21
26
  AssignmentPattern: true,
22
27
  AwaitExpression: true,
28
+ BigIntLiteralTypeAnnotation: true,
23
29
  BinaryExpression: true,
24
30
  BlockStatement: true,
25
31
  BooleanLiteralTypeAnnotation: true,
@@ -170,6 +176,7 @@ exports.ArrayTypeAnnotation = ArrayTypeAnnotation;
170
176
  exports.AssignmentExpression = AssignmentExpression;
171
177
  exports.AssignmentPattern = AssignmentPattern;
172
178
  exports.AwaitExpression = AwaitExpression;
179
+ exports.BigIntLiteralTypeAnnotation = BigIntLiteralTypeAnnotation;
173
180
  exports.BinaryExpression = BinaryExpression;
174
181
  exports.BlockStatement = BlockStatement;
175
182
  exports.BooleanLiteralTypeAnnotation = BooleanLiteralTypeAnnotation;
@@ -321,1751 +328,1729 @@ Object.keys(_specialCaseNodeTypes).forEach(function (key) {
321
328
  if (key === "default" || key === "__esModule") return;
322
329
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
323
330
  if (key in exports && exports[key] === _specialCaseNodeTypes[key]) return;
324
- Object.defineProperty(exports, key, {
325
- enumerable: true,
326
- get: function get() {
327
- return _specialCaseNodeTypes[key];
328
- }
329
- });
331
+ exports[key] = _specialCaseNodeTypes[key];
330
332
  });
331
- var _excluded = ["parent"],
332
- _excluded2 = ["parent"],
333
- _excluded3 = ["parent"],
334
- _excluded4 = ["parent"],
335
- _excluded5 = ["parent"],
336
- _excluded6 = ["parent"],
337
- _excluded7 = ["parent"],
338
- _excluded8 = ["parent"],
339
- _excluded9 = ["parent"],
340
- _excluded10 = ["parent"],
341
- _excluded11 = ["parent"],
342
- _excluded12 = ["parent"],
343
- _excluded13 = ["parent"],
344
- _excluded14 = ["parent"],
345
- _excluded15 = ["parent"],
346
- _excluded16 = ["parent"],
347
- _excluded17 = ["parent"],
348
- _excluded18 = ["parent"],
349
- _excluded19 = ["parent"],
350
- _excluded20 = ["parent"],
351
- _excluded21 = ["parent"],
352
- _excluded22 = ["parent"],
353
- _excluded23 = ["parent"],
354
- _excluded24 = ["parent"],
355
- _excluded25 = ["parent"],
356
- _excluded26 = ["parent"],
357
- _excluded27 = ["parent"],
358
- _excluded28 = ["parent"],
359
- _excluded29 = ["parent"],
360
- _excluded30 = ["parent"],
361
- _excluded31 = ["parent"],
362
- _excluded32 = ["parent"],
363
- _excluded33 = ["parent"],
364
- _excluded34 = ["parent"],
365
- _excluded35 = ["parent"],
366
- _excluded36 = ["parent"],
367
- _excluded37 = ["parent"],
368
- _excluded38 = ["parent"],
369
- _excluded39 = ["parent"],
370
- _excluded40 = ["parent"],
371
- _excluded41 = ["parent"],
372
- _excluded42 = ["parent"],
373
- _excluded43 = ["parent"],
374
- _excluded44 = ["parent"],
375
- _excluded45 = ["parent"],
376
- _excluded46 = ["parent"],
377
- _excluded47 = ["parent"],
378
- _excluded48 = ["parent"],
379
- _excluded49 = ["parent"],
380
- _excluded50 = ["parent"],
381
- _excluded51 = ["parent"],
382
- _excluded52 = ["parent"],
383
- _excluded53 = ["parent"],
384
- _excluded54 = ["parent"],
385
- _excluded55 = ["parent"],
386
- _excluded56 = ["parent"],
387
- _excluded57 = ["parent"],
388
- _excluded58 = ["parent"],
389
- _excluded59 = ["parent"],
390
- _excluded60 = ["parent"],
391
- _excluded61 = ["parent"],
392
- _excluded62 = ["parent"],
393
- _excluded63 = ["parent"],
394
- _excluded64 = ["parent"],
395
- _excluded65 = ["parent"],
396
- _excluded66 = ["parent"],
397
- _excluded67 = ["parent"],
398
- _excluded68 = ["parent"],
399
- _excluded69 = ["parent"],
400
- _excluded70 = ["parent"],
401
- _excluded71 = ["parent"],
402
- _excluded72 = ["parent"],
403
- _excluded73 = ["parent"],
404
- _excluded74 = ["parent"],
405
- _excluded75 = ["parent"],
406
- _excluded76 = ["parent"],
407
- _excluded77 = ["parent"],
408
- _excluded78 = ["parent"],
409
- _excluded79 = ["parent"],
410
- _excluded80 = ["parent"],
411
- _excluded81 = ["parent"],
412
- _excluded82 = ["parent"],
413
- _excluded83 = ["parent"],
414
- _excluded84 = ["parent"],
415
- _excluded85 = ["parent"],
416
- _excluded86 = ["parent"],
417
- _excluded87 = ["parent"],
418
- _excluded88 = ["parent"],
419
- _excluded89 = ["parent"],
420
- _excluded90 = ["parent"],
421
- _excluded91 = ["parent"],
422
- _excluded92 = ["parent"],
423
- _excluded93 = ["parent"],
424
- _excluded94 = ["parent"],
425
- _excluded95 = ["parent"],
426
- _excluded96 = ["parent"],
427
- _excluded97 = ["parent"],
428
- _excluded98 = ["parent"],
429
- _excluded99 = ["parent"],
430
- _excluded100 = ["parent"],
431
- _excluded101 = ["parent"],
432
- _excluded102 = ["parent"],
433
- _excluded103 = ["parent"],
434
- _excluded104 = ["parent"],
435
- _excluded105 = ["parent"],
436
- _excluded106 = ["parent"],
437
- _excluded107 = ["parent"],
438
- _excluded108 = ["parent"],
439
- _excluded109 = ["parent"],
440
- _excluded110 = ["parent"],
441
- _excluded111 = ["parent"],
442
- _excluded112 = ["parent"],
443
- _excluded113 = ["parent"],
444
- _excluded114 = ["parent"],
445
- _excluded115 = ["parent"],
446
- _excluded116 = ["parent"],
447
- _excluded117 = ["parent"],
448
- _excluded118 = ["parent"],
449
- _excluded119 = ["parent"],
450
- _excluded120 = ["parent"],
451
- _excluded121 = ["parent"],
452
- _excluded122 = ["parent"],
453
- _excluded123 = ["parent"],
454
- _excluded124 = ["parent"],
455
- _excluded125 = ["parent"],
456
- _excluded126 = ["parent"],
457
- _excluded127 = ["parent"],
458
- _excluded128 = ["parent"],
459
- _excluded129 = ["parent"],
460
- _excluded130 = ["parent"];
461
-
462
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
463
-
464
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
465
-
466
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
467
-
468
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
469
-
470
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
471
-
472
- function AnyTypeAnnotation() {
473
- var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
474
- parent = _ref.parent;
475
333
 
334
+ function AnyTypeAnnotation({
335
+ parent
336
+ } = {}) {
476
337
  return (0, _detachedNode.detachedProps)(parent, {
477
338
  type: 'AnyTypeAnnotation'
478
339
  });
479
340
  }
480
341
 
481
- function ArrayExpression(_ref2) {
482
- var parent = _ref2.parent,
483
- props = _objectWithoutProperties(_ref2, _excluded);
484
-
485
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
486
- type: 'ArrayExpression'
487
- }, props));
342
+ function ArrayExpression({
343
+ parent,
344
+ ...props
345
+ }) {
346
+ const node = (0, _detachedNode.detachedProps)(parent, {
347
+ type: 'ArrayExpression',
348
+ ...props
349
+ });
488
350
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
489
351
  return node;
490
352
  }
491
353
 
492
- function ArrayPattern(_ref3) {
493
- var parent = _ref3.parent,
494
- props = _objectWithoutProperties(_ref3, _excluded2);
495
-
496
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
497
- type: 'ArrayPattern'
498
- }, props));
354
+ function ArrayPattern({
355
+ parent,
356
+ ...props
357
+ }) {
358
+ const node = (0, _detachedNode.detachedProps)(parent, {
359
+ type: 'ArrayPattern',
360
+ ...props
361
+ });
499
362
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
500
363
  return node;
501
364
  }
502
365
 
503
- function ArrayTypeAnnotation(_ref4) {
504
- var parent = _ref4.parent,
505
- props = _objectWithoutProperties(_ref4, _excluded3);
506
-
507
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
508
- type: 'ArrayTypeAnnotation'
509
- }, props));
366
+ function ArrayTypeAnnotation({
367
+ parent,
368
+ ...props
369
+ }) {
370
+ const node = (0, _detachedNode.detachedProps)(parent, {
371
+ type: 'ArrayTypeAnnotation',
372
+ ...props
373
+ });
510
374
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
511
375
  return node;
512
376
  }
513
377
 
514
- function AssignmentExpression(_ref5) {
515
- var parent = _ref5.parent,
516
- props = _objectWithoutProperties(_ref5, _excluded4);
517
-
518
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
519
- type: 'AssignmentExpression'
520
- }, props));
378
+ function AssignmentExpression({
379
+ parent,
380
+ ...props
381
+ }) {
382
+ const node = (0, _detachedNode.detachedProps)(parent, {
383
+ type: 'AssignmentExpression',
384
+ ...props
385
+ });
521
386
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
522
387
  return node;
523
388
  }
524
389
 
525
- function AssignmentPattern(_ref6) {
526
- var parent = _ref6.parent,
527
- props = _objectWithoutProperties(_ref6, _excluded5);
528
-
529
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
530
- type: 'AssignmentPattern'
531
- }, props));
390
+ function AssignmentPattern({
391
+ parent,
392
+ ...props
393
+ }) {
394
+ const node = (0, _detachedNode.detachedProps)(parent, {
395
+ type: 'AssignmentPattern',
396
+ ...props
397
+ });
532
398
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
533
399
  return node;
534
400
  }
535
401
 
536
- function AwaitExpression(_ref7) {
537
- var parent = _ref7.parent,
538
- props = _objectWithoutProperties(_ref7, _excluded6);
539
-
540
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
541
- type: 'AwaitExpression'
542
- }, props));
402
+ function AwaitExpression({
403
+ parent,
404
+ ...props
405
+ }) {
406
+ const node = (0, _detachedNode.detachedProps)(parent, {
407
+ type: 'AwaitExpression',
408
+ ...props
409
+ });
543
410
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
544
411
  return node;
545
412
  }
546
413
 
547
- function BinaryExpression(_ref8) {
548
- var parent = _ref8.parent,
549
- props = _objectWithoutProperties(_ref8, _excluded7);
550
-
551
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
552
- type: 'BinaryExpression'
553
- }, props));
414
+ function BigIntLiteralTypeAnnotation({
415
+ parent,
416
+ ...props
417
+ }) {
418
+ const node = (0, _detachedNode.detachedProps)(parent, {
419
+ type: 'BigIntLiteralTypeAnnotation',
420
+ ...props
421
+ });
554
422
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
555
423
  return node;
556
424
  }
557
425
 
558
- function BlockStatement(_ref9) {
559
- var parent = _ref9.parent,
560
- props = _objectWithoutProperties(_ref9, _excluded8);
561
-
562
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
563
- type: 'BlockStatement'
564
- }, props));
426
+ function BinaryExpression({
427
+ parent,
428
+ ...props
429
+ }) {
430
+ const node = (0, _detachedNode.detachedProps)(parent, {
431
+ type: 'BinaryExpression',
432
+ ...props
433
+ });
565
434
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
566
435
  return node;
567
436
  }
568
437
 
569
- function BooleanLiteralTypeAnnotation(_ref10) {
570
- var parent = _ref10.parent,
571
- props = _objectWithoutProperties(_ref10, _excluded9);
572
-
573
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
574
- type: 'BooleanLiteralTypeAnnotation'
575
- }, props));
438
+ function BlockStatement({
439
+ parent,
440
+ ...props
441
+ }) {
442
+ const node = (0, _detachedNode.detachedProps)(parent, {
443
+ type: 'BlockStatement',
444
+ ...props
445
+ });
576
446
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
577
447
  return node;
578
448
  }
579
449
 
580
- function BooleanTypeAnnotation() {
581
- var _ref11 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
582
- parent = _ref11.parent;
450
+ function BooleanLiteralTypeAnnotation({
451
+ parent,
452
+ ...props
453
+ }) {
454
+ const node = (0, _detachedNode.detachedProps)(parent, {
455
+ type: 'BooleanLiteralTypeAnnotation',
456
+ ...props
457
+ });
458
+ (0, _detachedNode.setParentPointersInDirectChildren)(node);
459
+ return node;
460
+ }
583
461
 
462
+ function BooleanTypeAnnotation({
463
+ parent
464
+ } = {}) {
584
465
  return (0, _detachedNode.detachedProps)(parent, {
585
466
  type: 'BooleanTypeAnnotation'
586
467
  });
587
468
  }
588
469
 
589
- function BreakStatement(_ref12) {
590
- var parent = _ref12.parent,
591
- props = _objectWithoutProperties(_ref12, _excluded10);
592
-
593
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
594
- type: 'BreakStatement'
595
- }, props));
470
+ function BreakStatement({
471
+ parent,
472
+ ...props
473
+ }) {
474
+ const node = (0, _detachedNode.detachedProps)(parent, {
475
+ type: 'BreakStatement',
476
+ ...props
477
+ });
596
478
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
597
479
  return node;
598
480
  }
599
481
 
600
- function CallExpression(_ref13) {
601
- var parent = _ref13.parent,
602
- props = _objectWithoutProperties(_ref13, _excluded11);
603
-
604
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
605
- type: 'CallExpression'
606
- }, props));
482
+ function CallExpression({
483
+ parent,
484
+ ...props
485
+ }) {
486
+ const node = (0, _detachedNode.detachedProps)(parent, {
487
+ type: 'CallExpression',
488
+ ...props
489
+ });
607
490
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
608
491
  return node;
609
492
  }
610
493
 
611
- function CatchClause(_ref14) {
612
- var parent = _ref14.parent,
613
- props = _objectWithoutProperties(_ref14, _excluded12);
614
-
615
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
616
- type: 'CatchClause'
617
- }, props));
494
+ function CatchClause({
495
+ parent,
496
+ ...props
497
+ }) {
498
+ const node = (0, _detachedNode.detachedProps)(parent, {
499
+ type: 'CatchClause',
500
+ ...props
501
+ });
618
502
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
619
503
  return node;
620
504
  }
621
505
 
622
- function ClassBody(_ref15) {
623
- var parent = _ref15.parent,
624
- props = _objectWithoutProperties(_ref15, _excluded13);
625
-
626
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
627
- type: 'ClassBody'
628
- }, props));
506
+ function ClassBody({
507
+ parent,
508
+ ...props
509
+ }) {
510
+ const node = (0, _detachedNode.detachedProps)(parent, {
511
+ type: 'ClassBody',
512
+ ...props
513
+ });
629
514
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
630
515
  return node;
631
516
  }
632
517
 
633
- function ClassDeclaration(_ref16) {
634
- var parent = _ref16.parent,
635
- props = _objectWithoutProperties(_ref16, _excluded14);
636
-
637
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
638
- type: 'ClassDeclaration'
639
- }, props));
518
+ function ClassDeclaration({
519
+ parent,
520
+ ...props
521
+ }) {
522
+ const node = (0, _detachedNode.detachedProps)(parent, {
523
+ type: 'ClassDeclaration',
524
+ ...props
525
+ });
640
526
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
641
527
  return node;
642
528
  }
643
529
 
644
- function ClassExpression(_ref17) {
645
- var parent = _ref17.parent,
646
- props = _objectWithoutProperties(_ref17, _excluded15);
647
-
648
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
649
- type: 'ClassExpression'
650
- }, props));
530
+ function ClassExpression({
531
+ parent,
532
+ ...props
533
+ }) {
534
+ const node = (0, _detachedNode.detachedProps)(parent, {
535
+ type: 'ClassExpression',
536
+ ...props
537
+ });
651
538
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
652
539
  return node;
653
540
  }
654
541
 
655
- function ClassImplements(_ref18) {
656
- var parent = _ref18.parent,
657
- props = _objectWithoutProperties(_ref18, _excluded16);
658
-
659
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
660
- type: 'ClassImplements'
661
- }, props));
542
+ function ClassImplements({
543
+ parent,
544
+ ...props
545
+ }) {
546
+ const node = (0, _detachedNode.detachedProps)(parent, {
547
+ type: 'ClassImplements',
548
+ ...props
549
+ });
662
550
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
663
551
  return node;
664
552
  }
665
553
 
666
- function ClassPrivateProperty(_ref19) {
667
- var parent = _ref19.parent,
668
- props = _objectWithoutProperties(_ref19, _excluded17);
669
-
670
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
671
- type: 'ClassPrivateProperty'
672
- }, props));
554
+ function ClassPrivateProperty({
555
+ parent,
556
+ ...props
557
+ }) {
558
+ const node = (0, _detachedNode.detachedProps)(parent, {
559
+ type: 'ClassPrivateProperty',
560
+ ...props
561
+ });
673
562
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
674
563
  return node;
675
564
  }
676
565
 
677
- function ClassProperty(_ref20) {
678
- var parent = _ref20.parent,
679
- props = _objectWithoutProperties(_ref20, _excluded18);
680
-
681
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
682
- type: 'ClassProperty'
683
- }, props));
566
+ function ClassProperty({
567
+ parent,
568
+ ...props
569
+ }) {
570
+ const node = (0, _detachedNode.detachedProps)(parent, {
571
+ type: 'ClassProperty',
572
+ ...props
573
+ });
684
574
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
685
575
  return node;
686
576
  }
687
577
 
688
- function ConditionalExpression(_ref21) {
689
- var parent = _ref21.parent,
690
- props = _objectWithoutProperties(_ref21, _excluded19);
691
-
692
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
693
- type: 'ConditionalExpression'
694
- }, props));
578
+ function ConditionalExpression({
579
+ parent,
580
+ ...props
581
+ }) {
582
+ const node = (0, _detachedNode.detachedProps)(parent, {
583
+ type: 'ConditionalExpression',
584
+ ...props
585
+ });
695
586
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
696
587
  return node;
697
588
  }
698
589
 
699
- function ContinueStatement(_ref22) {
700
- var parent = _ref22.parent,
701
- props = _objectWithoutProperties(_ref22, _excluded20);
702
-
703
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
704
- type: 'ContinueStatement'
705
- }, props));
590
+ function ContinueStatement({
591
+ parent,
592
+ ...props
593
+ }) {
594
+ const node = (0, _detachedNode.detachedProps)(parent, {
595
+ type: 'ContinueStatement',
596
+ ...props
597
+ });
706
598
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
707
599
  return node;
708
600
  }
709
601
 
710
- function DebuggerStatement() {
711
- var _ref23 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
712
- parent = _ref23.parent;
713
-
602
+ function DebuggerStatement({
603
+ parent
604
+ } = {}) {
714
605
  return (0, _detachedNode.detachedProps)(parent, {
715
606
  type: 'DebuggerStatement'
716
607
  });
717
608
  }
718
609
 
719
- function DeclareClass(_ref24) {
720
- var parent = _ref24.parent,
721
- props = _objectWithoutProperties(_ref24, _excluded21);
722
-
723
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
724
- type: 'DeclareClass'
725
- }, props));
610
+ function DeclareClass({
611
+ parent,
612
+ ...props
613
+ }) {
614
+ const node = (0, _detachedNode.detachedProps)(parent, {
615
+ type: 'DeclareClass',
616
+ ...props
617
+ });
726
618
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
727
619
  return node;
728
620
  }
729
621
 
730
- function DeclaredPredicate(_ref25) {
731
- var parent = _ref25.parent,
732
- props = _objectWithoutProperties(_ref25, _excluded22);
733
-
734
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
735
- type: 'DeclaredPredicate'
736
- }, props));
622
+ function DeclaredPredicate({
623
+ parent,
624
+ ...props
625
+ }) {
626
+ const node = (0, _detachedNode.detachedProps)(parent, {
627
+ type: 'DeclaredPredicate',
628
+ ...props
629
+ });
737
630
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
738
631
  return node;
739
632
  }
740
633
 
741
- function DeclareExportAllDeclaration(_ref26) {
742
- var parent = _ref26.parent,
743
- props = _objectWithoutProperties(_ref26, _excluded23);
744
-
745
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
746
- type: 'DeclareExportAllDeclaration'
747
- }, props));
634
+ function DeclareExportAllDeclaration({
635
+ parent,
636
+ ...props
637
+ }) {
638
+ const node = (0, _detachedNode.detachedProps)(parent, {
639
+ type: 'DeclareExportAllDeclaration',
640
+ ...props
641
+ });
748
642
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
749
643
  return node;
750
644
  }
751
645
 
752
- function DeclareExportDeclaration(_ref27) {
753
- var parent = _ref27.parent,
754
- props = _objectWithoutProperties(_ref27, _excluded24);
755
-
756
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
757
- type: 'DeclareExportDeclaration'
758
- }, props));
646
+ function DeclareExportDeclaration({
647
+ parent,
648
+ ...props
649
+ }) {
650
+ const node = (0, _detachedNode.detachedProps)(parent, {
651
+ type: 'DeclareExportDeclaration',
652
+ ...props
653
+ });
759
654
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
760
655
  return node;
761
656
  }
762
657
 
763
- function DeclareFunction(_ref28) {
764
- var parent = _ref28.parent,
765
- props = _objectWithoutProperties(_ref28, _excluded25);
766
-
767
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
768
- type: 'DeclareFunction'
769
- }, props));
658
+ function DeclareFunction({
659
+ parent,
660
+ ...props
661
+ }) {
662
+ const node = (0, _detachedNode.detachedProps)(parent, {
663
+ type: 'DeclareFunction',
664
+ ...props
665
+ });
770
666
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
771
667
  return node;
772
668
  }
773
669
 
774
- function DeclareInterface(_ref29) {
775
- var parent = _ref29.parent,
776
- props = _objectWithoutProperties(_ref29, _excluded26);
777
-
778
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
779
- type: 'DeclareInterface'
780
- }, props));
670
+ function DeclareInterface({
671
+ parent,
672
+ ...props
673
+ }) {
674
+ const node = (0, _detachedNode.detachedProps)(parent, {
675
+ type: 'DeclareInterface',
676
+ ...props
677
+ });
781
678
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
782
679
  return node;
783
680
  }
784
681
 
785
- function DeclareModule(_ref30) {
786
- var parent = _ref30.parent,
787
- props = _objectWithoutProperties(_ref30, _excluded27);
788
-
789
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
790
- type: 'DeclareModule'
791
- }, props));
682
+ function DeclareModule({
683
+ parent,
684
+ ...props
685
+ }) {
686
+ const node = (0, _detachedNode.detachedProps)(parent, {
687
+ type: 'DeclareModule',
688
+ ...props
689
+ });
792
690
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
793
691
  return node;
794
692
  }
795
693
 
796
- function DeclareModuleExports(_ref31) {
797
- var parent = _ref31.parent,
798
- props = _objectWithoutProperties(_ref31, _excluded28);
799
-
800
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
801
- type: 'DeclareModuleExports'
802
- }, props));
694
+ function DeclareModuleExports({
695
+ parent,
696
+ ...props
697
+ }) {
698
+ const node = (0, _detachedNode.detachedProps)(parent, {
699
+ type: 'DeclareModuleExports',
700
+ ...props
701
+ });
803
702
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
804
703
  return node;
805
704
  }
806
705
 
807
- function DeclareOpaqueType(_ref32) {
808
- var parent = _ref32.parent,
809
- props = _objectWithoutProperties(_ref32, _excluded29);
810
-
811
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
812
- type: 'DeclareOpaqueType'
813
- }, props));
706
+ function DeclareOpaqueType({
707
+ parent,
708
+ ...props
709
+ }) {
710
+ const node = (0, _detachedNode.detachedProps)(parent, {
711
+ type: 'DeclareOpaqueType',
712
+ ...props
713
+ });
814
714
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
815
715
  return node;
816
716
  }
817
717
 
818
- function DeclareTypeAlias(_ref33) {
819
- var parent = _ref33.parent,
820
- props = _objectWithoutProperties(_ref33, _excluded30);
821
-
822
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
823
- type: 'DeclareTypeAlias'
824
- }, props));
718
+ function DeclareTypeAlias({
719
+ parent,
720
+ ...props
721
+ }) {
722
+ const node = (0, _detachedNode.detachedProps)(parent, {
723
+ type: 'DeclareTypeAlias',
724
+ ...props
725
+ });
825
726
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
826
727
  return node;
827
728
  }
828
729
 
829
- function DeclareVariable(_ref34) {
830
- var parent = _ref34.parent,
831
- props = _objectWithoutProperties(_ref34, _excluded31);
832
-
833
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
834
- type: 'DeclareVariable'
835
- }, props));
730
+ function DeclareVariable({
731
+ parent,
732
+ ...props
733
+ }) {
734
+ const node = (0, _detachedNode.detachedProps)(parent, {
735
+ type: 'DeclareVariable',
736
+ ...props
737
+ });
836
738
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
837
739
  return node;
838
740
  }
839
741
 
840
- function DoWhileStatement(_ref35) {
841
- var parent = _ref35.parent,
842
- props = _objectWithoutProperties(_ref35, _excluded32);
843
-
844
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
845
- type: 'DoWhileStatement'
846
- }, props));
742
+ function DoWhileStatement({
743
+ parent,
744
+ ...props
745
+ }) {
746
+ const node = (0, _detachedNode.detachedProps)(parent, {
747
+ type: 'DoWhileStatement',
748
+ ...props
749
+ });
847
750
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
848
751
  return node;
849
752
  }
850
753
 
851
- function EmptyStatement() {
852
- var _ref36 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
853
- parent = _ref36.parent;
854
-
754
+ function EmptyStatement({
755
+ parent
756
+ } = {}) {
855
757
  return (0, _detachedNode.detachedProps)(parent, {
856
758
  type: 'EmptyStatement'
857
759
  });
858
760
  }
859
761
 
860
- function EmptyTypeAnnotation() {
861
- var _ref37 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
862
- parent = _ref37.parent;
863
-
762
+ function EmptyTypeAnnotation({
763
+ parent
764
+ } = {}) {
864
765
  return (0, _detachedNode.detachedProps)(parent, {
865
766
  type: 'EmptyTypeAnnotation'
866
767
  });
867
768
  }
868
769
 
869
- function EnumBooleanBody(_ref38) {
870
- var parent = _ref38.parent,
871
- props = _objectWithoutProperties(_ref38, _excluded33);
872
-
873
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
874
- type: 'EnumBooleanBody'
875
- }, props));
770
+ function EnumBooleanBody({
771
+ parent,
772
+ ...props
773
+ }) {
774
+ const node = (0, _detachedNode.detachedProps)(parent, {
775
+ type: 'EnumBooleanBody',
776
+ ...props
777
+ });
876
778
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
877
779
  return node;
878
780
  }
879
781
 
880
- function EnumBooleanMember(_ref39) {
881
- var parent = _ref39.parent,
882
- props = _objectWithoutProperties(_ref39, _excluded34);
883
-
884
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
885
- type: 'EnumBooleanMember'
886
- }, props));
782
+ function EnumBooleanMember({
783
+ parent,
784
+ ...props
785
+ }) {
786
+ const node = (0, _detachedNode.detachedProps)(parent, {
787
+ type: 'EnumBooleanMember',
788
+ ...props
789
+ });
887
790
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
888
791
  return node;
889
792
  }
890
793
 
891
- function EnumDeclaration(_ref40) {
892
- var parent = _ref40.parent,
893
- props = _objectWithoutProperties(_ref40, _excluded35);
894
-
895
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
896
- type: 'EnumDeclaration'
897
- }, props));
794
+ function EnumDeclaration({
795
+ parent,
796
+ ...props
797
+ }) {
798
+ const node = (0, _detachedNode.detachedProps)(parent, {
799
+ type: 'EnumDeclaration',
800
+ ...props
801
+ });
898
802
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
899
803
  return node;
900
804
  }
901
805
 
902
- function EnumDefaultedMember(_ref41) {
903
- var parent = _ref41.parent,
904
- props = _objectWithoutProperties(_ref41, _excluded36);
905
-
906
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
907
- type: 'EnumDefaultedMember'
908
- }, props));
806
+ function EnumDefaultedMember({
807
+ parent,
808
+ ...props
809
+ }) {
810
+ const node = (0, _detachedNode.detachedProps)(parent, {
811
+ type: 'EnumDefaultedMember',
812
+ ...props
813
+ });
909
814
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
910
815
  return node;
911
816
  }
912
817
 
913
- function EnumNumberBody(_ref42) {
914
- var parent = _ref42.parent,
915
- props = _objectWithoutProperties(_ref42, _excluded37);
916
-
917
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
918
- type: 'EnumNumberBody'
919
- }, props));
818
+ function EnumNumberBody({
819
+ parent,
820
+ ...props
821
+ }) {
822
+ const node = (0, _detachedNode.detachedProps)(parent, {
823
+ type: 'EnumNumberBody',
824
+ ...props
825
+ });
920
826
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
921
827
  return node;
922
828
  }
923
829
 
924
- function EnumNumberMember(_ref43) {
925
- var parent = _ref43.parent,
926
- props = _objectWithoutProperties(_ref43, _excluded38);
927
-
928
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
929
- type: 'EnumNumberMember'
930
- }, props));
830
+ function EnumNumberMember({
831
+ parent,
832
+ ...props
833
+ }) {
834
+ const node = (0, _detachedNode.detachedProps)(parent, {
835
+ type: 'EnumNumberMember',
836
+ ...props
837
+ });
931
838
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
932
839
  return node;
933
840
  }
934
841
 
935
- function EnumStringBody(_ref44) {
936
- var parent = _ref44.parent,
937
- props = _objectWithoutProperties(_ref44, _excluded39);
938
-
939
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
940
- type: 'EnumStringBody'
941
- }, props));
842
+ function EnumStringBody({
843
+ parent,
844
+ ...props
845
+ }) {
846
+ const node = (0, _detachedNode.detachedProps)(parent, {
847
+ type: 'EnumStringBody',
848
+ ...props
849
+ });
942
850
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
943
851
  return node;
944
852
  }
945
853
 
946
- function EnumStringMember(_ref45) {
947
- var parent = _ref45.parent,
948
- props = _objectWithoutProperties(_ref45, _excluded40);
949
-
950
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
951
- type: 'EnumStringMember'
952
- }, props));
854
+ function EnumStringMember({
855
+ parent,
856
+ ...props
857
+ }) {
858
+ const node = (0, _detachedNode.detachedProps)(parent, {
859
+ type: 'EnumStringMember',
860
+ ...props
861
+ });
953
862
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
954
863
  return node;
955
864
  }
956
865
 
957
- function EnumSymbolBody(_ref46) {
958
- var parent = _ref46.parent,
959
- props = _objectWithoutProperties(_ref46, _excluded41);
960
-
961
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
962
- type: 'EnumSymbolBody'
963
- }, props));
866
+ function EnumSymbolBody({
867
+ parent,
868
+ ...props
869
+ }) {
870
+ const node = (0, _detachedNode.detachedProps)(parent, {
871
+ type: 'EnumSymbolBody',
872
+ ...props
873
+ });
964
874
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
965
875
  return node;
966
876
  }
967
877
 
968
- function ExistsTypeAnnotation() {
969
- var _ref47 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
970
- parent = _ref47.parent;
971
-
878
+ function ExistsTypeAnnotation({
879
+ parent
880
+ } = {}) {
972
881
  return (0, _detachedNode.detachedProps)(parent, {
973
882
  type: 'ExistsTypeAnnotation'
974
883
  });
975
884
  }
976
885
 
977
- function ExportAllDeclaration(_ref48) {
978
- var parent = _ref48.parent,
979
- props = _objectWithoutProperties(_ref48, _excluded42);
980
-
981
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
982
- type: 'ExportAllDeclaration'
983
- }, props));
886
+ function ExportAllDeclaration({
887
+ parent,
888
+ ...props
889
+ }) {
890
+ const node = (0, _detachedNode.detachedProps)(parent, {
891
+ type: 'ExportAllDeclaration',
892
+ ...props
893
+ });
984
894
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
985
895
  return node;
986
896
  }
987
897
 
988
- function ExportDefaultDeclaration(_ref49) {
989
- var parent = _ref49.parent,
990
- props = _objectWithoutProperties(_ref49, _excluded43);
991
-
992
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
993
- type: 'ExportDefaultDeclaration'
994
- }, props));
898
+ function ExportDefaultDeclaration({
899
+ parent,
900
+ ...props
901
+ }) {
902
+ const node = (0, _detachedNode.detachedProps)(parent, {
903
+ type: 'ExportDefaultDeclaration',
904
+ ...props
905
+ });
995
906
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
996
907
  return node;
997
908
  }
998
909
 
999
- function ExportNamedDeclaration(_ref50) {
1000
- var parent = _ref50.parent,
1001
- props = _objectWithoutProperties(_ref50, _excluded44);
1002
-
1003
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1004
- type: 'ExportNamedDeclaration'
1005
- }, props));
910
+ function ExportNamedDeclaration({
911
+ parent,
912
+ ...props
913
+ }) {
914
+ const node = (0, _detachedNode.detachedProps)(parent, {
915
+ type: 'ExportNamedDeclaration',
916
+ ...props
917
+ });
1006
918
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1007
919
  return node;
1008
920
  }
1009
921
 
1010
- function ExportNamespaceSpecifier(_ref51) {
1011
- var parent = _ref51.parent,
1012
- props = _objectWithoutProperties(_ref51, _excluded45);
1013
-
1014
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1015
- type: 'ExportNamespaceSpecifier'
1016
- }, props));
922
+ function ExportNamespaceSpecifier({
923
+ parent,
924
+ ...props
925
+ }) {
926
+ const node = (0, _detachedNode.detachedProps)(parent, {
927
+ type: 'ExportNamespaceSpecifier',
928
+ ...props
929
+ });
1017
930
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1018
931
  return node;
1019
932
  }
1020
933
 
1021
- function ExportSpecifier(_ref52) {
1022
- var parent = _ref52.parent,
1023
- props = _objectWithoutProperties(_ref52, _excluded46);
1024
-
1025
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1026
- type: 'ExportSpecifier'
1027
- }, props));
934
+ function ExportSpecifier({
935
+ parent,
936
+ ...props
937
+ }) {
938
+ const node = (0, _detachedNode.detachedProps)(parent, {
939
+ type: 'ExportSpecifier',
940
+ ...props
941
+ });
1028
942
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1029
943
  return node;
1030
944
  }
1031
945
 
1032
- function ExpressionStatement(_ref53) {
1033
- var parent = _ref53.parent,
1034
- props = _objectWithoutProperties(_ref53, _excluded47);
1035
-
1036
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1037
- type: 'ExpressionStatement'
1038
- }, props));
946
+ function ExpressionStatement({
947
+ parent,
948
+ ...props
949
+ }) {
950
+ const node = (0, _detachedNode.detachedProps)(parent, {
951
+ type: 'ExpressionStatement',
952
+ ...props
953
+ });
1039
954
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1040
955
  return node;
1041
956
  }
1042
957
 
1043
- function ForInStatement(_ref54) {
1044
- var parent = _ref54.parent,
1045
- props = _objectWithoutProperties(_ref54, _excluded48);
1046
-
1047
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1048
- type: 'ForInStatement'
1049
- }, props));
958
+ function ForInStatement({
959
+ parent,
960
+ ...props
961
+ }) {
962
+ const node = (0, _detachedNode.detachedProps)(parent, {
963
+ type: 'ForInStatement',
964
+ ...props
965
+ });
1050
966
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1051
967
  return node;
1052
968
  }
1053
969
 
1054
- function ForOfStatement(_ref55) {
1055
- var parent = _ref55.parent,
1056
- props = _objectWithoutProperties(_ref55, _excluded49);
1057
-
1058
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1059
- type: 'ForOfStatement'
1060
- }, props));
970
+ function ForOfStatement({
971
+ parent,
972
+ ...props
973
+ }) {
974
+ const node = (0, _detachedNode.detachedProps)(parent, {
975
+ type: 'ForOfStatement',
976
+ ...props
977
+ });
1061
978
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1062
979
  return node;
1063
980
  }
1064
981
 
1065
- function ForStatement(_ref56) {
1066
- var parent = _ref56.parent,
1067
- props = _objectWithoutProperties(_ref56, _excluded50);
1068
-
1069
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1070
- type: 'ForStatement'
1071
- }, props));
982
+ function ForStatement({
983
+ parent,
984
+ ...props
985
+ }) {
986
+ const node = (0, _detachedNode.detachedProps)(parent, {
987
+ type: 'ForStatement',
988
+ ...props
989
+ });
1072
990
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1073
991
  return node;
1074
992
  }
1075
993
 
1076
- function FunctionDeclaration(_ref57) {
1077
- var parent = _ref57.parent,
1078
- props = _objectWithoutProperties(_ref57, _excluded51);
1079
-
1080
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1081
- type: 'FunctionDeclaration'
1082
- }, props));
994
+ function FunctionDeclaration({
995
+ parent,
996
+ ...props
997
+ }) {
998
+ const node = (0, _detachedNode.detachedProps)(parent, {
999
+ type: 'FunctionDeclaration',
1000
+ ...props
1001
+ });
1083
1002
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1084
1003
  return node;
1085
1004
  }
1086
1005
 
1087
- function FunctionExpression(_ref58) {
1088
- var parent = _ref58.parent,
1089
- props = _objectWithoutProperties(_ref58, _excluded52);
1090
-
1091
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1092
- type: 'FunctionExpression'
1093
- }, props));
1006
+ function FunctionExpression({
1007
+ parent,
1008
+ ...props
1009
+ }) {
1010
+ const node = (0, _detachedNode.detachedProps)(parent, {
1011
+ type: 'FunctionExpression',
1012
+ ...props
1013
+ });
1094
1014
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1095
1015
  return node;
1096
1016
  }
1097
1017
 
1098
- function FunctionTypeAnnotation(_ref59) {
1099
- var parent = _ref59.parent,
1100
- props = _objectWithoutProperties(_ref59, _excluded53);
1101
-
1102
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1103
- type: 'FunctionTypeAnnotation'
1104
- }, props));
1018
+ function FunctionTypeAnnotation({
1019
+ parent,
1020
+ ...props
1021
+ }) {
1022
+ const node = (0, _detachedNode.detachedProps)(parent, {
1023
+ type: 'FunctionTypeAnnotation',
1024
+ ...props
1025
+ });
1105
1026
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1106
1027
  return node;
1107
1028
  }
1108
1029
 
1109
- function FunctionTypeParam(_ref60) {
1110
- var parent = _ref60.parent,
1111
- props = _objectWithoutProperties(_ref60, _excluded54);
1112
-
1113
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1114
- type: 'FunctionTypeParam'
1115
- }, props));
1030
+ function FunctionTypeParam({
1031
+ parent,
1032
+ ...props
1033
+ }) {
1034
+ const node = (0, _detachedNode.detachedProps)(parent, {
1035
+ type: 'FunctionTypeParam',
1036
+ ...props
1037
+ });
1116
1038
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1117
1039
  return node;
1118
1040
  }
1119
1041
 
1120
- function GenericTypeAnnotation(_ref61) {
1121
- var parent = _ref61.parent,
1122
- props = _objectWithoutProperties(_ref61, _excluded55);
1123
-
1124
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1125
- type: 'GenericTypeAnnotation'
1126
- }, props));
1042
+ function GenericTypeAnnotation({
1043
+ parent,
1044
+ ...props
1045
+ }) {
1046
+ const node = (0, _detachedNode.detachedProps)(parent, {
1047
+ type: 'GenericTypeAnnotation',
1048
+ ...props
1049
+ });
1127
1050
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1128
1051
  return node;
1129
1052
  }
1130
1053
 
1131
- function IfStatement(_ref62) {
1132
- var parent = _ref62.parent,
1133
- props = _objectWithoutProperties(_ref62, _excluded56);
1134
-
1135
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1136
- type: 'IfStatement'
1137
- }, props));
1054
+ function IfStatement({
1055
+ parent,
1056
+ ...props
1057
+ }) {
1058
+ const node = (0, _detachedNode.detachedProps)(parent, {
1059
+ type: 'IfStatement',
1060
+ ...props
1061
+ });
1138
1062
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1139
1063
  return node;
1140
1064
  }
1141
1065
 
1142
- function ImportAttribute(_ref63) {
1143
- var parent = _ref63.parent,
1144
- props = _objectWithoutProperties(_ref63, _excluded57);
1145
-
1146
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1147
- type: 'ImportAttribute'
1148
- }, props));
1066
+ function ImportAttribute({
1067
+ parent,
1068
+ ...props
1069
+ }) {
1070
+ const node = (0, _detachedNode.detachedProps)(parent, {
1071
+ type: 'ImportAttribute',
1072
+ ...props
1073
+ });
1149
1074
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1150
1075
  return node;
1151
1076
  }
1152
1077
 
1153
- function ImportDeclaration(_ref64) {
1154
- var parent = _ref64.parent,
1155
- props = _objectWithoutProperties(_ref64, _excluded58);
1156
-
1157
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1158
- type: 'ImportDeclaration'
1159
- }, props));
1078
+ function ImportDeclaration({
1079
+ parent,
1080
+ ...props
1081
+ }) {
1082
+ const node = (0, _detachedNode.detachedProps)(parent, {
1083
+ type: 'ImportDeclaration',
1084
+ ...props
1085
+ });
1160
1086
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1161
1087
  return node;
1162
1088
  }
1163
1089
 
1164
- function ImportDefaultSpecifier(_ref65) {
1165
- var parent = _ref65.parent,
1166
- props = _objectWithoutProperties(_ref65, _excluded59);
1167
-
1168
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1169
- type: 'ImportDefaultSpecifier'
1170
- }, props));
1090
+ function ImportDefaultSpecifier({
1091
+ parent,
1092
+ ...props
1093
+ }) {
1094
+ const node = (0, _detachedNode.detachedProps)(parent, {
1095
+ type: 'ImportDefaultSpecifier',
1096
+ ...props
1097
+ });
1171
1098
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1172
1099
  return node;
1173
1100
  }
1174
1101
 
1175
- function ImportExpression(_ref66) {
1176
- var parent = _ref66.parent,
1177
- props = _objectWithoutProperties(_ref66, _excluded60);
1178
-
1179
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1180
- type: 'ImportExpression'
1181
- }, props));
1102
+ function ImportExpression({
1103
+ parent,
1104
+ ...props
1105
+ }) {
1106
+ const node = (0, _detachedNode.detachedProps)(parent, {
1107
+ type: 'ImportExpression',
1108
+ ...props
1109
+ });
1182
1110
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1183
1111
  return node;
1184
1112
  }
1185
1113
 
1186
- function ImportNamespaceSpecifier(_ref67) {
1187
- var parent = _ref67.parent,
1188
- props = _objectWithoutProperties(_ref67, _excluded61);
1189
-
1190
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1191
- type: 'ImportNamespaceSpecifier'
1192
- }, props));
1114
+ function ImportNamespaceSpecifier({
1115
+ parent,
1116
+ ...props
1117
+ }) {
1118
+ const node = (0, _detachedNode.detachedProps)(parent, {
1119
+ type: 'ImportNamespaceSpecifier',
1120
+ ...props
1121
+ });
1193
1122
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1194
1123
  return node;
1195
1124
  }
1196
1125
 
1197
- function ImportSpecifier(_ref68) {
1198
- var parent = _ref68.parent,
1199
- props = _objectWithoutProperties(_ref68, _excluded62);
1200
-
1201
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1202
- type: 'ImportSpecifier'
1203
- }, props));
1126
+ function ImportSpecifier({
1127
+ parent,
1128
+ ...props
1129
+ }) {
1130
+ const node = (0, _detachedNode.detachedProps)(parent, {
1131
+ type: 'ImportSpecifier',
1132
+ ...props
1133
+ });
1204
1134
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1205
1135
  return node;
1206
1136
  }
1207
1137
 
1208
- function IndexedAccessType(_ref69) {
1209
- var parent = _ref69.parent,
1210
- props = _objectWithoutProperties(_ref69, _excluded63);
1211
-
1212
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1213
- type: 'IndexedAccessType'
1214
- }, props));
1138
+ function IndexedAccessType({
1139
+ parent,
1140
+ ...props
1141
+ }) {
1142
+ const node = (0, _detachedNode.detachedProps)(parent, {
1143
+ type: 'IndexedAccessType',
1144
+ ...props
1145
+ });
1215
1146
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1216
1147
  return node;
1217
1148
  }
1218
1149
 
1219
- function InferredPredicate() {
1220
- var _ref70 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
1221
- parent = _ref70.parent;
1222
-
1150
+ function InferredPredicate({
1151
+ parent
1152
+ } = {}) {
1223
1153
  return (0, _detachedNode.detachedProps)(parent, {
1224
1154
  type: 'InferredPredicate'
1225
1155
  });
1226
1156
  }
1227
1157
 
1228
- function InterfaceDeclaration(_ref71) {
1229
- var parent = _ref71.parent,
1230
- props = _objectWithoutProperties(_ref71, _excluded64);
1231
-
1232
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1233
- type: 'InterfaceDeclaration'
1234
- }, props));
1158
+ function InterfaceDeclaration({
1159
+ parent,
1160
+ ...props
1161
+ }) {
1162
+ const node = (0, _detachedNode.detachedProps)(parent, {
1163
+ type: 'InterfaceDeclaration',
1164
+ ...props
1165
+ });
1235
1166
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1236
1167
  return node;
1237
1168
  }
1238
1169
 
1239
- function InterfaceExtends(_ref72) {
1240
- var parent = _ref72.parent,
1241
- props = _objectWithoutProperties(_ref72, _excluded65);
1242
-
1243
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1244
- type: 'InterfaceExtends'
1245
- }, props));
1170
+ function InterfaceExtends({
1171
+ parent,
1172
+ ...props
1173
+ }) {
1174
+ const node = (0, _detachedNode.detachedProps)(parent, {
1175
+ type: 'InterfaceExtends',
1176
+ ...props
1177
+ });
1246
1178
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1247
1179
  return node;
1248
1180
  }
1249
1181
 
1250
- function InterfaceTypeAnnotation(_ref73) {
1251
- var parent = _ref73.parent,
1252
- props = _objectWithoutProperties(_ref73, _excluded66);
1253
-
1254
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1255
- type: 'InterfaceTypeAnnotation'
1256
- }, props));
1182
+ function InterfaceTypeAnnotation({
1183
+ parent,
1184
+ ...props
1185
+ }) {
1186
+ const node = (0, _detachedNode.detachedProps)(parent, {
1187
+ type: 'InterfaceTypeAnnotation',
1188
+ ...props
1189
+ });
1257
1190
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1258
1191
  return node;
1259
1192
  }
1260
1193
 
1261
- function IntersectionTypeAnnotation(_ref74) {
1262
- var parent = _ref74.parent,
1263
- props = _objectWithoutProperties(_ref74, _excluded67);
1264
-
1265
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1266
- type: 'IntersectionTypeAnnotation'
1267
- }, props));
1194
+ function IntersectionTypeAnnotation({
1195
+ parent,
1196
+ ...props
1197
+ }) {
1198
+ const node = (0, _detachedNode.detachedProps)(parent, {
1199
+ type: 'IntersectionTypeAnnotation',
1200
+ ...props
1201
+ });
1268
1202
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1269
1203
  return node;
1270
1204
  }
1271
1205
 
1272
- function JSXAttribute(_ref75) {
1273
- var parent = _ref75.parent,
1274
- props = _objectWithoutProperties(_ref75, _excluded68);
1275
-
1276
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1277
- type: 'JSXAttribute'
1278
- }, props));
1206
+ function JSXAttribute({
1207
+ parent,
1208
+ ...props
1209
+ }) {
1210
+ const node = (0, _detachedNode.detachedProps)(parent, {
1211
+ type: 'JSXAttribute',
1212
+ ...props
1213
+ });
1279
1214
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1280
1215
  return node;
1281
1216
  }
1282
1217
 
1283
- function JSXClosingElement(_ref76) {
1284
- var parent = _ref76.parent,
1285
- props = _objectWithoutProperties(_ref76, _excluded69);
1286
-
1287
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1288
- type: 'JSXClosingElement'
1289
- }, props));
1218
+ function JSXClosingElement({
1219
+ parent,
1220
+ ...props
1221
+ }) {
1222
+ const node = (0, _detachedNode.detachedProps)(parent, {
1223
+ type: 'JSXClosingElement',
1224
+ ...props
1225
+ });
1290
1226
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1291
1227
  return node;
1292
1228
  }
1293
1229
 
1294
- function JSXClosingFragment() {
1295
- var _ref77 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
1296
- parent = _ref77.parent;
1297
-
1230
+ function JSXClosingFragment({
1231
+ parent
1232
+ } = {}) {
1298
1233
  return (0, _detachedNode.detachedProps)(parent, {
1299
1234
  type: 'JSXClosingFragment'
1300
1235
  });
1301
1236
  }
1302
1237
 
1303
- function JSXElement(_ref78) {
1304
- var parent = _ref78.parent,
1305
- props = _objectWithoutProperties(_ref78, _excluded70);
1306
-
1307
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1308
- type: 'JSXElement'
1309
- }, props));
1238
+ function JSXElement({
1239
+ parent,
1240
+ ...props
1241
+ }) {
1242
+ const node = (0, _detachedNode.detachedProps)(parent, {
1243
+ type: 'JSXElement',
1244
+ ...props
1245
+ });
1310
1246
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1311
1247
  return node;
1312
1248
  }
1313
1249
 
1314
- function JSXEmptyExpression() {
1315
- var _ref79 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
1316
- parent = _ref79.parent;
1317
-
1250
+ function JSXEmptyExpression({
1251
+ parent
1252
+ } = {}) {
1318
1253
  return (0, _detachedNode.detachedProps)(parent, {
1319
1254
  type: 'JSXEmptyExpression'
1320
1255
  });
1321
1256
  }
1322
1257
 
1323
- function JSXExpressionContainer(_ref80) {
1324
- var parent = _ref80.parent,
1325
- props = _objectWithoutProperties(_ref80, _excluded71);
1326
-
1327
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1328
- type: 'JSXExpressionContainer'
1329
- }, props));
1258
+ function JSXExpressionContainer({
1259
+ parent,
1260
+ ...props
1261
+ }) {
1262
+ const node = (0, _detachedNode.detachedProps)(parent, {
1263
+ type: 'JSXExpressionContainer',
1264
+ ...props
1265
+ });
1330
1266
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1331
1267
  return node;
1332
1268
  }
1333
1269
 
1334
- function JSXFragment(_ref81) {
1335
- var parent = _ref81.parent,
1336
- props = _objectWithoutProperties(_ref81, _excluded72);
1337
-
1338
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1339
- type: 'JSXFragment'
1340
- }, props));
1270
+ function JSXFragment({
1271
+ parent,
1272
+ ...props
1273
+ }) {
1274
+ const node = (0, _detachedNode.detachedProps)(parent, {
1275
+ type: 'JSXFragment',
1276
+ ...props
1277
+ });
1341
1278
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1342
1279
  return node;
1343
1280
  }
1344
1281
 
1345
- function JSXIdentifier(_ref82) {
1346
- var parent = _ref82.parent,
1347
- props = _objectWithoutProperties(_ref82, _excluded73);
1348
-
1349
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1350
- type: 'JSXIdentifier'
1351
- }, props));
1282
+ function JSXIdentifier({
1283
+ parent,
1284
+ ...props
1285
+ }) {
1286
+ const node = (0, _detachedNode.detachedProps)(parent, {
1287
+ type: 'JSXIdentifier',
1288
+ ...props
1289
+ });
1352
1290
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1353
1291
  return node;
1354
1292
  }
1355
1293
 
1356
- function JSXMemberExpression(_ref83) {
1357
- var parent = _ref83.parent,
1358
- props = _objectWithoutProperties(_ref83, _excluded74);
1359
-
1360
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1361
- type: 'JSXMemberExpression'
1362
- }, props));
1294
+ function JSXMemberExpression({
1295
+ parent,
1296
+ ...props
1297
+ }) {
1298
+ const node = (0, _detachedNode.detachedProps)(parent, {
1299
+ type: 'JSXMemberExpression',
1300
+ ...props
1301
+ });
1363
1302
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1364
1303
  return node;
1365
1304
  }
1366
1305
 
1367
- function JSXNamespacedName(_ref84) {
1368
- var parent = _ref84.parent,
1369
- props = _objectWithoutProperties(_ref84, _excluded75);
1370
-
1371
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1372
- type: 'JSXNamespacedName'
1373
- }, props));
1306
+ function JSXNamespacedName({
1307
+ parent,
1308
+ ...props
1309
+ }) {
1310
+ const node = (0, _detachedNode.detachedProps)(parent, {
1311
+ type: 'JSXNamespacedName',
1312
+ ...props
1313
+ });
1374
1314
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1375
1315
  return node;
1376
1316
  }
1377
1317
 
1378
- function JSXOpeningElement(_ref85) {
1379
- var parent = _ref85.parent,
1380
- props = _objectWithoutProperties(_ref85, _excluded76);
1381
-
1382
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1383
- type: 'JSXOpeningElement'
1384
- }, props));
1318
+ function JSXOpeningElement({
1319
+ parent,
1320
+ ...props
1321
+ }) {
1322
+ const node = (0, _detachedNode.detachedProps)(parent, {
1323
+ type: 'JSXOpeningElement',
1324
+ ...props
1325
+ });
1385
1326
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1386
1327
  return node;
1387
1328
  }
1388
1329
 
1389
- function JSXOpeningFragment() {
1390
- var _ref86 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
1391
- parent = _ref86.parent;
1392
-
1330
+ function JSXOpeningFragment({
1331
+ parent
1332
+ } = {}) {
1393
1333
  return (0, _detachedNode.detachedProps)(parent, {
1394
1334
  type: 'JSXOpeningFragment'
1395
1335
  });
1396
1336
  }
1397
1337
 
1398
- function JSXSpreadAttribute(_ref87) {
1399
- var parent = _ref87.parent,
1400
- props = _objectWithoutProperties(_ref87, _excluded77);
1401
-
1402
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1403
- type: 'JSXSpreadAttribute'
1404
- }, props));
1338
+ function JSXSpreadAttribute({
1339
+ parent,
1340
+ ...props
1341
+ }) {
1342
+ const node = (0, _detachedNode.detachedProps)(parent, {
1343
+ type: 'JSXSpreadAttribute',
1344
+ ...props
1345
+ });
1405
1346
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1406
1347
  return node;
1407
1348
  }
1408
1349
 
1409
- function JSXSpreadChild(_ref88) {
1410
- var parent = _ref88.parent,
1411
- props = _objectWithoutProperties(_ref88, _excluded78);
1412
-
1413
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1414
- type: 'JSXSpreadChild'
1415
- }, props));
1350
+ function JSXSpreadChild({
1351
+ parent,
1352
+ ...props
1353
+ }) {
1354
+ const node = (0, _detachedNode.detachedProps)(parent, {
1355
+ type: 'JSXSpreadChild',
1356
+ ...props
1357
+ });
1416
1358
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1417
1359
  return node;
1418
1360
  }
1419
1361
 
1420
- function JSXText(_ref89) {
1421
- var parent = _ref89.parent,
1422
- props = _objectWithoutProperties(_ref89, _excluded79);
1423
-
1424
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1425
- type: 'JSXText'
1426
- }, props));
1362
+ function JSXText({
1363
+ parent,
1364
+ ...props
1365
+ }) {
1366
+ const node = (0, _detachedNode.detachedProps)(parent, {
1367
+ type: 'JSXText',
1368
+ ...props
1369
+ });
1427
1370
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1428
1371
  return node;
1429
1372
  }
1430
1373
 
1431
- function LabeledStatement(_ref90) {
1432
- var parent = _ref90.parent,
1433
- props = _objectWithoutProperties(_ref90, _excluded80);
1434
-
1435
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1436
- type: 'LabeledStatement'
1437
- }, props));
1374
+ function LabeledStatement({
1375
+ parent,
1376
+ ...props
1377
+ }) {
1378
+ const node = (0, _detachedNode.detachedProps)(parent, {
1379
+ type: 'LabeledStatement',
1380
+ ...props
1381
+ });
1438
1382
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1439
1383
  return node;
1440
1384
  }
1441
1385
 
1442
- function LogicalExpression(_ref91) {
1443
- var parent = _ref91.parent,
1444
- props = _objectWithoutProperties(_ref91, _excluded81);
1445
-
1446
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1447
- type: 'LogicalExpression'
1448
- }, props));
1386
+ function LogicalExpression({
1387
+ parent,
1388
+ ...props
1389
+ }) {
1390
+ const node = (0, _detachedNode.detachedProps)(parent, {
1391
+ type: 'LogicalExpression',
1392
+ ...props
1393
+ });
1449
1394
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1450
1395
  return node;
1451
1396
  }
1452
1397
 
1453
- function MemberExpression(_ref92) {
1454
- var parent = _ref92.parent,
1455
- props = _objectWithoutProperties(_ref92, _excluded82);
1456
-
1457
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1458
- type: 'MemberExpression'
1459
- }, props));
1398
+ function MemberExpression({
1399
+ parent,
1400
+ ...props
1401
+ }) {
1402
+ const node = (0, _detachedNode.detachedProps)(parent, {
1403
+ type: 'MemberExpression',
1404
+ ...props
1405
+ });
1460
1406
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1461
1407
  return node;
1462
1408
  }
1463
1409
 
1464
- function MetaProperty(_ref93) {
1465
- var parent = _ref93.parent,
1466
- props = _objectWithoutProperties(_ref93, _excluded83);
1467
-
1468
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1469
- type: 'MetaProperty'
1470
- }, props));
1410
+ function MetaProperty({
1411
+ parent,
1412
+ ...props
1413
+ }) {
1414
+ const node = (0, _detachedNode.detachedProps)(parent, {
1415
+ type: 'MetaProperty',
1416
+ ...props
1417
+ });
1471
1418
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1472
1419
  return node;
1473
1420
  }
1474
1421
 
1475
- function MethodDefinition(_ref94) {
1476
- var parent = _ref94.parent,
1477
- props = _objectWithoutProperties(_ref94, _excluded84);
1478
-
1479
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1480
- type: 'MethodDefinition'
1481
- }, props));
1422
+ function MethodDefinition({
1423
+ parent,
1424
+ ...props
1425
+ }) {
1426
+ const node = (0, _detachedNode.detachedProps)(parent, {
1427
+ type: 'MethodDefinition',
1428
+ ...props
1429
+ });
1482
1430
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1483
1431
  return node;
1484
1432
  }
1485
1433
 
1486
- function MixedTypeAnnotation() {
1487
- var _ref95 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
1488
- parent = _ref95.parent;
1489
-
1434
+ function MixedTypeAnnotation({
1435
+ parent
1436
+ } = {}) {
1490
1437
  return (0, _detachedNode.detachedProps)(parent, {
1491
1438
  type: 'MixedTypeAnnotation'
1492
1439
  });
1493
1440
  }
1494
1441
 
1495
- function NewExpression(_ref96) {
1496
- var parent = _ref96.parent,
1497
- props = _objectWithoutProperties(_ref96, _excluded85);
1498
-
1499
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1500
- type: 'NewExpression'
1501
- }, props));
1442
+ function NewExpression({
1443
+ parent,
1444
+ ...props
1445
+ }) {
1446
+ const node = (0, _detachedNode.detachedProps)(parent, {
1447
+ type: 'NewExpression',
1448
+ ...props
1449
+ });
1502
1450
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1503
1451
  return node;
1504
1452
  }
1505
1453
 
1506
- function NullableTypeAnnotation(_ref97) {
1507
- var parent = _ref97.parent,
1508
- props = _objectWithoutProperties(_ref97, _excluded86);
1509
-
1510
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1511
- type: 'NullableTypeAnnotation'
1512
- }, props));
1454
+ function NullableTypeAnnotation({
1455
+ parent,
1456
+ ...props
1457
+ }) {
1458
+ const node = (0, _detachedNode.detachedProps)(parent, {
1459
+ type: 'NullableTypeAnnotation',
1460
+ ...props
1461
+ });
1513
1462
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1514
1463
  return node;
1515
1464
  }
1516
1465
 
1517
- function NullLiteralTypeAnnotation() {
1518
- var _ref98 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
1519
- parent = _ref98.parent;
1520
-
1466
+ function NullLiteralTypeAnnotation({
1467
+ parent
1468
+ } = {}) {
1521
1469
  return (0, _detachedNode.detachedProps)(parent, {
1522
1470
  type: 'NullLiteralTypeAnnotation'
1523
1471
  });
1524
1472
  }
1525
1473
 
1526
- function NumberLiteralTypeAnnotation(_ref99) {
1527
- var parent = _ref99.parent,
1528
- props = _objectWithoutProperties(_ref99, _excluded87);
1529
-
1530
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1531
- type: 'NumberLiteralTypeAnnotation'
1532
- }, props));
1474
+ function NumberLiteralTypeAnnotation({
1475
+ parent,
1476
+ ...props
1477
+ }) {
1478
+ const node = (0, _detachedNode.detachedProps)(parent, {
1479
+ type: 'NumberLiteralTypeAnnotation',
1480
+ ...props
1481
+ });
1533
1482
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1534
1483
  return node;
1535
1484
  }
1536
1485
 
1537
- function NumberTypeAnnotation() {
1538
- var _ref100 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
1539
- parent = _ref100.parent;
1540
-
1486
+ function NumberTypeAnnotation({
1487
+ parent
1488
+ } = {}) {
1541
1489
  return (0, _detachedNode.detachedProps)(parent, {
1542
1490
  type: 'NumberTypeAnnotation'
1543
1491
  });
1544
1492
  }
1545
1493
 
1546
- function ObjectExpression(_ref101) {
1547
- var parent = _ref101.parent,
1548
- props = _objectWithoutProperties(_ref101, _excluded88);
1549
-
1550
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1551
- type: 'ObjectExpression'
1552
- }, props));
1494
+ function ObjectExpression({
1495
+ parent,
1496
+ ...props
1497
+ }) {
1498
+ const node = (0, _detachedNode.detachedProps)(parent, {
1499
+ type: 'ObjectExpression',
1500
+ ...props
1501
+ });
1553
1502
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1554
1503
  return node;
1555
1504
  }
1556
1505
 
1557
- function ObjectPattern(_ref102) {
1558
- var parent = _ref102.parent,
1559
- props = _objectWithoutProperties(_ref102, _excluded89);
1560
-
1561
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1562
- type: 'ObjectPattern'
1563
- }, props));
1506
+ function ObjectPattern({
1507
+ parent,
1508
+ ...props
1509
+ }) {
1510
+ const node = (0, _detachedNode.detachedProps)(parent, {
1511
+ type: 'ObjectPattern',
1512
+ ...props
1513
+ });
1564
1514
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1565
1515
  return node;
1566
1516
  }
1567
1517
 
1568
- function ObjectTypeAnnotation(_ref103) {
1569
- var parent = _ref103.parent,
1570
- props = _objectWithoutProperties(_ref103, _excluded90);
1571
-
1572
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1573
- type: 'ObjectTypeAnnotation'
1574
- }, props));
1518
+ function ObjectTypeAnnotation({
1519
+ parent,
1520
+ ...props
1521
+ }) {
1522
+ const node = (0, _detachedNode.detachedProps)(parent, {
1523
+ type: 'ObjectTypeAnnotation',
1524
+ ...props
1525
+ });
1575
1526
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1576
1527
  return node;
1577
1528
  }
1578
1529
 
1579
- function ObjectTypeCallProperty(_ref104) {
1580
- var parent = _ref104.parent,
1581
- props = _objectWithoutProperties(_ref104, _excluded91);
1582
-
1583
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1584
- type: 'ObjectTypeCallProperty'
1585
- }, props));
1530
+ function ObjectTypeCallProperty({
1531
+ parent,
1532
+ ...props
1533
+ }) {
1534
+ const node = (0, _detachedNode.detachedProps)(parent, {
1535
+ type: 'ObjectTypeCallProperty',
1536
+ ...props
1537
+ });
1586
1538
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1587
1539
  return node;
1588
1540
  }
1589
1541
 
1590
- function ObjectTypeIndexer(_ref105) {
1591
- var parent = _ref105.parent,
1592
- props = _objectWithoutProperties(_ref105, _excluded92);
1593
-
1594
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1595
- type: 'ObjectTypeIndexer'
1596
- }, props));
1542
+ function ObjectTypeIndexer({
1543
+ parent,
1544
+ ...props
1545
+ }) {
1546
+ const node = (0, _detachedNode.detachedProps)(parent, {
1547
+ type: 'ObjectTypeIndexer',
1548
+ ...props
1549
+ });
1597
1550
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1598
1551
  return node;
1599
1552
  }
1600
1553
 
1601
- function ObjectTypeInternalSlot(_ref106) {
1602
- var parent = _ref106.parent,
1603
- props = _objectWithoutProperties(_ref106, _excluded93);
1604
-
1605
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1606
- type: 'ObjectTypeInternalSlot'
1607
- }, props));
1554
+ function ObjectTypeInternalSlot({
1555
+ parent,
1556
+ ...props
1557
+ }) {
1558
+ const node = (0, _detachedNode.detachedProps)(parent, {
1559
+ type: 'ObjectTypeInternalSlot',
1560
+ ...props
1561
+ });
1608
1562
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1609
1563
  return node;
1610
1564
  }
1611
1565
 
1612
- function ObjectTypeProperty(_ref107) {
1613
- var parent = _ref107.parent,
1614
- props = _objectWithoutProperties(_ref107, _excluded94);
1615
-
1616
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1617
- type: 'ObjectTypeProperty'
1618
- }, props));
1566
+ function ObjectTypeProperty({
1567
+ parent,
1568
+ ...props
1569
+ }) {
1570
+ const node = (0, _detachedNode.detachedProps)(parent, {
1571
+ type: 'ObjectTypeProperty',
1572
+ ...props
1573
+ });
1619
1574
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1620
1575
  return node;
1621
1576
  }
1622
1577
 
1623
- function ObjectTypeSpreadProperty(_ref108) {
1624
- var parent = _ref108.parent,
1625
- props = _objectWithoutProperties(_ref108, _excluded95);
1626
-
1627
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1628
- type: 'ObjectTypeSpreadProperty'
1629
- }, props));
1578
+ function ObjectTypeSpreadProperty({
1579
+ parent,
1580
+ ...props
1581
+ }) {
1582
+ const node = (0, _detachedNode.detachedProps)(parent, {
1583
+ type: 'ObjectTypeSpreadProperty',
1584
+ ...props
1585
+ });
1630
1586
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1631
1587
  return node;
1632
1588
  }
1633
1589
 
1634
- function OpaqueType(_ref109) {
1635
- var parent = _ref109.parent,
1636
- props = _objectWithoutProperties(_ref109, _excluded96);
1637
-
1638
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1639
- type: 'OpaqueType'
1640
- }, props));
1590
+ function OpaqueType({
1591
+ parent,
1592
+ ...props
1593
+ }) {
1594
+ const node = (0, _detachedNode.detachedProps)(parent, {
1595
+ type: 'OpaqueType',
1596
+ ...props
1597
+ });
1641
1598
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1642
1599
  return node;
1643
1600
  }
1644
1601
 
1645
- function OptionalCallExpression(_ref110) {
1646
- var parent = _ref110.parent,
1647
- props = _objectWithoutProperties(_ref110, _excluded97);
1648
-
1649
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1650
- type: 'OptionalCallExpression'
1651
- }, props));
1602
+ function OptionalCallExpression({
1603
+ parent,
1604
+ ...props
1605
+ }) {
1606
+ const node = (0, _detachedNode.detachedProps)(parent, {
1607
+ type: 'OptionalCallExpression',
1608
+ ...props
1609
+ });
1652
1610
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1653
1611
  return node;
1654
1612
  }
1655
1613
 
1656
- function OptionalIndexedAccessType(_ref111) {
1657
- var parent = _ref111.parent,
1658
- props = _objectWithoutProperties(_ref111, _excluded98);
1659
-
1660
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1661
- type: 'OptionalIndexedAccessType'
1662
- }, props));
1614
+ function OptionalIndexedAccessType({
1615
+ parent,
1616
+ ...props
1617
+ }) {
1618
+ const node = (0, _detachedNode.detachedProps)(parent, {
1619
+ type: 'OptionalIndexedAccessType',
1620
+ ...props
1621
+ });
1663
1622
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1664
1623
  return node;
1665
1624
  }
1666
1625
 
1667
- function OptionalMemberExpression(_ref112) {
1668
- var parent = _ref112.parent,
1669
- props = _objectWithoutProperties(_ref112, _excluded99);
1670
-
1671
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1672
- type: 'OptionalMemberExpression'
1673
- }, props));
1626
+ function OptionalMemberExpression({
1627
+ parent,
1628
+ ...props
1629
+ }) {
1630
+ const node = (0, _detachedNode.detachedProps)(parent, {
1631
+ type: 'OptionalMemberExpression',
1632
+ ...props
1633
+ });
1674
1634
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1675
1635
  return node;
1676
1636
  }
1677
1637
 
1678
- function PrivateName(_ref113) {
1679
- var parent = _ref113.parent,
1680
- props = _objectWithoutProperties(_ref113, _excluded100);
1681
-
1682
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1683
- type: 'PrivateName'
1684
- }, props));
1638
+ function PrivateName({
1639
+ parent,
1640
+ ...props
1641
+ }) {
1642
+ const node = (0, _detachedNode.detachedProps)(parent, {
1643
+ type: 'PrivateName',
1644
+ ...props
1645
+ });
1685
1646
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1686
1647
  return node;
1687
1648
  }
1688
1649
 
1689
- function Property(_ref114) {
1690
- var parent = _ref114.parent,
1691
- props = _objectWithoutProperties(_ref114, _excluded101);
1692
-
1693
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1694
- type: 'Property'
1695
- }, props));
1650
+ function Property({
1651
+ parent,
1652
+ ...props
1653
+ }) {
1654
+ const node = (0, _detachedNode.detachedProps)(parent, {
1655
+ type: 'Property',
1656
+ ...props
1657
+ });
1696
1658
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1697
1659
  return node;
1698
1660
  }
1699
1661
 
1700
- function QualifiedTypeIdentifier(_ref115) {
1701
- var parent = _ref115.parent,
1702
- props = _objectWithoutProperties(_ref115, _excluded102);
1703
-
1704
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1705
- type: 'QualifiedTypeIdentifier'
1706
- }, props));
1662
+ function QualifiedTypeIdentifier({
1663
+ parent,
1664
+ ...props
1665
+ }) {
1666
+ const node = (0, _detachedNode.detachedProps)(parent, {
1667
+ type: 'QualifiedTypeIdentifier',
1668
+ ...props
1669
+ });
1707
1670
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1708
1671
  return node;
1709
1672
  }
1710
1673
 
1711
- function RestElement(_ref116) {
1712
- var parent = _ref116.parent,
1713
- props = _objectWithoutProperties(_ref116, _excluded103);
1714
-
1715
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1716
- type: 'RestElement'
1717
- }, props));
1674
+ function RestElement({
1675
+ parent,
1676
+ ...props
1677
+ }) {
1678
+ const node = (0, _detachedNode.detachedProps)(parent, {
1679
+ type: 'RestElement',
1680
+ ...props
1681
+ });
1718
1682
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1719
1683
  return node;
1720
1684
  }
1721
1685
 
1722
- function ReturnStatement(_ref117) {
1723
- var parent = _ref117.parent,
1724
- props = _objectWithoutProperties(_ref117, _excluded104);
1725
-
1726
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1727
- type: 'ReturnStatement'
1728
- }, props));
1686
+ function ReturnStatement({
1687
+ parent,
1688
+ ...props
1689
+ }) {
1690
+ const node = (0, _detachedNode.detachedProps)(parent, {
1691
+ type: 'ReturnStatement',
1692
+ ...props
1693
+ });
1729
1694
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1730
1695
  return node;
1731
1696
  }
1732
1697
 
1733
- function SequenceExpression(_ref118) {
1734
- var parent = _ref118.parent,
1735
- props = _objectWithoutProperties(_ref118, _excluded105);
1736
-
1737
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1738
- type: 'SequenceExpression'
1739
- }, props));
1698
+ function SequenceExpression({
1699
+ parent,
1700
+ ...props
1701
+ }) {
1702
+ const node = (0, _detachedNode.detachedProps)(parent, {
1703
+ type: 'SequenceExpression',
1704
+ ...props
1705
+ });
1740
1706
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1741
1707
  return node;
1742
1708
  }
1743
1709
 
1744
- function SpreadElement(_ref119) {
1745
- var parent = _ref119.parent,
1746
- props = _objectWithoutProperties(_ref119, _excluded106);
1747
-
1748
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1749
- type: 'SpreadElement'
1750
- }, props));
1710
+ function SpreadElement({
1711
+ parent,
1712
+ ...props
1713
+ }) {
1714
+ const node = (0, _detachedNode.detachedProps)(parent, {
1715
+ type: 'SpreadElement',
1716
+ ...props
1717
+ });
1751
1718
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1752
1719
  return node;
1753
1720
  }
1754
1721
 
1755
- function StringLiteralTypeAnnotation(_ref120) {
1756
- var parent = _ref120.parent,
1757
- props = _objectWithoutProperties(_ref120, _excluded107);
1758
-
1759
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1760
- type: 'StringLiteralTypeAnnotation'
1761
- }, props));
1722
+ function StringLiteralTypeAnnotation({
1723
+ parent,
1724
+ ...props
1725
+ }) {
1726
+ const node = (0, _detachedNode.detachedProps)(parent, {
1727
+ type: 'StringLiteralTypeAnnotation',
1728
+ ...props
1729
+ });
1762
1730
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1763
1731
  return node;
1764
1732
  }
1765
1733
 
1766
- function StringTypeAnnotation() {
1767
- var _ref121 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
1768
- parent = _ref121.parent;
1769
-
1734
+ function StringTypeAnnotation({
1735
+ parent
1736
+ } = {}) {
1770
1737
  return (0, _detachedNode.detachedProps)(parent, {
1771
1738
  type: 'StringTypeAnnotation'
1772
1739
  });
1773
1740
  }
1774
1741
 
1775
- function Super() {
1776
- var _ref122 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
1777
- parent = _ref122.parent;
1778
-
1742
+ function Super({
1743
+ parent
1744
+ } = {}) {
1779
1745
  return (0, _detachedNode.detachedProps)(parent, {
1780
1746
  type: 'Super'
1781
1747
  });
1782
1748
  }
1783
1749
 
1784
- function SwitchCase(_ref123) {
1785
- var parent = _ref123.parent,
1786
- props = _objectWithoutProperties(_ref123, _excluded108);
1787
-
1788
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1789
- type: 'SwitchCase'
1790
- }, props));
1750
+ function SwitchCase({
1751
+ parent,
1752
+ ...props
1753
+ }) {
1754
+ const node = (0, _detachedNode.detachedProps)(parent, {
1755
+ type: 'SwitchCase',
1756
+ ...props
1757
+ });
1791
1758
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1792
1759
  return node;
1793
1760
  }
1794
1761
 
1795
- function SwitchStatement(_ref124) {
1796
- var parent = _ref124.parent,
1797
- props = _objectWithoutProperties(_ref124, _excluded109);
1798
-
1799
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1800
- type: 'SwitchStatement'
1801
- }, props));
1762
+ function SwitchStatement({
1763
+ parent,
1764
+ ...props
1765
+ }) {
1766
+ const node = (0, _detachedNode.detachedProps)(parent, {
1767
+ type: 'SwitchStatement',
1768
+ ...props
1769
+ });
1802
1770
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1803
1771
  return node;
1804
1772
  }
1805
1773
 
1806
- function SymbolTypeAnnotation() {
1807
- var _ref125 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
1808
- parent = _ref125.parent;
1809
-
1774
+ function SymbolTypeAnnotation({
1775
+ parent
1776
+ } = {}) {
1810
1777
  return (0, _detachedNode.detachedProps)(parent, {
1811
1778
  type: 'SymbolTypeAnnotation'
1812
1779
  });
1813
1780
  }
1814
1781
 
1815
- function TaggedTemplateExpression(_ref126) {
1816
- var parent = _ref126.parent,
1817
- props = _objectWithoutProperties(_ref126, _excluded110);
1818
-
1819
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1820
- type: 'TaggedTemplateExpression'
1821
- }, props));
1782
+ function TaggedTemplateExpression({
1783
+ parent,
1784
+ ...props
1785
+ }) {
1786
+ const node = (0, _detachedNode.detachedProps)(parent, {
1787
+ type: 'TaggedTemplateExpression',
1788
+ ...props
1789
+ });
1822
1790
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1823
1791
  return node;
1824
1792
  }
1825
1793
 
1826
- function TemplateLiteral(_ref127) {
1827
- var parent = _ref127.parent,
1828
- props = _objectWithoutProperties(_ref127, _excluded111);
1829
-
1830
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1831
- type: 'TemplateLiteral'
1832
- }, props));
1794
+ function TemplateLiteral({
1795
+ parent,
1796
+ ...props
1797
+ }) {
1798
+ const node = (0, _detachedNode.detachedProps)(parent, {
1799
+ type: 'TemplateLiteral',
1800
+ ...props
1801
+ });
1833
1802
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1834
1803
  return node;
1835
1804
  }
1836
1805
 
1837
- function ThisExpression() {
1838
- var _ref128 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
1839
- parent = _ref128.parent;
1840
-
1806
+ function ThisExpression({
1807
+ parent
1808
+ } = {}) {
1841
1809
  return (0, _detachedNode.detachedProps)(parent, {
1842
1810
  type: 'ThisExpression'
1843
1811
  });
1844
1812
  }
1845
1813
 
1846
- function ThisTypeAnnotation() {
1847
- var _ref129 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
1848
- parent = _ref129.parent;
1849
-
1814
+ function ThisTypeAnnotation({
1815
+ parent
1816
+ } = {}) {
1850
1817
  return (0, _detachedNode.detachedProps)(parent, {
1851
1818
  type: 'ThisTypeAnnotation'
1852
1819
  });
1853
1820
  }
1854
1821
 
1855
- function ThrowStatement(_ref130) {
1856
- var parent = _ref130.parent,
1857
- props = _objectWithoutProperties(_ref130, _excluded112);
1858
-
1859
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1860
- type: 'ThrowStatement'
1861
- }, props));
1822
+ function ThrowStatement({
1823
+ parent,
1824
+ ...props
1825
+ }) {
1826
+ const node = (0, _detachedNode.detachedProps)(parent, {
1827
+ type: 'ThrowStatement',
1828
+ ...props
1829
+ });
1862
1830
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1863
1831
  return node;
1864
1832
  }
1865
1833
 
1866
- function TryStatement(_ref131) {
1867
- var parent = _ref131.parent,
1868
- props = _objectWithoutProperties(_ref131, _excluded113);
1869
-
1870
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1871
- type: 'TryStatement'
1872
- }, props));
1834
+ function TryStatement({
1835
+ parent,
1836
+ ...props
1837
+ }) {
1838
+ const node = (0, _detachedNode.detachedProps)(parent, {
1839
+ type: 'TryStatement',
1840
+ ...props
1841
+ });
1873
1842
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1874
1843
  return node;
1875
1844
  }
1876
1845
 
1877
- function TupleTypeAnnotation(_ref132) {
1878
- var parent = _ref132.parent,
1879
- props = _objectWithoutProperties(_ref132, _excluded114);
1880
-
1881
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1882
- type: 'TupleTypeAnnotation'
1883
- }, props));
1846
+ function TupleTypeAnnotation({
1847
+ parent,
1848
+ ...props
1849
+ }) {
1850
+ const node = (0, _detachedNode.detachedProps)(parent, {
1851
+ type: 'TupleTypeAnnotation',
1852
+ ...props
1853
+ });
1884
1854
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1885
1855
  return node;
1886
1856
  }
1887
1857
 
1888
- function TypeAlias(_ref133) {
1889
- var parent = _ref133.parent,
1890
- props = _objectWithoutProperties(_ref133, _excluded115);
1891
-
1892
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1893
- type: 'TypeAlias'
1894
- }, props));
1858
+ function TypeAlias({
1859
+ parent,
1860
+ ...props
1861
+ }) {
1862
+ const node = (0, _detachedNode.detachedProps)(parent, {
1863
+ type: 'TypeAlias',
1864
+ ...props
1865
+ });
1895
1866
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1896
1867
  return node;
1897
1868
  }
1898
1869
 
1899
- function TypeAnnotation(_ref134) {
1900
- var parent = _ref134.parent,
1901
- props = _objectWithoutProperties(_ref134, _excluded116);
1902
-
1903
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1904
- type: 'TypeAnnotation'
1905
- }, props));
1870
+ function TypeAnnotation({
1871
+ parent,
1872
+ ...props
1873
+ }) {
1874
+ const node = (0, _detachedNode.detachedProps)(parent, {
1875
+ type: 'TypeAnnotation',
1876
+ ...props
1877
+ });
1906
1878
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1907
1879
  return node;
1908
1880
  }
1909
1881
 
1910
- function TypeCastExpression(_ref135) {
1911
- var parent = _ref135.parent,
1912
- props = _objectWithoutProperties(_ref135, _excluded117);
1913
-
1914
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1915
- type: 'TypeCastExpression'
1916
- }, props));
1882
+ function TypeCastExpression({
1883
+ parent,
1884
+ ...props
1885
+ }) {
1886
+ const node = (0, _detachedNode.detachedProps)(parent, {
1887
+ type: 'TypeCastExpression',
1888
+ ...props
1889
+ });
1917
1890
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1918
1891
  return node;
1919
1892
  }
1920
1893
 
1921
- function TypeofTypeAnnotation(_ref136) {
1922
- var parent = _ref136.parent,
1923
- props = _objectWithoutProperties(_ref136, _excluded118);
1924
-
1925
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1926
- type: 'TypeofTypeAnnotation'
1927
- }, props));
1894
+ function TypeofTypeAnnotation({
1895
+ parent,
1896
+ ...props
1897
+ }) {
1898
+ const node = (0, _detachedNode.detachedProps)(parent, {
1899
+ type: 'TypeofTypeAnnotation',
1900
+ ...props
1901
+ });
1928
1902
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1929
1903
  return node;
1930
1904
  }
1931
1905
 
1932
- function TypeParameter(_ref137) {
1933
- var parent = _ref137.parent,
1934
- props = _objectWithoutProperties(_ref137, _excluded119);
1935
-
1936
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1937
- type: 'TypeParameter'
1938
- }, props));
1906
+ function TypeParameter({
1907
+ parent,
1908
+ ...props
1909
+ }) {
1910
+ const node = (0, _detachedNode.detachedProps)(parent, {
1911
+ type: 'TypeParameter',
1912
+ ...props
1913
+ });
1939
1914
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1940
1915
  return node;
1941
1916
  }
1942
1917
 
1943
- function TypeParameterDeclaration(_ref138) {
1944
- var parent = _ref138.parent,
1945
- props = _objectWithoutProperties(_ref138, _excluded120);
1946
-
1947
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1948
- type: 'TypeParameterDeclaration'
1949
- }, props));
1918
+ function TypeParameterDeclaration({
1919
+ parent,
1920
+ ...props
1921
+ }) {
1922
+ const node = (0, _detachedNode.detachedProps)(parent, {
1923
+ type: 'TypeParameterDeclaration',
1924
+ ...props
1925
+ });
1950
1926
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1951
1927
  return node;
1952
1928
  }
1953
1929
 
1954
- function TypeParameterInstantiation(_ref139) {
1955
- var parent = _ref139.parent,
1956
- props = _objectWithoutProperties(_ref139, _excluded121);
1957
-
1958
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1959
- type: 'TypeParameterInstantiation'
1960
- }, props));
1930
+ function TypeParameterInstantiation({
1931
+ parent,
1932
+ ...props
1933
+ }) {
1934
+ const node = (0, _detachedNode.detachedProps)(parent, {
1935
+ type: 'TypeParameterInstantiation',
1936
+ ...props
1937
+ });
1961
1938
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1962
1939
  return node;
1963
1940
  }
1964
1941
 
1965
- function UnaryExpression(_ref140) {
1966
- var parent = _ref140.parent,
1967
- props = _objectWithoutProperties(_ref140, _excluded122);
1968
-
1969
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1970
- type: 'UnaryExpression'
1971
- }, props));
1942
+ function UnaryExpression({
1943
+ parent,
1944
+ ...props
1945
+ }) {
1946
+ const node = (0, _detachedNode.detachedProps)(parent, {
1947
+ type: 'UnaryExpression',
1948
+ ...props
1949
+ });
1972
1950
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1973
1951
  return node;
1974
1952
  }
1975
1953
 
1976
- function UnionTypeAnnotation(_ref141) {
1977
- var parent = _ref141.parent,
1978
- props = _objectWithoutProperties(_ref141, _excluded123);
1979
-
1980
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1981
- type: 'UnionTypeAnnotation'
1982
- }, props));
1954
+ function UnionTypeAnnotation({
1955
+ parent,
1956
+ ...props
1957
+ }) {
1958
+ const node = (0, _detachedNode.detachedProps)(parent, {
1959
+ type: 'UnionTypeAnnotation',
1960
+ ...props
1961
+ });
1983
1962
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1984
1963
  return node;
1985
1964
  }
1986
1965
 
1987
- function UpdateExpression(_ref142) {
1988
- var parent = _ref142.parent,
1989
- props = _objectWithoutProperties(_ref142, _excluded124);
1990
-
1991
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
1992
- type: 'UpdateExpression'
1993
- }, props));
1966
+ function UpdateExpression({
1967
+ parent,
1968
+ ...props
1969
+ }) {
1970
+ const node = (0, _detachedNode.detachedProps)(parent, {
1971
+ type: 'UpdateExpression',
1972
+ ...props
1973
+ });
1994
1974
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
1995
1975
  return node;
1996
1976
  }
1997
1977
 
1998
- function VariableDeclaration(_ref143) {
1999
- var parent = _ref143.parent,
2000
- props = _objectWithoutProperties(_ref143, _excluded125);
2001
-
2002
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
2003
- type: 'VariableDeclaration'
2004
- }, props));
1978
+ function VariableDeclaration({
1979
+ parent,
1980
+ ...props
1981
+ }) {
1982
+ const node = (0, _detachedNode.detachedProps)(parent, {
1983
+ type: 'VariableDeclaration',
1984
+ ...props
1985
+ });
2005
1986
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
2006
1987
  return node;
2007
1988
  }
2008
1989
 
2009
- function VariableDeclarator(_ref144) {
2010
- var parent = _ref144.parent,
2011
- props = _objectWithoutProperties(_ref144, _excluded126);
2012
-
2013
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
2014
- type: 'VariableDeclarator'
2015
- }, props));
1990
+ function VariableDeclarator({
1991
+ parent,
1992
+ ...props
1993
+ }) {
1994
+ const node = (0, _detachedNode.detachedProps)(parent, {
1995
+ type: 'VariableDeclarator',
1996
+ ...props
1997
+ });
2016
1998
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
2017
1999
  return node;
2018
2000
  }
2019
2001
 
2020
- function Variance(_ref145) {
2021
- var parent = _ref145.parent,
2022
- props = _objectWithoutProperties(_ref145, _excluded127);
2023
-
2024
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
2025
- type: 'Variance'
2026
- }, props));
2002
+ function Variance({
2003
+ parent,
2004
+ ...props
2005
+ }) {
2006
+ const node = (0, _detachedNode.detachedProps)(parent, {
2007
+ type: 'Variance',
2008
+ ...props
2009
+ });
2027
2010
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
2028
2011
  return node;
2029
2012
  }
2030
2013
 
2031
- function VoidTypeAnnotation() {
2032
- var _ref146 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
2033
- parent = _ref146.parent;
2034
-
2014
+ function VoidTypeAnnotation({
2015
+ parent
2016
+ } = {}) {
2035
2017
  return (0, _detachedNode.detachedProps)(parent, {
2036
2018
  type: 'VoidTypeAnnotation'
2037
2019
  });
2038
2020
  }
2039
2021
 
2040
- function WhileStatement(_ref147) {
2041
- var parent = _ref147.parent,
2042
- props = _objectWithoutProperties(_ref147, _excluded128);
2043
-
2044
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
2045
- type: 'WhileStatement'
2046
- }, props));
2022
+ function WhileStatement({
2023
+ parent,
2024
+ ...props
2025
+ }) {
2026
+ const node = (0, _detachedNode.detachedProps)(parent, {
2027
+ type: 'WhileStatement',
2028
+ ...props
2029
+ });
2047
2030
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
2048
2031
  return node;
2049
2032
  }
2050
2033
 
2051
- function WithStatement(_ref148) {
2052
- var parent = _ref148.parent,
2053
- props = _objectWithoutProperties(_ref148, _excluded129);
2054
-
2055
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
2056
- type: 'WithStatement'
2057
- }, props));
2034
+ function WithStatement({
2035
+ parent,
2036
+ ...props
2037
+ }) {
2038
+ const node = (0, _detachedNode.detachedProps)(parent, {
2039
+ type: 'WithStatement',
2040
+ ...props
2041
+ });
2058
2042
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
2059
2043
  return node;
2060
2044
  }
2061
2045
 
2062
- function YieldExpression(_ref149) {
2063
- var parent = _ref149.parent,
2064
- props = _objectWithoutProperties(_ref149, _excluded130);
2065
-
2066
- var node = (0, _detachedNode.detachedProps)(parent, _objectSpread({
2067
- type: 'YieldExpression'
2068
- }, props));
2046
+ function YieldExpression({
2047
+ parent,
2048
+ ...props
2049
+ }) {
2050
+ const node = (0, _detachedNode.detachedProps)(parent, {
2051
+ type: 'YieldExpression',
2052
+ ...props
2053
+ });
2069
2054
  (0, _detachedNode.setParentPointersInDirectChildren)(node);
2070
2055
  return node;
2071
2056
  }