/* * This file is auto-generated! Do not modify it directly. * To re-generate run 'make build' */ import * as t from "@babel/types"; import NodePath from "../index"; import type { VirtualTypeAliases } from "./virtual-types"; export interface NodePathValidators { isAccessor(opts?: object): this is NodePath; isAnyTypeAnnotation(opts?: object): this is NodePath; isArgumentPlaceholder(opts?: object): this is NodePath; isArrayExpression(opts?: object): this is NodePath; isArrayPattern(opts?: object): this is NodePath; isArrayTypeAnnotation(opts?: object): this is NodePath; isArrowFunctionExpression( opts?: object, ): this is NodePath; isAssignmentExpression( opts?: object, ): this is NodePath; isAssignmentPattern(opts?: object): this is NodePath; isAwaitExpression(opts?: object): this is NodePath; isBigIntLiteral(opts?: object): this is NodePath; isBinary(opts?: object): this is NodePath; isBinaryExpression(opts?: object): this is NodePath; isBindExpression(opts?: object): this is NodePath; isBlock(opts?: object): this is NodePath; isBlockParent(opts?: object): this is NodePath; isBlockStatement(opts?: object): this is NodePath; isBooleanLiteral(opts?: object): this is NodePath; isBooleanLiteralTypeAnnotation( opts?: object, ): this is NodePath; isBooleanTypeAnnotation( opts?: object, ): this is NodePath; isBreakStatement(opts?: object): this is NodePath; isCallExpression(opts?: object): this is NodePath; isCatchClause(opts?: object): this is NodePath; isClass(opts?: object): this is NodePath; isClassAccessorProperty( opts?: object, ): this is NodePath; isClassBody(opts?: object): this is NodePath; isClassDeclaration(opts?: object): this is NodePath; isClassExpression(opts?: object): this is NodePath; isClassImplements(opts?: object): this is NodePath; isClassMethod(opts?: object): this is NodePath; isClassPrivateMethod(opts?: object): this is NodePath; isClassPrivateProperty( opts?: object, ): this is NodePath; isClassProperty(opts?: object): this is NodePath; isCompletionStatement(opts?: object): this is NodePath; isConditional(opts?: object): this is NodePath; isConditionalExpression( opts?: object, ): this is NodePath; isContinueStatement(opts?: object): this is NodePath; isDebuggerStatement(opts?: object): this is NodePath; isDecimalLiteral(opts?: object): this is NodePath; isDeclaration(opts?: object): this is NodePath; isDeclareClass(opts?: object): this is NodePath; isDeclareExportAllDeclaration( opts?: object, ): this is NodePath; isDeclareExportDeclaration( opts?: object, ): this is NodePath; isDeclareFunction(opts?: object): this is NodePath; isDeclareInterface(opts?: object): this is NodePath; isDeclareModule(opts?: object): this is NodePath; isDeclareModuleExports( opts?: object, ): this is NodePath; isDeclareOpaqueType(opts?: object): this is NodePath; isDeclareTypeAlias(opts?: object): this is NodePath; isDeclareVariable(opts?: object): this is NodePath; isDeclaredPredicate(opts?: object): this is NodePath; isDecorator(opts?: object): this is NodePath; isDirective(opts?: object): this is NodePath; isDirectiveLiteral(opts?: object): this is NodePath; isDoExpression(opts?: object): this is NodePath; isDoWhileStatement(opts?: object): this is NodePath; isEmptyStatement(opts?: object): this is NodePath; isEmptyTypeAnnotation(opts?: object): this is NodePath; isEnumBody(opts?: object): this is NodePath; isEnumBooleanBody(opts?: object): this is NodePath; isEnumBooleanMember(opts?: object): this is NodePath; isEnumDeclaration(opts?: object): this is NodePath; isEnumDefaultedMember(opts?: object): this is NodePath; isEnumMember(opts?: object): this is NodePath; isEnumNumberBody(opts?: object): this is NodePath; isEnumNumberMember(opts?: object): this is NodePath; isEnumStringBody(opts?: object): this is NodePath; isEnumStringMember(opts?: object): this is NodePath; isEnumSymbolBody(opts?: object): this is NodePath; isExistsTypeAnnotation( opts?: object, ): this is NodePath; isExportAllDeclaration( opts?: object, ): this is NodePath; isExportDeclaration(opts?: object): this is NodePath; isExportDefaultDeclaration( opts?: object, ): this is NodePath; isExportDefaultSpecifier( opts?: object, ): this is NodePath; isExportNamedDeclaration( opts?: object, ): this is NodePath; isExportNamespaceSpecifier( opts?: object, ): this is NodePath; isExportSpecifier(opts?: object): this is NodePath; isExpression(opts?: object): this is NodePath; isExpressionStatement(opts?: object): this is NodePath; isExpressionWrapper(opts?: object): this is NodePath; isFile(opts?: object): this is NodePath; isFlow(opts?: object): this is NodePath; isFlowBaseAnnotation(opts?: object): this is NodePath; isFlowDeclaration(opts?: object): this is NodePath; isFlowPredicate(opts?: object): this is NodePath; isFlowType(opts?: object): this is NodePath; isFor(opts?: object): this is NodePath; isForInStatement(opts?: object): this is NodePath; isForOfStatement(opts?: object): this is NodePath; isForStatement(opts?: object): this is NodePath; isForXStatement(opts?: object): this is NodePath; isFunction(opts?: object): this is NodePath; isFunctionDeclaration(opts?: object): this is NodePath; isFunctionExpression(opts?: object): this is NodePath; isFunctionParent(opts?: object): this is NodePath; isFunctionTypeAnnotation( opts?: object, ): this is NodePath; isFunctionTypeParam(opts?: object): this is NodePath; isGenericTypeAnnotation( opts?: object, ): this is NodePath; isIdentifier(opts?: object): this is NodePath; isIfStatement(opts?: object): this is NodePath; isImmutable(opts?: object): this is NodePath; isImport(opts?: object): this is NodePath; isImportAttribute(opts?: object): this is NodePath; isImportDeclaration(opts?: object): this is NodePath; isImportDefaultSpecifier( opts?: object, ): this is NodePath; isImportNamespaceSpecifier( opts?: object, ): this is NodePath; isImportSpecifier(opts?: object): this is NodePath; isIndexedAccessType(opts?: object): this is NodePath; isInferredPredicate(opts?: object): this is NodePath; isInterfaceDeclaration( opts?: object, ): this is NodePath; isInterfaceExtends(opts?: object): this is NodePath; isInterfaceTypeAnnotation( opts?: object, ): this is NodePath; isInterpreterDirective( opts?: object, ): this is NodePath; isIntersectionTypeAnnotation( opts?: object, ): this is NodePath; isJSX(opts?: object): this is NodePath; isJSXAttribute(opts?: object): this is NodePath; isJSXClosingElement(opts?: object): this is NodePath; isJSXClosingFragment(opts?: object): this is NodePath; isJSXElement(opts?: object): this is NodePath; isJSXEmptyExpression(opts?: object): this is NodePath; isJSXExpressionContainer( opts?: object, ): this is NodePath; isJSXFragment(opts?: object): this is NodePath; isJSXIdentifier(opts?: object): this is NodePath; isJSXMemberExpression(opts?: object): this is NodePath; isJSXNamespacedName(opts?: object): this is NodePath; isJSXOpeningElement(opts?: object): this is NodePath; isJSXOpeningFragment(opts?: object): this is NodePath; isJSXSpreadAttribute(opts?: object): this is NodePath; isJSXSpreadChild(opts?: object): this is NodePath; isJSXText(opts?: object): this is NodePath; isLVal(opts?: object): this is NodePath; isLabeledStatement(opts?: object): this is NodePath; isLiteral(opts?: object): this is NodePath; isLogicalExpression(opts?: object): this is NodePath; isLoop(opts?: object): this is NodePath; isMemberExpression(opts?: object): this is NodePath; isMetaProperty(opts?: object): this is NodePath; isMethod(opts?: object): this is NodePath; isMiscellaneous(opts?: object): this is NodePath; isMixedTypeAnnotation(opts?: object): this is NodePath; isModuleDeclaration(opts?: object): this is NodePath; isModuleExpression(opts?: object): this is NodePath; isModuleSpecifier(opts?: object): this is NodePath; isNewExpression(opts?: object): this is NodePath; isNoop(opts?: object): this is NodePath; isNullLiteral(opts?: object): this is NodePath; isNullLiteralTypeAnnotation( opts?: object, ): this is NodePath; isNullableTypeAnnotation( opts?: object, ): this is NodePath; isNumberLiteral(opts?: object): this is NodePath; isNumberLiteralTypeAnnotation( opts?: object, ): this is NodePath; isNumberTypeAnnotation( opts?: object, ): this is NodePath; isNumericLiteral(opts?: object): this is NodePath; isObjectExpression(opts?: object): this is NodePath; isObjectMember(opts?: object): this is NodePath; isObjectMethod(opts?: object): this is NodePath; isObjectPattern(opts?: object): this is NodePath; isObjectProperty(opts?: object): this is NodePath; isObjectTypeAnnotation( opts?: object, ): this is NodePath; isObjectTypeCallProperty( opts?: object, ): this is NodePath; isObjectTypeIndexer(opts?: object): this is NodePath; isObjectTypeInternalSlot( opts?: object, ): this is NodePath; isObjectTypeProperty(opts?: object): this is NodePath; isObjectTypeSpreadProperty( opts?: object, ): this is NodePath; isOpaqueType(opts?: object): this is NodePath; isOptionalCallExpression( opts?: object, ): this is NodePath; isOptionalIndexedAccessType( opts?: object, ): this is NodePath; isOptionalMemberExpression( opts?: object, ): this is NodePath; isParenthesizedExpression( opts?: object, ): this is NodePath; isPattern(opts?: object): this is NodePath; isPatternLike(opts?: object): this is NodePath; isPipelineBareFunction( opts?: object, ): this is NodePath; isPipelinePrimaryTopicReference( opts?: object, ): this is NodePath; isPipelineTopicExpression( opts?: object, ): this is NodePath; isPlaceholder(opts?: object): this is NodePath; isPrivate(opts?: object): this is NodePath; isPrivateName(opts?: object): this is NodePath; isProgram(opts?: object): this is NodePath; isProperty(opts?: object): this is NodePath; isPureish(opts?: object): this is NodePath; isQualifiedTypeIdentifier( opts?: object, ): this is NodePath; isRecordExpression(opts?: object): this is NodePath; isRegExpLiteral(opts?: object): this is NodePath; isRegexLiteral(opts?: object): this is NodePath; isRestElement(opts?: object): this is NodePath; isRestProperty(opts?: object): this is NodePath; isReturnStatement(opts?: object): this is NodePath; isScopable(opts?: object): this is NodePath; isSequenceExpression(opts?: object): this is NodePath; isSpreadElement(opts?: object): this is NodePath; isSpreadProperty(opts?: object): this is NodePath; isStandardized(opts?: object): this is NodePath; isStatement(opts?: object): this is NodePath; isStaticBlock(opts?: object): this is NodePath; isStringLiteral(opts?: object): this is NodePath; isStringLiteralTypeAnnotation( opts?: object, ): this is NodePath; isStringTypeAnnotation( opts?: object, ): this is NodePath; isSuper(opts?: object): this is NodePath; isSwitchCase(opts?: object): this is NodePath; isSwitchStatement(opts?: object): this is NodePath; isSymbolTypeAnnotation( opts?: object, ): this is NodePath; isTSAnyKeyword(opts?: object): this is NodePath; isTSArrayType(opts?: object): this is NodePath; isTSAsExpression(opts?: object): this is NodePath; isTSBaseType(opts?: object): this is NodePath; isTSBigIntKeyword(opts?: object): this is NodePath; isTSBooleanKeyword(opts?: object): this is NodePath; isTSCallSignatureDeclaration( opts?: object, ): this is NodePath; isTSConditionalType(opts?: object): this is NodePath; isTSConstructSignatureDeclaration( opts?: object, ): this is NodePath; isTSConstructorType(opts?: object): this is NodePath; isTSDeclareFunction(opts?: object): this is NodePath; isTSDeclareMethod(opts?: object): this is NodePath; isTSEntityName(opts?: object): this is NodePath; isTSEnumDeclaration(opts?: object): this is NodePath; isTSEnumMember(opts?: object): this is NodePath; isTSExportAssignment(opts?: object): this is NodePath; isTSExpressionWithTypeArguments( opts?: object, ): this is NodePath; isTSExternalModuleReference( opts?: object, ): this is NodePath; isTSFunctionType(opts?: object): this is NodePath; isTSImportEqualsDeclaration( opts?: object, ): this is NodePath; isTSImportType(opts?: object): this is NodePath; isTSIndexSignature(opts?: object): this is NodePath; isTSIndexedAccessType(opts?: object): this is NodePath; isTSInferType(opts?: object): this is NodePath; isTSInterfaceBody(opts?: object): this is NodePath; isTSInterfaceDeclaration( opts?: object, ): this is NodePath; isTSIntersectionType(opts?: object): this is NodePath; isTSIntrinsicKeyword(opts?: object): this is NodePath; isTSLiteralType(opts?: object): this is NodePath; isTSMappedType(opts?: object): this is NodePath; isTSMethodSignature(opts?: object): this is NodePath; isTSModuleBlock(opts?: object): this is NodePath; isTSModuleDeclaration(opts?: object): this is NodePath; isTSNamedTupleMember(opts?: object): this is NodePath; isTSNamespaceExportDeclaration( opts?: object, ): this is NodePath; isTSNeverKeyword(opts?: object): this is NodePath; isTSNonNullExpression(opts?: object): this is NodePath; isTSNullKeyword(opts?: object): this is NodePath; isTSNumberKeyword(opts?: object): this is NodePath; isTSObjectKeyword(opts?: object): this is NodePath; isTSOptionalType(opts?: object): this is NodePath; isTSParameterProperty(opts?: object): this is NodePath; isTSParenthesizedType(opts?: object): this is NodePath; isTSPropertySignature(opts?: object): this is NodePath; isTSQualifiedName(opts?: object): this is NodePath; isTSRestType(opts?: object): this is NodePath; isTSStringKeyword(opts?: object): this is NodePath; isTSSymbolKeyword(opts?: object): this is NodePath; isTSThisType(opts?: object): this is NodePath; isTSTupleType(opts?: object): this is NodePath; isTSType(opts?: object): this is NodePath; isTSTypeAliasDeclaration( opts?: object, ): this is NodePath; isTSTypeAnnotation(opts?: object): this is NodePath; isTSTypeAssertion(opts?: object): this is NodePath; isTSTypeElement(opts?: object): this is NodePath; isTSTypeLiteral(opts?: object): this is NodePath; isTSTypeOperator(opts?: object): this is NodePath; isTSTypeParameter(opts?: object): this is NodePath; isTSTypeParameterDeclaration( opts?: object, ): this is NodePath; isTSTypeParameterInstantiation( opts?: object, ): this is NodePath; isTSTypePredicate(opts?: object): this is NodePath; isTSTypeQuery(opts?: object): this is NodePath; isTSTypeReference(opts?: object): this is NodePath; isTSUndefinedKeyword(opts?: object): this is NodePath; isTSUnionType(opts?: object): this is NodePath; isTSUnknownKeyword(opts?: object): this is NodePath; isTSVoidKeyword(opts?: object): this is NodePath; isTaggedTemplateExpression( opts?: object, ): this is NodePath; isTemplateElement(opts?: object): this is NodePath; isTemplateLiteral(opts?: object): this is NodePath; isTerminatorless(opts?: object): this is NodePath; isThisExpression(opts?: object): this is NodePath; isThisTypeAnnotation(opts?: object): this is NodePath; isThrowStatement(opts?: object): this is NodePath; isTopicReference(opts?: object): this is NodePath; isTryStatement(opts?: object): this is NodePath; isTupleExpression(opts?: object): this is NodePath; isTupleTypeAnnotation(opts?: object): this is NodePath; isTypeAlias(opts?: object): this is NodePath; isTypeAnnotation(opts?: object): this is NodePath; isTypeCastExpression(opts?: object): this is NodePath; isTypeParameter(opts?: object): this is NodePath; isTypeParameterDeclaration( opts?: object, ): this is NodePath; isTypeParameterInstantiation( opts?: object, ): this is NodePath; isTypeScript(opts?: object): this is NodePath; isTypeofTypeAnnotation( opts?: object, ): this is NodePath; isUnaryExpression(opts?: object): this is NodePath; isUnaryLike(opts?: object): this is NodePath; isUnionTypeAnnotation(opts?: object): this is NodePath; isUpdateExpression(opts?: object): this is NodePath; isUserWhitespacable(opts?: object): this is NodePath; isV8IntrinsicIdentifier( opts?: object, ): this is NodePath; isVariableDeclaration(opts?: object): this is NodePath; isVariableDeclarator(opts?: object): this is NodePath; isVariance(opts?: object): this is NodePath; isVoidTypeAnnotation(opts?: object): this is NodePath; isWhile(opts?: object): this is NodePath; isWhileStatement(opts?: object): this is NodePath; isWithStatement(opts?: object): this is NodePath; isYieldExpression(opts?: object): this is NodePath; isBindingIdentifier( opts?: object, ): this is NodePath; isBlockScoped(opts?: object): boolean; isExistentialTypeParam( opts?: object, ): this is NodePath; isExpression(opts?: object): this is NodePath; isFlow(opts?: object): this is NodePath; isForAwaitStatement( opts?: object, ): this is NodePath; isGenerated(opts?: object): boolean; isNumericLiteralTypeAnnotation( opts?: object, ): this is NodePath; isPure(opts?: object): boolean; isReferenced(opts?: object): boolean; isReferencedIdentifier( opts?: object, ): this is NodePath; isReferencedMemberExpression( opts?: object, ): this is NodePath; isRestProperty( opts?: object, ): this is NodePath; isScope(opts?: object): this is NodePath; isSpreadProperty( opts?: object, ): this is NodePath; isStatement(opts?: object): this is NodePath; isUser(opts?: object): boolean; isVar(opts?: object): this is NodePath; }