MCPcopy Create free account
hub / github.com/nodejs/node / getReferencedFilesFromImportLiteral

Function getReferencedFilesFromImportLiteral

test/fixtures/snapshot/typescript.js:119630–119633  ·  view source on GitHub ↗

* Get the module source file and all augmenting files from the import name node from file

(checker, importName)

Source from the content-addressed store, hash-verified

119628 * Get the module source file and all augmenting files from the import name node from file
119629 */
119630 function getReferencedFilesFromImportLiteral(checker, importName) {
119631 var symbol = checker.getSymbolAtLocation(importName);
119632 return symbol && getReferencedFilesFromImportedModuleSymbol(symbol);
119633 }
119634 /**
119635 * Gets the path to reference file from file name, it could be resolvedPath if present otherwise path
119636 */

Callers 1

getReferencedFilesFunction · 0.85

Tested by

no test coverage detected