1 | import * as tsMod from "typescript";
|
2 | import { Program, SourceFile } from "typescript";
|
3 | import * as tsServer from "typescript/lib/tsserverlibrary.js";
|
4 | import { LitAnalyzerConfig } from "./lit-analyzer-config.js";
|
5 | import { LitAnalyzerContext, LitAnalyzerContextBaseOptions, LitPluginContextHandler } from "./lit-analyzer-context.js";
|
6 | import { DefaultLitAnalyzerLogger } from "./lit-analyzer-logger.js";
|
7 | import { RuleCollection } from "./rule-collection.js";
|
8 | import { DefaultAnalyzerDefinitionStore } from "./store/definition-store/default-analyzer-definition-store.js";
|
9 | import { DefaultAnalyzerDependencyStore } from "./store/dependency-store/default-analyzer-dependency-store.js";
|
10 | import { DefaultAnalyzerDocumentStore } from "./store/document-store/default-analyzer-document-store.js";
|
11 | import { DefaultAnalyzerHtmlStore } from "./store/html-store/default-analyzer-html-store.js";
|
12 | export declare class DefaultLitAnalyzerContext implements LitAnalyzerContext {
|
13 | private handler;
|
14 | protected componentSourceFileIterator: import("./util/changed-source-file-iterator.js").ChangedSourceFileIterator;
|
15 | protected hasAnalyzedSubclassExtensions: boolean;
|
16 | protected _config: LitAnalyzerConfig;
|
17 | get ts(): typeof tsMod;
|
18 | get program(): Program;
|
19 | get project(): tsServer.server.Project | undefined;
|
20 | get config(): LitAnalyzerConfig;
|
21 | private _currentStartTime;
|
22 | private _currentTimeout;
|
23 | get currentRunningTime(): number;
|
24 | private _currentCancellationToken;
|
25 | private _hasRequestedCancellation;
|
26 | private _throwOnRequestedCancellation;
|
27 | get isCancellationRequested(): boolean;
|
28 | private _currentFile;
|
29 | get currentFile(): SourceFile;
|
30 | readonly htmlStore: DefaultAnalyzerHtmlStore;
|
31 | readonly dependencyStore: DefaultAnalyzerDependencyStore;
|
32 | readonly documentStore: DefaultAnalyzerDocumentStore;
|
33 | readonly definitionStore: DefaultAnalyzerDefinitionStore;
|
34 | readonly logger: DefaultLitAnalyzerLogger;
|
35 | private _rules;
|
36 | get rules(): RuleCollection;
|
37 | setContextBase({ file, timeout, throwOnCancellation }: LitAnalyzerContextBaseOptions): void;
|
38 | updateConfig(config: LitAnalyzerConfig): void;
|
39 | updateDependencies(file: SourceFile): void;
|
40 | updateComponents(file: SourceFile): void;
|
41 | private get checker();
|
42 | constructor(handler: LitPluginContextHandler);
|
43 | private findInvalidatedComponents;
|
44 | private findComponentsInFile;
|
45 | private analyzeSubclassExtensions;
|
46 | private findDependenciesInFile;
|
47 | }
|
48 | //# sourceMappingURL=default-lit-analyzer-context.d.ts.map |
\ | No newline at end of file |