remove unused methods

This commit is contained in:
Mohamed Hegazy
2014-07-29 12:16:43 -07:00
parent 9061e58dff
commit 4e570248d6
-21
View File
@@ -52,10 +52,6 @@ module ts {
getScriptIsOpen(fileName: string): boolean;
getScriptByteOrderMark(fileName: string): number;
getScriptSnapshot(fileName: string): ScriptSnapshotShim;
resolveRelativePath(path: string, directory: string): string;
fileExists(path: string): boolean;
directoryExists(path: string): boolean;
getParentDirectory(path: string): string;
getLocalizedDiagnosticMessages(): string;
getCancellationToken(): CancellationToken;
}
@@ -372,23 +368,6 @@ module ts {
public getCancellationToken(): CancellationToken {
return this.shimHost.getCancellationToken();
}
// IReferenceResolverHost methods
public resolveRelativePath(path: string, directory: string): string {
return this.shimHost.resolveRelativePath(path, directory);
}
public fileExists(path: string): boolean {
return this.shimHost.fileExists(path);
}
public directoryExists(path: string): boolean {
return this.shimHost.directoryExists(path);
}
public getParentDirectory(path: string): string {
return this.shimHost.getParentDirectory(path);
}
}
function simpleForwardCall(logger: Logger, actionDescription: string, action: () => any): any {