( specifier: string, importer: SourceModule )
| 853 | |
| 854 | // a generated module by its specifier, another as the bundler resolves it |
| 855 | private targetOf( |
| 856 | specifier: string, |
| 857 | importer: SourceModule |
| 858 | ): SourceModule | undefined { |
| 859 | const id = |
| 860 | this.modules.has(specifier) ? |
| 861 | specifier |
| 862 | : this.resolve(specifier, importer.id) |
| 863 | return id === undefined ? undefined : this.modules.get(id) |
| 864 | } |
| 865 | |
| 866 | private referencesOf(module: SourceModule): Map<Node, Reference[]> { |
| 867 | let result = this.referencesIn.get(module) |
no test coverage detected