Home
last modified time | relevance | path

Searched refs:getLanguageService (Results 1 – 25 of 33) sorted by relevance

12

/third_party/typescript/src/testRunner/unittests/tsserver/
DautoImportProvider.ts41 ….isUndefined(projectService.configuredProjects.get(tsconfig.path)!.getLanguageService().getAutoImp…
53 ….isUndefined(projectService.configuredProjects.get(tsconfig.path)!.getLanguageService().getAutoImp…
71 .getLanguageService()
89 ….isUndefined(projectService.configuredProjects.get(tsconfig.path)!.getLanguageService().getAutoImp…
102 ….isUndefined(projectService.configuredProjects.get(tsconfig.path)!.getLanguageService().getAutoImp…
105 …assert.ok(projectService.configuredProjects.get(tsconfig.path)!.getLanguageService().getAutoImport…
118 …rtProvider = projectService.configuredProjects.get(tsconfig.path)!.getLanguageService().getAutoImp…
123 …projectService.configuredProjects.get(tsconfig.path)!.getLanguageService().getAutoImportProvider(),
181 …const completionsBefore = project.getLanguageService().getCompletionsAtPosition(indexTs.path, 0, {…
189 const autoImportProvider = project.getLanguageService().getAutoImportProvider();
[all …]
DlanguageService.ts16 projectService.inferredProjects[0].getLanguageService().getProgram();
62 …proj1Diags = projectService.configuredProjects.get(files[1].path)!.getLanguageService().getProgram…
64 …proj2Diags = projectService.configuredProjects.get(files[4].path)!.getLanguageService().getProgram…
DcachingFileSystemInformation.ts61 const diags = project.getLanguageService().getSemanticDiagnostics(file.path);
321 …assert.deepEqual(project.getLanguageService().getSemanticDiagnostics(file1.path).map(diag => diag.…
322 …assert.deepEqual(project.getLanguageService().getSemanticDiagnostics(file2.path).map(diag => diag.…
333 …assert.deepEqual(project.getLanguageService().getSemanticDiagnostics(file1.path).map(diag => diag.…
334 …assert.deepEqual(project.getLanguageService().getSemanticDiagnostics(file2.path).map(diag => diag.…
521 …assert.deepEqual(project.getLanguageService().getSemanticDiagnostics(app.path).map(diag => diag.me…
538 …assert.deepEqual(project.getLanguageService().getSemanticDiagnostics(app.path).map(diag => diag.me…
Dprojects.ts222 …const completions1 = service.externalProjects[0].getLanguageService().getCompletionsAtPosition(f1.…
228 …const completions2 = service.externalProjects[0].getLanguageService().getCompletionsAtPosition(f1.…
254 …const completions1 = service.externalProjects[0].getLanguageService().getCompletionsAtPosition(f1.…
258 …const completions2 = service.externalProjects[0].getLanguageService().getCompletionsAtPosition(f1.…
260 …const sf2 = service.externalProjects[0].getLanguageService().getProgram()!.getSourceFile(f2.path)!;
577 …projectService.findProject(projs[0].info!.projectName)!.getLanguageService().getNavigationBarItems…
705 …let completions = project.getLanguageService().getCompletionsAtPosition(file1.path, 1, emptyOption…
719 … completions = project.getLanguageService().getCompletionsAtPosition(file1.path, 5, emptyOptions);
752 …let diagnostics = configuredProjectAt(projectService, 0).getLanguageService().getCompilerOptionsDi…
771 …diagnostics = configuredProjectAt(projectService, 0).getLanguageService().getCompilerOptionsDiagno…
[all …]
DexportMapCache.ts111 project.getLanguageService(/*ensureSynchronized*/ true);
131 const checker = project.getLanguageService().getProgram()!.getTypeChecker();
DcompletionsIncomplete.ts171 …const file = Debug.checkDefined(project.getLanguageService(/*ensureSynchronized*/ true).getProgram…
210 …const file = Debug.checkDefined(project.getLanguageService(/*ensureSynchronized*/ true).getProgram…
240 …const file = Debug.checkDefined(project.getLanguageService(/*ensureSynchronized*/ true).getProgram…
DpartialSemanticServer.ts78 project.getLanguageService().getSemanticDiagnostics(file1.path);
118 const diagnostics = project.getLanguageService().getSyntacticDiagnostics(file1.path);
DconditionCheck.ts106 const response = project.getLanguageService().getSuggestionDiagnostics(aUser.path);
DgetEditsForFileRename.ts24 …const edits = project.getLanguageService().getEditsForFileRename("/old.ts", "/new.ts", testFormatS…
DsyntaxOperations.ts91 …const sourceFile = project.getLanguageService().getNonBoundSourceFile(unitTest1WithChangedContent.…
DforceConsistentCasingInFileNames.ts41 …const diagnostics = configuredProjectAt(projectService, 0).getLanguageService().getCompilerOptions…
DdocumentRegistry.ts24 project.getLanguageService();
DsyntacticServer.ts97 project.getLanguageService().getSemanticDiagnostics(file1.path);
DdynamicFiles.ts172 …assert.deepEqual(project.getLanguageService(/*ensureSynchronized*/ true).getQuickInfoAtPosition(fi…
DjsdocTag.ts793 const response = project.getLanguageService().getSuggestionDiagnostics(aUser.path);
DtypingsInstaller.ts1949 …const foooResolution = project.getLanguageService().getProgram()!.getSourceFileByPath(appPath)!.re…
2175 assert.isDefined(project.getLanguageService());
DconfiguredProjects.ts744 … const edits = project.getLanguageService().getFormattingEditsForDocument(f1.path, options);
/third_party/typescript/src/server/
Dsession.ts319 …(project, position) => project.getLanguageService().findRenameLocations(position.fileName, positio…
345 …const infos = defaultProject.getLanguageService().getDefinitionAtPosition(initialLocation.fileName…
365 return project.getLanguageService().findReferences(position.fileName, position.pos);
413 …const updated = project.getLanguageService().updateIsDefinitionOfReferencedSymbols(referencedSymbo…
531 …defaultProject.getLanguageService().getSourceMapper().tryGetGeneratedPosition(defaultDefinition!));
534 … defaultProject.getLanguageService().getSourceMapper().tryGetSourcePosition(defaultDefinition!));
637 const program = project.getLanguageService().getProgram();
1056 : project.getLanguageService().getSemanticDiagnostics(file).filter(d => !!d.file);
1063 …this.sendDiagnosticsEvent(file, project, project.getLanguageService().getSyntacticDiagnostics(file…
1069 …this.sendDiagnosticsEvent(file, project, project.getLanguageService().getSuggestionDiagnostics(fil…
[all …]
Dproject.ts733 getLanguageService(ensureSynchronized = true): LanguageService {
742 return this.getLanguageService().getSourceMapper();
793 …const { emitSkipped, diagnostics, outputFiles } = this.getLanguageService().getEmitOutput(scriptIn…
2380 getLanguageService(): never { method in ts.server.AutoImportProviderProject
/third_party/typescript/src/testRunner/unittests/services/extract/
Dhelpers.ts136 const program = projectService.inferredProjects[0].getLanguageService().getProgram()!;
137 …const autoImportProvider = projectService.inferredProjects[0].getLanguageService().getAutoImportPr…
161 const program = projectService.inferredProjects[0].getLanguageService().getProgram()!;
/third_party/typescript/src/testRunner/unittests/services/
DcancellableLanguageServiceOperations.ts76 const service = adapter.getLanguageService();
DconvertToAsyncFunction.ts407 return first(projectService.inferredProjects).getLanguageService();
DorganizeImports.ts1034 return projectService.inferredProjects[0].getLanguageService();
/third_party/typescript/src/harness/
DharnessLanguageService.ts122 getLanguageService(): ts.LanguageService; method
323 getLanguageService(): ts.LanguageService { return ts.createLanguageService(this.host); } method in Harness.LanguageService.NativeLanguageServiceAdapter
677getLanguageService(): ts.LanguageService { return new LanguageServiceShimProxy(this.factory.create… method in Harness.LanguageService.ShimLanguageServiceAdapter
1028 getLanguageService(): ts.LanguageService { return this.client; } method in Harness.LanguageService.ServerLanguageServiceAdapter
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/RealWorld/
Dparserharness.ts1706 public getLanguageService(): Services.ILanguageServiceShim {

12