fix formatting

This commit is contained in:
Vladimir Matveev
2015-07-29 18:14:13 -07:00
parent 36043cd88a
commit f9c07586b4
2 changed files with 4 additions and 4 deletions

View File

@@ -127,7 +127,7 @@ namespace ts {
importedFiles: FileReference[];
ambientExternalModules: string[];
isLibFile: boolean
}
}
let scanner: Scanner = createScanner(ScriptTarget.Latest, /*skipTrivia*/ true);
@@ -2097,7 +2097,7 @@ namespace ts {
end: pos + importPath.length
});
}
function processImport(): void {
scanner.setText(sourceText);
let token = scanner.scan();

View File

@@ -297,7 +297,7 @@ namespace ts {
public error(s: string): void {
this.shimHost.error(s);
}
}
public getProjectVersion(): string {
if (!this.shimHost.getProjectVersion) {
@@ -549,7 +549,7 @@ namespace ts {
private realizeDiagnostics(diagnostics: Diagnostic[]): { message: string; start: number; length: number; category: string; }[]{
var newLine = this.getNewLine();
return ts.realizeDiagnostics(diagnostics, newLine);
}
}
public getSyntacticClassifications(fileName: string, start: number, length: number): string {
return this.forwardJSONCall(