/third_party/typescript/src/testRunner/unittests/tsserver/events/ |
D | projectUpdatedInBackground.ts | 49 const openFiles = [commonFile1.path]; constant 59 openFiles 68 openFiles 91 const openFiles = [f1.path]; constant 103 openFiles 112 openFiles 183 const openFiles = [filesToReload[0].path]; constant 217 openFiles 438 const openFiles = [file1.path]; constant 461 openFiles [all …]
|
/third_party/typescript/src/testRunner/unittests/tsserver/ |
D | projectReferenceCompileOnSave.ts | 40 withProject, scenario, openFiles, requestArgs, change, expectedResult 47 openFilesForSession(openFiles(), session); 61 if (session.getProjectService().openFiles.has(file.path as Path)) { 112 openFiles: () => readonly File[]; property 160 openFiles: () => readonly File[]; property 169 function verifyScenario({ openFiles, scenarios }: VerifyScenario) { 178 openFiles, 186 openFiles, 195 openFiles, 204 openFiles, [all …]
|
D | applyChangesToOpenFiles.ts | 90 openFiles: [ 123 openFiles: [{ 137 openFiles: [ 172 openFiles: [{
|
D | helpers.ts | 484 …checkArray("Open files", arrayFrom(projectService.openFiles.keys(), path => projectService.getScri… 734 … export function checkProjectUpdatedInBackgroundEvent(session: TestSession, openFiles: string[]) { 735 …checkNthEvent(session, server.toEvent("projectsUpdatedInBackground", { openFiles }), 0, /*isMostRe… 930 … function verifyErrorsUsingGeterr({ allFiles, openFiles, expectedGetErr }: VerifyGetErrScenario) { 934 openFilesForSession(openFiles(), session); 940 …function verifyErrorsUsingGeterrForProject({ allFiles, openFiles, expectedGetErrForProject }: Veri… 944 openFilesForSession(openFiles(), session); 962 …function verifyErrorsUsingSyncMethods({ allFiles, openFiles, expectedSyncDiagnostics }: VerifyGetE… 966 openFilesForSession(openFiles(), session); 996 …function verifyConfigFileErrors({ allFiles, openFiles, expectedConfigFileDiagEvents }: VerifyGetEr… [all …]
|
D | projectReferenceErrors.ts | 53 openFiles: () => [usageTs], 84 openFiles: () => [usageTs, dependencyTs],
|
D | projectReferences.ts | 472 function openFiles(verifiers: readonly DocumentPositionMapperVerifier[]) { function 502 openFilesForSession([...openFiles(verifiers), randomFile], session); 628 openFiles(verifiers).map(f => f.path), 686 openFiles(verifiers).map(f => f.path), 700 closeFilesForSession([...openFiles(verifiers), randomFile], session); 942 if (contains(openFiles(verifiers), dependencyTs)) { 962 openFilesForSession([...openFiles(verifiers), randomFile], session);
|
D | projectErrors.ts | 411 function checkErrors(openFiles: [string, string]) { 412 verifyGetErrRequestNoErrors({ session, host, files: openFiles }); 506 openFiles: () => [file],
|
D | autoImportProvider.ts | 324 openFiles: [{
|
/third_party/typescript/src/server/ |
D | editorServices.ts | 18 data: { openFiles: string[]; }; 700 … readonly openFiles: Map<NormalizedPath | undefined> = new Map<Path, NormalizedPath | undefined>(); property in ProjectService 943 if (!this.openFiles.size) return; 986 …openFiles: arrayFrom(this.openFiles.keys(), path => this.getScriptInfoForPath(path as Path)!.fileN… 1519 this.openFiles.forEach((projectRootPath, path) => { 1584 this.openFiles.delete(info.path); 1852 Debug.assert(!isOpenScriptInfo(info) || this.openFiles.has(info.path)); 1853 const projectRootPath = this.openFiles.get(info.path); 1947 this.openFiles.forEach((projectRootPath, path) => { 2899 if (this.openFiles.has(info.path)) return; // Skip open files [all …]
|
D | session.ts | 831 const { openFiles } = event.data; constant 832 this.projectsUpdatedInBackgroundEvent(openFiles); 876 private projectsUpdatedInBackgroundEvent(openFiles: string[]): void { 877 …ctService.logger.info(`got projects updated in background, updating diagnostics for ${openFiles}`); 878 if (openFiles.length) { 881 …this.errorCheck.startNew(next => this.updateErrorCheck(next, openFiles, 100, /*requireOpen*/ true)… 886 openFiles 2555 … request.arguments.openFiles && mapIterator(arrayIterator(request.arguments.openFiles), file => ({ 2577 request.arguments.openFiles && arrayIterator(request.arguments.openFiles),
|
D | protocol.ts | 1773 openFiles?: ExternalFile[]; property 1799 openFiles?: OpenRequestArgs[]; property 2803 openFiles: string[]; property
|
D | project.ts | 602 return this.projectService.openFiles.has(filePath); 1779 this.projectService.openFiles,
|
/third_party/typescript/lib/ |
D | protocol.d.ts | 1292 openFiles?: OpenRequestArgs[]; property 2145 openFiles: string[]; property
|
D | tsserverlibrary.d.ts | 7869 openFiles?: OpenRequestArgs[]; 8722 openFiles: string[]; 9616 openFiles: string[]; 9798 readonly openFiles: Map<NormalizedPath | undefined>; property in ts.ProjectService
|
D | tsserverlibrary.js | 154313 return this.projectService.openFiles.has(filePath); 155364 …return !!ts.forEachEntry(this.projectService.openFiles, function (_, fileName) { return _this.proj… 156243 this.openFiles = new ts.Map(); 156420 if (!this.openFiles.size) 156461 …openFiles: ts.arrayFrom(this.openFiles.keys(), function (path) { return _this.getScriptInfoForPath… property 156917 this.openFiles.forEach(function (projectRootPath, path) { 156976 this.openFiles.delete(info.path); 157210 ts.Debug.assert(!isOpenScriptInfo(info) || this.openFiles.has(info.path)); 157211 var projectRootPath = this.openFiles.get(info.path); 157301 this.openFiles.forEach(function (projectRootPath, path) { [all …]
|
D | tsserver.js | 154119 return this.projectService.openFiles.has(filePath); 155170 …return !!ts.forEachEntry(this.projectService.openFiles, function (_, fileName) { return _this.proj… 156049 this.openFiles = new ts.Map(); 156226 if (!this.openFiles.size) 156267 …openFiles: ts.arrayFrom(this.openFiles.keys(), function (path) { return _this.getScriptInfoForPath… property 156723 this.openFiles.forEach(function (projectRootPath, path) { 156782 this.openFiles.delete(info.path); 157016 ts.Debug.assert(!isOpenScriptInfo(info) || this.openFiles.has(info.path)); 157017 var projectRootPath = this.openFiles.get(info.path); 157107 this.openFiles.forEach(function (projectRootPath, path) { [all …]
|
/third_party/typescript/tests/baselines/reference/api/ |
D | tsserverlibrary.d.ts | 7960 openFiles?: OpenRequestArgs[]; 8841 openFiles: string[]; 9739 openFiles: string[]; 9925 readonly openFiles: Map<NormalizedPath | undefined>; property in ts.ProjectService
|