/third_party/typescript/src/testRunner/unittests/ |
D | programApi.ts | 23 const emptyFile = new documents.TextDocument(emptyFileName, ""); 28 const referenceFile = new documents.TextDocument(referenceFileName, 135 …const a = new documents.TextDocument("/a.ts", 'import * as bar from "bar"; import * as foo from "f… 136 …const bar = new documents.TextDocument("/node_modules/bar/index.d.ts", 'import * as foo from "foo"… 139 …const barFooPackage = new documents.TextDocument("/node_modules/bar/node_modules/foo/package.json"… 140 …const barFooIndex = new documents.TextDocument("/node_modules/bar/node_modules/foo/index.d.ts", fo… 141 …const fooPackage = new documents.TextDocument("/node_modules/foo/package.json", fooPackageJsonText… 142 … const fooIndex = new documents.TextDocument("/node_modules/foo/index.d.ts", fooIndexText); 150 const a = new documents.TextDocument("/a.ts", '/// <reference types="foo" />'); 151 …const fooIndex = new documents.TextDocument("/node_modules/foo/index.d.ts", "declare const foo: nu… [all …]
|
D | publicApi.ts | 91 { documents: [new documents.TextDocument("/file.ts", content)], cwd: "/" })); 113 { documents: [new documents.TextDocument("/file.ts", content)], cwd: "/" }));
|
D | transform.ts | 369 …ystem(Harness.IO, /*caseSensitive*/ true, { documents: [new documents.TextDocument("/.src/index.ts…
|
/third_party/typescript/src/harness/ |
D | compilerImpl.ts | 41 readonly inputs: readonly documents.TextDocument[]; 42 readonly js: documents.TextDocument | undefined; 43 readonly dts: documents.TextDocument | undefined; 44 readonly map: documents.TextDocument | undefined; 53 public readonly js: ReadonlyMap<string, documents.TextDocument>; 54 public readonly dts: ReadonlyMap<string, documents.TextDocument>; 55 public readonly maps: ReadonlyMap<string, documents.TextDocument>; 58 private _inputs: documents.TextDocument[] = []; 69 …const js = this.js = new collections.SortedMap<string, documents.TextDocument>({ comparer: this.vf… 70 …const dts = this.dts = new collections.SortedMap<string, documents.TextDocument>({ comparer: this.… [all …]
|
D | sourceMapRecorder.ts | 46 let jsFile: documents.TextDocument; 56 …er: Compiler.WriterAggregator, sourceMap: ts.RawSourceMap, currentJsFile: documents.TextDocument) { 278 …am: ts.Program, jsFiles: readonly documents.TextDocument[], declarationFiles: readonly documents.T… 284 let currentFile: documents.TextDocument; 327 let prevSourceFile: documents.TextDocument | undefined; 328 const files = new ts.Map<string, documents.TextDocument>(); 362 const value = new documents.TextDocument(path, sys.readFile(path, "utf8")!);
|
D | documentsUtil.ts | 5 export class TextDocument { class 24 return new TextDocument(
|
D | fakesHosts.ts | 220 public readonly outputs: documents.TextDocument[] = []; 300 const document = new documents.TextDocument(fileName, content);
|
D | harnessIO.ts | 432 const docs = inputFiles.concat(otherFiles).map(documents.TextDocument.fromTestFile); 936 …function fileOutput(file: documents.TextDocument, harnessSettings: TestCaseParser.CompilerSettings… 941 export function collateOutputs(outputFiles: readonly documents.TextDocument[]): string { 957 …export function* iterateOutputs(outputFiles: Iterable<documents.TextDocument>): IterableIterator<[…
|
D | vfsUtil.ts | 1183 documents?: readonly documents.TextDocument[]; 1603 …iteratePatchWorker(dirname: string, container: FileSet): IterableIterator<documents.TextDocument> { 1612 yield new documents.TextDocument(file, content);
|
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/lsp/protocol/ |
D | tsprotocol.go | 271 TextDocument TextDocumentIdentifier `json:"textDocument"` member 284 TextDocument TextDocumentIdentifier `json:"textDocument"` member 375 TextDocument TextDocumentIdentifier `json:"textDocument"` member 448 TextDocument TextDocumentIdentifier `json:"textDocument"` member 539 TextDocument TextDocumentIdentifier `json:"textDocument"` member 724 TextDocument *TextDocumentClientCapabilities `json:"textDocument,omitempty"` member 791 TextDocument TextDocumentClientCapabilities `json:"textDocument,omitempty"` member 1462 TextDocument TextDocumentItem `json:"textDocument"` member 1475 TextDocument VersionedTextDocumentIdentifier `json:"textDocument"` member 1505 TextDocument TextDocumentIdentifier `json:"textDocument"` member [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/protocol/ |
D | tsprotocol.go | 271 TextDocument TextDocumentIdentifier `json:"textDocument"` member 284 TextDocument TextDocumentIdentifier `json:"textDocument"` member 375 TextDocument TextDocumentIdentifier `json:"textDocument"` member 448 TextDocument TextDocumentIdentifier `json:"textDocument"` member 539 TextDocument TextDocumentIdentifier `json:"textDocument"` member 724 TextDocument *TextDocumentClientCapabilities `json:"textDocument,omitempty"` member 791 TextDocument TextDocumentClientCapabilities `json:"textDocument,omitempty"` member 1462 TextDocument TextDocumentItem `json:"textDocument"` member 1475 TextDocument VersionedTextDocumentIdentifier `json:"textDocument"` member 1505 TextDocument TextDocumentIdentifier `json:"textDocument"` member [all …]
|
/third_party/spirv-tools/utils/vscode/src/lsp/protocol/ |
D | tsprotocol.go | 271 TextDocument TextDocumentIdentifier `json:"textDocument"` member 284 TextDocument TextDocumentIdentifier `json:"textDocument"` member 375 TextDocument TextDocumentIdentifier `json:"textDocument"` member 448 TextDocument TextDocumentIdentifier `json:"textDocument"` member 539 TextDocument TextDocumentIdentifier `json:"textDocument"` member 724 TextDocument *TextDocumentClientCapabilities `json:"textDocument,omitempty"` member 791 TextDocument TextDocumentClientCapabilities `json:"textDocument,omitempty"` member 1462 TextDocument TextDocumentItem `json:"textDocument"` member 1475 TextDocument VersionedTextDocumentIdentifier `json:"textDocument"` member 1505 TextDocument TextDocumentIdentifier `json:"textDocument"` member [all …]
|
/third_party/spirv-tools/utils/vscode/src/ |
D | langsvr.go | 141 return s.processFile(ctx, p.TextDocument.URI, p.TextDocument.Text) 145 return s.processFile(ctx, p.TextDocument.URI, p.ContentChanges[0].Text) 238 f := s.getFile(p.TextDocument.URI) 297 if f := s.getFile(p.TextDocument.URI); f != nil { 302 URI: p.TextDocument.URI, 314 if f := s.getFile(p.TextDocument.URI); f != nil { 321 URI: p.TextDocument.URI, 366 if f := s.getFile(p.TextDocument.URI); f != nil { 439 if f := s.getFile(p.TextDocument.URI); f != nil { 449 m[p.TextDocument.URI] = changes
|
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/ |
D | langsvr.go | 141 return s.processFile(ctx, p.TextDocument.URI, p.TextDocument.Text) 145 return s.processFile(ctx, p.TextDocument.URI, p.ContentChanges[0].Text) 238 f := s.getFile(p.TextDocument.URI) 297 if f := s.getFile(p.TextDocument.URI); f != nil { 302 URI: p.TextDocument.URI, 314 if f := s.getFile(p.TextDocument.URI); f != nil { 321 URI: p.TextDocument.URI, 366 if f := s.getFile(p.TextDocument.URI); f != nil { 439 if f := s.getFile(p.TextDocument.URI); f != nil { 449 m[p.TextDocument.URI] = changes
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/ |
D | langsvr.go | 141 return s.processFile(ctx, p.TextDocument.URI, p.TextDocument.Text) 145 return s.processFile(ctx, p.TextDocument.URI, p.ContentChanges[0].Text) 238 f := s.getFile(p.TextDocument.URI) 297 if f := s.getFile(p.TextDocument.URI); f != nil { 302 URI: p.TextDocument.URI, 314 if f := s.getFile(p.TextDocument.URI); f != nil { 321 URI: p.TextDocument.URI, 366 if f := s.getFile(p.TextDocument.URI); f != nil { 439 if f := s.getFile(p.TextDocument.URI); f != nil { 449 m[p.TextDocument.URI] = changes
|
/third_party/typescript/src/testRunner/ |
D | projectsRunner.ts | 30 outputFiles?: readonly documents.TextDocument[]; 346 const allInputFiles: documents.TextDocument[] = []; 351 … allInputFiles.unshift(new documents.TextDocument(sourceFile.fileName, sourceFile.text));
|