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