1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 | import { CompilerOptions } from '@angular/compiler-cli';
|
10 | import * as ts from 'typescript/lib/tsserverlibrary';
|
11 | import { GetTcbResponse } from '../api';
|
12 | import { CompilerFactory } from './compiler_factory';
|
13 | export declare class LanguageService {
|
14 | private readonly project;
|
15 | private readonly tsLS;
|
16 | private options;
|
17 | readonly compilerFactory: CompilerFactory;
|
18 | private readonly strategy;
|
19 | private readonly adapter;
|
20 | private readonly parseConfigHost;
|
21 | constructor(project: ts.server.Project, tsLS: ts.LanguageService);
|
22 | getCompilerOptions(): CompilerOptions;
|
23 | getSemanticDiagnostics(fileName: string): ts.Diagnostic[];
|
24 | getDefinitionAndBoundSpan(fileName: string, position: number): ts.DefinitionInfoAndBoundSpan | undefined;
|
25 | getTypeDefinitionAtPosition(fileName: string, position: number): readonly ts.DefinitionInfo[] | undefined;
|
26 | getQuickInfoAtPosition(fileName: string, position: number): ts.QuickInfo | undefined;
|
27 | getReferencesAtPosition(fileName: string, position: number): ts.ReferenceEntry[] | undefined;
|
28 | getRenameInfo(fileName: string, position: number): ts.RenameInfo;
|
29 | findRenameLocations(fileName: string, position: number): readonly ts.RenameLocation[] | undefined;
|
30 | private getCompletionBuilder;
|
31 | getCompletionsAtPosition(fileName: string, position: number, options: ts.GetCompletionsAtPositionOptions | undefined): ts.WithMetadata<ts.CompletionInfo> | undefined;
|
32 | getCompletionEntryDetails(fileName: string, position: number, entryName: string, formatOptions: ts.FormatCodeOptions | ts.FormatCodeSettings | undefined, preferences: ts.UserPreferences | undefined): ts.CompletionEntryDetails | undefined;
|
33 | getCompletionEntrySymbol(fileName: string, position: number, entryName: string): ts.Symbol | undefined;
|
34 | getTcb(fileName: string, position: number): GetTcbResponse;
|
35 | private withCompiler;
|
36 | getCompilerOptionsDiagnostics(): ts.Diagnostic[];
|
37 | private watchConfigFile;
|
38 | }
|