rename LanguageService.getSourceFile to LanguageService.getNonBoundSourceFile and mark it as internal

This commit is contained in:
Vladimir Matveev
2016-03-18 11:27:21 -07:00
parent 279fec7a7d
commit 200f162bf6
5 changed files with 7 additions and 7 deletions

View File

@@ -1112,7 +1112,7 @@ namespace ts {
getProgram(): Program;
getSourceFile(fileName: string): SourceFile;
/* @internal */ getNonBoundSourceFile(fileName: string): SourceFile;
dispose(): void;
}
@@ -6528,7 +6528,7 @@ namespace ts {
}
/// Syntactic features
function getSourceFile(fileName: string): SourceFile {
function getNonBoundSourceFile(fileName: string): SourceFile {
return syntaxTreeCache.getCurrentSourceFile(fileName);
}
@@ -7616,7 +7616,7 @@ namespace ts {
getFormattingEditsAfterKeystroke,
getDocCommentTemplateAtPosition,
getEmitOutput,
getSourceFile,
getNonBoundSourceFile,
getProgram
};
}