Skip to content

Commit 9e77730

Browse files
committed
Rename function
1 parent f7ca439 commit 9e77730

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/services/services.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5624,7 +5624,7 @@ namespace ts {
56245624
};
56255625
}
56265626

5627-
function getImportOrExportSpecifierPropertyNameSymbolSpecifier(symbol: Symbol, location: Node): ImportOrExportSpecifier {
5627+
function getImportOrExportSpecifierForPropertyNameSymbol(symbol: Symbol, location: Node): ImportOrExportSpecifier {
56285628
if (symbol.flags & SymbolFlags.Alias) {
56295629
const importOrExportSpecifier = <ImportOrExportSpecifier>forEach(symbol.declarations,
56305630
declaration => (declaration.kind === SyntaxKind.ImportSpecifier ||
@@ -6124,7 +6124,7 @@ namespace ts {
61246124
//// export {a as somethingElse}
61256125
//// We want the *local* declaration of 'a' as declared in the import,
61266126
//// *not* as declared within "mod" (or farther)
6127-
const importOrExportSpecifier = getImportOrExportSpecifierPropertyNameSymbolSpecifier(symbol, location);
6127+
const importOrExportSpecifier = getImportOrExportSpecifierForPropertyNameSymbol(symbol, location);
61286128
if (importOrExportSpecifier || getDeclarationOfKind(symbol, SyntaxKind.ImportClause)) {
61296129
result = result.concat(populateSearchSymbolSet(
61306130
!importOrExportSpecifier || importOrExportSpecifier.kind === SyntaxKind.ImportSpecifier ?
@@ -6255,7 +6255,7 @@ namespace ts {
62556255

62566256
// If the reference symbol is an alias, check if what it is aliasing is one of the search
62576257
// symbols but by looking up for related symbol of this alias so it can handle multiple level of indirectness.
6258-
const importOrExportSpecifier = getImportOrExportSpecifierPropertyNameSymbolSpecifier(referenceSymbol, referenceLocation);
6258+
const importOrExportSpecifier = getImportOrExportSpecifierForPropertyNameSymbol(referenceSymbol, referenceLocation);
62596259
if (importOrExportSpecifier || getDeclarationOfKind(referenceSymbol, SyntaxKind.ImportClause)) {
62606260
const aliasedSymbol = !importOrExportSpecifier || importOrExportSpecifier.kind === SyntaxKind.ImportSpecifier ?
62616261
typeChecker.getAliasedSymbol(referenceSymbol) :

0 commit comments

Comments
 (0)