@stylexjs/babel-plugin 0.10.0 → 0.11.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.
@@ -7,6 +7,8 @@
7
7
  * @flow strict
8
8
  */
9
9
 
10
+ /* eslint-disable */
11
+
10
12
  import * as t from '../types';
11
13
 
12
14
  export type Node = t.Node;
@@ -53,7 +55,10 @@ declare export var visitors: {
53
55
  visitor: Visitor<S>,
54
56
  ) => { [key: $Keys<t._NodeMap>]: ?VisitNodeObject<S, Node> },
55
57
  +verify: (visitor: Visitor<>) => void,
56
- +merge: <S = {}>(visitors: Array<Visitor<S>>, states?: S[]) => Visitor<mixed>,
58
+ +merge: <S = {}>(
59
+ visitors: Array<Visitor<S>>,
60
+ states?: S[],
61
+ ) => Visitor<object>,
57
62
  };
58
63
 
59
64
  // TODO: Change to object type
@@ -236,7 +241,7 @@ declare export class Binding {
236
241
  type _VisitorNodeKeys<S: object> = {
237
242
  +[K in keyof t._NodeMap]: ?VisitNode<S, t._NodeMap[K]>,
238
243
  };
239
- type _VistorAliases<S: object> = {
244
+ type _VisitorAliases<S: object> = {
240
245
  +[K in keyof t.Aliases]: ?VisitNode<S, t.Aliases[K]>,
241
246
  };
242
247
 
@@ -244,7 +249,7 @@ export type Visitor<S: object = object> = $ReadOnly<
244
249
  Partial<{
245
250
  ...VisitNodeObject<S, Node>,
246
251
  ..._VisitorNodeKeys<S>,
247
- ..._VistorAliases<S>,
252
+ ..._VisitorAliases<S>,
248
253
  }>,
249
254
  >;
250
255
 
@@ -274,10 +279,9 @@ export type VisitNodeObject<S, P: Node> = {
274
279
  type _NodeToTuple<T: Node | $ReadOnlyArray<Node>> =
275
280
  T extends $ReadOnlyArray<Node> ? T : [T];
276
281
 
277
- export type NodePaths<T: Node | $ReadOnlyArray<Node>> = $TupleMap<
278
- _NodeToTuple<T>,
279
- <TNode: Node>(TNode) => NodePath<TNode>,
280
- >;
282
+ export type NodePaths<T: Node | $ReadOnlyArray<Node>> = {
283
+ [K in keyof _NodeToTuple<T>]: NodePath<_NodeToTuple<T>[K]>,
284
+ };
281
285
 
282
286
  type TParentPath<T: Node> = T extends t.Program ? null : NodePath<>;
283
287
 
@@ -689,281 +693,281 @@ declare export class NodePath<+T: Node = Node> {
689
693
  //#endregion
690
694
 
691
695
  //#region ------------------------- isXXX -------------------------
692
- // isAnyTypeAnnotation(props?: object | null): boolean; // this is NodePath<t.AnyTypeAnnotation>;
693
- // isArrayExpression(props?: object | null): boolean; // this is NodePath<t.ArrayExpression>;
694
- // isArrayPattern(props?: object | null): boolean; // this is NodePath<t.ArrayPattern>;
695
- // isArrayTypeAnnotation(props?: object | null): boolean; // this is NodePath<t.ArrayTypeAnnotation>;
696
- // isArrowFunctionExpression(props?: object | null): boolean; // this is NodePath<t.ArrowFunctionExpression>;
697
- // isAssignmentExpression(props?: object | null): boolean; // this is NodePath<t.AssignmentExpression>;
698
- // isAssignmentPattern(props?: object | null): boolean; // this is NodePath<t.AssignmentPattern>;
699
- // isAwaitExpression(props?: object | null): boolean; // this is NodePath<t.AwaitExpression>;
700
- // isBigIntLiteral(props?: object | null): boolean; // this is NodePath<t.BigIntLiteral>;
701
- // isBinary(props?: object | null): boolean; // this is NodePath<t.Binary>;
702
- // isBinaryExpression(props?: object | null): boolean; // this is NodePath<t.BinaryExpression>;
703
- // isBindExpression(props?: object | null): boolean; // this is NodePath<t.BindExpression>;
704
- // isBlock(props?: object | null): boolean; // this is NodePath<t.Block>;
705
- // isBlockParent(props?: object | null): boolean; // this is NodePath<t.BlockParent>;
706
- // isBlockStatement(props?: object | null): boolean; // this is NodePath<t.BlockStatement>;
707
- // isBooleanLiteral(props?: object | null): boolean; // this is NodePath<t.BooleanLiteral>;
708
- // isBooleanLiteralTypeAnnotation(props?: object | null): boolean; // this is NodePath<t.BooleanLiteralTypeAnnotation>;
709
- // isBooleanTypeAnnotation(props?: object | null): boolean; // this is NodePath<t.BooleanTypeAnnotation>;
710
- // isBreakStatement(props?: object | null): boolean; // this is NodePath<t.BreakStatement>;
711
- // isCallExpression(props?: object | null): boolean; // this is NodePath<t.CallExpression>;
712
- // isCatchClause(props?: object | null): boolean; // this is NodePath<t.CatchClause>;
713
- // isClass(props?: object | null): boolean; // this is NodePath<t.Class>;
714
- // isClassBody(props?: object | null): boolean; // this is NodePath<t.ClassBody>;
715
- // isClassDeclaration(props?: object | null): boolean; // this is NodePath<t.ClassDeclaration>;
716
- // isClassExpression(props?: object | null): boolean; // this is NodePath<t.ClassExpression>;
717
- // isClassImplements(props?: object | null): boolean; // this is NodePath<t.ClassImplements>;
718
- // isClassMethod(props?: object | null): boolean; // this is NodePath<t.ClassMethod>;
719
- // isClassPrivateMethod(props?: object | null): boolean; // this is NodePath<t.ClassPrivateMethod>;
720
- // isClassPrivateProperty(props?: object | null): boolean; // this is NodePath<t.ClassPrivateProperty>;
721
- // isClassProperty(props?: object | null): boolean; // this is NodePath<t.ClassProperty>;
722
- // isCompletionStatement(props?: object | null): boolean; // this is NodePath<t.CompletionStatement>;
723
- // isConditional(props?: object | null): boolean; // this is NodePath<t.Conditional>;
724
- // isConditionalExpression(props?: object | null): boolean; // this is NodePath<t.ConditionalExpression>;
725
- // isContinueStatement(props?: object | null): boolean; // this is NodePath<t.ContinueStatement>;
726
- // isDebuggerStatement(props?: object | null): boolean; // this is NodePath<t.DebuggerStatement>;
727
- // isDeclaration(props?: object | null): boolean; // this is NodePath<t.Declaration>;
728
- // isDeclareClass(props?: object | null): boolean; // this is NodePath<t.DeclareClass>;
729
- // isDeclareExportAllDeclaration(props?: object | null): boolean; // this is NodePath<t.DeclareExportAllDeclaration>;
730
- // isDeclareExportDeclaration(props?: object | null): boolean; // this is NodePath<t.DeclareExportDeclaration>;
731
- // isDeclareFunction(props?: object | null): boolean; // this is NodePath<t.DeclareFunction>;
732
- // isDeclareInterface(props?: object | null): boolean; // this is NodePath<t.DeclareInterface>;
733
- // isDeclareModule(props?: object | null): boolean; // this is NodePath<t.DeclareModule>;
734
- // isDeclareModuleExports(props?: object | null): boolean; // this is NodePath<t.DeclareModuleExports>;
735
- // isDeclareOpaqueType(props?: object | null): boolean; // this is NodePath<t.DeclareOpaqueType>;
736
- // isDeclareTypeAlias(props?: object | null): boolean; // this is NodePath<t.DeclareTypeAlias>;
737
- // isDeclareVariable(props?: object | null): boolean; // this is NodePath<t.DeclareVariable>;
738
- // isDeclaredPredicate(props?: object | null): boolean; // this is NodePath<t.DeclaredPredicate>;
739
- // isDecorator(props?: object | null): boolean; // this is NodePath<t.Decorator>;
740
- // isDirective(props?: object | null): boolean; // this is NodePath<t.Directive>;
741
- // isDirectiveLiteral(props?: object | null): boolean; // this is NodePath<t.DirectiveLiteral>;
742
- // isDoExpression(props?: object | null): boolean; // this is NodePath<t.DoExpression>;
743
- // isDoWhileStatement(props?: object | null): boolean; // this is NodePath<t.DoWhileStatement>;
744
- // isEmptyStatement(props?: object | null): boolean; // this is NodePath<t.EmptyStatement>;
745
- // isEmptyTypeAnnotation(props?: object | null): boolean; // this is NodePath<t.EmptyTypeAnnotation>;
746
- // isExistsTypeAnnotation(props?: object | null): boolean; // this is NodePath<t.ExistsTypeAnnotation>;
747
- // isExportAllDeclaration(props?: object | null): boolean; // this is NodePath<t.ExportAllDeclaration>;
748
- // isExportDeclaration(props?: object | null): boolean; // this is NodePath<t.ExportDeclaration>;
749
- // isExportDefaultDeclaration(props?: object | null): boolean; // this is NodePath<t.ExportDefaultDeclaration>;
750
- // isExportDefaultSpecifier(props?: object | null): boolean; // this is NodePath<t.ExportDefaultSpecifier>;
751
- // isExportNamedDeclaration(props?: object | null): boolean; // this is NodePath<t.ExportNamedDeclaration>;
752
- // isExportNamespaceSpecifier(props?: object | null): boolean; // this is NodePath<t.ExportNamespaceSpecifier>;
753
- // isExportSpecifier(props?: object | null): boolean; // this is NodePath<t.ExportSpecifier>;
754
- // isExpression(props?: object | null): boolean; // this is NodePath<t.Expression>;
755
- // isExpressionStatement(props?: object | null): boolean; // this is NodePath<t.ExpressionStatement>;
756
- // isExpressionWrapper(props?: object | null): boolean; // this is NodePath<t.ExpressionWrapper>;
757
- // isFile(props?: object | null): boolean; // this is NodePath<t.File>;
758
- // isFlow(props?: object | null): boolean; // this is NodePath<t.Flow>;
759
- // isFlowBaseAnnotation(props?: object | null): boolean; // this is NodePath<t.FlowBaseAnnotation>;
760
- // isFlowDeclaration(props?: object | null): boolean; // this is NodePath<t.FlowDeclaration>;
761
- // isFlowPredicate(props?: object | null): boolean; // this is NodePath<t.FlowPredicate>;
762
- // isFlowType(props?: object | null): boolean; // this is NodePath<t.FlowType>;
763
- // isFor(props?: object | null): boolean; // this is NodePath<t.For>;
764
- // isForInStatement(props?: object | null): boolean; // this is NodePath<t.ForInStatement>;
765
- // isForOfStatement(props?: object | null): boolean; // this is NodePath<t.ForOfStatement>;
766
- // isForStatement(props?: object | null): boolean; // this is NodePath<t.ForStatement>;
767
- // isForXStatement(props?: object | null): boolean; // this is NodePath<t.ForXStatement>;
768
- // isFunction(props?: object | null): boolean; // this is NodePath<t.Function>;
769
- // isFunctionDeclaration(props?: object | null): boolean; // this is NodePath<t.FunctionDeclaration>;
770
- // isFunctionExpression(props?: object | null): boolean; // this is NodePath<t.FunctionExpression>;
771
- // isFunctionParent(props?: object | null): boolean; // this is NodePath<t.FunctionParent>;
772
- // isFunctionTypeAnnotation(props?: object | null): boolean; // this is NodePath<t.FunctionTypeAnnotation>;
773
- // isFunctionTypeParam(props?: object | null): boolean; // this is NodePath<t.FunctionTypeParam>;
774
- // isGenericTypeAnnotation(props?: object | null): boolean; // this is NodePath<t.GenericTypeAnnotation>;
775
- // isIdentifier(props?: object | null): boolean; // this is NodePath<t.Identifier>;
776
- // isIfStatement(props?: object | null): boolean; // this is NodePath<t.IfStatement>;
777
- // isImmutable(props?: object | null): boolean; // this is NodePath<t.Immutable>;
778
- // isImport(props?: object | null): boolean; // this is NodePath<t.Import>;
779
- // isImportDeclaration(props?: object | null): boolean; // this is NodePath<t.ImportDeclaration>;
780
- // isImportDefaultSpecifier(props?: object | null): boolean; // this is NodePath<t.ImportDefaultSpecifier>;
781
- // isImportNamespaceSpecifier(props?: object | null): boolean; // this is NodePath<t.ImportNamespaceSpecifier>;
782
- // isImportSpecifier(props?: object | null): boolean; // this is NodePath<t.ImportSpecifier>;
783
- // isInferredPredicate(props?: object | null): boolean; // this is NodePath<t.InferredPredicate>;
784
- // isInterfaceDeclaration(props?: object | null): boolean; // this is NodePath<t.InterfaceDeclaration>;
785
- // isInterfaceExtends(props?: object | null): boolean; // this is NodePath<t.InterfaceExtends>;
786
- // isInterfaceTypeAnnotation(props?: object | null): boolean; // this is NodePath<t.InterfaceTypeAnnotation>;
787
- // isInterpreterDirective(props?: object | null): boolean; // this is NodePath<t.InterpreterDirective>;
788
- // isIntersectionTypeAnnotation(props?: object | null): boolean; // this is NodePath<t.IntersectionTypeAnnotation>;
789
- // isJSX(props?: object | null): boolean; // this is NodePath<t.JSX>;
790
- // isJSXAttribute(props?: object | null): boolean; // this is NodePath<t.JSXAttribute>;
791
- // isJSXClosingElement(props?: object | null): boolean; // this is NodePath<t.JSXClosingElement>;
792
- // isJSXClosingFragment(props?: object | null): boolean; // this is NodePath<t.JSXClosingFragment>;
793
- // isJSXElement(props?: object | null): boolean; // this is NodePath<t.JSXElement>;
794
- // isJSXEmptyExpression(props?: object | null): boolean; // this is NodePath<t.JSXEmptyExpression>;
795
- // isJSXExpressionContainer(props?: object | null): boolean; // this is NodePath<t.JSXExpressionContainer>;
796
- // isJSXFragment(props?: object | null): boolean; // this is NodePath<t.JSXFragment>;
797
- // isJSXIdentifier(props?: object | null): boolean; // this is NodePath<t.JSXIdentifier>;
798
- // isJSXMemberExpression(props?: object | null): boolean; // this is NodePath<t.JSXMemberExpression>;
799
- // isJSXNamespacedName(props?: object | null): boolean; // this is NodePath<t.JSXNamespacedName>;
800
- // isJSXOpeningElement(props?: object | null): boolean; // this is NodePath<t.JSXOpeningElement>;
801
- // isJSXOpeningFragment(props?: object | null): boolean; // this is NodePath<t.JSXOpeningFragment>;
802
- // isJSXSpreadAttribute(props?: object | null): boolean; // this is NodePath<t.JSXSpreadAttribute>;
803
- // isJSXSpreadChild(props?: object | null): boolean; // this is NodePath<t.JSXSpreadChild>;
804
- // isJSXText(props?: object | null): boolean; // this is NodePath<t.JSXText>;
805
- // isLVal(props?: object | null): boolean; // this is NodePath<t.LVal>;
806
- // isLabeledStatement(props?: object | null): boolean; // this is NodePath<t.LabeledStatement>;
807
- // isLiteral(props?: object | null): boolean; // this is NodePath<t.Literal>;
808
- // isLogicalExpression(props?: object | null): boolean; // this is NodePath<t.LogicalExpression>;
809
- // isLoop(props?: object | null): boolean; // this is NodePath<t.Loop>;
810
- // isMemberExpression(props?: object | null): boolean; // this is NodePath<t.MemberExpression>;
811
- // isMetaProperty(props?: object | null): boolean; // this is NodePath<t.MetaProperty>;
812
- // isMethod(props?: object | null): boolean; // this is NodePath<t.Method>;
813
- // isMixedTypeAnnotation(props?: object | null): boolean; // this is NodePath<t.MixedTypeAnnotation>;
814
- // isModuleDeclaration(props?: object | null): boolean; // this is NodePath<t.ModuleDeclaration>;
815
- // isModuleSpecifier(props?: object | null): boolean; // this is NodePath<t.ModuleSpecifier>;
816
- // isNewExpression(props?: object | null): boolean; // this is NodePath<t.NewExpression>;
817
- // isNoop(props?: object | null): boolean; // this is NodePath<t.Noop>;
818
- // isNullLiteral(props?: object | null): boolean; // this is NodePath<t.NullLiteral>;
819
- // isNullLiteralTypeAnnotation(props?: object | null): boolean; // this is NodePath<t.NullLiteralTypeAnnotation>;
820
- // isNullableTypeAnnotation(props?: object | null): boolean; // this is NodePath<t.NullableTypeAnnotation>;
821
- // isNumberLiteralTypeAnnotation(props?: object | null): boolean; // this is NodePath<t.NumberLiteralTypeAnnotation>;
822
- // isNumberTypeAnnotation(props?: object | null): boolean; // this is NodePath<t.NumberTypeAnnotation>;
823
- // isNumericLiteral(props?: object | null): boolean; // this is NodePath<t.NumericLiteral>;
824
- // isObjectExpression(props?: object | null): boolean; // this is NodePath<t.ObjectExpression>;
825
- // isObjectMember(props?: object | null): boolean; // this is NodePath<t.ObjectMember>;
826
- // isObjectMethod(props?: object | null): boolean; // this is NodePath<t.ObjectMethod>;
827
- // isObjectPattern(props?: object | null): boolean; // this is NodePath<t.ObjectPattern>;
828
- // isObjectProperty(props?: object | null): boolean; // this is NodePath<t.ObjectProperty>;
829
- // isObjectTypeAnnotation(props?: object | null): boolean; // this is NodePath<t.ObjectTypeAnnotation>;
830
- // isObjectTypeCallProperty(props?: object | null): boolean; // this is NodePath<t.ObjectTypeCallProperty>;
831
- // isObjectTypeIndexer(props?: object | null): boolean; // this is NodePath<t.ObjectTypeIndexer>;
832
- // isObjectTypeInternalSlot(props?: object | null): boolean; // this is NodePath<t.ObjectTypeInternalSlot>;
833
- // isObjectTypeProperty(props?: object | null): boolean; // this is NodePath<t.ObjectTypeProperty>;
834
- // isObjectTypeSpreadProperty(props?: object | null): boolean; // this is NodePath<t.ObjectTypeSpreadProperty>;
835
- // isOpaqueType(props?: object | null): boolean; // this is NodePath<t.OpaqueType>;
836
- // isOptionalCallExpression(props?: object | null): boolean; // this is NodePath<t.OptionalCallExpression>;
837
- // isOptionalMemberExpression(props?: object | null): boolean; // this is NodePath<t.OptionalMemberExpression>;
838
- // isParenthesizedExpression(props?: object | null): boolean; // this is NodePath<t.ParenthesizedExpression>;
839
- // isPattern(props?: object | null): boolean; // this is NodePath<t.Pattern>;
840
- // isPatternLike(props?: object | null): boolean; // this is NodePath<t.PatternLike>;
841
- // isPipelineBareFunction(props?: object | null): boolean; // this is NodePath<t.PipelineBareFunction>;
842
- // isPipelinePrimaryTopicReference(props?: object | null): boolean; // this is NodePath<t.PipelinePrimaryTopicReference>;
843
- // isPipelineTopicExpression(props?: object | null): boolean; // this is NodePath<t.PipelineTopicExpression>;
844
- // isPrivate(props?: object | null): boolean; // this is NodePath<t.Private>;
845
- // isPrivateName(props?: object | null): boolean; // this is NodePath<t.PrivateName>;
846
- // isProgram(props?: object | null): boolean; // this is NodePath<t.Program>;
847
- // isProperty(props?: object | null): boolean; // this is NodePath<t.Property>;
848
- // isPureish(props?: object | null): boolean; // this is NodePath<t.Pureish>;
849
- // isQualifiedTypeIdentifier(props?: object | null): boolean; // this is NodePath<t.QualifiedTypeIdentifier>;
850
- // isRegExpLiteral(props?: object | null): boolean; // this is NodePath<t.RegExpLiteral>;
851
- // isRestElement(props?: object | null): boolean; // this is NodePath<t.RestElement>;
852
- // isReturnStatement(props?: object | null): boolean; // this is NodePath<t.ReturnStatement>;
853
- // isScopable(props?: object | null): boolean; // this is NodePath<t.Scopable>;
854
- // isSequenceExpression(props?: object | null): boolean; // this is NodePath<t.SequenceExpression>;
855
- // isSpreadElement(props?: object | null): boolean; // this is NodePath<t.SpreadElement>;
856
- // isStatement(props?: object | null): boolean; // this is NodePath<t.Statement>;
857
- // isStringLiteral(props?: object | null): boolean; // this is NodePath<t.StringLiteral>;
858
- // isStringLiteralTypeAnnotation(props?: object | null): boolean; // this is NodePath<t.StringLiteralTypeAnnotation>;
859
- // isStringTypeAnnotation(props?: object | null): boolean; // this is NodePath<t.StringTypeAnnotation>;
860
- // isSuper(props?: object | null): boolean; // this is NodePath<t.Super>;
861
- // isSwitchCase(props?: object | null): boolean; // this is NodePath<t.SwitchCase>;
862
- // isSwitchStatement(props?: object | null): boolean; // this is NodePath<t.SwitchStatement>;
863
- // isTSAnyKeyword(props?: object | null): boolean; // this is NodePath<t.TSAnyKeyword>;
864
- // isTSArrayType(props?: object | null): boolean; // this is NodePath<t.TSArrayType>;
865
- // isTSAsExpression(props?: object | null): boolean; // this is NodePath<t.TSAsExpression>;
866
- // isTSBooleanKeyword(props?: object | null): boolean; // this is NodePath<t.TSBooleanKeyword>;
867
- // isTSCallSignatureDeclaration(props?: object | null): boolean; // this is NodePath<t.TSCallSignatureDeclaration>;
868
- // isTSConditionalType(props?: object | null): boolean; // this is NodePath<t.TSConditionalType>;
869
- // isTSConstructSignatureDeclaration(props?: object | null): boolean; // this is NodePath<t.TSConstructSignatureDeclaration>;
870
- // isTSConstructorType(props?: object | null): boolean; // this is NodePath<t.TSConstructorType>;
871
- // isTSDeclareFunction(props?: object | null): boolean; // this is NodePath<t.TSDeclareFunction>;
872
- // isTSDeclareMethod(props?: object | null): boolean; // this is NodePath<t.TSDeclareMethod>;
873
- // isTSEntityName(props?: object | null): boolean; // this is NodePath<t.TSEntityName>;
874
- // isTSEnumDeclaration(props?: object | null): boolean; // this is NodePath<t.TSEnumDeclaration>;
875
- // isTSEnumMember(props?: object | null): boolean; // this is NodePath<t.TSEnumMember>;
876
- // isTSExportAssignment(props?: object | null): boolean; // this is NodePath<t.TSExportAssignment>;
877
- // isTSExpressionWithTypeArguments(props?: object | null): boolean; // this is NodePath<t.TSExpressionWithTypeArguments>;
878
- // isTSExternalModuleReference(props?: object | null): boolean; // this is NodePath<t.TSExternalModuleReference>;
879
- // isTSFunctionType(props?: object | null): boolean; // this is NodePath<t.TSFunctionType>;
880
- // isTSImportEqualsDeclaration(props?: object | null): boolean; // this is NodePath<t.TSImportEqualsDeclaration>;
881
- // isTSImportType(props?: object | null): boolean; // this is NodePath<t.TSImportType>;
882
- // isTSIndexSignature(props?: object | null): boolean; // this is NodePath<t.TSIndexSignature>;
883
- // isTSIndexedAccessType(props?: object | null): boolean; // this is NodePath<t.TSIndexedAccessType>;
884
- // isTSInferType(props?: object | null): boolean; // this is NodePath<t.TSInferType>;
885
- // isTSInterfaceBody(props?: object | null): boolean; // this is NodePath<t.TSInterfaceBody>;
886
- // isTSInterfaceDeclaration(props?: object | null): boolean; // this is NodePath<t.TSInterfaceDeclaration>;
887
- // isTSIntersectionType(props?: object | null): boolean; // this is NodePath<t.TSIntersectionType>;
888
- // isTSLiteralType(props?: object | null): boolean; // this is NodePath<t.TSLiteralType>;
889
- // isTSMappedType(props?: object | null): boolean; // this is NodePath<t.TSMappedType>;
890
- // isTSMethodSignature(props?: object | null): boolean; // this is NodePath<t.TSMethodSignature>;
891
- // isTSModuleBlock(props?: object | null): boolean; // this is NodePath<t.TSModuleBlock>;
892
- // isTSModuleDeclaration(props?: object | null): boolean; // this is NodePath<t.TSModuleDeclaration>;
893
- // isTSNamespaceExportDeclaration(props?: object | null): boolean; // this is NodePath<t.TSNamespaceExportDeclaration>;
894
- // isTSNeverKeyword(props?: object | null): boolean; // this is NodePath<t.TSNeverKeyword>;
895
- // isTSNonNullExpression(props?: object | null): boolean; // this is NodePath<t.TSNonNullExpression>;
896
- // isTSNullKeyword(props?: object | null): boolean; // this is NodePath<t.TSNullKeyword>;
897
- // isTSNumberKeyword(props?: object | null): boolean; // this is NodePath<t.TSNumberKeyword>;
898
- // isTSObjectKeyword(props?: object | null): boolean; // this is NodePath<t.TSObjectKeyword>;
899
- // isTSOptionalType(props?: object | null): boolean; // this is NodePath<t.TSOptionalType>;
900
- // isTSParameterProperty(props?: object | null): boolean; // this is NodePath<t.TSParameterProperty>;
901
- // isTSParenthesizedType(props?: object | null): boolean; // this is NodePath<t.TSParenthesizedType>;
902
- // isTSPropertySignature(props?: object | null): boolean; // this is NodePath<t.TSPropertySignature>;
903
- // isTSQualifiedName(props?: object | null): boolean; // this is NodePath<t.TSQualifiedName>;
904
- // isTSRestType(props?: object | null): boolean; // this is NodePath<t.TSRestType>;
905
- // isTSStringKeyword(props?: object | null): boolean; // this is NodePath<t.TSStringKeyword>;
906
- // isTSSymbolKeyword(props?: object | null): boolean; // this is NodePath<t.TSSymbolKeyword>;
907
- // isTSThisType(props?: object | null): boolean; // this is NodePath<t.TSThisType>;
908
- // isTSTupleType(props?: object | null): boolean; // this is NodePath<t.TSTupleType>;
909
- // isTSType(props?: object | null): boolean; // this is NodePath<t.TSType>;
910
- // isTSTypeAliasDeclaration(props?: object | null): boolean; // this is NodePath<t.TSTypeAliasDeclaration>;
911
- // isTSTypeAnnotation(props?: object | null): boolean; // this is NodePath<t.TSTypeAnnotation>;
912
- // isTSTypeAssertion(props?: object | null): boolean; // this is NodePath<t.TSTypeAssertion>;
913
- // isTSTypeElement(props?: object | null): boolean; // this is NodePath<t.TSTypeElement>;
914
- // isTSTypeLiteral(props?: object | null): boolean; // this is NodePath<t.TSTypeLiteral>;
915
- // isTSTypeOperator(props?: object | null): boolean; // this is NodePath<t.TSTypeOperator>;
916
- // isTSTypeParameter(props?: object | null): boolean; // this is NodePath<t.TSTypeParameter>;
917
- // isTSTypeParameterDeclaration(props?: object | null): boolean; // this is NodePath<t.TSTypeParameterDeclaration>;
918
- // isTSTypeParameterInstantiation(props?: object | null): boolean; // this is NodePath<t.TSTypeParameterInstantiation>;
919
- // isTSTypePredicate(props?: object | null): boolean; // this is NodePath<t.TSTypePredicate>;
920
- // isTSTypeQuery(props?: object | null): boolean; // this is NodePath<t.TSTypeQuery>;
921
- // isTSTypeReference(props?: object | null): boolean; // this is NodePath<t.TSTypeReference>;
922
- // isTSUndefinedKeyword(props?: object | null): boolean; // this is NodePath<t.TSUndefinedKeyword>;
923
- // isTSUnionType(props?: object | null): boolean; // this is NodePath<t.TSUnionType>;
924
- // isTSUnknownKeyword(props?: object | null): boolean; // this is NodePath<t.TSUnknownKeyword>;
925
- // isTSVoidKeyword(props?: object | null): boolean; // this is NodePath<t.TSVoidKeyword>;
926
- // isTaggedTemplateExpression(props?: object | null): boolean; // this is NodePath<t.TaggedTemplateExpression>;
927
- // isTemplateElement(props?: object | null): boolean; // this is NodePath<t.TemplateElement>;
928
- // isTemplateLiteral(props?: object | null): boolean; // this is NodePath<t.TemplateLiteral>;
929
- // isTerminatorless(props?: object | null): boolean; // this is NodePath<t.Terminatorless>;
930
- // isThisExpression(props?: object | null): boolean; // this is NodePath<t.ThisExpression>;
931
- // isThisTypeAnnotation(props?: object | null): boolean; // this is NodePath<t.ThisTypeAnnotation>;
932
- // isThrowStatement(props?: object | null): boolean; // this is NodePath<t.ThrowStatement>;
933
- // isTryStatement(props?: object | null): boolean; // this is NodePath<t.TryStatement>;
934
- // isTupleTypeAnnotation(props?: object | null): boolean; // this is NodePath<t.TupleTypeAnnotation>;
935
- // isTypeAlias(props?: object | null): boolean; // this is NodePath<t.TypeAlias>;
936
- // isTypeAnnotation(props?: object | null): boolean; // this is NodePath<t.TypeAnnotation>;
937
- // isTypeCastExpression(props?: object | null): boolean; // this is NodePath<t.TypeCastExpression>;
938
- // isTypeParameter(props?: object | null): boolean; // this is NodePath<t.TypeParameter>;
939
- // isTypeParameterDeclaration(props?: object | null): boolean; // this is NodePath<t.TypeParameterDeclaration>;
940
- // isTypeParameterInstantiation(props?: object | null): boolean; // this is NodePath<t.TypeParameterInstantiation>;
941
- // isTypeofTypeAnnotation(props?: object | null): boolean; // this is NodePath<t.TypeofTypeAnnotation>;
942
- // isUnaryExpression(props?: object | null): boolean; // this is NodePath<t.UnaryExpression>;
943
- // isUnaryLike(props?: object | null): boolean; // this is NodePath<t.UnaryLike>;
944
- // isUnionTypeAnnotation(props?: object | null): boolean; // this is NodePath<t.UnionTypeAnnotation>;
945
- // isUpdateExpression(props?: object | null): boolean; // this is NodePath<t.UpdateExpression>;
946
- // isUserWhitespacable(props?: object | null): boolean; // this is NodePath<t.UserWhitespacable>;
947
- // isVariableDeclaration(props?: object | null): boolean; // this is NodePath<t.VariableDeclaration>;
948
- // isVariableDeclarator(props?: object | null): boolean; // this is NodePath<t.VariableDeclarator>;
949
- // isVariance(props?: object | null): boolean; // this is NodePath<t.Variance>;
950
- // isVoidTypeAnnotation(props?: object | null): boolean; // this is NodePath<t.VoidTypeAnnotation>;
951
- // isWhile(props?: object | null): boolean; // this is NodePath<t.While>;
952
- // isWhileStatement(props?: object | null): boolean; // this is NodePath<t.WhileStatement>;
953
- // isWithStatement(props?: object | null): boolean; // this is NodePath<t.WithStatement>;
954
- // isYieldExpression(props?: object | null): boolean; // this is NodePath<t.YieldExpression>;
955
- // isBindingIdentifier(props?: object | null): boolean; // this is NodePath<t.Identifier>;
956
- // isBlockScoped(
957
- // props?: object | null,
958
- // ): boolean; // this is NodePath<t.FunctionDeclaration | t.ClassDeclaration | t.VariableDeclaration>;
959
- // isGenerated(props?: object | null): boolean;
960
- // isPure(props?: object | null): boolean;
961
- // isReferenced(props?: object | null): boolean;
962
- // isReferencedIdentifier(props?: object | null): boolean; // this is NodePath<t.Identifier | t.JSXIdentifier>;
963
- // isReferencedMemberExpression(props?: object | null): boolean; // this is NodePath<t.MemberExpression>;
964
- // isScope(props?: object | null): boolean; // this is NodePath<t.Scopable>;
965
- // isUser(props?: object | null): boolean;
966
- // isVar(props?: object | null): boolean; // this is NodePath<t.VariableDeclaration>;
696
+ isAnyTypeAnnotation(props?: object | null): this is NodePath<t.AnyTypeAnnotation>;
697
+ isArrayExpression(props?: object | null): this is NodePath<t.ArrayExpression>;
698
+ isArrayPattern(props?: object | null): this is NodePath<t.ArrayPattern>;
699
+ isArrayTypeAnnotation(props?: object | null): this is NodePath<t.ArrayTypeAnnotation>;
700
+ isArrowFunctionExpression(props?: object | null): this is NodePath<t.ArrowFunctionExpression>;
701
+ isAssignmentExpression(props?: object | null): this is NodePath<t.AssignmentExpression>;
702
+ isAssignmentPattern(props?: object | null): this is NodePath<t.AssignmentPattern>;
703
+ isAwaitExpression(props?: object | null): this is NodePath<t.AwaitExpression>;
704
+ isBigIntLiteral(props?: object | null): this is NodePath<t.BigIntLiteral>;
705
+ isBinary(props?: object | null): this is NodePath<t.Binary>;
706
+ isBinaryExpression(props?: object | null): this is NodePath<t.BinaryExpression>;
707
+ isBindExpression(props?: object | null): this is NodePath<t.BindExpression>;
708
+ isBlock(props?: object | null): this is NodePath<t.Block>;
709
+ isBlockParent(props?: object | null): this is NodePath<t.BlockParent>;
710
+ isBlockStatement(props?: object | null): this is NodePath<t.BlockStatement>;
711
+ isBooleanLiteral(props?: object | null): this is NodePath<t.BooleanLiteral>;
712
+ isBooleanLiteralTypeAnnotation(props?: object | null): this is NodePath<t.BooleanLiteralTypeAnnotation>;
713
+ isBooleanTypeAnnotation(props?: object | null): this is NodePath<t.BooleanTypeAnnotation>;
714
+ isBreakStatement(props?: object | null): this is NodePath<t.BreakStatement>;
715
+ isCallExpression(props?: object | null): this is NodePath<t.CallExpression>;
716
+ isCatchClause(props?: object | null): this is NodePath<t.CatchClause>;
717
+ isClass(props?: object | null): this is NodePath<t.Class>;
718
+ isClassBody(props?: object | null): this is NodePath<t.ClassBody>;
719
+ isClassDeclaration(props?: object | null): this is NodePath<t.ClassDeclaration>;
720
+ isClassExpression(props?: object | null): this is NodePath<t.ClassExpression>;
721
+ isClassImplements(props?: object | null): this is NodePath<t.ClassImplements>;
722
+ isClassMethod(props?: object | null): this is NodePath<t.ClassMethod>;
723
+ isClassPrivateMethod(props?: object | null): this is NodePath<t.ClassPrivateMethod>;
724
+ isClassPrivateProperty(props?: object | null): this is NodePath<t.ClassPrivateProperty>;
725
+ isClassProperty(props?: object | null): this is NodePath<t.ClassProperty>;
726
+ isCompletionStatement(props?: object | null): this is NodePath<t.CompletionStatement>;
727
+ isConditional(props?: object | null): this is NodePath<t.Conditional>;
728
+ isConditionalExpression(props?: object | null): this is NodePath<t.ConditionalExpression>;
729
+ isContinueStatement(props?: object | null): this is NodePath<t.ContinueStatement>;
730
+ isDebuggerStatement(props?: object | null): this is NodePath<t.DebuggerStatement>;
731
+ isDeclaration(props?: object | null): this is NodePath<t.Declaration>;
732
+ isDeclareClass(props?: object | null): this is NodePath<t.DeclareClass>;
733
+ isDeclareExportAllDeclaration(props?: object | null): this is NodePath<t.DeclareExportAllDeclaration>;
734
+ isDeclareExportDeclaration(props?: object | null): this is NodePath<t.DeclareExportDeclaration>;
735
+ isDeclareFunction(props?: object | null): this is NodePath<t.DeclareFunction>;
736
+ isDeclareInterface(props?: object | null): this is NodePath<t.DeclareInterface>;
737
+ isDeclareModule(props?: object | null): this is NodePath<t.DeclareModule>;
738
+ isDeclareModuleExports(props?: object | null): this is NodePath<t.DeclareModuleExports>;
739
+ isDeclareOpaqueType(props?: object | null): this is NodePath<t.DeclareOpaqueType>;
740
+ isDeclareTypeAlias(props?: object | null): this is NodePath<t.DeclareTypeAlias>;
741
+ isDeclareVariable(props?: object | null): this is NodePath<t.DeclareVariable>;
742
+ isDeclaredPredicate(props?: object | null): this is NodePath<t.DeclaredPredicate>;
743
+ isDecorator(props?: object | null): this is NodePath<t.Decorator>;
744
+ isDirective(props?: object | null): this is NodePath<t.Directive>;
745
+ isDirectiveLiteral(props?: object | null): this is NodePath<t.DirectiveLiteral>;
746
+ isDoExpression(props?: object | null): this is NodePath<t.DoExpression>;
747
+ isDoWhileStatement(props?: object | null): this is NodePath<t.DoWhileStatement>;
748
+ isEmptyStatement(props?: object | null): this is NodePath<t.EmptyStatement>;
749
+ isEmptyTypeAnnotation(props?: object | null): this is NodePath<t.EmptyTypeAnnotation>;
750
+ isExistsTypeAnnotation(props?: object | null): this is NodePath<t.ExistsTypeAnnotation>;
751
+ isExportAllDeclaration(props?: object | null): this is NodePath<t.ExportAllDeclaration>;
752
+ isExportDeclaration(props?: object | null): this is NodePath<t.ExportDeclaration>;
753
+ isExportDefaultDeclaration(props?: object | null): this is NodePath<t.ExportDefaultDeclaration>;
754
+ isExportDefaultSpecifier(props?: object | null): this is NodePath<t.ExportDefaultSpecifier>;
755
+ isExportNamedDeclaration(props?: object | null): this is NodePath<t.ExportNamedDeclaration>;
756
+ isExportNamespaceSpecifier(props?: object | null): this is NodePath<t.ExportNamespaceSpecifier>;
757
+ isExportSpecifier(props?: object | null): this is NodePath<t.ExportSpecifier>;
758
+ isExpression(props?: object | null): this is NodePath<t.Expression>;
759
+ isExpressionStatement(props?: object | null): this is NodePath<t.ExpressionStatement>;
760
+ isExpressionWrapper(props?: object | null): this is NodePath<t.ExpressionWrapper>;
761
+ isFile(props?: object | null): this is NodePath<t.File>;
762
+ isFlow(props?: object | null): this is NodePath<t.Flow>;
763
+ isFlowBaseAnnotation(props?: object | null): this is NodePath<t.FlowBaseAnnotation>;
764
+ isFlowDeclaration(props?: object | null): this is NodePath<t.FlowDeclaration>;
765
+ isFlowPredicate(props?: object | null): this is NodePath<t.FlowPredicate>;
766
+ isFlowType(props?: object | null): this is NodePath<t.FlowType>;
767
+ isFor(props?: object | null): this is NodePath<t.For>;
768
+ isForInStatement(props?: object | null): this is NodePath<t.ForInStatement>;
769
+ isForOfStatement(props?: object | null): this is NodePath<t.ForOfStatement>;
770
+ isForStatement(props?: object | null): this is NodePath<t.ForStatement>;
771
+ isForXStatement(props?: object | null): this is NodePath<t.ForXStatement>;
772
+ isFunction(props?: object | null): this is NodePath<t.Function>;
773
+ isFunctionDeclaration(props?: object | null): this is NodePath<t.FunctionDeclaration>;
774
+ isFunctionExpression(props?: object | null): this is NodePath<t.FunctionExpression>;
775
+ isFunctionParent(props?: object | null): this is NodePath<t.FunctionParent>;
776
+ isFunctionTypeAnnotation(props?: object | null): this is NodePath<t.FunctionTypeAnnotation>;
777
+ isFunctionTypeParam(props?: object | null): this is NodePath<t.FunctionTypeParam>;
778
+ isGenericTypeAnnotation(props?: object | null): this is NodePath<t.GenericTypeAnnotation>;
779
+ isIdentifier(props?: object | null): this is NodePath<t.Identifier>;
780
+ isIfStatement(props?: object | null): this is NodePath<t.IfStatement>;
781
+ isImmutable(props?: object | null): this is NodePath<t.Immutable>;
782
+ isImport(props?: object | null): this is NodePath<t.Import>;
783
+ isImportDeclaration(props?: object | null): this is NodePath<t.ImportDeclaration>;
784
+ isImportDefaultSpecifier(props?: object | null): this is NodePath<t.ImportDefaultSpecifier>;
785
+ isImportNamespaceSpecifier(props?: object | null): this is NodePath<t.ImportNamespaceSpecifier>;
786
+ isImportSpecifier(props?: object | null): this is NodePath<t.ImportSpecifier>;
787
+ isInferredPredicate(props?: object | null): this is NodePath<t.InferredPredicate>;
788
+ isInterfaceDeclaration(props?: object | null): this is NodePath<t.InterfaceDeclaration>;
789
+ isInterfaceExtends(props?: object | null): this is NodePath<t.InterfaceExtends>;
790
+ isInterfaceTypeAnnotation(props?: object | null): this is NodePath<t.InterfaceTypeAnnotation>;
791
+ isInterpreterDirective(props?: object | null): this is NodePath<t.InterpreterDirective>;
792
+ isIntersectionTypeAnnotation(props?: object | null): this is NodePath<t.IntersectionTypeAnnotation>;
793
+ isJSX(props?: object | null): this is NodePath<t.JSX>;
794
+ isJSXAttribute(props?: object | null): this is NodePath<t.JSXAttribute>;
795
+ isJSXClosingElement(props?: object | null): this is NodePath<t.JSXClosingElement>;
796
+ isJSXClosingFragment(props?: object | null): this is NodePath<t.JSXClosingFragment>;
797
+ isJSXElement(props?: object | null): this is NodePath<t.JSXElement>;
798
+ isJSXEmptyExpression(props?: object | null): this is NodePath<t.JSXEmptyExpression>;
799
+ isJSXExpressionContainer(props?: object | null): this is NodePath<t.JSXExpressionContainer>;
800
+ isJSXFragment(props?: object | null): this is NodePath<t.JSXFragment>;
801
+ isJSXIdentifier(props?: object | null): this is NodePath<t.JSXIdentifier>;
802
+ isJSXMemberExpression(props?: object | null): this is NodePath<t.JSXMemberExpression>;
803
+ isJSXNamespacedName(props?: object | null): this is NodePath<t.JSXNamespacedName>;
804
+ isJSXOpeningElement(props?: object | null): this is NodePath<t.JSXOpeningElement>;
805
+ isJSXOpeningFragment(props?: object | null): this is NodePath<t.JSXOpeningFragment>;
806
+ isJSXSpreadAttribute(props?: object | null): this is NodePath<t.JSXSpreadAttribute>;
807
+ isJSXSpreadChild(props?: object | null): this is NodePath<t.JSXSpreadChild>;
808
+ isJSXText(props?: object | null): this is NodePath<t.JSXText>;
809
+ isLVal(props?: object | null): this is NodePath<t.LVal>;
810
+ isLabeledStatement(props?: object | null): this is NodePath<t.LabeledStatement>;
811
+ isLiteral(props?: object | null): this is NodePath<t.Literal>;
812
+ isLogicalExpression(props?: object | null): this is NodePath<t.LogicalExpression>;
813
+ isLoop(props?: object | null): this is NodePath<t.Loop>;
814
+ isMemberExpression(props?: object | null): this is NodePath<t.MemberExpression>;
815
+ isMetaProperty(props?: object | null): this is NodePath<t.MetaProperty>;
816
+ isMethod(props?: object | null): this is NodePath<t.Method>;
817
+ isMixedTypeAnnotation(props?: object | null): this is NodePath<t.MixedTypeAnnotation>;
818
+ isModuleDeclaration(props?: object | null): this is NodePath<t.ModuleDeclaration>;
819
+ isModuleSpecifier(props?: object | null): this is NodePath<t.ModuleSpecifier>;
820
+ isNewExpression(props?: object | null): this is NodePath<t.NewExpression>;
821
+ isNoop(props?: object | null): this is NodePath<t.Noop>;
822
+ isNullLiteral(props?: object | null): this is NodePath<t.NullLiteral>;
823
+ isNullLiteralTypeAnnotation(props?: object | null): this is NodePath<t.NullLiteralTypeAnnotation>;
824
+ isNullableTypeAnnotation(props?: object | null): this is NodePath<t.NullableTypeAnnotation>;
825
+ isNumberLiteralTypeAnnotation(props?: object | null): this is NodePath<t.NumberLiteralTypeAnnotation>;
826
+ isNumberTypeAnnotation(props?: object | null): this is NodePath<t.NumberTypeAnnotation>;
827
+ isNumericLiteral(props?: object | null): this is NodePath<t.NumericLiteral>;
828
+ isObjectExpression(props?: object | null): this is NodePath<t.ObjectExpression>;
829
+ isObjectMember(props?: object | null): this is NodePath<t.ObjectMember>;
830
+ isObjectMethod(props?: object | null): this is NodePath<t.ObjectMethod>;
831
+ isObjectPattern(props?: object | null): this is NodePath<t.ObjectPattern>;
832
+ isObjectProperty(props?: object | null): this is NodePath<t.ObjectProperty>;
833
+ isObjectTypeAnnotation(props?: object | null): this is NodePath<t.ObjectTypeAnnotation>;
834
+ isObjectTypeCallProperty(props?: object | null): this is NodePath<t.ObjectTypeCallProperty>;
835
+ isObjectTypeIndexer(props?: object | null): this is NodePath<t.ObjectTypeIndexer>;
836
+ isObjectTypeInternalSlot(props?: object | null): this is NodePath<t.ObjectTypeInternalSlot>;
837
+ isObjectTypeProperty(props?: object | null): this is NodePath<t.ObjectTypeProperty>;
838
+ isObjectTypeSpreadProperty(props?: object | null): this is NodePath<t.ObjectTypeSpreadProperty>;
839
+ isOpaqueType(props?: object | null): this is NodePath<t.OpaqueType>;
840
+ isOptionalCallExpression(props?: object | null): this is NodePath<t.OptionalCallExpression>;
841
+ isOptionalMemberExpression(props?: object | null): this is NodePath<t.OptionalMemberExpression>;
842
+ isParenthesizedExpression(props?: object | null): this is NodePath<t.ParenthesizedExpression>;
843
+ isPattern(props?: object | null): this is NodePath<t.Pattern>;
844
+ isPatternLike(props?: object | null): this is NodePath<t.PatternLike>;
845
+ isPipelineBareFunction(props?: object | null): this is NodePath<t.PipelineBareFunction>;
846
+ isPipelinePrimaryTopicReference(props?: object | null): this is NodePath<t.PipelinePrimaryTopicReference>;
847
+ isPipelineTopicExpression(props?: object | null): this is NodePath<t.PipelineTopicExpression>;
848
+ isPrivate(props?: object | null): this is NodePath<t.Private>;
849
+ isPrivateName(props?: object | null): this is NodePath<t.PrivateName>;
850
+ isProgram(props?: object | null): this is NodePath<t.Program>;
851
+ isProperty(props?: object | null): this is NodePath<t.Property>;
852
+ isPureish(props?: object | null): this is NodePath<t.Pureish>;
853
+ isQualifiedTypeIdentifier(props?: object | null): this is NodePath<t.QualifiedTypeIdentifier>;
854
+ isRegExpLiteral(props?: object | null): this is NodePath<t.RegExpLiteral>;
855
+ isRestElement(props?: object | null): this is NodePath<t.RestElement>;
856
+ isReturnStatement(props?: object | null): this is NodePath<t.ReturnStatement>;
857
+ isScopable(props?: object | null): this is NodePath<t.Scopable>;
858
+ isSequenceExpression(props?: object | null): this is NodePath<t.SequenceExpression>;
859
+ isSpreadElement(props?: object | null): this is NodePath<t.SpreadElement>;
860
+ isStatement(props?: object | null): this is NodePath<t.Statement>;
861
+ isStringLiteral(props?: object | null): this is NodePath<t.StringLiteral>;
862
+ isStringLiteralTypeAnnotation(props?: object | null): this is NodePath<t.StringLiteralTypeAnnotation>;
863
+ isStringTypeAnnotation(props?: object | null): this is NodePath<t.StringTypeAnnotation>;
864
+ isSuper(props?: object | null): this is NodePath<t.Super>;
865
+ isSwitchCase(props?: object | null): this is NodePath<t.SwitchCase>;
866
+ isSwitchStatement(props?: object | null): this is NodePath<t.SwitchStatement>;
867
+ isTSAnyKeyword(props?: object | null): this is NodePath<t.TSAnyKeyword>;
868
+ isTSArrayType(props?: object | null): this is NodePath<t.TSArrayType>;
869
+ isTSAsExpression(props?: object | null): this is NodePath<t.TSAsExpression>;
870
+ isTSBooleanKeyword(props?: object | null): this is NodePath<t.TSBooleanKeyword>;
871
+ isTSCallSignatureDeclaration(props?: object | null): this is NodePath<t.TSCallSignatureDeclaration>;
872
+ isTSConditionalType(props?: object | null): this is NodePath<t.TSConditionalType>;
873
+ isTSConstructSignatureDeclaration(props?: object | null): this is NodePath<t.TSConstructSignatureDeclaration>;
874
+ isTSConstructorType(props?: object | null): this is NodePath<t.TSConstructorType>;
875
+ isTSDeclareFunction(props?: object | null): this is NodePath<t.TSDeclareFunction>;
876
+ isTSDeclareMethod(props?: object | null): this is NodePath<t.TSDeclareMethod>;
877
+ isTSEntityName(props?: object | null): this is NodePath<t.TSEntityName>;
878
+ isTSEnumDeclaration(props?: object | null): this is NodePath<t.TSEnumDeclaration>;
879
+ isTSEnumMember(props?: object | null): this is NodePath<t.TSEnumMember>;
880
+ isTSExportAssignment(props?: object | null): this is NodePath<t.TSExportAssignment>;
881
+ isTSExpressionWithTypeArguments(props?: object | null): this is NodePath<t.TSExpressionWithTypeArguments>;
882
+ isTSExternalModuleReference(props?: object | null): this is NodePath<t.TSExternalModuleReference>;
883
+ isTSFunctionType(props?: object | null): this is NodePath<t.TSFunctionType>;
884
+ isTSImportEqualsDeclaration(props?: object | null): this is NodePath<t.TSImportEqualsDeclaration>;
885
+ isTSImportType(props?: object | null): this is NodePath<t.TSImportType>;
886
+ isTSIndexSignature(props?: object | null): this is NodePath<t.TSIndexSignature>;
887
+ isTSIndexedAccessType(props?: object | null): this is NodePath<t.TSIndexedAccessType>;
888
+ isTSInferType(props?: object | null): this is NodePath<t.TSInferType>;
889
+ isTSInterfaceBody(props?: object | null): this is NodePath<t.TSInterfaceBody>;
890
+ isTSInterfaceDeclaration(props?: object | null): this is NodePath<t.TSInterfaceDeclaration>;
891
+ isTSIntersectionType(props?: object | null): this is NodePath<t.TSIntersectionType>;
892
+ isTSLiteralType(props?: object | null): this is NodePath<t.TSLiteralType>;
893
+ isTSMappedType(props?: object | null): this is NodePath<t.TSMappedType>;
894
+ isTSMethodSignature(props?: object | null): this is NodePath<t.TSMethodSignature>;
895
+ isTSModuleBlock(props?: object | null): this is NodePath<t.TSModuleBlock>;
896
+ isTSModuleDeclaration(props?: object | null): this is NodePath<t.TSModuleDeclaration>;
897
+ isTSNamespaceExportDeclaration(props?: object | null): this is NodePath<t.TSNamespaceExportDeclaration>;
898
+ isTSNeverKeyword(props?: object | null): this is NodePath<t.TSNeverKeyword>;
899
+ isTSNonNullExpression(props?: object | null): this is NodePath<t.TSNonNullExpression>;
900
+ isTSNullKeyword(props?: object | null): this is NodePath<t.TSNullKeyword>;
901
+ isTSNumberKeyword(props?: object | null): this is NodePath<t.TSNumberKeyword>;
902
+ isTSObjectKeyword(props?: object | null): this is NodePath<t.TSObjectKeyword>;
903
+ isTSOptionalType(props?: object | null): this is NodePath<t.TSOptionalType>;
904
+ isTSParameterProperty(props?: object | null): this is NodePath<t.TSParameterProperty>;
905
+ isTSParenthesizedType(props?: object | null): this is NodePath<t.TSParenthesizedType>;
906
+ isTSPropertySignature(props?: object | null): this is NodePath<t.TSPropertySignature>;
907
+ isTSQualifiedName(props?: object | null): this is NodePath<t.TSQualifiedName>;
908
+ isTSRestType(props?: object | null): this is NodePath<t.TSRestType>;
909
+ isTSStringKeyword(props?: object | null): this is NodePath<t.TSStringKeyword>;
910
+ isTSSymbolKeyword(props?: object | null): this is NodePath<t.TSSymbolKeyword>;
911
+ isTSThisType(props?: object | null): this is NodePath<t.TSThisType>;
912
+ isTSTupleType(props?: object | null): this is NodePath<t.TSTupleType>;
913
+ isTSType(props?: object | null): this is NodePath<t.TSType>;
914
+ isTSTypeAliasDeclaration(props?: object | null): this is NodePath<t.TSTypeAliasDeclaration>;
915
+ isTSTypeAnnotation(props?: object | null): this is NodePath<t.TSTypeAnnotation>;
916
+ isTSTypeAssertion(props?: object | null): this is NodePath<t.TSTypeAssertion>;
917
+ isTSTypeElement(props?: object | null): this is NodePath<t.TSTypeElement>;
918
+ isTSTypeLiteral(props?: object | null): this is NodePath<t.TSTypeLiteral>;
919
+ isTSTypeOperator(props?: object | null): this is NodePath<t.TSTypeOperator>;
920
+ isTSTypeParameter(props?: object | null): this is NodePath<t.TSTypeParameter>;
921
+ isTSTypeParameterDeclaration(props?: object | null): this is NodePath<t.TSTypeParameterDeclaration>;
922
+ isTSTypeParameterInstantiation(props?: object | null): this is NodePath<t.TSTypeParameterInstantiation>;
923
+ isTSTypePredicate(props?: object | null): this is NodePath<t.TSTypePredicate>;
924
+ isTSTypeQuery(props?: object | null): this is NodePath<t.TSTypeQuery>;
925
+ isTSTypeReference(props?: object | null): this is NodePath<t.TSTypeReference>;
926
+ isTSUndefinedKeyword(props?: object | null): this is NodePath<t.TSUndefinedKeyword>;
927
+ isTSUnionType(props?: object | null): this is NodePath<t.TSUnionType>;
928
+ isTSUnknownKeyword(props?: object | null): this is NodePath<t.TSUnknownKeyword>;
929
+ isTSVoidKeyword(props?: object | null): this is NodePath<t.TSVoidKeyword>;
930
+ isTaggedTemplateExpression(props?: object | null): this is NodePath<t.TaggedTemplateExpression>;
931
+ isTemplateElement(props?: object | null): this is NodePath<t.TemplateElement>;
932
+ isTemplateLiteral(props?: object | null): this is NodePath<t.TemplateLiteral>;
933
+ isTerminatorless(props?: object | null): this is NodePath<t.Terminatorless>;
934
+ isThisExpression(props?: object | null): this is NodePath<t.ThisExpression>;
935
+ isThisTypeAnnotation(props?: object | null): this is NodePath<t.ThisTypeAnnotation>;
936
+ isThrowStatement(props?: object | null): this is NodePath<t.ThrowStatement>;
937
+ isTryStatement(props?: object | null): this is NodePath<t.TryStatement>;
938
+ isTupleTypeAnnotation(props?: object | null): this is NodePath<t.TupleTypeAnnotation>;
939
+ isTypeAlias(props?: object | null): this is NodePath<t.TypeAlias>;
940
+ isTypeAnnotation(props?: object | null): this is NodePath<t.TypeAnnotation>;
941
+ isTypeCastExpression(props?: object | null): this is NodePath<t.TypeCastExpression>;
942
+ isTypeParameter(props?: object | null): this is NodePath<t.TypeParameter>;
943
+ isTypeParameterDeclaration(props?: object | null): this is NodePath<t.TypeParameterDeclaration>;
944
+ isTypeParameterInstantiation(props?: object | null): this is NodePath<t.TypeParameterInstantiation>;
945
+ isTypeofTypeAnnotation(props?: object | null): this is NodePath<t.TypeofTypeAnnotation>;
946
+ isUnaryExpression(props?: object | null): this is NodePath<t.UnaryExpression>;
947
+ isUnaryLike(props?: object | null): this is NodePath<t.UnaryLike>;
948
+ isUnionTypeAnnotation(props?: object | null): this is NodePath<t.UnionTypeAnnotation>;
949
+ isUpdateExpression(props?: object | null): this is NodePath<t.UpdateExpression>;
950
+ isUserWhitespacable(props?: object | null): this is NodePath<t.UserWhitespacable>;
951
+ isVariableDeclaration(props?: object | null): this is NodePath<t.VariableDeclaration>;
952
+ isVariableDeclarator(props?: object | null): this is NodePath<t.VariableDeclarator>;
953
+ isVariance(props?: object | null): this is NodePath<t.Variance>;
954
+ isVoidTypeAnnotation(props?: object | null): this is NodePath<t.VoidTypeAnnotation>;
955
+ isWhile(props?: object | null): this is NodePath<t.While>;
956
+ isWhileStatement(props?: object | null): this is NodePath<t.WhileStatement>;
957
+ isWithStatement(props?: object | null): this is NodePath<t.WithStatement>;
958
+ isYieldExpression(props?: object | null): this is NodePath<t.YieldExpression>;
959
+ isBindingIdentifier(props?: object | null): this is NodePath<t.Identifier>;
960
+ isBlockScoped(
961
+ props?: object | null,
962
+ ): this is NodePath<t.FunctionDeclaration | t.ClassDeclaration | t.VariableDeclaration>;
963
+ // isGenerated(props?: object | null): this is NodePath<t.Generated>;
964
+ // isPure(props?: object | null): this is NodePath<t.Pure>;
965
+ // isReferenced(props?: object | null): this is NodePath<t.Referenced>;
966
+ isReferencedIdentifier(props?: object | null): this is NodePath<t.Identifier | t.JSXIdentifier>;
967
+ isReferencedMemberExpression(props?: object | null): this is NodePath<t.MemberExpression>;
968
+ isScope(props?: object | null): this is NodePath<t.Scopable>;
969
+ // isUser(props?: object | null): this is NodePath<t.User>;
970
+ isVar(props?: object | null): this is NodePath<t.VariableDeclaration>;
967
971
  //#endregion
968
972
 
969
973
  //#region ------------------------- assertXXX -------------------------