(referenceLocation, referenceSymbol, search, state)
| 138289 | } |
| 138290 | } |
| 138291 | function getImportOrExportReferences(referenceLocation, referenceSymbol, search, state) { |
| 138292 | var importOrExport = FindAllReferences.getImportOrExportSymbol(referenceLocation, referenceSymbol, state.checker, search.comingFrom === 1 /* ImportExport.Export */); |
| 138293 | if (!importOrExport) |
| 138294 | return; |
| 138295 | var symbol = importOrExport.symbol; |
| 138296 | if (importOrExport.kind === 0 /* ImportExport.Import */) { |
| 138297 | if (!(isForRenameWithPrefixAndSuffixText(state.options))) { |
| 138298 | searchForImportedSymbol(symbol, state); |
| 138299 | } |
| 138300 | } |
| 138301 | else { |
| 138302 | searchForImportsOfExport(referenceLocation, symbol, importOrExport.exportInfo, state); |
| 138303 | } |
| 138304 | } |
| 138305 | function getReferenceForShorthandProperty(_a, search, state) { |
| 138306 | var flags = _a.flags, valueDeclaration = _a.valueDeclaration; |
| 138307 | var shorthandValueSymbol = state.checker.getShorthandAssignmentValueSymbol(valueDeclaration); |
no test coverage detected