1: <?php declare(strict_types = 1);
2:
3: namespace PHPStan\PhpDoc;
4:
5: use PHPStan\Analyser\NameScope;
6: use PHPStan\PhpDocParser\Ast\Type\TypeNode;
7: use PHPStan\Type\Type;
8:
9: /** @api */
10: interface TypeNodeResolverExtension
11: {
12:
13: public const EXTENSION_TAG = 'phpstan.phpDoc.typeNodeResolverExtension';
14:
15: public function resolve(TypeNode $typeNode, NameScope $nameScope): ?Type;
16:
17: }
18: