@tinacms/app 0.0.28 → 1.0.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 (181) hide show
  1. package/appFiles/node_modules/.package-lock.json +10 -10
  2. package/appFiles/node_modules/@babel/generator/lib/generators/base.js.map +1 -1
  3. package/appFiles/node_modules/@babel/generator/lib/generators/classes.js +1 -1
  4. package/appFiles/node_modules/@babel/generator/lib/generators/classes.js.map +1 -1
  5. package/appFiles/node_modules/@babel/generator/lib/generators/expressions.js +9 -15
  6. package/appFiles/node_modules/@babel/generator/lib/generators/expressions.js.map +1 -1
  7. package/appFiles/node_modules/@babel/generator/lib/generators/methods.js +9 -24
  8. package/appFiles/node_modules/@babel/generator/lib/generators/methods.js.map +1 -1
  9. package/appFiles/node_modules/@babel/generator/lib/generators/modules.js +6 -14
  10. package/appFiles/node_modules/@babel/generator/lib/generators/modules.js.map +1 -1
  11. package/appFiles/node_modules/@babel/generator/lib/generators/statements.js +1 -16
  12. package/appFiles/node_modules/@babel/generator/lib/generators/statements.js.map +1 -1
  13. package/appFiles/node_modules/@babel/generator/lib/printer.js +89 -80
  14. package/appFiles/node_modules/@babel/generator/lib/printer.js.map +1 -1
  15. package/appFiles/node_modules/@babel/generator/package.json +3 -3
  16. package/appFiles/node_modules/@babel/parser/lib/index.js +1 -1
  17. package/appFiles/node_modules/@babel/parser/lib/index.js.map +1 -1
  18. package/appFiles/node_modules/@babel/parser/package.json +1 -1
  19. package/appFiles/node_modules/@babel/parser/typings/babel-parser.d.ts +92 -80
  20. package/appFiles/node_modules/@babel/parser/typings/babel-parser.source.d.ts +151 -0
  21. package/appFiles/node_modules/@babel/types/lib/asserts/assertNode.js +0 -3
  22. package/appFiles/node_modules/@babel/types/lib/asserts/assertNode.js.map +1 -1
  23. package/appFiles/node_modules/@babel/types/lib/asserts/generated/index.js +0 -303
  24. package/appFiles/node_modules/@babel/types/lib/asserts/generated/index.js.map +1 -1
  25. package/appFiles/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js +0 -4
  26. package/appFiles/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js.map +1 -1
  27. package/appFiles/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js +0 -11
  28. package/appFiles/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js.map +1 -1
  29. package/appFiles/node_modules/@babel/types/lib/builders/generated/index.js +0 -253
  30. package/appFiles/node_modules/@babel/types/lib/builders/generated/index.js.map +1 -1
  31. package/appFiles/node_modules/@babel/types/lib/builders/generated/uppercase.js +0 -1
  32. package/appFiles/node_modules/@babel/types/lib/builders/generated/uppercase.js.map +1 -1
  33. package/appFiles/node_modules/@babel/types/lib/builders/react/buildChildren.js +0 -7
  34. package/appFiles/node_modules/@babel/types/lib/builders/react/buildChildren.js.map +1 -1
  35. package/appFiles/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js +0 -5
  36. package/appFiles/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js.map +1 -1
  37. package/appFiles/node_modules/@babel/types/lib/builders/validateNode.js +0 -5
  38. package/appFiles/node_modules/@babel/types/lib/builders/validateNode.js.map +1 -1
  39. package/appFiles/node_modules/@babel/types/lib/clone/clone.js +0 -2
  40. package/appFiles/node_modules/@babel/types/lib/clone/clone.js.map +1 -1
  41. package/appFiles/node_modules/@babel/types/lib/clone/cloneDeep.js +0 -2
  42. package/appFiles/node_modules/@babel/types/lib/clone/cloneDeep.js.map +1 -1
  43. package/appFiles/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js +0 -2
  44. package/appFiles/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js.map +1 -1
  45. package/appFiles/node_modules/@babel/types/lib/clone/cloneNode.js +4 -22
  46. package/appFiles/node_modules/@babel/types/lib/clone/cloneNode.js.map +1 -1
  47. package/appFiles/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js +0 -2
  48. package/appFiles/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js.map +1 -1
  49. package/appFiles/node_modules/@babel/types/lib/comments/addComment.js +0 -2
  50. package/appFiles/node_modules/@babel/types/lib/comments/addComment.js.map +1 -1
  51. package/appFiles/node_modules/@babel/types/lib/comments/addComments.js +0 -3
  52. package/appFiles/node_modules/@babel/types/lib/comments/addComments.js.map +1 -1
  53. package/appFiles/node_modules/@babel/types/lib/comments/inheritInnerComments.js +0 -2
  54. package/appFiles/node_modules/@babel/types/lib/comments/inheritInnerComments.js.map +1 -1
  55. package/appFiles/node_modules/@babel/types/lib/comments/inheritLeadingComments.js +0 -2
  56. package/appFiles/node_modules/@babel/types/lib/comments/inheritLeadingComments.js.map +1 -1
  57. package/appFiles/node_modules/@babel/types/lib/comments/inheritTrailingComments.js +0 -2
  58. package/appFiles/node_modules/@babel/types/lib/comments/inheritTrailingComments.js.map +1 -1
  59. package/appFiles/node_modules/@babel/types/lib/comments/inheritsComments.js +0 -4
  60. package/appFiles/node_modules/@babel/types/lib/comments/inheritsComments.js.map +1 -1
  61. package/appFiles/node_modules/@babel/types/lib/comments/removeComments.js +0 -3
  62. package/appFiles/node_modules/@babel/types/lib/comments/removeComments.js.map +1 -1
  63. package/appFiles/node_modules/@babel/types/lib/constants/generated/index.js +0 -1
  64. package/appFiles/node_modules/@babel/types/lib/constants/generated/index.js.map +1 -1
  65. package/appFiles/node_modules/@babel/types/lib/constants/index.js.map +1 -1
  66. package/appFiles/node_modules/@babel/types/lib/converters/ensureBlock.js +0 -2
  67. package/appFiles/node_modules/@babel/types/lib/converters/ensureBlock.js.map +1 -1
  68. package/appFiles/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js +2 -12
  69. package/appFiles/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map +1 -1
  70. package/appFiles/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js +0 -2
  71. package/appFiles/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js.map +1 -1
  72. package/appFiles/node_modules/@babel/types/lib/converters/toBlock.js +0 -7
  73. package/appFiles/node_modules/@babel/types/lib/converters/toBlock.js.map +1 -1
  74. package/appFiles/node_modules/@babel/types/lib/converters/toComputedKey.js +2 -4
  75. package/appFiles/node_modules/@babel/types/lib/converters/toComputedKey.js.map +1 -1
  76. package/appFiles/node_modules/@babel/types/lib/converters/toExpression.js +0 -4
  77. package/appFiles/node_modules/@babel/types/lib/converters/toExpression.js.map +1 -1
  78. package/appFiles/node_modules/@babel/types/lib/converters/toIdentifier.js +2 -6
  79. package/appFiles/node_modules/@babel/types/lib/converters/toIdentifier.js.map +1 -1
  80. package/appFiles/node_modules/@babel/types/lib/converters/toKeyAlias.js +0 -7
  81. package/appFiles/node_modules/@babel/types/lib/converters/toKeyAlias.js.map +1 -1
  82. package/appFiles/node_modules/@babel/types/lib/converters/toSequenceExpression.js +0 -3
  83. package/appFiles/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map +1 -1
  84. package/appFiles/node_modules/@babel/types/lib/converters/toStatement.js +1 -7
  85. package/appFiles/node_modules/@babel/types/lib/converters/toStatement.js.map +1 -1
  86. package/appFiles/node_modules/@babel/types/lib/converters/valueToNode.js +2 -18
  87. package/appFiles/node_modules/@babel/types/lib/converters/valueToNode.js.map +1 -1
  88. package/appFiles/node_modules/@babel/types/lib/definitions/core.js +33 -61
  89. package/appFiles/node_modules/@babel/types/lib/definitions/core.js.map +1 -1
  90. package/appFiles/node_modules/@babel/types/lib/definitions/experimental.js +3 -1
  91. package/appFiles/node_modules/@babel/types/lib/definitions/experimental.js.map +1 -1
  92. package/appFiles/node_modules/@babel/types/lib/definitions/flow.js +1 -3
  93. package/appFiles/node_modules/@babel/types/lib/definitions/flow.js.map +1 -1
  94. package/appFiles/node_modules/@babel/types/lib/definitions/index.js +0 -18
  95. package/appFiles/node_modules/@babel/types/lib/definitions/index.js.map +1 -1
  96. package/appFiles/node_modules/@babel/types/lib/definitions/jsx.js +0 -1
  97. package/appFiles/node_modules/@babel/types/lib/definitions/jsx.js.map +1 -1
  98. package/appFiles/node_modules/@babel/types/lib/definitions/misc.js +0 -2
  99. package/appFiles/node_modules/@babel/types/lib/definitions/misc.js.map +1 -1
  100. package/appFiles/node_modules/@babel/types/lib/definitions/placeholders.js +0 -5
  101. package/appFiles/node_modules/@babel/types/lib/definitions/placeholders.js.map +1 -1
  102. package/appFiles/node_modules/@babel/types/lib/definitions/typescript.js +4 -15
  103. package/appFiles/node_modules/@babel/types/lib/definitions/typescript.js.map +1 -1
  104. package/appFiles/node_modules/@babel/types/lib/definitions/utils.js +1 -65
  105. package/appFiles/node_modules/@babel/types/lib/definitions/utils.js.map +1 -1
  106. package/appFiles/node_modules/@babel/types/lib/index.d.ts +0 -1
  107. package/appFiles/node_modules/@babel/types/lib/index.js +1 -75
  108. package/appFiles/node_modules/@babel/types/lib/index.js.map +1 -1
  109. package/appFiles/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js +0 -2
  110. package/appFiles/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js.map +1 -1
  111. package/appFiles/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js +3 -12
  112. package/appFiles/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js.map +1 -1
  113. package/appFiles/node_modules/@babel/types/lib/modifications/inherits.js +0 -4
  114. package/appFiles/node_modules/@babel/types/lib/modifications/inherits.js.map +1 -1
  115. package/appFiles/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js +0 -4
  116. package/appFiles/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js.map +1 -1
  117. package/appFiles/node_modules/@babel/types/lib/modifications/removeProperties.js +3 -8
  118. package/appFiles/node_modules/@babel/types/lib/modifications/removeProperties.js.map +1 -1
  119. package/appFiles/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js +0 -3
  120. package/appFiles/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js.map +1 -1
  121. package/appFiles/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js +1 -10
  122. package/appFiles/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map +1 -1
  123. package/appFiles/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js +4 -14
  124. package/appFiles/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map +1 -1
  125. package/appFiles/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js +0 -3
  126. package/appFiles/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js.map +1 -1
  127. package/appFiles/node_modules/@babel/types/lib/traverse/traverse.js +0 -7
  128. package/appFiles/node_modules/@babel/types/lib/traverse/traverse.js.map +1 -1
  129. package/appFiles/node_modules/@babel/types/lib/traverse/traverseFast.js +2 -5
  130. package/appFiles/node_modules/@babel/types/lib/traverse/traverseFast.js.map +1 -1
  131. package/appFiles/node_modules/@babel/types/lib/utils/inherit.js +0 -1
  132. package/appFiles/node_modules/@babel/types/lib/utils/inherit.js.map +1 -1
  133. package/appFiles/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js +1 -8
  134. package/appFiles/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js.map +1 -1
  135. package/appFiles/node_modules/@babel/types/lib/utils/shallowEqual.js +2 -4
  136. package/appFiles/node_modules/@babel/types/lib/utils/shallowEqual.js.map +1 -1
  137. package/appFiles/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js +0 -2
  138. package/appFiles/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js.map +1 -1
  139. package/appFiles/node_modules/@babel/types/lib/validators/generated/index.js +0 -906
  140. package/appFiles/node_modules/@babel/types/lib/validators/generated/index.js.map +1 -1
  141. package/appFiles/node_modules/@babel/types/lib/validators/is.js +0 -8
  142. package/appFiles/node_modules/@babel/types/lib/validators/is.js.map +1 -1
  143. package/appFiles/node_modules/@babel/types/lib/validators/isBinding.js +4 -8
  144. package/appFiles/node_modules/@babel/types/lib/validators/isBinding.js.map +1 -1
  145. package/appFiles/node_modules/@babel/types/lib/validators/isBlockScoped.js +0 -3
  146. package/appFiles/node_modules/@babel/types/lib/validators/isBlockScoped.js.map +1 -1
  147. package/appFiles/node_modules/@babel/types/lib/validators/isImmutable.js +0 -5
  148. package/appFiles/node_modules/@babel/types/lib/validators/isImmutable.js.map +1 -1
  149. package/appFiles/node_modules/@babel/types/lib/validators/isLet.js +2 -4
  150. package/appFiles/node_modules/@babel/types/lib/validators/isLet.js.map +1 -1
  151. package/appFiles/node_modules/@babel/types/lib/validators/isNode.js +0 -2
  152. package/appFiles/node_modules/@babel/types/lib/validators/isNode.js.map +1 -1
  153. package/appFiles/node_modules/@babel/types/lib/validators/isNodesEquivalent.js +2 -16
  154. package/appFiles/node_modules/@babel/types/lib/validators/isNodesEquivalent.js.map +1 -1
  155. package/appFiles/node_modules/@babel/types/lib/validators/isPlaceholderType.js +0 -4
  156. package/appFiles/node_modules/@babel/types/lib/validators/isPlaceholderType.js.map +1 -1
  157. package/appFiles/node_modules/@babel/types/lib/validators/isReferenced.js +0 -13
  158. package/appFiles/node_modules/@babel/types/lib/validators/isReferenced.js.map +1 -1
  159. package/appFiles/node_modules/@babel/types/lib/validators/isScope.js +0 -3
  160. package/appFiles/node_modules/@babel/types/lib/validators/isScope.js.map +1 -1
  161. package/appFiles/node_modules/@babel/types/lib/validators/isSpecifierDefault.js +2 -3
  162. package/appFiles/node_modules/@babel/types/lib/validators/isSpecifierDefault.js.map +1 -1
  163. package/appFiles/node_modules/@babel/types/lib/validators/isType.js +1 -5
  164. package/appFiles/node_modules/@babel/types/lib/validators/isType.js.map +1 -1
  165. package/appFiles/node_modules/@babel/types/lib/validators/isValidES3Identifier.js +0 -2
  166. package/appFiles/node_modules/@babel/types/lib/validators/isValidES3Identifier.js.map +1 -1
  167. package/appFiles/node_modules/@babel/types/lib/validators/isValidIdentifier.js +0 -4
  168. package/appFiles/node_modules/@babel/types/lib/validators/isValidIdentifier.js.map +1 -1
  169. package/appFiles/node_modules/@babel/types/lib/validators/isVar.js +2 -4
  170. package/appFiles/node_modules/@babel/types/lib/validators/isVar.js.map +1 -1
  171. package/appFiles/node_modules/@babel/types/lib/validators/matchesPattern.js +0 -8
  172. package/appFiles/node_modules/@babel/types/lib/validators/matchesPattern.js.map +1 -1
  173. package/appFiles/node_modules/@babel/types/lib/validators/react/isCompatTag.js +0 -1
  174. package/appFiles/node_modules/@babel/types/lib/validators/react/isCompatTag.js.map +1 -1
  175. package/appFiles/node_modules/@babel/types/lib/validators/react/isReactComponent.js +0 -2
  176. package/appFiles/node_modules/@babel/types/lib/validators/react/isReactComponent.js.map +1 -1
  177. package/appFiles/node_modules/@babel/types/lib/validators/validate.js +0 -4
  178. package/appFiles/node_modules/@babel/types/lib/validators/validate.js.map +1 -1
  179. package/appFiles/node_modules/@babel/types/package.json +3 -3
  180. package/package.json +4 -4
  181. package/appFiles/node_modules/@babel/types/lib/index.d.ts.map +0 -1
@@ -305,7 +305,6 @@ exports.assertWhile = assertWhile;
305
305
  exports.assertWhileStatement = assertWhileStatement;
306
306
  exports.assertWithStatement = assertWithStatement;
307
307
  exports.assertYieldExpression = assertYieldExpression;
308
-
309
308
  var _is = require("../../validators/is");
310
309
 
311
310
  function assert(type, node, opts) {
@@ -313,1214 +312,912 @@ function assert(type, node, opts) {
313
312
  throw new Error(`Expected type "${type}" with option ${JSON.stringify(opts)}, ` + `but instead got "${node.type}".`);
314
313
  }
315
314
  }
316
-
317
315
  function assertArrayExpression(node, opts) {
318
316
  assert("ArrayExpression", node, opts);
319
317
  }
320
-
321
318
  function assertAssignmentExpression(node, opts) {
322
319
  assert("AssignmentExpression", node, opts);
323
320
  }
324
-
325
321
  function assertBinaryExpression(node, opts) {
326
322
  assert("BinaryExpression", node, opts);
327
323
  }
328
-
329
324
  function assertInterpreterDirective(node, opts) {
330
325
  assert("InterpreterDirective", node, opts);
331
326
  }
332
-
333
327
  function assertDirective(node, opts) {
334
328
  assert("Directive", node, opts);
335
329
  }
336
-
337
330
  function assertDirectiveLiteral(node, opts) {
338
331
  assert("DirectiveLiteral", node, opts);
339
332
  }
340
-
341
333
  function assertBlockStatement(node, opts) {
342
334
  assert("BlockStatement", node, opts);
343
335
  }
344
-
345
336
  function assertBreakStatement(node, opts) {
346
337
  assert("BreakStatement", node, opts);
347
338
  }
348
-
349
339
  function assertCallExpression(node, opts) {
350
340
  assert("CallExpression", node, opts);
351
341
  }
352
-
353
342
  function assertCatchClause(node, opts) {
354
343
  assert("CatchClause", node, opts);
355
344
  }
356
-
357
345
  function assertConditionalExpression(node, opts) {
358
346
  assert("ConditionalExpression", node, opts);
359
347
  }
360
-
361
348
  function assertContinueStatement(node, opts) {
362
349
  assert("ContinueStatement", node, opts);
363
350
  }
364
-
365
351
  function assertDebuggerStatement(node, opts) {
366
352
  assert("DebuggerStatement", node, opts);
367
353
  }
368
-
369
354
  function assertDoWhileStatement(node, opts) {
370
355
  assert("DoWhileStatement", node, opts);
371
356
  }
372
-
373
357
  function assertEmptyStatement(node, opts) {
374
358
  assert("EmptyStatement", node, opts);
375
359
  }
376
-
377
360
  function assertExpressionStatement(node, opts) {
378
361
  assert("ExpressionStatement", node, opts);
379
362
  }
380
-
381
363
  function assertFile(node, opts) {
382
364
  assert("File", node, opts);
383
365
  }
384
-
385
366
  function assertForInStatement(node, opts) {
386
367
  assert("ForInStatement", node, opts);
387
368
  }
388
-
389
369
  function assertForStatement(node, opts) {
390
370
  assert("ForStatement", node, opts);
391
371
  }
392
-
393
372
  function assertFunctionDeclaration(node, opts) {
394
373
  assert("FunctionDeclaration", node, opts);
395
374
  }
396
-
397
375
  function assertFunctionExpression(node, opts) {
398
376
  assert("FunctionExpression", node, opts);
399
377
  }
400
-
401
378
  function assertIdentifier(node, opts) {
402
379
  assert("Identifier", node, opts);
403
380
  }
404
-
405
381
  function assertIfStatement(node, opts) {
406
382
  assert("IfStatement", node, opts);
407
383
  }
408
-
409
384
  function assertLabeledStatement(node, opts) {
410
385
  assert("LabeledStatement", node, opts);
411
386
  }
412
-
413
387
  function assertStringLiteral(node, opts) {
414
388
  assert("StringLiteral", node, opts);
415
389
  }
416
-
417
390
  function assertNumericLiteral(node, opts) {
418
391
  assert("NumericLiteral", node, opts);
419
392
  }
420
-
421
393
  function assertNullLiteral(node, opts) {
422
394
  assert("NullLiteral", node, opts);
423
395
  }
424
-
425
396
  function assertBooleanLiteral(node, opts) {
426
397
  assert("BooleanLiteral", node, opts);
427
398
  }
428
-
429
399
  function assertRegExpLiteral(node, opts) {
430
400
  assert("RegExpLiteral", node, opts);
431
401
  }
432
-
433
402
  function assertLogicalExpression(node, opts) {
434
403
  assert("LogicalExpression", node, opts);
435
404
  }
436
-
437
405
  function assertMemberExpression(node, opts) {
438
406
  assert("MemberExpression", node, opts);
439
407
  }
440
-
441
408
  function assertNewExpression(node, opts) {
442
409
  assert("NewExpression", node, opts);
443
410
  }
444
-
445
411
  function assertProgram(node, opts) {
446
412
  assert("Program", node, opts);
447
413
  }
448
-
449
414
  function assertObjectExpression(node, opts) {
450
415
  assert("ObjectExpression", node, opts);
451
416
  }
452
-
453
417
  function assertObjectMethod(node, opts) {
454
418
  assert("ObjectMethod", node, opts);
455
419
  }
456
-
457
420
  function assertObjectProperty(node, opts) {
458
421
  assert("ObjectProperty", node, opts);
459
422
  }
460
-
461
423
  function assertRestElement(node, opts) {
462
424
  assert("RestElement", node, opts);
463
425
  }
464
-
465
426
  function assertReturnStatement(node, opts) {
466
427
  assert("ReturnStatement", node, opts);
467
428
  }
468
-
469
429
  function assertSequenceExpression(node, opts) {
470
430
  assert("SequenceExpression", node, opts);
471
431
  }
472
-
473
432
  function assertParenthesizedExpression(node, opts) {
474
433
  assert("ParenthesizedExpression", node, opts);
475
434
  }
476
-
477
435
  function assertSwitchCase(node, opts) {
478
436
  assert("SwitchCase", node, opts);
479
437
  }
480
-
481
438
  function assertSwitchStatement(node, opts) {
482
439
  assert("SwitchStatement", node, opts);
483
440
  }
484
-
485
441
  function assertThisExpression(node, opts) {
486
442
  assert("ThisExpression", node, opts);
487
443
  }
488
-
489
444
  function assertThrowStatement(node, opts) {
490
445
  assert("ThrowStatement", node, opts);
491
446
  }
492
-
493
447
  function assertTryStatement(node, opts) {
494
448
  assert("TryStatement", node, opts);
495
449
  }
496
-
497
450
  function assertUnaryExpression(node, opts) {
498
451
  assert("UnaryExpression", node, opts);
499
452
  }
500
-
501
453
  function assertUpdateExpression(node, opts) {
502
454
  assert("UpdateExpression", node, opts);
503
455
  }
504
-
505
456
  function assertVariableDeclaration(node, opts) {
506
457
  assert("VariableDeclaration", node, opts);
507
458
  }
508
-
509
459
  function assertVariableDeclarator(node, opts) {
510
460
  assert("VariableDeclarator", node, opts);
511
461
  }
512
-
513
462
  function assertWhileStatement(node, opts) {
514
463
  assert("WhileStatement", node, opts);
515
464
  }
516
-
517
465
  function assertWithStatement(node, opts) {
518
466
  assert("WithStatement", node, opts);
519
467
  }
520
-
521
468
  function assertAssignmentPattern(node, opts) {
522
469
  assert("AssignmentPattern", node, opts);
523
470
  }
524
-
525
471
  function assertArrayPattern(node, opts) {
526
472
  assert("ArrayPattern", node, opts);
527
473
  }
528
-
529
474
  function assertArrowFunctionExpression(node, opts) {
530
475
  assert("ArrowFunctionExpression", node, opts);
531
476
  }
532
-
533
477
  function assertClassBody(node, opts) {
534
478
  assert("ClassBody", node, opts);
535
479
  }
536
-
537
480
  function assertClassExpression(node, opts) {
538
481
  assert("ClassExpression", node, opts);
539
482
  }
540
-
541
483
  function assertClassDeclaration(node, opts) {
542
484
  assert("ClassDeclaration", node, opts);
543
485
  }
544
-
545
486
  function assertExportAllDeclaration(node, opts) {
546
487
  assert("ExportAllDeclaration", node, opts);
547
488
  }
548
-
549
489
  function assertExportDefaultDeclaration(node, opts) {
550
490
  assert("ExportDefaultDeclaration", node, opts);
551
491
  }
552
-
553
492
  function assertExportNamedDeclaration(node, opts) {
554
493
  assert("ExportNamedDeclaration", node, opts);
555
494
  }
556
-
557
495
  function assertExportSpecifier(node, opts) {
558
496
  assert("ExportSpecifier", node, opts);
559
497
  }
560
-
561
498
  function assertForOfStatement(node, opts) {
562
499
  assert("ForOfStatement", node, opts);
563
500
  }
564
-
565
501
  function assertImportDeclaration(node, opts) {
566
502
  assert("ImportDeclaration", node, opts);
567
503
  }
568
-
569
504
  function assertImportDefaultSpecifier(node, opts) {
570
505
  assert("ImportDefaultSpecifier", node, opts);
571
506
  }
572
-
573
507
  function assertImportNamespaceSpecifier(node, opts) {
574
508
  assert("ImportNamespaceSpecifier", node, opts);
575
509
  }
576
-
577
510
  function assertImportSpecifier(node, opts) {
578
511
  assert("ImportSpecifier", node, opts);
579
512
  }
580
-
581
513
  function assertMetaProperty(node, opts) {
582
514
  assert("MetaProperty", node, opts);
583
515
  }
584
-
585
516
  function assertClassMethod(node, opts) {
586
517
  assert("ClassMethod", node, opts);
587
518
  }
588
-
589
519
  function assertObjectPattern(node, opts) {
590
520
  assert("ObjectPattern", node, opts);
591
521
  }
592
-
593
522
  function assertSpreadElement(node, opts) {
594
523
  assert("SpreadElement", node, opts);
595
524
  }
596
-
597
525
  function assertSuper(node, opts) {
598
526
  assert("Super", node, opts);
599
527
  }
600
-
601
528
  function assertTaggedTemplateExpression(node, opts) {
602
529
  assert("TaggedTemplateExpression", node, opts);
603
530
  }
604
-
605
531
  function assertTemplateElement(node, opts) {
606
532
  assert("TemplateElement", node, opts);
607
533
  }
608
-
609
534
  function assertTemplateLiteral(node, opts) {
610
535
  assert("TemplateLiteral", node, opts);
611
536
  }
612
-
613
537
  function assertYieldExpression(node, opts) {
614
538
  assert("YieldExpression", node, opts);
615
539
  }
616
-
617
540
  function assertAwaitExpression(node, opts) {
618
541
  assert("AwaitExpression", node, opts);
619
542
  }
620
-
621
543
  function assertImport(node, opts) {
622
544
  assert("Import", node, opts);
623
545
  }
624
-
625
546
  function assertBigIntLiteral(node, opts) {
626
547
  assert("BigIntLiteral", node, opts);
627
548
  }
628
-
629
549
  function assertExportNamespaceSpecifier(node, opts) {
630
550
  assert("ExportNamespaceSpecifier", node, opts);
631
551
  }
632
-
633
552
  function assertOptionalMemberExpression(node, opts) {
634
553
  assert("OptionalMemberExpression", node, opts);
635
554
  }
636
-
637
555
  function assertOptionalCallExpression(node, opts) {
638
556
  assert("OptionalCallExpression", node, opts);
639
557
  }
640
-
641
558
  function assertClassProperty(node, opts) {
642
559
  assert("ClassProperty", node, opts);
643
560
  }
644
-
645
561
  function assertClassAccessorProperty(node, opts) {
646
562
  assert("ClassAccessorProperty", node, opts);
647
563
  }
648
-
649
564
  function assertClassPrivateProperty(node, opts) {
650
565
  assert("ClassPrivateProperty", node, opts);
651
566
  }
652
-
653
567
  function assertClassPrivateMethod(node, opts) {
654
568
  assert("ClassPrivateMethod", node, opts);
655
569
  }
656
-
657
570
  function assertPrivateName(node, opts) {
658
571
  assert("PrivateName", node, opts);
659
572
  }
660
-
661
573
  function assertStaticBlock(node, opts) {
662
574
  assert("StaticBlock", node, opts);
663
575
  }
664
-
665
576
  function assertAnyTypeAnnotation(node, opts) {
666
577
  assert("AnyTypeAnnotation", node, opts);
667
578
  }
668
-
669
579
  function assertArrayTypeAnnotation(node, opts) {
670
580
  assert("ArrayTypeAnnotation", node, opts);
671
581
  }
672
-
673
582
  function assertBooleanTypeAnnotation(node, opts) {
674
583
  assert("BooleanTypeAnnotation", node, opts);
675
584
  }
676
-
677
585
  function assertBooleanLiteralTypeAnnotation(node, opts) {
678
586
  assert("BooleanLiteralTypeAnnotation", node, opts);
679
587
  }
680
-
681
588
  function assertNullLiteralTypeAnnotation(node, opts) {
682
589
  assert("NullLiteralTypeAnnotation", node, opts);
683
590
  }
684
-
685
591
  function assertClassImplements(node, opts) {
686
592
  assert("ClassImplements", node, opts);
687
593
  }
688
-
689
594
  function assertDeclareClass(node, opts) {
690
595
  assert("DeclareClass", node, opts);
691
596
  }
692
-
693
597
  function assertDeclareFunction(node, opts) {
694
598
  assert("DeclareFunction", node, opts);
695
599
  }
696
-
697
600
  function assertDeclareInterface(node, opts) {
698
601
  assert("DeclareInterface", node, opts);
699
602
  }
700
-
701
603
  function assertDeclareModule(node, opts) {
702
604
  assert("DeclareModule", node, opts);
703
605
  }
704
-
705
606
  function assertDeclareModuleExports(node, opts) {
706
607
  assert("DeclareModuleExports", node, opts);
707
608
  }
708
-
709
609
  function assertDeclareTypeAlias(node, opts) {
710
610
  assert("DeclareTypeAlias", node, opts);
711
611
  }
712
-
713
612
  function assertDeclareOpaqueType(node, opts) {
714
613
  assert("DeclareOpaqueType", node, opts);
715
614
  }
716
-
717
615
  function assertDeclareVariable(node, opts) {
718
616
  assert("DeclareVariable", node, opts);
719
617
  }
720
-
721
618
  function assertDeclareExportDeclaration(node, opts) {
722
619
  assert("DeclareExportDeclaration", node, opts);
723
620
  }
724
-
725
621
  function assertDeclareExportAllDeclaration(node, opts) {
726
622
  assert("DeclareExportAllDeclaration", node, opts);
727
623
  }
728
-
729
624
  function assertDeclaredPredicate(node, opts) {
730
625
  assert("DeclaredPredicate", node, opts);
731
626
  }
732
-
733
627
  function assertExistsTypeAnnotation(node, opts) {
734
628
  assert("ExistsTypeAnnotation", node, opts);
735
629
  }
736
-
737
630
  function assertFunctionTypeAnnotation(node, opts) {
738
631
  assert("FunctionTypeAnnotation", node, opts);
739
632
  }
740
-
741
633
  function assertFunctionTypeParam(node, opts) {
742
634
  assert("FunctionTypeParam", node, opts);
743
635
  }
744
-
745
636
  function assertGenericTypeAnnotation(node, opts) {
746
637
  assert("GenericTypeAnnotation", node, opts);
747
638
  }
748
-
749
639
  function assertInferredPredicate(node, opts) {
750
640
  assert("InferredPredicate", node, opts);
751
641
  }
752
-
753
642
  function assertInterfaceExtends(node, opts) {
754
643
  assert("InterfaceExtends", node, opts);
755
644
  }
756
-
757
645
  function assertInterfaceDeclaration(node, opts) {
758
646
  assert("InterfaceDeclaration", node, opts);
759
647
  }
760
-
761
648
  function assertInterfaceTypeAnnotation(node, opts) {
762
649
  assert("InterfaceTypeAnnotation", node, opts);
763
650
  }
764
-
765
651
  function assertIntersectionTypeAnnotation(node, opts) {
766
652
  assert("IntersectionTypeAnnotation", node, opts);
767
653
  }
768
-
769
654
  function assertMixedTypeAnnotation(node, opts) {
770
655
  assert("MixedTypeAnnotation", node, opts);
771
656
  }
772
-
773
657
  function assertEmptyTypeAnnotation(node, opts) {
774
658
  assert("EmptyTypeAnnotation", node, opts);
775
659
  }
776
-
777
660
  function assertNullableTypeAnnotation(node, opts) {
778
661
  assert("NullableTypeAnnotation", node, opts);
779
662
  }
780
-
781
663
  function assertNumberLiteralTypeAnnotation(node, opts) {
782
664
  assert("NumberLiteralTypeAnnotation", node, opts);
783
665
  }
784
-
785
666
  function assertNumberTypeAnnotation(node, opts) {
786
667
  assert("NumberTypeAnnotation", node, opts);
787
668
  }
788
-
789
669
  function assertObjectTypeAnnotation(node, opts) {
790
670
  assert("ObjectTypeAnnotation", node, opts);
791
671
  }
792
-
793
672
  function assertObjectTypeInternalSlot(node, opts) {
794
673
  assert("ObjectTypeInternalSlot", node, opts);
795
674
  }
796
-
797
675
  function assertObjectTypeCallProperty(node, opts) {
798
676
  assert("ObjectTypeCallProperty", node, opts);
799
677
  }
800
-
801
678
  function assertObjectTypeIndexer(node, opts) {
802
679
  assert("ObjectTypeIndexer", node, opts);
803
680
  }
804
-
805
681
  function assertObjectTypeProperty(node, opts) {
806
682
  assert("ObjectTypeProperty", node, opts);
807
683
  }
808
-
809
684
  function assertObjectTypeSpreadProperty(node, opts) {
810
685
  assert("ObjectTypeSpreadProperty", node, opts);
811
686
  }
812
-
813
687
  function assertOpaqueType(node, opts) {
814
688
  assert("OpaqueType", node, opts);
815
689
  }
816
-
817
690
  function assertQualifiedTypeIdentifier(node, opts) {
818
691
  assert("QualifiedTypeIdentifier", node, opts);
819
692
  }
820
-
821
693
  function assertStringLiteralTypeAnnotation(node, opts) {
822
694
  assert("StringLiteralTypeAnnotation", node, opts);
823
695
  }
824
-
825
696
  function assertStringTypeAnnotation(node, opts) {
826
697
  assert("StringTypeAnnotation", node, opts);
827
698
  }
828
-
829
699
  function assertSymbolTypeAnnotation(node, opts) {
830
700
  assert("SymbolTypeAnnotation", node, opts);
831
701
  }
832
-
833
702
  function assertThisTypeAnnotation(node, opts) {
834
703
  assert("ThisTypeAnnotation", node, opts);
835
704
  }
836
-
837
705
  function assertTupleTypeAnnotation(node, opts) {
838
706
  assert("TupleTypeAnnotation", node, opts);
839
707
  }
840
-
841
708
  function assertTypeofTypeAnnotation(node, opts) {
842
709
  assert("TypeofTypeAnnotation", node, opts);
843
710
  }
844
-
845
711
  function assertTypeAlias(node, opts) {
846
712
  assert("TypeAlias", node, opts);
847
713
  }
848
-
849
714
  function assertTypeAnnotation(node, opts) {
850
715
  assert("TypeAnnotation", node, opts);
851
716
  }
852
-
853
717
  function assertTypeCastExpression(node, opts) {
854
718
  assert("TypeCastExpression", node, opts);
855
719
  }
856
-
857
720
  function assertTypeParameter(node, opts) {
858
721
  assert("TypeParameter", node, opts);
859
722
  }
860
-
861
723
  function assertTypeParameterDeclaration(node, opts) {
862
724
  assert("TypeParameterDeclaration", node, opts);
863
725
  }
864
-
865
726
  function assertTypeParameterInstantiation(node, opts) {
866
727
  assert("TypeParameterInstantiation", node, opts);
867
728
  }
868
-
869
729
  function assertUnionTypeAnnotation(node, opts) {
870
730
  assert("UnionTypeAnnotation", node, opts);
871
731
  }
872
-
873
732
  function assertVariance(node, opts) {
874
733
  assert("Variance", node, opts);
875
734
  }
876
-
877
735
  function assertVoidTypeAnnotation(node, opts) {
878
736
  assert("VoidTypeAnnotation", node, opts);
879
737
  }
880
-
881
738
  function assertEnumDeclaration(node, opts) {
882
739
  assert("EnumDeclaration", node, opts);
883
740
  }
884
-
885
741
  function assertEnumBooleanBody(node, opts) {
886
742
  assert("EnumBooleanBody", node, opts);
887
743
  }
888
-
889
744
  function assertEnumNumberBody(node, opts) {
890
745
  assert("EnumNumberBody", node, opts);
891
746
  }
892
-
893
747
  function assertEnumStringBody(node, opts) {
894
748
  assert("EnumStringBody", node, opts);
895
749
  }
896
-
897
750
  function assertEnumSymbolBody(node, opts) {
898
751
  assert("EnumSymbolBody", node, opts);
899
752
  }
900
-
901
753
  function assertEnumBooleanMember(node, opts) {
902
754
  assert("EnumBooleanMember", node, opts);
903
755
  }
904
-
905
756
  function assertEnumNumberMember(node, opts) {
906
757
  assert("EnumNumberMember", node, opts);
907
758
  }
908
-
909
759
  function assertEnumStringMember(node, opts) {
910
760
  assert("EnumStringMember", node, opts);
911
761
  }
912
-
913
762
  function assertEnumDefaultedMember(node, opts) {
914
763
  assert("EnumDefaultedMember", node, opts);
915
764
  }
916
-
917
765
  function assertIndexedAccessType(node, opts) {
918
766
  assert("IndexedAccessType", node, opts);
919
767
  }
920
-
921
768
  function assertOptionalIndexedAccessType(node, opts) {
922
769
  assert("OptionalIndexedAccessType", node, opts);
923
770
  }
924
-
925
771
  function assertJSXAttribute(node, opts) {
926
772
  assert("JSXAttribute", node, opts);
927
773
  }
928
-
929
774
  function assertJSXClosingElement(node, opts) {
930
775
  assert("JSXClosingElement", node, opts);
931
776
  }
932
-
933
777
  function assertJSXElement(node, opts) {
934
778
  assert("JSXElement", node, opts);
935
779
  }
936
-
937
780
  function assertJSXEmptyExpression(node, opts) {
938
781
  assert("JSXEmptyExpression", node, opts);
939
782
  }
940
-
941
783
  function assertJSXExpressionContainer(node, opts) {
942
784
  assert("JSXExpressionContainer", node, opts);
943
785
  }
944
-
945
786
  function assertJSXSpreadChild(node, opts) {
946
787
  assert("JSXSpreadChild", node, opts);
947
788
  }
948
-
949
789
  function assertJSXIdentifier(node, opts) {
950
790
  assert("JSXIdentifier", node, opts);
951
791
  }
952
-
953
792
  function assertJSXMemberExpression(node, opts) {
954
793
  assert("JSXMemberExpression", node, opts);
955
794
  }
956
-
957
795
  function assertJSXNamespacedName(node, opts) {
958
796
  assert("JSXNamespacedName", node, opts);
959
797
  }
960
-
961
798
  function assertJSXOpeningElement(node, opts) {
962
799
  assert("JSXOpeningElement", node, opts);
963
800
  }
964
-
965
801
  function assertJSXSpreadAttribute(node, opts) {
966
802
  assert("JSXSpreadAttribute", node, opts);
967
803
  }
968
-
969
804
  function assertJSXText(node, opts) {
970
805
  assert("JSXText", node, opts);
971
806
  }
972
-
973
807
  function assertJSXFragment(node, opts) {
974
808
  assert("JSXFragment", node, opts);
975
809
  }
976
-
977
810
  function assertJSXOpeningFragment(node, opts) {
978
811
  assert("JSXOpeningFragment", node, opts);
979
812
  }
980
-
981
813
  function assertJSXClosingFragment(node, opts) {
982
814
  assert("JSXClosingFragment", node, opts);
983
815
  }
984
-
985
816
  function assertNoop(node, opts) {
986
817
  assert("Noop", node, opts);
987
818
  }
988
-
989
819
  function assertPlaceholder(node, opts) {
990
820
  assert("Placeholder", node, opts);
991
821
  }
992
-
993
822
  function assertV8IntrinsicIdentifier(node, opts) {
994
823
  assert("V8IntrinsicIdentifier", node, opts);
995
824
  }
996
-
997
825
  function assertArgumentPlaceholder(node, opts) {
998
826
  assert("ArgumentPlaceholder", node, opts);
999
827
  }
1000
-
1001
828
  function assertBindExpression(node, opts) {
1002
829
  assert("BindExpression", node, opts);
1003
830
  }
1004
-
1005
831
  function assertImportAttribute(node, opts) {
1006
832
  assert("ImportAttribute", node, opts);
1007
833
  }
1008
-
1009
834
  function assertDecorator(node, opts) {
1010
835
  assert("Decorator", node, opts);
1011
836
  }
1012
-
1013
837
  function assertDoExpression(node, opts) {
1014
838
  assert("DoExpression", node, opts);
1015
839
  }
1016
-
1017
840
  function assertExportDefaultSpecifier(node, opts) {
1018
841
  assert("ExportDefaultSpecifier", node, opts);
1019
842
  }
1020
-
1021
843
  function assertRecordExpression(node, opts) {
1022
844
  assert("RecordExpression", node, opts);
1023
845
  }
1024
-
1025
846
  function assertTupleExpression(node, opts) {
1026
847
  assert("TupleExpression", node, opts);
1027
848
  }
1028
-
1029
849
  function assertDecimalLiteral(node, opts) {
1030
850
  assert("DecimalLiteral", node, opts);
1031
851
  }
1032
-
1033
852
  function assertModuleExpression(node, opts) {
1034
853
  assert("ModuleExpression", node, opts);
1035
854
  }
1036
-
1037
855
  function assertTopicReference(node, opts) {
1038
856
  assert("TopicReference", node, opts);
1039
857
  }
1040
-
1041
858
  function assertPipelineTopicExpression(node, opts) {
1042
859
  assert("PipelineTopicExpression", node, opts);
1043
860
  }
1044
-
1045
861
  function assertPipelineBareFunction(node, opts) {
1046
862
  assert("PipelineBareFunction", node, opts);
1047
863
  }
1048
-
1049
864
  function assertPipelinePrimaryTopicReference(node, opts) {
1050
865
  assert("PipelinePrimaryTopicReference", node, opts);
1051
866
  }
1052
-
1053
867
  function assertTSParameterProperty(node, opts) {
1054
868
  assert("TSParameterProperty", node, opts);
1055
869
  }
1056
-
1057
870
  function assertTSDeclareFunction(node, opts) {
1058
871
  assert("TSDeclareFunction", node, opts);
1059
872
  }
1060
-
1061
873
  function assertTSDeclareMethod(node, opts) {
1062
874
  assert("TSDeclareMethod", node, opts);
1063
875
  }
1064
-
1065
876
  function assertTSQualifiedName(node, opts) {
1066
877
  assert("TSQualifiedName", node, opts);
1067
878
  }
1068
-
1069
879
  function assertTSCallSignatureDeclaration(node, opts) {
1070
880
  assert("TSCallSignatureDeclaration", node, opts);
1071
881
  }
1072
-
1073
882
  function assertTSConstructSignatureDeclaration(node, opts) {
1074
883
  assert("TSConstructSignatureDeclaration", node, opts);
1075
884
  }
1076
-
1077
885
  function assertTSPropertySignature(node, opts) {
1078
886
  assert("TSPropertySignature", node, opts);
1079
887
  }
1080
-
1081
888
  function assertTSMethodSignature(node, opts) {
1082
889
  assert("TSMethodSignature", node, opts);
1083
890
  }
1084
-
1085
891
  function assertTSIndexSignature(node, opts) {
1086
892
  assert("TSIndexSignature", node, opts);
1087
893
  }
1088
-
1089
894
  function assertTSAnyKeyword(node, opts) {
1090
895
  assert("TSAnyKeyword", node, opts);
1091
896
  }
1092
-
1093
897
  function assertTSBooleanKeyword(node, opts) {
1094
898
  assert("TSBooleanKeyword", node, opts);
1095
899
  }
1096
-
1097
900
  function assertTSBigIntKeyword(node, opts) {
1098
901
  assert("TSBigIntKeyword", node, opts);
1099
902
  }
1100
-
1101
903
  function assertTSIntrinsicKeyword(node, opts) {
1102
904
  assert("TSIntrinsicKeyword", node, opts);
1103
905
  }
1104
-
1105
906
  function assertTSNeverKeyword(node, opts) {
1106
907
  assert("TSNeverKeyword", node, opts);
1107
908
  }
1108
-
1109
909
  function assertTSNullKeyword(node, opts) {
1110
910
  assert("TSNullKeyword", node, opts);
1111
911
  }
1112
-
1113
912
  function assertTSNumberKeyword(node, opts) {
1114
913
  assert("TSNumberKeyword", node, opts);
1115
914
  }
1116
-
1117
915
  function assertTSObjectKeyword(node, opts) {
1118
916
  assert("TSObjectKeyword", node, opts);
1119
917
  }
1120
-
1121
918
  function assertTSStringKeyword(node, opts) {
1122
919
  assert("TSStringKeyword", node, opts);
1123
920
  }
1124
-
1125
921
  function assertTSSymbolKeyword(node, opts) {
1126
922
  assert("TSSymbolKeyword", node, opts);
1127
923
  }
1128
-
1129
924
  function assertTSUndefinedKeyword(node, opts) {
1130
925
  assert("TSUndefinedKeyword", node, opts);
1131
926
  }
1132
-
1133
927
  function assertTSUnknownKeyword(node, opts) {
1134
928
  assert("TSUnknownKeyword", node, opts);
1135
929
  }
1136
-
1137
930
  function assertTSVoidKeyword(node, opts) {
1138
931
  assert("TSVoidKeyword", node, opts);
1139
932
  }
1140
-
1141
933
  function assertTSThisType(node, opts) {
1142
934
  assert("TSThisType", node, opts);
1143
935
  }
1144
-
1145
936
  function assertTSFunctionType(node, opts) {
1146
937
  assert("TSFunctionType", node, opts);
1147
938
  }
1148
-
1149
939
  function assertTSConstructorType(node, opts) {
1150
940
  assert("TSConstructorType", node, opts);
1151
941
  }
1152
-
1153
942
  function assertTSTypeReference(node, opts) {
1154
943
  assert("TSTypeReference", node, opts);
1155
944
  }
1156
-
1157
945
  function assertTSTypePredicate(node, opts) {
1158
946
  assert("TSTypePredicate", node, opts);
1159
947
  }
1160
-
1161
948
  function assertTSTypeQuery(node, opts) {
1162
949
  assert("TSTypeQuery", node, opts);
1163
950
  }
1164
-
1165
951
  function assertTSTypeLiteral(node, opts) {
1166
952
  assert("TSTypeLiteral", node, opts);
1167
953
  }
1168
-
1169
954
  function assertTSArrayType(node, opts) {
1170
955
  assert("TSArrayType", node, opts);
1171
956
  }
1172
-
1173
957
  function assertTSTupleType(node, opts) {
1174
958
  assert("TSTupleType", node, opts);
1175
959
  }
1176
-
1177
960
  function assertTSOptionalType(node, opts) {
1178
961
  assert("TSOptionalType", node, opts);
1179
962
  }
1180
-
1181
963
  function assertTSRestType(node, opts) {
1182
964
  assert("TSRestType", node, opts);
1183
965
  }
1184
-
1185
966
  function assertTSNamedTupleMember(node, opts) {
1186
967
  assert("TSNamedTupleMember", node, opts);
1187
968
  }
1188
-
1189
969
  function assertTSUnionType(node, opts) {
1190
970
  assert("TSUnionType", node, opts);
1191
971
  }
1192
-
1193
972
  function assertTSIntersectionType(node, opts) {
1194
973
  assert("TSIntersectionType", node, opts);
1195
974
  }
1196
-
1197
975
  function assertTSConditionalType(node, opts) {
1198
976
  assert("TSConditionalType", node, opts);
1199
977
  }
1200
-
1201
978
  function assertTSInferType(node, opts) {
1202
979
  assert("TSInferType", node, opts);
1203
980
  }
1204
-
1205
981
  function assertTSParenthesizedType(node, opts) {
1206
982
  assert("TSParenthesizedType", node, opts);
1207
983
  }
1208
-
1209
984
  function assertTSTypeOperator(node, opts) {
1210
985
  assert("TSTypeOperator", node, opts);
1211
986
  }
1212
-
1213
987
  function assertTSIndexedAccessType(node, opts) {
1214
988
  assert("TSIndexedAccessType", node, opts);
1215
989
  }
1216
-
1217
990
  function assertTSMappedType(node, opts) {
1218
991
  assert("TSMappedType", node, opts);
1219
992
  }
1220
-
1221
993
  function assertTSLiteralType(node, opts) {
1222
994
  assert("TSLiteralType", node, opts);
1223
995
  }
1224
-
1225
996
  function assertTSExpressionWithTypeArguments(node, opts) {
1226
997
  assert("TSExpressionWithTypeArguments", node, opts);
1227
998
  }
1228
-
1229
999
  function assertTSInterfaceDeclaration(node, opts) {
1230
1000
  assert("TSInterfaceDeclaration", node, opts);
1231
1001
  }
1232
-
1233
1002
  function assertTSInterfaceBody(node, opts) {
1234
1003
  assert("TSInterfaceBody", node, opts);
1235
1004
  }
1236
-
1237
1005
  function assertTSTypeAliasDeclaration(node, opts) {
1238
1006
  assert("TSTypeAliasDeclaration", node, opts);
1239
1007
  }
1240
-
1241
1008
  function assertTSInstantiationExpression(node, opts) {
1242
1009
  assert("TSInstantiationExpression", node, opts);
1243
1010
  }
1244
-
1245
1011
  function assertTSAsExpression(node, opts) {
1246
1012
  assert("TSAsExpression", node, opts);
1247
1013
  }
1248
-
1249
1014
  function assertTSSatisfiesExpression(node, opts) {
1250
1015
  assert("TSSatisfiesExpression", node, opts);
1251
1016
  }
1252
-
1253
1017
  function assertTSTypeAssertion(node, opts) {
1254
1018
  assert("TSTypeAssertion", node, opts);
1255
1019
  }
1256
-
1257
1020
  function assertTSEnumDeclaration(node, opts) {
1258
1021
  assert("TSEnumDeclaration", node, opts);
1259
1022
  }
1260
-
1261
1023
  function assertTSEnumMember(node, opts) {
1262
1024
  assert("TSEnumMember", node, opts);
1263
1025
  }
1264
-
1265
1026
  function assertTSModuleDeclaration(node, opts) {
1266
1027
  assert("TSModuleDeclaration", node, opts);
1267
1028
  }
1268
-
1269
1029
  function assertTSModuleBlock(node, opts) {
1270
1030
  assert("TSModuleBlock", node, opts);
1271
1031
  }
1272
-
1273
1032
  function assertTSImportType(node, opts) {
1274
1033
  assert("TSImportType", node, opts);
1275
1034
  }
1276
-
1277
1035
  function assertTSImportEqualsDeclaration(node, opts) {
1278
1036
  assert("TSImportEqualsDeclaration", node, opts);
1279
1037
  }
1280
-
1281
1038
  function assertTSExternalModuleReference(node, opts) {
1282
1039
  assert("TSExternalModuleReference", node, opts);
1283
1040
  }
1284
-
1285
1041
  function assertTSNonNullExpression(node, opts) {
1286
1042
  assert("TSNonNullExpression", node, opts);
1287
1043
  }
1288
-
1289
1044
  function assertTSExportAssignment(node, opts) {
1290
1045
  assert("TSExportAssignment", node, opts);
1291
1046
  }
1292
-
1293
1047
  function assertTSNamespaceExportDeclaration(node, opts) {
1294
1048
  assert("TSNamespaceExportDeclaration", node, opts);
1295
1049
  }
1296
-
1297
1050
  function assertTSTypeAnnotation(node, opts) {
1298
1051
  assert("TSTypeAnnotation", node, opts);
1299
1052
  }
1300
-
1301
1053
  function assertTSTypeParameterInstantiation(node, opts) {
1302
1054
  assert("TSTypeParameterInstantiation", node, opts);
1303
1055
  }
1304
-
1305
1056
  function assertTSTypeParameterDeclaration(node, opts) {
1306
1057
  assert("TSTypeParameterDeclaration", node, opts);
1307
1058
  }
1308
-
1309
1059
  function assertTSTypeParameter(node, opts) {
1310
1060
  assert("TSTypeParameter", node, opts);
1311
1061
  }
1312
-
1313
1062
  function assertStandardized(node, opts) {
1314
1063
  assert("Standardized", node, opts);
1315
1064
  }
1316
-
1317
1065
  function assertExpression(node, opts) {
1318
1066
  assert("Expression", node, opts);
1319
1067
  }
1320
-
1321
1068
  function assertBinary(node, opts) {
1322
1069
  assert("Binary", node, opts);
1323
1070
  }
1324
-
1325
1071
  function assertScopable(node, opts) {
1326
1072
  assert("Scopable", node, opts);
1327
1073
  }
1328
-
1329
1074
  function assertBlockParent(node, opts) {
1330
1075
  assert("BlockParent", node, opts);
1331
1076
  }
1332
-
1333
1077
  function assertBlock(node, opts) {
1334
1078
  assert("Block", node, opts);
1335
1079
  }
1336
-
1337
1080
  function assertStatement(node, opts) {
1338
1081
  assert("Statement", node, opts);
1339
1082
  }
1340
-
1341
1083
  function assertTerminatorless(node, opts) {
1342
1084
  assert("Terminatorless", node, opts);
1343
1085
  }
1344
-
1345
1086
  function assertCompletionStatement(node, opts) {
1346
1087
  assert("CompletionStatement", node, opts);
1347
1088
  }
1348
-
1349
1089
  function assertConditional(node, opts) {
1350
1090
  assert("Conditional", node, opts);
1351
1091
  }
1352
-
1353
1092
  function assertLoop(node, opts) {
1354
1093
  assert("Loop", node, opts);
1355
1094
  }
1356
-
1357
1095
  function assertWhile(node, opts) {
1358
1096
  assert("While", node, opts);
1359
1097
  }
1360
-
1361
1098
  function assertExpressionWrapper(node, opts) {
1362
1099
  assert("ExpressionWrapper", node, opts);
1363
1100
  }
1364
-
1365
1101
  function assertFor(node, opts) {
1366
1102
  assert("For", node, opts);
1367
1103
  }
1368
-
1369
1104
  function assertForXStatement(node, opts) {
1370
1105
  assert("ForXStatement", node, opts);
1371
1106
  }
1372
-
1373
1107
  function assertFunction(node, opts) {
1374
1108
  assert("Function", node, opts);
1375
1109
  }
1376
-
1377
1110
  function assertFunctionParent(node, opts) {
1378
1111
  assert("FunctionParent", node, opts);
1379
1112
  }
1380
-
1381
1113
  function assertPureish(node, opts) {
1382
1114
  assert("Pureish", node, opts);
1383
1115
  }
1384
-
1385
1116
  function assertDeclaration(node, opts) {
1386
1117
  assert("Declaration", node, opts);
1387
1118
  }
1388
-
1389
1119
  function assertPatternLike(node, opts) {
1390
1120
  assert("PatternLike", node, opts);
1391
1121
  }
1392
-
1393
1122
  function assertLVal(node, opts) {
1394
1123
  assert("LVal", node, opts);
1395
1124
  }
1396
-
1397
1125
  function assertTSEntityName(node, opts) {
1398
1126
  assert("TSEntityName", node, opts);
1399
1127
  }
1400
-
1401
1128
  function assertLiteral(node, opts) {
1402
1129
  assert("Literal", node, opts);
1403
1130
  }
1404
-
1405
1131
  function assertImmutable(node, opts) {
1406
1132
  assert("Immutable", node, opts);
1407
1133
  }
1408
-
1409
1134
  function assertUserWhitespacable(node, opts) {
1410
1135
  assert("UserWhitespacable", node, opts);
1411
1136
  }
1412
-
1413
1137
  function assertMethod(node, opts) {
1414
1138
  assert("Method", node, opts);
1415
1139
  }
1416
-
1417
1140
  function assertObjectMember(node, opts) {
1418
1141
  assert("ObjectMember", node, opts);
1419
1142
  }
1420
-
1421
1143
  function assertProperty(node, opts) {
1422
1144
  assert("Property", node, opts);
1423
1145
  }
1424
-
1425
1146
  function assertUnaryLike(node, opts) {
1426
1147
  assert("UnaryLike", node, opts);
1427
1148
  }
1428
-
1429
1149
  function assertPattern(node, opts) {
1430
1150
  assert("Pattern", node, opts);
1431
1151
  }
1432
-
1433
1152
  function assertClass(node, opts) {
1434
1153
  assert("Class", node, opts);
1435
1154
  }
1436
-
1437
1155
  function assertModuleDeclaration(node, opts) {
1438
1156
  assert("ModuleDeclaration", node, opts);
1439
1157
  }
1440
-
1441
1158
  function assertExportDeclaration(node, opts) {
1442
1159
  assert("ExportDeclaration", node, opts);
1443
1160
  }
1444
-
1445
1161
  function assertModuleSpecifier(node, opts) {
1446
1162
  assert("ModuleSpecifier", node, opts);
1447
1163
  }
1448
-
1449
1164
  function assertAccessor(node, opts) {
1450
1165
  assert("Accessor", node, opts);
1451
1166
  }
1452
-
1453
1167
  function assertPrivate(node, opts) {
1454
1168
  assert("Private", node, opts);
1455
1169
  }
1456
-
1457
1170
  function assertFlow(node, opts) {
1458
1171
  assert("Flow", node, opts);
1459
1172
  }
1460
-
1461
1173
  function assertFlowType(node, opts) {
1462
1174
  assert("FlowType", node, opts);
1463
1175
  }
1464
-
1465
1176
  function assertFlowBaseAnnotation(node, opts) {
1466
1177
  assert("FlowBaseAnnotation", node, opts);
1467
1178
  }
1468
-
1469
1179
  function assertFlowDeclaration(node, opts) {
1470
1180
  assert("FlowDeclaration", node, opts);
1471
1181
  }
1472
-
1473
1182
  function assertFlowPredicate(node, opts) {
1474
1183
  assert("FlowPredicate", node, opts);
1475
1184
  }
1476
-
1477
1185
  function assertEnumBody(node, opts) {
1478
1186
  assert("EnumBody", node, opts);
1479
1187
  }
1480
-
1481
1188
  function assertEnumMember(node, opts) {
1482
1189
  assert("EnumMember", node, opts);
1483
1190
  }
1484
-
1485
1191
  function assertJSX(node, opts) {
1486
1192
  assert("JSX", node, opts);
1487
1193
  }
1488
-
1489
1194
  function assertMiscellaneous(node, opts) {
1490
1195
  assert("Miscellaneous", node, opts);
1491
1196
  }
1492
-
1493
1197
  function assertTypeScript(node, opts) {
1494
1198
  assert("TypeScript", node, opts);
1495
1199
  }
1496
-
1497
1200
  function assertTSTypeElement(node, opts) {
1498
1201
  assert("TSTypeElement", node, opts);
1499
1202
  }
1500
-
1501
1203
  function assertTSType(node, opts) {
1502
1204
  assert("TSType", node, opts);
1503
1205
  }
1504
-
1505
1206
  function assertTSBaseType(node, opts) {
1506
1207
  assert("TSBaseType", node, opts);
1507
1208
  }
1508
-
1509
1209
  function assertNumberLiteral(node, opts) {
1510
1210
  console.trace("The node type NumberLiteral has been renamed to NumericLiteral");
1511
1211
  assert("NumberLiteral", node, opts);
1512
1212
  }
1513
-
1514
1213
  function assertRegexLiteral(node, opts) {
1515
1214
  console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");
1516
1215
  assert("RegexLiteral", node, opts);
1517
1216
  }
1518
-
1519
1217
  function assertRestProperty(node, opts) {
1520
1218
  console.trace("The node type RestProperty has been renamed to RestElement");
1521
1219
  assert("RestProperty", node, opts);
1522
1220
  }
1523
-
1524
1221
  function assertSpreadProperty(node, opts) {
1525
1222
  console.trace("The node type SpreadProperty has been renamed to SpreadElement");
1526
1223
  assert("SpreadProperty", node, opts);