The unit's own declaration of a name, seen from one of its files (see ownUnitFiles).
(fromFile: string, lower: string, context: ResolutionContext)
| 858 | |
| 859 | /** The unit's own declaration of a name, seen from one of its files (see ownUnitFiles). */ |
| 860 | function ownUnitDeclaration(fromFile: string, lower: string, context: ResolutionContext): Node | undefined { |
| 861 | for (const file of ownUnitFiles(fromFile, context)) { |
| 862 | const decl = unitDeclaration(file, lower, context); |
| 863 | if (decl) return decl; |
| 864 | } |
| 865 | return undefined; |
| 866 | } |
| 867 | |
| 868 | /** |
| 869 | * The files whose declarations are a file's unit's own, the file first: the |
no test coverage detected