Used as a quick check for whether a symbol is used at all in a file (besides its definition).
(definition, checker, sourceFile, searchContainer)
| 137975 | } |
| 137976 | /** Used as a quick check for whether a symbol is used at all in a file (besides its definition). */ |
| 137977 | function isSymbolReferencedInFile(definition, checker, sourceFile, searchContainer) { |
| 137978 | if (searchContainer === void 0) { searchContainer = sourceFile; } |
| 137979 | return eachSymbolReferenceInFile(definition, checker, sourceFile, function () { return true; }, searchContainer) || false; |
| 137980 | } |
| 137981 | Core.isSymbolReferencedInFile = isSymbolReferencedInFile; |
| 137982 | function eachSymbolReferenceInFile(definition, checker, sourceFile, cb, searchContainer) { |
| 137983 | if (searchContainer === void 0) { searchContainer = sourceFile; } |
nothing calls this directly
no test coverage detected