Skip to content

Commit bfdf2ac

Browse files
committed
remove some more unused files
1 parent 2dfd63e commit bfdf2ac

7 files changed

Lines changed: 33 additions & 330 deletions

File tree

src/services/compiler/precompile.ts

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,21 @@
1313
// limitations under the License.
1414
//
1515

16-
///<reference path='references.ts' />
17-
1816
module TypeScript {
17+
export interface ILineAndCharacter {
18+
line: number;
19+
character: number;
20+
}
21+
22+
// Note: This is being using by the host (VS) and is marshaled back and forth. When changing this make sure the changes
23+
// are reflected in the managed side as well.
24+
export interface IFileReference extends ILineAndCharacter {
25+
path: string;
26+
isResident: boolean;
27+
position: number;
28+
length: number;
29+
}
30+
1931
///
2032
/// Preprocessing
2133
///

src/services/compiler/referenceResolution.ts

Lines changed: 0 additions & 32 deletions
This file was deleted.

src/services/compiler/referenceResolver.ts

Lines changed: 0 additions & 255 deletions
This file was deleted.

src/services/formatting/formatting.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// limitations under the License.
1414
//
1515

16-
///<reference path='..\typescriptServices.ts' />
16+
///<reference path='..\services.ts' />
1717
///<reference path='textSnapshot.ts' />
1818
///<reference path='textSnapshotLine.ts' />
1919
///<reference path='snapshotPoint.ts' />

src/services/services.ts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,19 @@
1313
/// <reference path='formatting\formatting.ts' />
1414
/// <reference path='completionHelpers.ts' />
1515
/// <reference path='keywordCompletions.ts' />
16+
/// <reference path='compiler\bloomFilter.ts' />
17+
18+
/// <reference path='core\references.ts' />
19+
/// <reference path='resources\references.ts' />
20+
/// <reference path='text\references.ts' />
21+
/// <reference path='syntax\references.ts' />
22+
/// <reference path='compiler\diagnostics.ts' />
23+
/// <reference path='compiler\hashTable.ts' />
24+
/// <reference path='compiler\ast.ts' />
25+
/// <reference path='compiler\astWalker.ts' />
26+
/// <reference path='compiler\asthelpers.ts' />
27+
/// <reference path='compiler\types.ts' />
28+
/// <reference path='compiler\pathUtils.ts' />
1629

1730
module ts {
1831

@@ -450,7 +463,7 @@ module TypeScript.Services {
450463
//
451464
// Public interface of the host of a language service instance.
452465
//
453-
export interface LanguageServiceHost extends TypeScript.Logger, TypeScript.IReferenceResolverHost {
466+
export interface LanguageServiceHost extends TypeScript.Logger {
454467
getCompilationSettings(): ts.CompilerOptions;
455468
getScriptFileNames(): string[];
456469
getScriptVersion(fileName: string): number;

src/services/shims.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@
1313
// limitations under the License.
1414
//
1515

16-
///<reference path='typescriptServices.ts' />
16+
/// <reference path='services.ts' />
17+
18+
/// <reference path='compiler\pathUtils.ts' />
19+
/// <reference path='compiler\precompile.ts' />
1720
var debugObjectHost = (<any>this);
1821
module TypeScript.Services {
1922
export interface IScriptSnapshotShim {

0 commit comments

Comments
 (0)