remove unused diagnostics interfaces

This commit is contained in:
Mohamed Hegazy
2014-07-24 14:08:10 -07:00
parent 41826986ac
commit 742197077b
3 changed files with 0 additions and 14 deletions

View File

@@ -1,7 +0,0 @@
///<reference path='references.ts' />
module TypeScript.Services {
export interface ILanguageServicesDiagnostics {
log(content: string): void;
}
}

View File

@@ -14,7 +14,6 @@
//
///<reference path='references.ts' />
///<reference path='diagnosticServices.ts' />
module TypeScript.Services {
@@ -28,7 +27,6 @@ module TypeScript.Services {
getScriptIsOpen(fileName: string): boolean;
getScriptByteOrderMark(fileName: string): ts.ByteOrderMark;
getScriptSnapshot(fileName: string): TypeScript.IScriptSnapshot;
getDiagnosticsObject(): TypeScript.Services.ILanguageServicesDiagnostics;
getLocalizedDiagnosticMessages(): any;
getCancellationToken(): ts.CancellationToken;
}

View File

@@ -52,7 +52,6 @@ module TypeScript.Services {
fileExists(path: string): boolean;
directoryExists(path: string): boolean;
getParentDirectory(path: string): string;
getDiagnosticsObject(): ILanguageServicesDiagnostics;
getLocalizedDiagnosticMessages(): string;
getCancellationToken(): ts.CancellationToken;
}
@@ -348,10 +347,6 @@ module TypeScript.Services {
return this.shimHost.getScriptByteOrderMark(fileName);
}
public getDiagnosticsObject(): ILanguageServicesDiagnostics {
return this.shimHost.getDiagnosticsObject();
}
public getLocalizedDiagnosticMessages(): any {
var diagnosticMessagesJson = this.shimHost.getLocalizedDiagnosticMessages();
if (diagnosticMessagesJson == null || diagnosticMessagesJson == "") {