@babel/traverse 8.0.0-alpha.2 → 8.0.0-alpha.3

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 (59) hide show
  1. package/lib/index.js +132 -130
  2. package/lib/index.js.map +1 -1
  3. package/package.json +11 -11
  4. package/lib/cache.js +0 -28
  5. package/lib/cache.js.map +0 -1
  6. package/lib/context.js +0 -108
  7. package/lib/context.js.map +0 -1
  8. package/lib/hub.js +0 -12
  9. package/lib/hub.js.map +0 -1
  10. package/lib/path/ancestry.js +0 -126
  11. package/lib/path/ancestry.js.map +0 -1
  12. package/lib/path/comments.js +0 -46
  13. package/lib/path/comments.js.map +0 -1
  14. package/lib/path/context.js +0 -194
  15. package/lib/path/context.js.map +0 -1
  16. package/lib/path/conversion.js +0 -453
  17. package/lib/path/conversion.js.map +0 -1
  18. package/lib/path/evaluation.js +0 -333
  19. package/lib/path/evaluation.js.map +0 -1
  20. package/lib/path/family.js +0 -322
  21. package/lib/path/family.js.map +0 -1
  22. package/lib/path/index.js +0 -181
  23. package/lib/path/index.js.map +0 -1
  24. package/lib/path/inference/index.js +0 -137
  25. package/lib/path/inference/index.js.map +0 -1
  26. package/lib/path/inference/inferer-reference.js +0 -145
  27. package/lib/path/inference/inferer-reference.js.map +0 -1
  28. package/lib/path/inference/inferers.js +0 -172
  29. package/lib/path/inference/inferers.js.map +0 -1
  30. package/lib/path/inference/util.js +0 -20
  31. package/lib/path/inference/util.js.map +0 -1
  32. package/lib/path/introspection.js +0 -360
  33. package/lib/path/introspection.js.map +0 -1
  34. package/lib/path/lib/hoister.js +0 -164
  35. package/lib/path/lib/hoister.js.map +0 -1
  36. package/lib/path/lib/removal-hooks.js +0 -31
  37. package/lib/path/lib/removal-hooks.js.map +0 -1
  38. package/lib/path/lib/virtual-types-validator.js +0 -133
  39. package/lib/path/lib/virtual-types-validator.js.map +0 -1
  40. package/lib/path/lib/virtual-types.js +0 -20
  41. package/lib/path/lib/virtual-types.js.map +0 -1
  42. package/lib/path/modification.js +0 -209
  43. package/lib/path/modification.js.map +0 -1
  44. package/lib/path/removal.js +0 -48
  45. package/lib/path/removal.js.map +0 -1
  46. package/lib/path/replacement.js +0 -192
  47. package/lib/path/replacement.js.map +0 -1
  48. package/lib/scope/binding.js +0 -78
  49. package/lib/scope/binding.js.map +0 -1
  50. package/lib/scope/index.js +0 -870
  51. package/lib/scope/index.js.map +0 -1
  52. package/lib/scope/lib/renamer.js +0 -105
  53. package/lib/scope/lib/renamer.js.map +0 -1
  54. package/lib/traverse-node.js +0 -23
  55. package/lib/traverse-node.js.map +0 -1
  56. package/lib/types.js +0 -3
  57. package/lib/types.js.map +0 -1
  58. package/lib/visitors.js +0 -210
  59. package/lib/visitors.js.map +0 -1
package/lib/index.js CHANGED
@@ -30,24 +30,24 @@ const ForAwaitStatement = ["ForOfStatement"];
30
30
 
31
31
  var virtualTypes = /*#__PURE__*/Object.freeze({
32
32
  __proto__: null,
33
- ReferencedIdentifier: ReferencedIdentifier,
34
- ReferencedMemberExpression: ReferencedMemberExpression,
35
33
  BindingIdentifier: BindingIdentifier,
36
- Statement: Statement,
37
- Expression: Expression,
38
- Scope: Scope$1,
39
- Referenced: Referenced,
40
34
  BlockScoped: BlockScoped,
41
- Var: Var,
42
- User: User,
35
+ ExistentialTypeParam: ExistentialTypeParam,
36
+ Expression: Expression,
37
+ Flow: Flow,
38
+ ForAwaitStatement: ForAwaitStatement,
43
39
  Generated: Generated,
40
+ NumericLiteralTypeAnnotation: NumericLiteralTypeAnnotation,
44
41
  Pure: Pure,
45
- Flow: Flow,
42
+ Referenced: Referenced,
43
+ ReferencedIdentifier: ReferencedIdentifier,
44
+ ReferencedMemberExpression: ReferencedMemberExpression,
46
45
  RestProperty: RestProperty,
46
+ Scope: Scope$1,
47
47
  SpreadProperty: SpreadProperty,
48
- ExistentialTypeParam: ExistentialTypeParam,
49
- NumericLiteralTypeAnnotation: NumericLiteralTypeAnnotation,
50
- ForAwaitStatement: ForAwaitStatement
48
+ Statement: Statement,
49
+ User: User,
50
+ Var: Var
51
51
  });
52
52
 
53
53
  const {
@@ -257,10 +257,10 @@ function mergePair(dest, src) {
257
257
 
258
258
  var visitors = /*#__PURE__*/Object.freeze({
259
259
  __proto__: null,
260
- isExplodedVisitor: isExplodedVisitor,
261
260
  explode: explode,
262
- verify: verify,
263
- merge: merge
261
+ isExplodedVisitor: isExplodedVisitor,
262
+ merge: merge,
263
+ verify: verify
264
264
  });
265
265
 
266
266
  let pathsCache = new WeakMap();
@@ -289,13 +289,13 @@ function getOrCreateCachedPaths(hub, parent) {
289
289
 
290
290
  var cache = /*#__PURE__*/Object.freeze({
291
291
  __proto__: null,
292
- get path () { return pathsCache; },
293
- get scope () { return scope; },
294
292
  clear: clear,
295
293
  clearPath: clearPath,
296
294
  clearScope: clearScope,
297
295
  getCachedPaths: getCachedPaths,
298
- getOrCreateCachedPaths: getOrCreateCachedPaths
296
+ getOrCreateCachedPaths: getOrCreateCachedPaths,
297
+ get path () { return pathsCache; },
298
+ get scope () { return scope; }
299
299
  });
300
300
 
301
301
  const renameVisitor = {
@@ -412,9 +412,7 @@ class Binding {
412
412
  this.scope = scope;
413
413
  this.path = path;
414
414
  this.kind = kind;
415
- if ((kind === "var" || kind === "hoisted") && isDeclaredInLoop(path || (() => {
416
- throw new Error("Internal Babel error: unreachable ");
417
- })())) {
415
+ if ((kind === "var" || kind === "hoisted") && isDeclaredInLoop(path)) {
418
416
  this.reassign(path);
419
417
  }
420
418
  this.clearValue();
@@ -509,7 +507,6 @@ const {
509
507
  memberExpression: memberExpression$1,
510
508
  numericLiteral: numericLiteral$2,
511
509
  toIdentifier,
512
- unaryExpression: unaryExpression$2,
513
510
  variableDeclaration: variableDeclaration$1,
514
511
  variableDeclarator: variableDeclarator$1,
515
512
  isRecordExpression,
@@ -518,7 +515,8 @@ const {
518
515
  isTopicReference,
519
516
  isMetaProperty,
520
517
  isPrivateName,
521
- isExportDeclaration: isExportDeclaration$1
518
+ isExportDeclaration: isExportDeclaration$1,
519
+ buildUndefinedNode
522
520
  } = _t;
523
521
  function gatherNodeParts(node, parts) {
524
522
  switch (node?.type) {
@@ -968,7 +966,7 @@ class Scope {
968
966
  }
969
967
  }
970
968
  buildUndefinedNode() {
971
- return unaryExpression$2("void", numericLiteral$2(0), true);
969
+ return buildUndefinedNode();
972
970
  }
973
971
  registerConstantViolation(path) {
974
972
  const ids = path.getBindingIdentifiers();
@@ -1461,16 +1459,16 @@ function inType(...candidateTypes) {
1461
1459
 
1462
1460
  var NodePath_ancestry = /*#__PURE__*/Object.freeze({
1463
1461
  __proto__: null,
1464
- findParent: findParent,
1465
1462
  find: find,
1463
+ findParent: findParent,
1464
+ getAncestry: getAncestry,
1465
+ getDeepestCommonAncestorFrom: getDeepestCommonAncestorFrom,
1466
+ getEarliestCommonAncestorFrom: getEarliestCommonAncestorFrom,
1466
1467
  getFunctionParent: getFunctionParent,
1467
1468
  getStatementParent: getStatementParent,
1468
- getEarliestCommonAncestorFrom: getEarliestCommonAncestorFrom,
1469
- getDeepestCommonAncestorFrom: getDeepestCommonAncestorFrom,
1470
- getAncestry: getAncestry,
1469
+ inType: inType,
1471
1470
  isAncestor: isAncestor,
1472
- isDescendant: isDescendant,
1473
- inType: inType
1471
+ isDescendant: isDescendant
1474
1472
  });
1475
1473
 
1476
1474
  const {
@@ -1802,36 +1800,36 @@ function resolveCall(callee) {
1802
1800
 
1803
1801
  var inferers = /*#__PURE__*/Object.freeze({
1804
1802
  __proto__: null,
1805
- VariableDeclarator: VariableDeclarator,
1806
- TypeCastExpression: TypeCastExpression,
1807
- TSAsExpression: TSAsExpression,
1808
- TSNonNullExpression: TSNonNullExpression,
1809
- NewExpression: NewExpression,
1810
- TemplateLiteral: TemplateLiteral,
1811
- UnaryExpression: UnaryExpression,
1812
- BinaryExpression: BinaryExpression,
1813
- LogicalExpression: LogicalExpression,
1814
- ConditionalExpression: ConditionalExpression,
1815
- SequenceExpression: SequenceExpression,
1816
- ParenthesizedExpression: ParenthesizedExpression,
1803
+ ArrayExpression: ArrayExpression,
1804
+ ArrowFunctionExpression: Func,
1817
1805
  AssignmentExpression: AssignmentExpression,
1818
- UpdateExpression: UpdateExpression,
1819
- StringLiteral: StringLiteral,
1820
- NumericLiteral: NumericLiteral,
1806
+ BinaryExpression: BinaryExpression,
1821
1807
  BooleanLiteral: BooleanLiteral,
1808
+ CallExpression: CallExpression,
1809
+ ClassDeclaration: Func,
1810
+ ClassExpression: Func,
1811
+ ConditionalExpression: ConditionalExpression,
1812
+ FunctionDeclaration: Func,
1813
+ FunctionExpression: Func,
1814
+ Identifier: infererReference,
1815
+ LogicalExpression: LogicalExpression,
1816
+ NewExpression: NewExpression,
1822
1817
  NullLiteral: NullLiteral,
1823
- RegExpLiteral: RegExpLiteral,
1818
+ NumericLiteral: NumericLiteral,
1824
1819
  ObjectExpression: ObjectExpression,
1825
- ArrayExpression: ArrayExpression,
1820
+ ParenthesizedExpression: ParenthesizedExpression,
1821
+ RegExpLiteral: RegExpLiteral,
1826
1822
  RestElement: RestElement,
1827
- FunctionExpression: Func,
1828
- ArrowFunctionExpression: Func,
1829
- FunctionDeclaration: Func,
1830
- ClassExpression: Func,
1831
- ClassDeclaration: Func,
1832
- CallExpression: CallExpression,
1823
+ SequenceExpression: SequenceExpression,
1824
+ StringLiteral: StringLiteral,
1825
+ TSAsExpression: TSAsExpression,
1826
+ TSNonNullExpression: TSNonNullExpression,
1833
1827
  TaggedTemplateExpression: TaggedTemplateExpression,
1834
- Identifier: infererReference
1828
+ TemplateLiteral: TemplateLiteral,
1829
+ TypeCastExpression: TypeCastExpression,
1830
+ UnaryExpression: UnaryExpression,
1831
+ UpdateExpression: UpdateExpression,
1832
+ VariableDeclarator: VariableDeclarator
1835
1833
  });
1836
1834
 
1837
1835
  const {
@@ -1970,11 +1968,11 @@ function isGenericType(genericName) {
1970
1968
 
1971
1969
  var NodePath_inference = /*#__PURE__*/Object.freeze({
1972
1970
  __proto__: null,
1973
- getTypeAnnotation: getTypeAnnotation,
1974
1971
  _getTypeAnnotation: _getTypeAnnotation,
1975
- isBaseType: isBaseType,
1976
- couldBeBaseType: couldBeBaseType,
1977
1972
  baseTypeStrictlyMatches: baseTypeStrictlyMatches,
1973
+ couldBeBaseType: couldBeBaseType,
1974
+ getTypeAnnotation: getTypeAnnotation,
1975
+ isBaseType: isBaseType,
1978
1976
  isGenericType: isGenericType
1979
1977
  });
1980
1978
 
@@ -2164,18 +2162,22 @@ function replaceInline(nodes) {
2164
2162
 
2165
2163
  var NodePath_replacement = /*#__PURE__*/Object.freeze({
2166
2164
  __proto__: null,
2167
- replaceWithMultiple: replaceWithMultiple,
2168
- replaceWithSourceString: replaceWithSourceString,
2169
- replaceWith: replaceWith,
2170
2165
  _replaceWith: _replaceWith,
2171
2166
  replaceExpressionWithStatements: replaceExpressionWithStatements,
2172
- replaceInline: replaceInline
2167
+ replaceInline: replaceInline,
2168
+ replaceWith: replaceWith,
2169
+ replaceWithMultiple: replaceWithMultiple,
2170
+ replaceWithSourceString: replaceWithSourceString
2173
2171
  });
2174
2172
 
2175
- const VALID_CALLEES = ["String", "Number", "Math"];
2173
+ const VALID_OBJECT_CALLEES = ["Number", "String", "Math"];
2174
+ const VALID_IDENTIFIER_CALLEES = ["isFinite", "isNaN", "parseFloat", "parseInt", "decodeURI", "decodeURIComponent", "encodeURI", "encodeURIComponent", "btoa", "atob"];
2176
2175
  const INVALID_METHODS = ["random"];
2177
- function isValidCallee(val) {
2178
- return VALID_CALLEES.includes(val);
2176
+ function isValidObjectCallee(val) {
2177
+ return VALID_OBJECT_CALLEES.includes(val);
2178
+ }
2179
+ function isValidIdentifierCallee(val) {
2180
+ return VALID_IDENTIFIER_CALLEES.includes(val);
2179
2181
  }
2180
2182
  function isInvalidMethod(val) {
2181
2183
  return INVALID_METHODS.includes(val);
@@ -2450,13 +2452,13 @@ function _evaluate(path, state) {
2450
2452
  const callee = path.get("callee");
2451
2453
  let context;
2452
2454
  let func;
2453
- if (callee.isIdentifier() && !path.scope.getBinding(callee.node.name) && isValidCallee(callee.node.name)) {
2455
+ if (callee.isIdentifier() && !path.scope.getBinding(callee.node.name) && (isValidObjectCallee(callee.node.name) || isValidIdentifierCallee(callee.node.name))) {
2454
2456
  func = global[callee.node.name];
2455
2457
  }
2456
2458
  if (callee.isMemberExpression()) {
2457
2459
  const object = callee.get("object");
2458
2460
  const property = callee.get("property");
2459
- if (object.isIdentifier() && property.isIdentifier() && isValidCallee(object.node.name) && !isInvalidMethod(property.node.name)) {
2461
+ if (object.isIdentifier() && property.isIdentifier() && isValidObjectCallee(object.node.name) && !isInvalidMethod(property.node.name)) {
2460
2462
  context = global[object.node.name];
2461
2463
  func = context[property.node.name];
2462
2464
  }
@@ -2506,8 +2508,8 @@ function evaluate() {
2506
2508
 
2507
2509
  var NodePath_evaluation = /*#__PURE__*/Object.freeze({
2508
2510
  __proto__: null,
2509
- evaluateTruthy: evaluateTruthy,
2510
- evaluate: evaluate
2511
+ evaluate: evaluate,
2512
+ evaluateTruthy: evaluateTruthy
2511
2513
  });
2512
2514
 
2513
2515
  const {
@@ -2959,10 +2961,10 @@ function getScopeInformation(fnPath) {
2959
2961
 
2960
2962
  var NodePath_conversion = /*#__PURE__*/Object.freeze({
2961
2963
  __proto__: null,
2962
- toComputedKey: toComputedKey,
2964
+ arrowFunctionToExpression: arrowFunctionToExpression,
2963
2965
  ensureBlock: ensureBlock,
2964
- unwrapFunctionEnvironment: unwrapFunctionEnvironment,
2965
- arrowFunctionToExpression: arrowFunctionToExpression
2966
+ toComputedKey: toComputedKey,
2967
+ unwrapFunctionEnvironment: unwrapFunctionEnvironment
2966
2968
  });
2967
2969
 
2968
2970
  const {
@@ -3325,25 +3327,25 @@ function isInStrictMode() {
3325
3327
 
3326
3328
  var NodePath_introspection = /*#__PURE__*/Object.freeze({
3327
3329
  __proto__: null,
3328
- matchesPattern: matchesPattern,
3329
- has: has,
3330
- isStatic: isStatic,
3331
- is: is,
3332
- isnt: isnt,
3333
- equals: equals,
3334
- isNodeType: isNodeType,
3330
+ _guessExecutionStatusRelativeTo: _guessExecutionStatusRelativeTo,
3331
+ _resolve: _resolve,
3335
3332
  canHaveVariableDeclarationOrExpression: canHaveVariableDeclarationOrExpression,
3336
3333
  canSwapBetweenExpressionAndStatement: canSwapBetweenExpressionAndStatement,
3334
+ equals: equals,
3335
+ getSource: getSource,
3336
+ has: has,
3337
+ is: is,
3337
3338
  isCompletionRecord: isCompletionRecord,
3339
+ isConstantExpression: isConstantExpression,
3340
+ isInStrictMode: isInStrictMode,
3341
+ isNodeType: isNodeType,
3338
3342
  isStatementOrBlock: isStatementOrBlock,
3343
+ isStatic: isStatic,
3344
+ isnt: isnt,
3345
+ matchesPattern: matchesPattern,
3339
3346
  referencesImport: referencesImport,
3340
- getSource: getSource,
3341
- willIMaybeExecuteBefore: willIMaybeExecuteBefore,
3342
- _guessExecutionStatusRelativeTo: _guessExecutionStatusRelativeTo,
3343
3347
  resolve: resolve,
3344
- _resolve: _resolve,
3345
- isConstantExpression: isConstantExpression,
3346
- isInStrictMode: isInStrictMode
3348
+ willIMaybeExecuteBefore: willIMaybeExecuteBefore
3347
3349
  });
3348
3350
 
3349
3351
  function call(key) {
@@ -3538,27 +3540,27 @@ function _getQueueContexts() {
3538
3540
 
3539
3541
  var NodePath_context = /*#__PURE__*/Object.freeze({
3540
3542
  __proto__: null,
3541
- call: call,
3542
3543
  _call: _call,
3543
- isDenylisted: isDenylisted,
3544
- isBlacklisted: isDenylisted,
3545
- visit: visit,
3546
- skip: skip,
3547
- skipKey: skipKey,
3548
- stop: stop,
3549
- setScope: setScope,
3550
- setContext: setContext,
3551
- resync: resync,
3552
- _resyncParent: _resyncParent,
3544
+ _getQueueContexts: _getQueueContexts,
3553
3545
  _resyncKey: _resyncKey,
3554
3546
  _resyncList: _resyncList,
3547
+ _resyncParent: _resyncParent,
3555
3548
  _resyncRemoved: _resyncRemoved,
3549
+ call: call,
3550
+ isBlacklisted: isDenylisted,
3551
+ isDenylisted: isDenylisted,
3556
3552
  popContext: popContext,
3557
3553
  pushContext: pushContext,
3558
- setup: setup,
3559
- setKey: setKey,
3560
3554
  requeue: requeue,
3561
- _getQueueContexts: _getQueueContexts
3555
+ resync: resync,
3556
+ setContext: setContext,
3557
+ setKey: setKey,
3558
+ setScope: setScope,
3559
+ setup: setup,
3560
+ skip: skip,
3561
+ skipKey: skipKey,
3562
+ stop: stop,
3563
+ visit: visit
3562
3564
  });
3563
3565
 
3564
3566
  const hooks = [function (self, parent) {
@@ -3637,12 +3639,12 @@ function _assertUnremoved() {
3637
3639
 
3638
3640
  var NodePath_removal = /*#__PURE__*/Object.freeze({
3639
3641
  __proto__: null,
3640
- remove: remove,
3641
- _removeFromScope: _removeFromScope,
3642
+ _assertUnremoved: _assertUnremoved,
3642
3643
  _callRemovalHooks: _callRemovalHooks,
3643
- _remove: _remove,
3644
3644
  _markRemoved: _markRemoved,
3645
- _assertUnremoved: _assertUnremoved
3645
+ _remove: _remove,
3646
+ _removeFromScope: _removeFromScope,
3647
+ remove: remove
3646
3648
  });
3647
3649
 
3648
3650
  const {
@@ -4012,16 +4014,16 @@ function hoist(scope = this.scope) {
4012
4014
 
4013
4015
  var NodePath_modification = /*#__PURE__*/Object.freeze({
4014
4016
  __proto__: null,
4015
- insertBefore: insertBefore,
4016
4017
  _containerInsert: _containerInsert,
4017
- _containerInsertBefore: _containerInsertBefore,
4018
4018
  _containerInsertAfter: _containerInsertAfter,
4019
- insertAfter: insertAfter,
4020
- updateSiblingKeys: updateSiblingKeys,
4019
+ _containerInsertBefore: _containerInsertBefore,
4021
4020
  _verifyNodeList: _verifyNodeList,
4022
- unshiftContainer: unshiftContainer,
4021
+ hoist: hoist,
4022
+ insertAfter: insertAfter,
4023
+ insertBefore: insertBefore,
4023
4024
  pushContainer: pushContainer,
4024
- hoist: hoist
4025
+ unshiftContainer: unshiftContainer,
4026
+ updateSiblingKeys: updateSiblingKeys
4025
4027
  });
4026
4028
 
4027
4029
  const {
@@ -4340,20 +4342,20 @@ function getOuterBindingIdentifierPaths(duplicates = false) {
4340
4342
 
4341
4343
  var NodePath_family = /*#__PURE__*/Object.freeze({
4342
4344
  __proto__: null,
4343
- getOpposite: getOpposite,
4344
- getCompletionRecords: getCompletionRecords,
4345
- getSibling: getSibling,
4346
- getPrevSibling: getPrevSibling,
4347
- getNextSibling: getNextSibling,
4348
- getAllNextSiblings: getAllNextSiblings,
4349
- getAllPrevSiblings: getAllPrevSiblings,
4350
- get: get,
4351
4345
  _getKey: _getKey,
4352
4346
  _getPattern: _getPattern,
4347
+ get: get,
4348
+ getAllNextSiblings: getAllNextSiblings,
4349
+ getAllPrevSiblings: getAllPrevSiblings,
4350
+ getBindingIdentifierPaths: getBindingIdentifierPaths,
4353
4351
  getBindingIdentifiers: getBindingIdentifiers,
4352
+ getCompletionRecords: getCompletionRecords,
4353
+ getNextSibling: getNextSibling,
4354
+ getOpposite: getOpposite,
4355
+ getOuterBindingIdentifierPaths: getOuterBindingIdentifierPaths,
4354
4356
  getOuterBindingIdentifiers: getOuterBindingIdentifiers,
4355
- getBindingIdentifierPaths: getBindingIdentifierPaths,
4356
- getOuterBindingIdentifierPaths: getOuterBindingIdentifierPaths
4357
+ getPrevSibling: getPrevSibling,
4358
+ getSibling: getSibling
4357
4359
  });
4358
4360
 
4359
4361
  const {
@@ -4402,9 +4404,9 @@ function addComments(type, comments) {
4402
4404
 
4403
4405
  var NodePath_comments = /*#__PURE__*/Object.freeze({
4404
4406
  __proto__: null,
4405
- shareCommentsWithSiblings: shareCommentsWithSiblings,
4406
4407
  addComment: addComment,
4407
- addComments: addComments
4408
+ addComments: addComments,
4409
+ shareCommentsWithSiblings: shareCommentsWithSiblings
4408
4410
  });
4409
4411
 
4410
4412
  const {
@@ -4539,22 +4541,22 @@ function isForAwaitStatement() {
4539
4541
 
4540
4542
  var NodePath_virtual_types_validator = /*#__PURE__*/Object.freeze({
4541
4543
  __proto__: null,
4542
- isReferencedIdentifier: isReferencedIdentifier,
4543
- isReferencedMemberExpression: isReferencedMemberExpression,
4544
4544
  isBindingIdentifier: isBindingIdentifier,
4545
- isStatement: isStatement,
4546
- isExpression: isExpression,
4547
- isScope: isScope,
4548
- isReferenced: isReferenced,
4549
4545
  isBlockScoped: isBlockScoped,
4550
- isVar: isVar,
4551
- isUser: isUser,
4546
+ isExpression: isExpression,
4547
+ isFlow: isFlow,
4548
+ isForAwaitStatement: isForAwaitStatement,
4552
4549
  isGenerated: isGenerated,
4553
4550
  isPure: isPure,
4554
- isFlow: isFlow,
4551
+ isReferenced: isReferenced,
4552
+ isReferencedIdentifier: isReferencedIdentifier,
4553
+ isReferencedMemberExpression: isReferencedMemberExpression,
4555
4554
  isRestProperty: isRestProperty,
4555
+ isScope: isScope,
4556
4556
  isSpreadProperty: isSpreadProperty,
4557
- isForAwaitStatement: isForAwaitStatement
4557
+ isStatement: isStatement,
4558
+ isUser: isUser,
4559
+ isVar: isVar
4558
4560
  });
4559
4561
 
4560
4562
  const {