| 1 | /* |
| 2 | * This file is auto-generated! Do not modify it directly. |
| 3 | * To re-generate run 'make build' |
| 4 | */ |
| 5 | import type * as t from "@babel/types"; |
| 6 | import type NodePath from "../index"; |
| 7 | import type { VirtualTypeNodePathValidators } from "../lib/virtual-types-validator"; |
| 8 | |
| 9 | interface BaseNodePathValidators { |
| 10 | isAccessor<T extends t.Node>( |
| 11 | this: NodePath<T>, |
| 12 | opts?: object, |
| 13 | ): this is NodePath<T & t.Accessor>; |
| 14 | isAnyTypeAnnotation<T extends t.Node>( |
| 15 | this: NodePath<T>, |
| 16 | opts?: object, |
| 17 | ): this is NodePath<T & t.AnyTypeAnnotation>; |
| 18 | isArgumentPlaceholder<T extends t.Node>( |
| 19 | this: NodePath<T>, |
| 20 | opts?: object, |
| 21 | ): this is NodePath<T & t.ArgumentPlaceholder>; |
| 22 | isArrayExpression<T extends t.Node>( |
| 23 | this: NodePath<T>, |
| 24 | opts?: object, |
| 25 | ): this is NodePath<T & t.ArrayExpression>; |
| 26 | isArrayPattern<T extends t.Node>( |
| 27 | this: NodePath<T>, |
| 28 | opts?: object, |
| 29 | ): this is NodePath<T & t.ArrayPattern>; |
| 30 | isArrayTypeAnnotation<T extends t.Node>( |
| 31 | this: NodePath<T>, |
| 32 | opts?: object, |
| 33 | ): this is NodePath<T & t.ArrayTypeAnnotation>; |
| 34 | isArrowFunctionExpression<T extends t.Node>( |
| 35 | this: NodePath<T>, |
| 36 | opts?: object, |
| 37 | ): this is NodePath<T & t.ArrowFunctionExpression>; |
| 38 | isAssignmentExpression<T extends t.Node>( |
| 39 | this: NodePath<T>, |
| 40 | opts?: object, |
| 41 | ): this is NodePath<T & t.AssignmentExpression>; |
| 42 | isAssignmentPattern<T extends t.Node>( |
| 43 | this: NodePath<T>, |
| 44 | opts?: object, |
| 45 | ): this is NodePath<T & t.AssignmentPattern>; |
| 46 | isAwaitExpression<T extends t.Node>( |
| 47 | this: NodePath<T>, |
| 48 | opts?: object, |
| 49 | ): this is NodePath<T & t.AwaitExpression>; |
| 50 | isBigIntLiteral<T extends t.Node>( |
| 51 | this: NodePath<T>, |
| 52 | opts?: object, |
| 53 | ): this is NodePath<T & t.BigIntLiteral>; |
| 54 | isBinary<T extends t.Node>( |
| 55 | this: NodePath<T>, |
| 56 | opts?: object, |
| 57 | ): this is NodePath<T & t.Binary>; |
| 58 | isBinaryExpression<T extends t.Node>( |
| 59 | this: NodePath<T>, |
| 60 | opts?: object, |
| 61 | ): this is NodePath<T & t.BinaryExpression>; |
| 62 | isBindExpression<T extends t.Node>( |
| 63 | this: NodePath<T>, |
| 64 | opts?: object, |
| 65 | ): this is NodePath<T & t.BindExpression>; |
| 66 | isBlock<T extends t.Node>( |
| 67 | this: NodePath<T>, |
| 68 | opts?: object, |
| 69 | ): this is NodePath<T & t.Block>; |
| 70 | isBlockParent<T extends t.Node>( |
| 71 | this: NodePath<T>, |
| 72 | opts?: object, |
| 73 | ): this is NodePath<T & t.BlockParent>; |
| 74 | isBlockStatement<T extends t.Node>( |
| 75 | this: NodePath<T>, |
| 76 | opts?: object, |
| 77 | ): this is NodePath<T & t.BlockStatement>; |
| 78 | isBooleanLiteral<T extends t.Node>( |
| 79 | this: NodePath<T>, |
| 80 | opts?: object, |
| 81 | ): this is NodePath<T & t.BooleanLiteral>; |
| 82 | isBooleanLiteralTypeAnnotation<T extends t.Node>( |
| 83 | this: NodePath<T>, |
| 84 | opts?: object, |
| 85 | ): this is NodePath<T & t.BooleanLiteralTypeAnnotation>; |
| 86 | isBooleanTypeAnnotation<T extends t.Node>( |
| 87 | this: NodePath<T>, |
| 88 | opts?: object, |
| 89 | ): this is NodePath<T & t.BooleanTypeAnnotation>; |
| 90 | isBreakStatement<T extends t.Node>( |
| 91 | this: NodePath<T>, |
| 92 | opts?: object, |
| 93 | ): this is NodePath<T & t.BreakStatement>; |
| 94 | isCallExpression<T extends t.Node>( |
| 95 | this: NodePath<T>, |
| 96 | opts?: object, |
| 97 | ): this is NodePath<T & t.CallExpression>; |
| 98 | isCatchClause<T extends t.Node>( |
| 99 | this: NodePath<T>, |
| 100 | opts?: object, |
| 101 | ): this is NodePath<T & t.CatchClause>; |
| 102 | isClass<T extends t.Node>( |
| 103 | this: NodePath<T>, |
| 104 | opts?: object, |
| 105 | ): this is NodePath<T & t.Class>; |
| 106 | isClassAccessorProperty<T extends t.Node>( |
| 107 | this: NodePath<T>, |
| 108 | opts?: object, |
| 109 | ): this is NodePath<T & t.ClassAccessorProperty>; |
| 110 | isClassBody<T extends t.Node>( |
| 111 | this: NodePath<T>, |
| 112 | opts?: object, |
| 113 | ): this is NodePath<T & t.ClassBody>; |
| 114 | isClassDeclaration<T extends t.Node>( |
| 115 | this: NodePath<T>, |
| 116 | opts?: object, |
| 117 | ): this is NodePath<T & t.ClassDeclaration>; |
| 118 | isClassExpression<T extends t.Node>( |
| 119 | this: NodePath<T>, |
| 120 | opts?: object, |
| 121 | ): this is NodePath<T & t.ClassExpression>; |
| 122 | isClassImplements<T extends t.Node>( |
| 123 | this: NodePath<T>, |
| 124 | opts?: object, |
| 125 | ): this is NodePath<T & t.ClassImplements>; |
| 126 | isClassMethod<T extends t.Node>( |
| 127 | this: NodePath<T>, |
| 128 | opts?: object, |
| 129 | ): this is NodePath<T & t.ClassMethod>; |
| 130 | isClassPrivateMethod<T extends t.Node>( |
| 131 | this: NodePath<T>, |
| 132 | opts?: object, |
| 133 | ): this is NodePath<T & t.ClassPrivateMethod>; |
| 134 | isClassPrivateProperty<T extends t.Node>( |
| 135 | this: NodePath<T>, |
| 136 | opts?: object, |
| 137 | ): this is NodePath<T & t.ClassPrivateProperty>; |
| 138 | isClassProperty<T extends t.Node>( |
| 139 | this: NodePath<T>, |
| 140 | opts?: object, |
| 141 | ): this is NodePath<T & t.ClassProperty>; |
| 142 | isCompletionStatement<T extends t.Node>( |
| 143 | this: NodePath<T>, |
| 144 | opts?: object, |
| 145 | ): this is NodePath<T & t.CompletionStatement>; |
| 146 | isConditional<T extends t.Node>( |
| 147 | this: NodePath<T>, |
| 148 | opts?: object, |
| 149 | ): this is NodePath<T & t.Conditional>; |
| 150 | isConditionalExpression<T extends t.Node>( |
| 151 | this: NodePath<T>, |
| 152 | opts?: object, |
| 153 | ): this is NodePath<T & t.ConditionalExpression>; |
| 154 | isContinueStatement<T extends t.Node>( |
| 155 | this: NodePath<T>, |
| 156 | opts?: object, |
| 157 | ): this is NodePath<T & t.ContinueStatement>; |
| 158 | isDebuggerStatement<T extends t.Node>( |
| 159 | this: NodePath<T>, |
| 160 | opts?: object, |
| 161 | ): this is NodePath<T & t.DebuggerStatement>; |
| 162 | isDecimalLiteral<T extends t.Node>( |
| 163 | this: NodePath<T>, |
| 164 | opts?: object, |
| 165 | ): this is NodePath<T & t.DecimalLiteral>; |
| 166 | isDeclaration<T extends t.Node>( |
| 167 | this: NodePath<T>, |
| 168 | opts?: object, |
| 169 | ): this is NodePath<T & t.Declaration>; |
| 170 | isDeclareClass<T extends t.Node>( |
| 171 | this: NodePath<T>, |
| 172 | opts?: object, |
| 173 | ): this is NodePath<T & t.DeclareClass>; |
| 174 | isDeclareExportAllDeclaration<T extends t.Node>( |
| 175 | this: NodePath<T>, |
| 176 | opts?: object, |
| 177 | ): this is NodePath<T & t.DeclareExportAllDeclaration>; |
| 178 | isDeclareExportDeclaration<T extends t.Node>( |
| 179 | this: NodePath<T>, |
| 180 | opts?: object, |
| 181 | ): this is NodePath<T & t.DeclareExportDeclaration>; |
| 182 | isDeclareFunction<T extends t.Node>( |
| 183 | this: NodePath<T>, |
| 184 | opts?: object, |
| 185 | ): this is NodePath<T & t.DeclareFunction>; |
| 186 | isDeclareInterface<T extends t.Node>( |
| 187 | this: NodePath<T>, |
| 188 | opts?: object, |
| 189 | ): this is NodePath<T & t.DeclareInterface>; |
| 190 | isDeclareModule<T extends t.Node>( |
| 191 | this: NodePath<T>, |
| 192 | opts?: object, |
| 193 | ): this is NodePath<T & t.DeclareModule>; |
| 194 | isDeclareModuleExports<T extends t.Node>( |
| 195 | this: NodePath<T>, |
| 196 | opts?: object, |
| 197 | ): this is NodePath<T & t.DeclareModuleExports>; |
| 198 | isDeclareOpaqueType<T extends t.Node>( |
| 199 | this: NodePath<T>, |
| 200 | opts?: object, |
| 201 | ): this is NodePath<T & t.DeclareOpaqueType>; |
| 202 | isDeclareTypeAlias<T extends t.Node>( |
| 203 | this: NodePath<T>, |
| 204 | opts?: object, |
| 205 | ): this is NodePath<T & t.DeclareTypeAlias>; |
| 206 | isDeclareVariable<T extends t.Node>( |
| 207 | this: NodePath<T>, |
| 208 | opts?: object, |
| 209 | ): this is NodePath<T & t.DeclareVariable>; |
| 210 | isDeclaredPredicate<T extends t.Node>( |
| 211 | this: NodePath<T>, |
| 212 | opts?: object, |
| 213 | ): this is NodePath<T & t.DeclaredPredicate>; |
| 214 | isDecorator<T extends t.Node>( |
| 215 | this: NodePath<T>, |
| 216 | opts?: object, |
| 217 | ): this is NodePath<T & t.Decorator>; |
| 218 | isDirective<T extends t.Node>( |
| 219 | this: NodePath<T>, |
| 220 | opts?: object, |
| 221 | ): this is NodePath<T & t.Directive>; |
| 222 | isDirectiveLiteral<T extends t.Node>( |
| 223 | this: NodePath<T>, |
| 224 | opts?: object, |
| 225 | ): this is NodePath<T & t.DirectiveLiteral>; |
| 226 | isDoExpression<T extends t.Node>( |
| 227 | this: NodePath<T>, |
| 228 | opts?: object, |
| 229 | ): this is NodePath<T & t.DoExpression>; |
| 230 | isDoWhileStatement<T extends t.Node>( |
| 231 | this: NodePath<T>, |
| 232 | opts?: object, |
| 233 | ): this is NodePath<T & t.DoWhileStatement>; |
| 234 | isEmptyStatement<T extends t.Node>( |
| 235 | this: NodePath<T>, |
| 236 | opts?: object, |
| 237 | ): this is NodePath<T & t.EmptyStatement>; |
| 238 | isEmptyTypeAnnotation<T extends t.Node>( |
| 239 | this: NodePath<T>, |
| 240 | opts?: object, |
| 241 | ): this is NodePath<T & t.EmptyTypeAnnotation>; |
| 242 | isEnumBody<T extends t.Node>( |
| 243 | this: NodePath<T>, |
| 244 | opts?: object, |
| 245 | ): this is NodePath<T & t.EnumBody>; |
| 246 | isEnumBooleanBody<T extends t.Node>( |
| 247 | this: NodePath<T>, |
| 248 | opts?: object, |
| 249 | ): this is NodePath<T & t.EnumBooleanBody>; |
| 250 | isEnumBooleanMember<T extends t.Node>( |
| 251 | this: NodePath<T>, |
| 252 | opts?: object, |
| 253 | ): this is NodePath<T & t.EnumBooleanMember>; |
| 254 | isEnumDeclaration<T extends t.Node>( |
| 255 | this: NodePath<T>, |
| 256 | opts?: object, |
| 257 | ): this is NodePath<T & t.EnumDeclaration>; |
| 258 | isEnumDefaultedMember<T extends t.Node>( |
| 259 | this: NodePath<T>, |
| 260 | opts?: object, |
| 261 | ): this is NodePath<T & t.EnumDefaultedMember>; |
| 262 | isEnumMember<T extends t.Node>( |
| 263 | this: NodePath<T>, |
| 264 | opts?: object, |
| 265 | ): this is NodePath<T & t.EnumMember>; |
| 266 | isEnumNumberBody<T extends t.Node>( |
| 267 | this: NodePath<T>, |
| 268 | opts?: object, |
| 269 | ): this is NodePath<T & t.EnumNumberBody>; |
| 270 | isEnumNumberMember<T extends t.Node>( |
| 271 | this: NodePath<T>, |
| 272 | opts?: object, |
| 273 | ): this is NodePath<T & t.EnumNumberMember>; |
| 274 | isEnumStringBody<T extends t.Node>( |
| 275 | this: NodePath<T>, |
| 276 | opts?: object, |
| 277 | ): this is NodePath<T & t.EnumStringBody>; |
| 278 | isEnumStringMember<T extends t.Node>( |
| 279 | this: NodePath<T>, |
| 280 | opts?: object, |
| 281 | ): this is NodePath<T & t.EnumStringMember>; |
| 282 | isEnumSymbolBody<T extends t.Node>( |
| 283 | this: NodePath<T>, |
| 284 | opts?: object, |
| 285 | ): this is NodePath<T & t.EnumSymbolBody>; |
| 286 | isExistsTypeAnnotation<T extends t.Node>( |
| 287 | this: NodePath<T>, |
| 288 | opts?: object, |
| 289 | ): this is NodePath<T & t.ExistsTypeAnnotation>; |
| 290 | isExportAllDeclaration<T extends t.Node>( |
| 291 | this: NodePath<T>, |
| 292 | opts?: object, |
| 293 | ): this is NodePath<T & t.ExportAllDeclaration>; |
| 294 | isExportDeclaration<T extends t.Node>( |
| 295 | this: NodePath<T>, |
| 296 | opts?: object, |
| 297 | ): this is NodePath<T & t.ExportDeclaration>; |
| 298 | isExportDefaultDeclaration<T extends t.Node>( |
| 299 | this: NodePath<T>, |
| 300 | opts?: object, |
| 301 | ): this is NodePath<T & t.ExportDefaultDeclaration>; |
| 302 | isExportDefaultSpecifier<T extends t.Node>( |
| 303 | this: NodePath<T>, |
| 304 | opts?: object, |
| 305 | ): this is NodePath<T & t.ExportDefaultSpecifier>; |
| 306 | isExportNamedDeclaration<T extends t.Node>( |
| 307 | this: NodePath<T>, |
| 308 | opts?: object, |
| 309 | ): this is NodePath<T & t.ExportNamedDeclaration>; |
| 310 | isExportNamespaceSpecifier<T extends t.Node>( |
| 311 | this: NodePath<T>, |
| 312 | opts?: object, |
| 313 | ): this is NodePath<T & t.ExportNamespaceSpecifier>; |
| 314 | isExportSpecifier<T extends t.Node>( |
| 315 | this: NodePath<T>, |
| 316 | opts?: object, |
| 317 | ): this is NodePath<T & t.ExportSpecifier>; |
| 318 | isExpression<T extends t.Node>( |
| 319 | this: NodePath<T>, |
| 320 | opts?: object, |
| 321 | ): this is NodePath<T & t.Expression>; |
| 322 | isExpressionStatement<T extends t.Node>( |
| 323 | this: NodePath<T>, |
| 324 | opts?: object, |
| 325 | ): this is NodePath<T & t.ExpressionStatement>; |
| 326 | isExpressionWrapper<T extends t.Node>( |
| 327 | this: NodePath<T>, |
| 328 | opts?: object, |
| 329 | ): this is NodePath<T & t.ExpressionWrapper>; |
| 330 | isFile<T extends t.Node>( |
| 331 | this: NodePath<T>, |
| 332 | opts?: object, |
| 333 | ): this is NodePath<T & t.File>; |
| 334 | isFlow<T extends t.Node>( |
| 335 | this: NodePath<T>, |
| 336 | opts?: object, |
| 337 | ): this is NodePath<T & t.Flow>; |
| 338 | isFlowBaseAnnotation<T extends t.Node>( |
| 339 | this: NodePath<T>, |
| 340 | opts?: object, |
| 341 | ): this is NodePath<T & t.FlowBaseAnnotation>; |
| 342 | isFlowDeclaration<T extends t.Node>( |
| 343 | this: NodePath<T>, |
| 344 | opts?: object, |
| 345 | ): this is NodePath<T & t.FlowDeclaration>; |
| 346 | isFlowPredicate<T extends t.Node>( |
| 347 | this: NodePath<T>, |
| 348 | opts?: object, |
| 349 | ): this is NodePath<T & t.FlowPredicate>; |
| 350 | isFlowType<T extends t.Node>( |
| 351 | this: NodePath<T>, |
| 352 | opts?: object, |
| 353 | ): this is NodePath<T & t.FlowType>; |
| 354 | isFor<T extends t.Node>( |
| 355 | this: NodePath<T>, |
| 356 | opts?: object, |
| 357 | ): this is NodePath<T & t.For>; |
| 358 | isForInStatement<T extends t.Node>( |
| 359 | this: NodePath<T>, |
| 360 | opts?: object, |
| 361 | ): this is NodePath<T & t.ForInStatement>; |
| 362 | isForOfStatement<T extends t.Node>( |
| 363 | this: NodePath<T>, |
| 364 | opts?: object, |
| 365 | ): this is NodePath<T & t.ForOfStatement>; |
| 366 | isForStatement<T extends t.Node>( |
| 367 | this: NodePath<T>, |
| 368 | opts?: object, |
| 369 | ): this is NodePath<T & t.ForStatement>; |
| 370 | isForXStatement<T extends t.Node>( |
| 371 | this: NodePath<T>, |
| 372 | opts?: object, |
| 373 | ): this is NodePath<T & t.ForXStatement>; |
| 374 | isFunction<T extends t.Node>( |
| 375 | this: NodePath<T>, |
| 376 | opts?: object, |
| 377 | ): this is NodePath<T & t.Function>; |
| 378 | isFunctionDeclaration<T extends t.Node>( |
| 379 | this: NodePath<T>, |
| 380 | opts?: object, |
| 381 | ): this is NodePath<T & t.FunctionDeclaration>; |
| 382 | isFunctionExpression<T extends t.Node>( |
| 383 | this: NodePath<T>, |
| 384 | opts?: object, |
| 385 | ): this is NodePath<T & t.FunctionExpression>; |
| 386 | isFunctionParent<T extends t.Node>( |
| 387 | this: NodePath<T>, |
| 388 | opts?: object, |
| 389 | ): this is NodePath<T & t.FunctionParent>; |
| 390 | isFunctionTypeAnnotation<T extends t.Node>( |
| 391 | this: NodePath<T>, |
| 392 | opts?: object, |
| 393 | ): this is NodePath<T & t.FunctionTypeAnnotation>; |
| 394 | isFunctionTypeParam<T extends t.Node>( |
| 395 | this: NodePath<T>, |
| 396 | opts?: object, |
| 397 | ): this is NodePath<T & t.FunctionTypeParam>; |
| 398 | isGenericTypeAnnotation<T extends t.Node>( |
| 399 | this: NodePath<T>, |
| 400 | opts?: object, |
| 401 | ): this is NodePath<T & t.GenericTypeAnnotation>; |
| 402 | isIdentifier<T extends t.Node>( |
| 403 | this: NodePath<T>, |
| 404 | opts?: object, |
| 405 | ): this is NodePath<T & t.Identifier>; |
| 406 | isIfStatement<T extends t.Node>( |
| 407 | this: NodePath<T>, |
| 408 | opts?: object, |
| 409 | ): this is NodePath<T & t.IfStatement>; |
| 410 | isImmutable<T extends t.Node>( |
| 411 | this: NodePath<T>, |
| 412 | opts?: object, |
| 413 | ): this is NodePath<T & t.Immutable>; |
| 414 | isImport<T extends t.Node>( |
| 415 | this: NodePath<T>, |
| 416 | opts?: object, |
| 417 | ): this is NodePath<T & t.Import>; |
| 418 | isImportAttribute<T extends t.Node>( |
| 419 | this: NodePath<T>, |
| 420 | opts?: object, |
| 421 | ): this is NodePath<T & t.ImportAttribute>; |
| 422 | isImportDeclaration<T extends t.Node>( |
| 423 | this: NodePath<T>, |
| 424 | opts?: object, |
| 425 | ): this is NodePath<T & t.ImportDeclaration>; |
| 426 | isImportDefaultSpecifier<T extends t.Node>( |
| 427 | this: NodePath<T>, |
| 428 | opts?: object, |
| 429 | ): this is NodePath<T & t.ImportDefaultSpecifier>; |
| 430 | isImportNamespaceSpecifier<T extends t.Node>( |
| 431 | this: NodePath<T>, |
| 432 | opts?: object, |
| 433 | ): this is NodePath<T & t.ImportNamespaceSpecifier>; |
| 434 | isImportSpecifier<T extends t.Node>( |
| 435 | this: NodePath<T>, |
| 436 | opts?: object, |
| 437 | ): this is NodePath<T & t.ImportSpecifier>; |
| 438 | isIndexedAccessType<T extends t.Node>( |
| 439 | this: NodePath<T>, |
| 440 | opts?: object, |
| 441 | ): this is NodePath<T & t.IndexedAccessType>; |
| 442 | isInferredPredicate<T extends t.Node>( |
| 443 | this: NodePath<T>, |
| 444 | opts?: object, |
| 445 | ): this is NodePath<T & t.InferredPredicate>; |
| 446 | isInterfaceDeclaration<T extends t.Node>( |
| 447 | this: NodePath<T>, |
| 448 | opts?: object, |
| 449 | ): this is NodePath<T & t.InterfaceDeclaration>; |
| 450 | isInterfaceExtends<T extends t.Node>( |
| 451 | this: NodePath<T>, |
| 452 | opts?: object, |
| 453 | ): this is NodePath<T & t.InterfaceExtends>; |
| 454 | isInterfaceTypeAnnotation<T extends t.Node>( |
| 455 | this: NodePath<T>, |
| 456 | opts?: object, |
| 457 | ): this is NodePath<T & t.InterfaceTypeAnnotation>; |
| 458 | isInterpreterDirective<T extends t.Node>( |
| 459 | this: NodePath<T>, |
| 460 | opts?: object, |
| 461 | ): this is NodePath<T & t.InterpreterDirective>; |
| 462 | isIntersectionTypeAnnotation<T extends t.Node>( |
| 463 | this: NodePath<T>, |
| 464 | opts?: object, |
| 465 | ): this is NodePath<T & t.IntersectionTypeAnnotation>; |
| 466 | isJSX<T extends t.Node>( |
| 467 | this: NodePath<T>, |
| 468 | opts?: object, |
| 469 | ): this is NodePath<T & t.JSX>; |
| 470 | isJSXAttribute<T extends t.Node>( |
| 471 | this: NodePath<T>, |
| 472 | opts?: object, |
| 473 | ): this is NodePath<T & t.JSXAttribute>; |
| 474 | isJSXClosingElement<T extends t.Node>( |
| 475 | this: NodePath<T>, |
| 476 | opts?: object, |
| 477 | ): this is NodePath<T & t.JSXClosingElement>; |
| 478 | isJSXClosingFragment<T extends t.Node>( |
| 479 | this: NodePath<T>, |
| 480 | opts?: object, |
| 481 | ): this is NodePath<T & t.JSXClosingFragment>; |
| 482 | isJSXElement<T extends t.Node>( |
| 483 | this: NodePath<T>, |
| 484 | opts?: object, |
| 485 | ): this is NodePath<T & t.JSXElement>; |
| 486 | isJSXEmptyExpression<T extends t.Node>( |
| 487 | this: NodePath<T>, |
| 488 | opts?: object, |
| 489 | ): this is NodePath<T & t.JSXEmptyExpression>; |
| 490 | isJSXExpressionContainer<T extends t.Node>( |
| 491 | this: NodePath<T>, |
| 492 | opts?: object, |
| 493 | ): this is NodePath<T & t.JSXExpressionContainer>; |
| 494 | isJSXFragment<T extends t.Node>( |
| 495 | this: NodePath<T>, |
| 496 | opts?: object, |
| 497 | ): this is NodePath<T & t.JSXFragment>; |
| 498 | isJSXIdentifier<T extends t.Node>( |
| 499 | this: NodePath<T>, |
| 500 | opts?: object, |
| 501 | ): this is NodePath<T & t.JSXIdentifier>; |
| 502 | isJSXMemberExpression<T extends t.Node>( |
| 503 | this: NodePath<T>, |
| 504 | opts?: object, |
| 505 | ): this is NodePath<T & t.JSXMemberExpression>; |
| 506 | isJSXNamespacedName<T extends t.Node>( |
| 507 | this: NodePath<T>, |
| 508 | opts?: object, |
| 509 | ): this is NodePath<T & t.JSXNamespacedName>; |
| 510 | isJSXOpeningElement<T extends t.Node>( |
| 511 | this: NodePath<T>, |
| 512 | opts?: object, |
| 513 | ): this is NodePath<T & t.JSXOpeningElement>; |
| 514 | isJSXOpeningFragment<T extends t.Node>( |
| 515 | this: NodePath<T>, |
| 516 | opts?: object, |
| 517 | ): this is NodePath<T & t.JSXOpeningFragment>; |
| 518 | isJSXSpreadAttribute<T extends t.Node>( |
| 519 | this: NodePath<T>, |
| 520 | opts?: object, |
| 521 | ): this is NodePath<T & t.JSXSpreadAttribute>; |
| 522 | isJSXSpreadChild<T extends t.Node>( |
| 523 | this: NodePath<T>, |
| 524 | opts?: object, |
| 525 | ): this is NodePath<T & t.JSXSpreadChild>; |
| 526 | isJSXText<T extends t.Node>( |
| 527 | this: NodePath<T>, |
| 528 | opts?: object, |
| 529 | ): this is NodePath<T & t.JSXText>; |
| 530 | isLVal<T extends t.Node>( |
| 531 | this: NodePath<T>, |
| 532 | opts?: object, |
| 533 | ): this is NodePath<T & t.LVal>; |
| 534 | isLabeledStatement<T extends t.Node>( |
| 535 | this: NodePath<T>, |
| 536 | opts?: object, |
| 537 | ): this is NodePath<T & t.LabeledStatement>; |
| 538 | isLiteral<T extends t.Node>( |
| 539 | this: NodePath<T>, |
| 540 | opts?: object, |
| 541 | ): this is NodePath<T & t.Literal>; |
| 542 | isLogicalExpression<T extends t.Node>( |
| 543 | this: NodePath<T>, |
| 544 | opts?: object, |
| 545 | ): this is NodePath<T & t.LogicalExpression>; |
| 546 | isLoop<T extends t.Node>( |
| 547 | this: NodePath<T>, |
| 548 | opts?: object, |
| 549 | ): this is NodePath<T & t.Loop>; |
| 550 | isMemberExpression<T extends t.Node>( |
| 551 | this: NodePath<T>, |
| 552 | opts?: object, |
| 553 | ): this is NodePath<T & t.MemberExpression>; |
| 554 | isMetaProperty<T extends t.Node>( |
| 555 | this: NodePath<T>, |
| 556 | opts?: object, |
| 557 | ): this is NodePath<T & t.MetaProperty>; |
| 558 | isMethod<T extends t.Node>( |
| 559 | this: NodePath<T>, |
| 560 | opts?: object, |
| 561 | ): this is NodePath<T & t.Method>; |
| 562 | isMiscellaneous<T extends t.Node>( |
| 563 | this: NodePath<T>, |
| 564 | opts?: object, |
| 565 | ): this is NodePath<T & t.Miscellaneous>; |
| 566 | isMixedTypeAnnotation<T extends t.Node>( |
| 567 | this: NodePath<T>, |
| 568 | opts?: object, |
| 569 | ): this is NodePath<T & t.MixedTypeAnnotation>; |
| 570 | isModuleDeclaration<T extends t.Node>( |
| 571 | this: NodePath<T>, |
| 572 | opts?: object, |
| 573 | ): this is NodePath<T & t.ModuleDeclaration>; |
| 574 | isModuleExpression<T extends t.Node>( |
| 575 | this: NodePath<T>, |
| 576 | opts?: object, |
| 577 | ): this is NodePath<T & t.ModuleExpression>; |
| 578 | isModuleSpecifier<T extends t.Node>( |
| 579 | this: NodePath<T>, |
| 580 | opts?: object, |
| 581 | ): this is NodePath<T & t.ModuleSpecifier>; |
| 582 | isNewExpression<T extends t.Node>( |
| 583 | this: NodePath<T>, |
| 584 | opts?: object, |
| 585 | ): this is NodePath<T & t.NewExpression>; |
| 586 | isNoop<T extends t.Node>( |
| 587 | this: NodePath<T>, |
| 588 | opts?: object, |
| 589 | ): this is NodePath<T & t.Noop>; |
| 590 | isNullLiteral<T extends t.Node>( |
| 591 | this: NodePath<T>, |
| 592 | opts?: object, |
| 593 | ): this is NodePath<T & t.NullLiteral>; |
| 594 | isNullLiteralTypeAnnotation<T extends t.Node>( |
| 595 | this: NodePath<T>, |
| 596 | opts?: object, |
| 597 | ): this is NodePath<T & t.NullLiteralTypeAnnotation>; |
| 598 | isNullableTypeAnnotation<T extends t.Node>( |
| 599 | this: NodePath<T>, |
| 600 | opts?: object, |
| 601 | ): this is NodePath<T & t.NullableTypeAnnotation>; |
| 602 | isNumberLiteral<T extends t.Node>( |
| 603 | this: NodePath<T>, |
| 604 | opts?: object, |
| 605 | ): this is NodePath<T & t.NumberLiteral>; |
| 606 | isNumberLiteralTypeAnnotation<T extends t.Node>( |
| 607 | this: NodePath<T>, |
| 608 | opts?: object, |
| 609 | ): this is NodePath<T & t.NumberLiteralTypeAnnotation>; |
| 610 | isNumberTypeAnnotation<T extends t.Node>( |
| 611 | this: NodePath<T>, |
| 612 | opts?: object, |
| 613 | ): this is NodePath<T & t.NumberTypeAnnotation>; |
| 614 | isNumericLiteral<T extends t.Node>( |
| 615 | this: NodePath<T>, |
| 616 | opts?: object, |
| 617 | ): this is NodePath<T & t.NumericLiteral>; |
| 618 | isObjectExpression<T extends t.Node>( |
| 619 | this: NodePath<T>, |
| 620 | opts?: object, |
| 621 | ): this is NodePath<T & t.ObjectExpression>; |
| 622 | isObjectMember<T extends t.Node>( |
| 623 | this: NodePath<T>, |
| 624 | opts?: object, |
| 625 | ): this is NodePath<T & t.ObjectMember>; |
| 626 | isObjectMethod<T extends t.Node>( |
| 627 | this: NodePath<T>, |
| 628 | opts?: object, |
| 629 | ): this is NodePath<T & t.ObjectMethod>; |
| 630 | isObjectPattern<T extends t.Node>( |
| 631 | this: NodePath<T>, |
| 632 | opts?: object, |
| 633 | ): this is NodePath<T & t.ObjectPattern>; |
| 634 | isObjectProperty<T extends t.Node>( |
| 635 | this: NodePath<T>, |
| 636 | opts?: object, |
| 637 | ): this is NodePath<T & t.ObjectProperty>; |
| 638 | isObjectTypeAnnotation<T extends t.Node>( |
| 639 | this: NodePath<T>, |
| 640 | opts?: object, |
| 641 | ): this is NodePath<T & t.ObjectTypeAnnotation>; |
| 642 | isObjectTypeCallProperty<T extends t.Node>( |
| 643 | this: NodePath<T>, |
| 644 | opts?: object, |
| 645 | ): this is NodePath<T & t.ObjectTypeCallProperty>; |
| 646 | isObjectTypeIndexer<T extends t.Node>( |
| 647 | this: NodePath<T>, |
| 648 | opts?: object, |
| 649 | ): this is NodePath<T & t.ObjectTypeIndexer>; |
| 650 | isObjectTypeInternalSlot<T extends t.Node>( |
| 651 | this: NodePath<T>, |
| 652 | opts?: object, |
| 653 | ): this is NodePath<T & t.ObjectTypeInternalSlot>; |
| 654 | isObjectTypeProperty<T extends t.Node>( |
| 655 | this: NodePath<T>, |
| 656 | opts?: object, |
| 657 | ): this is NodePath<T & t.ObjectTypeProperty>; |
| 658 | isObjectTypeSpreadProperty<T extends t.Node>( |
| 659 | this: NodePath<T>, |
| 660 | opts?: object, |
| 661 | ): this is NodePath<T & t.ObjectTypeSpreadProperty>; |
| 662 | isOpaqueType<T extends t.Node>( |
| 663 | this: NodePath<T>, |
| 664 | opts?: object, |
| 665 | ): this is NodePath<T & t.OpaqueType>; |
| 666 | isOptionalCallExpression<T extends t.Node>( |
| 667 | this: NodePath<T>, |
| 668 | opts?: object, |
| 669 | ): this is NodePath<T & t.OptionalCallExpression>; |
| 670 | isOptionalIndexedAccessType<T extends t.Node>( |
| 671 | this: NodePath<T>, |
| 672 | opts?: object, |
| 673 | ): this is NodePath<T & t.OptionalIndexedAccessType>; |
| 674 | isOptionalMemberExpression<T extends t.Node>( |
| 675 | this: NodePath<T>, |
| 676 | opts?: object, |
| 677 | ): this is NodePath<T & t.OptionalMemberExpression>; |
| 678 | isParenthesizedExpression<T extends t.Node>( |
| 679 | this: NodePath<T>, |
| 680 | opts?: object, |
| 681 | ): this is NodePath<T & t.ParenthesizedExpression>; |
| 682 | isPattern<T extends t.Node>( |
| 683 | this: NodePath<T>, |
| 684 | opts?: object, |
| 685 | ): this is NodePath<T & t.Pattern>; |
| 686 | isPatternLike<T extends t.Node>( |
| 687 | this: NodePath<T>, |
| 688 | opts?: object, |
| 689 | ): this is NodePath<T & t.PatternLike>; |
| 690 | isPipelineBareFunction<T extends t.Node>( |
| 691 | this: NodePath<T>, |
| 692 | opts?: object, |
| 693 | ): this is NodePath<T & t.PipelineBareFunction>; |
| 694 | isPipelinePrimaryTopicReference<T extends t.Node>( |
| 695 | this: NodePath<T>, |
| 696 | opts?: object, |
| 697 | ): this is NodePath<T & t.PipelinePrimaryTopicReference>; |
| 698 | isPipelineTopicExpression<T extends t.Node>( |
| 699 | this: NodePath<T>, |
| 700 | opts?: object, |
| 701 | ): this is NodePath<T & t.PipelineTopicExpression>; |
| 702 | isPlaceholder<T extends t.Node>( |
| 703 | this: NodePath<T>, |
| 704 | opts?: object, |
| 705 | ): this is NodePath<T & t.Placeholder>; |
| 706 | isPrivate<T extends t.Node>( |
| 707 | this: NodePath<T>, |
| 708 | opts?: object, |
| 709 | ): this is NodePath<T & t.Private>; |
| 710 | isPrivateName<T extends t.Node>( |
| 711 | this: NodePath<T>, |
| 712 | opts?: object, |
| 713 | ): this is NodePath<T & t.PrivateName>; |
| 714 | isProgram<T extends t.Node>( |
| 715 | this: NodePath<T>, |
| 716 | opts?: object, |
| 717 | ): this is NodePath<T & t.Program>; |
| 718 | isProperty<T extends t.Node>( |
| 719 | this: NodePath<T>, |
| 720 | opts?: object, |
| 721 | ): this is NodePath<T & t.Property>; |
| 722 | isPureish<T extends t.Node>( |
| 723 | this: NodePath<T>, |
| 724 | opts?: object, |
| 725 | ): this is NodePath<T & t.Pureish>; |
| 726 | isQualifiedTypeIdentifier<T extends t.Node>( |
| 727 | this: NodePath<T>, |
| 728 | opts?: object, |
| 729 | ): this is NodePath<T & t.QualifiedTypeIdentifier>; |
| 730 | isRecordExpression<T extends t.Node>( |
| 731 | this: NodePath<T>, |
| 732 | opts?: object, |
| 733 | ): this is NodePath<T & t.RecordExpression>; |
| 734 | isRegExpLiteral<T extends t.Node>( |
| 735 | this: NodePath<T>, |
| 736 | opts?: object, |
| 737 | ): this is NodePath<T & t.RegExpLiteral>; |
| 738 | isRegexLiteral<T extends t.Node>( |
| 739 | this: NodePath<T>, |
| 740 | opts?: object, |
| 741 | ): this is NodePath<T & t.RegexLiteral>; |
| 742 | isRestElement<T extends t.Node>( |
| 743 | this: NodePath<T>, |
| 744 | opts?: object, |
| 745 | ): this is NodePath<T & t.RestElement>; |
| 746 | isRestProperty<T extends t.Node>( |
| 747 | this: NodePath<T>, |
| 748 | opts?: object, |
| 749 | ): this is NodePath<T & t.RestProperty>; |
| 750 | isReturnStatement<T extends t.Node>( |
| 751 | this: NodePath<T>, |
| 752 | opts?: object, |
| 753 | ): this is NodePath<T & t.ReturnStatement>; |
| 754 | isScopable<T extends t.Node>( |
| 755 | this: NodePath<T>, |
| 756 | opts?: object, |
| 757 | ): this is NodePath<T & t.Scopable>; |
| 758 | isSequenceExpression<T extends t.Node>( |
| 759 | this: NodePath<T>, |
| 760 | opts?: object, |
| 761 | ): this is NodePath<T & t.SequenceExpression>; |
| 762 | isSpreadElement<T extends t.Node>( |
| 763 | this: NodePath<T>, |
| 764 | opts?: object, |
| 765 | ): this is NodePath<T & t.SpreadElement>; |
| 766 | isSpreadProperty<T extends t.Node>( |
| 767 | this: NodePath<T>, |
| 768 | opts?: object, |
| 769 | ): this is NodePath<T & t.SpreadProperty>; |
| 770 | isStandardized<T extends t.Node>( |
| 771 | this: NodePath<T>, |
| 772 | opts?: object, |
| 773 | ): this is NodePath<T & t.Standardized>; |
| 774 | isStatement<T extends t.Node>( |
| 775 | this: NodePath<T>, |
| 776 | opts?: object, |
| 777 | ): this is NodePath<T & t.Statement>; |
| 778 | isStaticBlock<T extends t.Node>( |
| 779 | this: NodePath<T>, |
| 780 | opts?: object, |
| 781 | ): this is NodePath<T & t.StaticBlock>; |
| 782 | isStringLiteral<T extends t.Node>( |
| 783 | this: NodePath<T>, |
| 784 | opts?: object, |
| 785 | ): this is NodePath<T & t.StringLiteral>; |
| 786 | isStringLiteralTypeAnnotation<T extends t.Node>( |
| 787 | this: NodePath<T>, |
| 788 | opts?: object, |
| 789 | ): this is NodePath<T & t.StringLiteralTypeAnnotation>; |
| 790 | isStringTypeAnnotation<T extends t.Node>( |
| 791 | this: NodePath<T>, |
| 792 | opts?: object, |
| 793 | ): this is NodePath<T & t.StringTypeAnnotation>; |
| 794 | isSuper<T extends t.Node>( |
| 795 | this: NodePath<T>, |
| 796 | opts?: object, |
| 797 | ): this is NodePath<T & t.Super>; |
| 798 | isSwitchCase<T extends t.Node>( |
| 799 | this: NodePath<T>, |
| 800 | opts?: object, |
| 801 | ): this is NodePath<T & t.SwitchCase>; |
| 802 | isSwitchStatement<T extends t.Node>( |
| 803 | this: NodePath<T>, |
| 804 | opts?: object, |
| 805 | ): this is NodePath<T & t.SwitchStatement>; |
| 806 | isSymbolTypeAnnotation<T extends t.Node>( |
| 807 | this: NodePath<T>, |
| 808 | opts?: object, |
| 809 | ): this is NodePath<T & t.SymbolTypeAnnotation>; |
| 810 | isTSAnyKeyword<T extends t.Node>( |
| 811 | this: NodePath<T>, |
| 812 | opts?: object, |
| 813 | ): this is NodePath<T & t.TSAnyKeyword>; |
| 814 | isTSArrayType<T extends t.Node>( |
| 815 | this: NodePath<T>, |
| 816 | opts?: object, |
| 817 | ): this is NodePath<T & t.TSArrayType>; |
| 818 | isTSAsExpression<T extends t.Node>( |
| 819 | this: NodePath<T>, |
| 820 | opts?: object, |
| 821 | ): this is NodePath<T & t.TSAsExpression>; |
| 822 | isTSBaseType<T extends t.Node>( |
| 823 | this: NodePath<T>, |
| 824 | opts?: object, |
| 825 | ): this is NodePath<T & t.TSBaseType>; |
| 826 | isTSBigIntKeyword<T extends t.Node>( |
| 827 | this: NodePath<T>, |
| 828 | opts?: object, |
| 829 | ): this is NodePath<T & t.TSBigIntKeyword>; |
| 830 | isTSBooleanKeyword<T extends t.Node>( |
| 831 | this: NodePath<T>, |
| 832 | opts?: object, |
| 833 | ): this is NodePath<T & t.TSBooleanKeyword>; |
| 834 | isTSCallSignatureDeclaration<T extends t.Node>( |
| 835 | this: NodePath<T>, |
| 836 | opts?: object, |
| 837 | ): this is NodePath<T & t.TSCallSignatureDeclaration>; |
| 838 | isTSConditionalType<T extends t.Node>( |
| 839 | this: NodePath<T>, |
| 840 | opts?: object, |
| 841 | ): this is NodePath<T & t.TSConditionalType>; |
| 842 | isTSConstructSignatureDeclaration<T extends t.Node>( |
| 843 | this: NodePath<T>, |
| 844 | opts?: object, |
| 845 | ): this is NodePath<T & t.TSConstructSignatureDeclaration>; |
| 846 | isTSConstructorType<T extends t.Node>( |
| 847 | this: NodePath<T>, |
| 848 | opts?: object, |
| 849 | ): this is NodePath<T & t.TSConstructorType>; |
| 850 | isTSDeclareFunction<T extends t.Node>( |
| 851 | this: NodePath<T>, |
| 852 | opts?: object, |
| 853 | ): this is NodePath<T & t.TSDeclareFunction>; |
| 854 | isTSDeclareMethod<T extends t.Node>( |
| 855 | this: NodePath<T>, |
| 856 | opts?: object, |
| 857 | ): this is NodePath<T & t.TSDeclareMethod>; |
| 858 | isTSEntityName<T extends t.Node>( |
| 859 | this: NodePath<T>, |
| 860 | opts?: object, |
| 861 | ): this is NodePath<T & t.TSEntityName>; |
| 862 | isTSEnumDeclaration<T extends t.Node>( |
| 863 | this: NodePath<T>, |
| 864 | opts?: object, |
| 865 | ): this is NodePath<T & t.TSEnumDeclaration>; |
| 866 | isTSEnumMember<T extends t.Node>( |
| 867 | this: NodePath<T>, |
| 868 | opts?: object, |
| 869 | ): this is NodePath<T & t.TSEnumMember>; |
| 870 | isTSExportAssignment<T extends t.Node>( |
| 871 | this: NodePath<T>, |
| 872 | opts?: object, |
| 873 | ): this is NodePath<T & t.TSExportAssignment>; |
| 874 | isTSExpressionWithTypeArguments<T extends t.Node>( |
| 875 | this: NodePath<T>, |
| 876 | opts?: object, |
| 877 | ): this is NodePath<T & t.TSExpressionWithTypeArguments>; |
| 878 | isTSExternalModuleReference<T extends t.Node>( |
| 879 | this: NodePath<T>, |
| 880 | opts?: object, |
| 881 | ): this is NodePath<T & t.TSExternalModuleReference>; |
| 882 | isTSFunctionType<T extends t.Node>( |
| 883 | this: NodePath<T>, |
| 884 | opts?: object, |
| 885 | ): this is NodePath<T & t.TSFunctionType>; |
| 886 | isTSImportEqualsDeclaration<T extends t.Node>( |
| 887 | this: NodePath<T>, |
| 888 | opts?: object, |
| 889 | ): this is NodePath<T & t.TSImportEqualsDeclaration>; |
| 890 | isTSImportType<T extends t.Node>( |
| 891 | this: NodePath<T>, |
| 892 | opts?: object, |
| 893 | ): this is NodePath<T & t.TSImportType>; |
| 894 | isTSIndexSignature<T extends t.Node>( |
| 895 | this: NodePath<T>, |
| 896 | opts?: object, |
| 897 | ): this is NodePath<T & t.TSIndexSignature>; |
| 898 | isTSIndexedAccessType<T extends t.Node>( |
| 899 | this: NodePath<T>, |
| 900 | opts?: object, |
| 901 | ): this is NodePath<T & t.TSIndexedAccessType>; |
| 902 | isTSInferType<T extends t.Node>( |
| 903 | this: NodePath<T>, |
| 904 | opts?: object, |
| 905 | ): this is NodePath<T & t.TSInferType>; |
| 906 | isTSInstantiationExpression<T extends t.Node>( |
| 907 | this: NodePath<T>, |
| 908 | opts?: object, |
| 909 | ): this is NodePath<T & t.TSInstantiationExpression>; |
| 910 | isTSInterfaceBody<T extends t.Node>( |
| 911 | this: NodePath<T>, |
| 912 | opts?: object, |
| 913 | ): this is NodePath<T & t.TSInterfaceBody>; |
| 914 | isTSInterfaceDeclaration<T extends t.Node>( |
| 915 | this: NodePath<T>, |
| 916 | opts?: object, |
| 917 | ): this is NodePath<T & t.TSInterfaceDeclaration>; |
| 918 | isTSIntersectionType<T extends t.Node>( |
| 919 | this: NodePath<T>, |
| 920 | opts?: object, |
| 921 | ): this is NodePath<T & t.TSIntersectionType>; |
| 922 | isTSIntrinsicKeyword<T extends t.Node>( |
| 923 | this: NodePath<T>, |
| 924 | opts?: object, |
| 925 | ): this is NodePath<T & t.TSIntrinsicKeyword>; |
| 926 | isTSLiteralType<T extends t.Node>( |
| 927 | this: NodePath<T>, |
| 928 | opts?: object, |
| 929 | ): this is NodePath<T & t.TSLiteralType>; |
| 930 | isTSMappedType<T extends t.Node>( |
| 931 | this: NodePath<T>, |
| 932 | opts?: object, |
| 933 | ): this is NodePath<T & t.TSMappedType>; |
| 934 | isTSMethodSignature<T extends t.Node>( |
| 935 | this: NodePath<T>, |
| 936 | opts?: object, |
| 937 | ): this is NodePath<T & t.TSMethodSignature>; |
| 938 | isTSModuleBlock<T extends t.Node>( |
| 939 | this: NodePath<T>, |
| 940 | opts?: object, |
| 941 | ): this is NodePath<T & t.TSModuleBlock>; |
| 942 | isTSModuleDeclaration<T extends t.Node>( |
| 943 | this: NodePath<T>, |
| 944 | opts?: object, |
| 945 | ): this is NodePath<T & t.TSModuleDeclaration>; |
| 946 | isTSNamedTupleMember<T extends t.Node>( |
| 947 | this: NodePath<T>, |
| 948 | opts?: object, |
| 949 | ): this is NodePath<T & t.TSNamedTupleMember>; |
| 950 | isTSNamespaceExportDeclaration<T extends t.Node>( |
| 951 | this: NodePath<T>, |
| 952 | opts?: object, |
| 953 | ): this is NodePath<T & t.TSNamespaceExportDeclaration>; |
| 954 | isTSNeverKeyword<T extends t.Node>( |
| 955 | this: NodePath<T>, |
| 956 | opts?: object, |
| 957 | ): this is NodePath<T & t.TSNeverKeyword>; |
| 958 | isTSNonNullExpression<T extends t.Node>( |
| 959 | this: NodePath<T>, |
| 960 | opts?: object, |
| 961 | ): this is NodePath<T & t.TSNonNullExpression>; |
| 962 | isTSNullKeyword<T extends t.Node>( |
| 963 | this: NodePath<T>, |
| 964 | opts?: object, |
| 965 | ): this is NodePath<T & t.TSNullKeyword>; |
| 966 | isTSNumberKeyword<T extends t.Node>( |
| 967 | this: NodePath<T>, |
| 968 | opts?: object, |
| 969 | ): this is NodePath<T & t.TSNumberKeyword>; |
| 970 | isTSObjectKeyword<T extends t.Node>( |
| 971 | this: NodePath<T>, |
| 972 | opts?: object, |
| 973 | ): this is NodePath<T & t.TSObjectKeyword>; |
| 974 | isTSOptionalType<T extends t.Node>( |
| 975 | this: NodePath<T>, |
| 976 | opts?: object, |
| 977 | ): this is NodePath<T & t.TSOptionalType>; |
| 978 | isTSParameterProperty<T extends t.Node>( |
| 979 | this: NodePath<T>, |
| 980 | opts?: object, |
| 981 | ): this is NodePath<T & t.TSParameterProperty>; |
| 982 | isTSParenthesizedType<T extends t.Node>( |
| 983 | this: NodePath<T>, |
| 984 | opts?: object, |
| 985 | ): this is NodePath<T & t.TSParenthesizedType>; |
| 986 | isTSPropertySignature<T extends t.Node>( |
| 987 | this: NodePath<T>, |
| 988 | opts?: object, |
| 989 | ): this is NodePath<T & t.TSPropertySignature>; |
| 990 | isTSQualifiedName<T extends t.Node>( |
| 991 | this: NodePath<T>, |
| 992 | opts?: object, |
| 993 | ): this is NodePath<T & t.TSQualifiedName>; |
| 994 | isTSRestType<T extends t.Node>( |
| 995 | this: NodePath<T>, |
| 996 | opts?: object, |
| 997 | ): this is NodePath<T & t.TSRestType>; |
| 998 | isTSSatisfiesExpression<T extends t.Node>( |
| 999 | this: NodePath<T>, |
| 1000 | opts?: object, |
| 1001 | ): this is NodePath<T & t.TSSatisfiesExpression>; |
| 1002 | isTSStringKeyword<T extends t.Node>( |
| 1003 | this: NodePath<T>, |
| 1004 | opts?: object, |
| 1005 | ): this is NodePath<T & t.TSStringKeyword>; |
| 1006 | isTSSymbolKeyword<T extends t.Node>( |
| 1007 | this: NodePath<T>, |
| 1008 | opts?: object, |
| 1009 | ): this is NodePath<T & t.TSSymbolKeyword>; |
| 1010 | isTSThisType<T extends t.Node>( |
| 1011 | this: NodePath<T>, |
| 1012 | opts?: object, |
| 1013 | ): this is NodePath<T & t.TSThisType>; |
| 1014 | isTSTupleType<T extends t.Node>( |
| 1015 | this: NodePath<T>, |
| 1016 | opts?: object, |
| 1017 | ): this is NodePath<T & t.TSTupleType>; |
| 1018 | isTSType<T extends t.Node>( |
| 1019 | this: NodePath<T>, |
| 1020 | opts?: object, |
| 1021 | ): this is NodePath<T & t.TSType>; |
| 1022 | isTSTypeAliasDeclaration<T extends t.Node>( |
| 1023 | this: NodePath<T>, |
| 1024 | opts?: object, |
| 1025 | ): this is NodePath<T & t.TSTypeAliasDeclaration>; |
| 1026 | isTSTypeAnnotation<T extends t.Node>( |
| 1027 | this: NodePath<T>, |
| 1028 | opts?: object, |
| 1029 | ): this is NodePath<T & t.TSTypeAnnotation>; |
| 1030 | isTSTypeAssertion<T extends t.Node>( |
| 1031 | this: NodePath<T>, |
| 1032 | opts?: object, |
| 1033 | ): this is NodePath<T & t.TSTypeAssertion>; |
| 1034 | isTSTypeElement<T extends t.Node>( |
| 1035 | this: NodePath<T>, |
| 1036 | opts?: object, |
| 1037 | ): this is NodePath<T & t.TSTypeElement>; |
| 1038 | isTSTypeLiteral<T extends t.Node>( |
| 1039 | this: NodePath<T>, |
| 1040 | opts?: object, |
| 1041 | ): this is NodePath<T & t.TSTypeLiteral>; |
| 1042 | isTSTypeOperator<T extends t.Node>( |
| 1043 | this: NodePath<T>, |
| 1044 | opts?: object, |
| 1045 | ): this is NodePath<T & t.TSTypeOperator>; |
| 1046 | isTSTypeParameter<T extends t.Node>( |
| 1047 | this: NodePath<T>, |
| 1048 | opts?: object, |
| 1049 | ): this is NodePath<T & t.TSTypeParameter>; |
| 1050 | isTSTypeParameterDeclaration<T extends t.Node>( |
| 1051 | this: NodePath<T>, |
| 1052 | opts?: object, |
| 1053 | ): this is NodePath<T & t.TSTypeParameterDeclaration>; |
| 1054 | isTSTypeParameterInstantiation<T extends t.Node>( |
| 1055 | this: NodePath<T>, |
| 1056 | opts?: object, |
| 1057 | ): this is NodePath<T & t.TSTypeParameterInstantiation>; |
| 1058 | isTSTypePredicate<T extends t.Node>( |
| 1059 | this: NodePath<T>, |
| 1060 | opts?: object, |
| 1061 | ): this is NodePath<T & t.TSTypePredicate>; |
| 1062 | isTSTypeQuery<T extends t.Node>( |
| 1063 | this: NodePath<T>, |
| 1064 | opts?: object, |
| 1065 | ): this is NodePath<T & t.TSTypeQuery>; |
| 1066 | isTSTypeReference<T extends t.Node>( |
| 1067 | this: NodePath<T>, |
| 1068 | opts?: object, |
| 1069 | ): this is NodePath<T & t.TSTypeReference>; |
| 1070 | isTSUndefinedKeyword<T extends t.Node>( |
| 1071 | this: NodePath<T>, |
| 1072 | opts?: object, |
| 1073 | ): this is NodePath<T & t.TSUndefinedKeyword>; |
| 1074 | isTSUnionType<T extends t.Node>( |
| 1075 | this: NodePath<T>, |
| 1076 | opts?: object, |
| 1077 | ): this is NodePath<T & t.TSUnionType>; |
| 1078 | isTSUnknownKeyword<T extends t.Node>( |
| 1079 | this: NodePath<T>, |
| 1080 | opts?: object, |
| 1081 | ): this is NodePath<T & t.TSUnknownKeyword>; |
| 1082 | isTSVoidKeyword<T extends t.Node>( |
| 1083 | this: NodePath<T>, |
| 1084 | opts?: object, |
| 1085 | ): this is NodePath<T & t.TSVoidKeyword>; |
| 1086 | isTaggedTemplateExpression<T extends t.Node>( |
| 1087 | this: NodePath<T>, |
| 1088 | opts?: object, |
| 1089 | ): this is NodePath<T & t.TaggedTemplateExpression>; |
| 1090 | isTemplateElement<T extends t.Node>( |
| 1091 | this: NodePath<T>, |
| 1092 | opts?: object, |
| 1093 | ): this is NodePath<T & t.TemplateElement>; |
| 1094 | isTemplateLiteral<T extends t.Node>( |
| 1095 | this: NodePath<T>, |
| 1096 | opts?: object, |
| 1097 | ): this is NodePath<T & t.TemplateLiteral>; |
| 1098 | isTerminatorless<T extends t.Node>( |
| 1099 | this: NodePath<T>, |
| 1100 | opts?: object, |
| 1101 | ): this is NodePath<T & t.Terminatorless>; |
| 1102 | isThisExpression<T extends t.Node>( |
| 1103 | this: NodePath<T>, |
| 1104 | opts?: object, |
| 1105 | ): this is NodePath<T & t.ThisExpression>; |
| 1106 | isThisTypeAnnotation<T extends t.Node>( |
| 1107 | this: NodePath<T>, |
| 1108 | opts?: object, |
| 1109 | ): this is NodePath<T & t.ThisTypeAnnotation>; |
| 1110 | isThrowStatement<T extends t.Node>( |
| 1111 | this: NodePath<T>, |
| 1112 | opts?: object, |
| 1113 | ): this is NodePath<T & t.ThrowStatement>; |
| 1114 | isTopicReference<T extends t.Node>( |
| 1115 | this: NodePath<T>, |
| 1116 | opts?: object, |
| 1117 | ): this is NodePath<T & t.TopicReference>; |
| 1118 | isTryStatement<T extends t.Node>( |
| 1119 | this: NodePath<T>, |
| 1120 | opts?: object, |
| 1121 | ): this is NodePath<T & t.TryStatement>; |
| 1122 | isTupleExpression<T extends t.Node>( |
| 1123 | this: NodePath<T>, |
| 1124 | opts?: object, |
| 1125 | ): this is NodePath<T & t.TupleExpression>; |
| 1126 | isTupleTypeAnnotation<T extends t.Node>( |
| 1127 | this: NodePath<T>, |
| 1128 | opts?: object, |
| 1129 | ): this is NodePath<T & t.TupleTypeAnnotation>; |
| 1130 | isTypeAlias<T extends t.Node>( |
| 1131 | this: NodePath<T>, |
| 1132 | opts?: object, |
| 1133 | ): this is NodePath<T & t.TypeAlias>; |
| 1134 | isTypeAnnotation<T extends t.Node>( |
| 1135 | this: NodePath<T>, |
| 1136 | opts?: object, |
| 1137 | ): this is NodePath<T & t.TypeAnnotation>; |
| 1138 | isTypeCastExpression<T extends t.Node>( |
| 1139 | this: NodePath<T>, |
| 1140 | opts?: object, |
| 1141 | ): this is NodePath<T & t.TypeCastExpression>; |
| 1142 | isTypeParameter<T extends t.Node>( |
| 1143 | this: NodePath<T>, |
| 1144 | opts?: object, |
| 1145 | ): this is NodePath<T & t.TypeParameter>; |
| 1146 | isTypeParameterDeclaration<T extends t.Node>( |
| 1147 | this: NodePath<T>, |
| 1148 | opts?: object, |
| 1149 | ): this is NodePath<T & t.TypeParameterDeclaration>; |
| 1150 | isTypeParameterInstantiation<T extends t.Node>( |
| 1151 | this: NodePath<T>, |
| 1152 | opts?: object, |
| 1153 | ): this is NodePath<T & t.TypeParameterInstantiation>; |
| 1154 | isTypeScript<T extends t.Node>( |
| 1155 | this: NodePath<T>, |
| 1156 | opts?: object, |
| 1157 | ): this is NodePath<T & t.TypeScript>; |
| 1158 | isTypeofTypeAnnotation<T extends t.Node>( |
| 1159 | this: NodePath<T>, |
| 1160 | opts?: object, |
| 1161 | ): this is NodePath<T & t.TypeofTypeAnnotation>; |
| 1162 | isUnaryExpression<T extends t.Node>( |
| 1163 | this: NodePath<T>, |
| 1164 | opts?: object, |
| 1165 | ): this is NodePath<T & t.UnaryExpression>; |
| 1166 | isUnaryLike<T extends t.Node>( |
| 1167 | this: NodePath<T>, |
| 1168 | opts?: object, |
| 1169 | ): this is NodePath<T & t.UnaryLike>; |
| 1170 | isUnionTypeAnnotation<T extends t.Node>( |
| 1171 | this: NodePath<T>, |
| 1172 | opts?: object, |
| 1173 | ): this is NodePath<T & t.UnionTypeAnnotation>; |
| 1174 | isUpdateExpression<T extends t.Node>( |
| 1175 | this: NodePath<T>, |
| 1176 | opts?: object, |
| 1177 | ): this is NodePath<T & t.UpdateExpression>; |
| 1178 | isUserWhitespacable<T extends t.Node>( |
| 1179 | this: NodePath<T>, |
| 1180 | opts?: object, |
| 1181 | ): this is NodePath<T & t.UserWhitespacable>; |
| 1182 | isV8IntrinsicIdentifier<T extends t.Node>( |
| 1183 | this: NodePath<T>, |
| 1184 | opts?: object, |
| 1185 | ): this is NodePath<T & t.V8IntrinsicIdentifier>; |
| 1186 | isVariableDeclaration<T extends t.Node>( |
| 1187 | this: NodePath<T>, |
| 1188 | opts?: object, |
| 1189 | ): this is NodePath<T & t.VariableDeclaration>; |
| 1190 | isVariableDeclarator<T extends t.Node>( |
| 1191 | this: NodePath<T>, |
| 1192 | opts?: object, |
| 1193 | ): this is NodePath<T & t.VariableDeclarator>; |
| 1194 | isVariance<T extends t.Node>( |
| 1195 | this: NodePath<T>, |
| 1196 | opts?: object, |
| 1197 | ): this is NodePath<T & t.Variance>; |
| 1198 | isVoidTypeAnnotation<T extends t.Node>( |
| 1199 | this: NodePath<T>, |
| 1200 | opts?: object, |
| 1201 | ): this is NodePath<T & t.VoidTypeAnnotation>; |
| 1202 | isWhile<T extends t.Node>( |
| 1203 | this: NodePath<T>, |
| 1204 | opts?: object, |
| 1205 | ): this is NodePath<T & t.While>; |
| 1206 | isWhileStatement<T extends t.Node>( |
| 1207 | this: NodePath<T>, |
| 1208 | opts?: object, |
| 1209 | ): this is NodePath<T & t.WhileStatement>; |
| 1210 | isWithStatement<T extends t.Node>( |
| 1211 | this: NodePath<T>, |
| 1212 | opts?: object, |
| 1213 | ): this is NodePath<T & t.WithStatement>; |
| 1214 | isYieldExpression<T extends t.Node>( |
| 1215 | this: NodePath<T>, |
| 1216 | opts?: object, |
| 1217 | ): this is NodePath<T & t.YieldExpression>; |
| 1218 | } |
| 1219 | |
| 1220 | export interface NodePathValidators |
| 1221 | extends BaseNodePathValidators, |
| 1222 | VirtualTypeNodePathValidators {} |