| 136753 | } |
| 136754 | } |
| 136755 | function getExportInfo(exportSymbol, exportKind, checker) { |
| 136756 | var moduleSymbol = exportSymbol.parent; |
| 136757 | if (!moduleSymbol) |
| 136758 | return undefined; // This can happen if an `export` is not at the top-level (which is a compile error). |
| 136759 | var exportingModuleSymbol = checker.getMergedSymbol(moduleSymbol); // Need to get merged symbol in case there's an augmentation. |
| 136760 | // `export` may appear in a namespace. In that case, just rely on global search. |
| 136761 | return ts.isExternalModuleSymbol(exportingModuleSymbol) ? { exportingModuleSymbol: exportingModuleSymbol, exportKind: exportKind } : undefined; |
| 136762 | } |
| 136763 | FindAllReferences.getExportInfo = getExportInfo; |
| 136764 | /** If at an export specifier, go to the symbol it refers to. */ |
| 136765 | function skipExportSpecifierSymbol(symbol, checker) { |