1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 | import { ImmutableArray } from '../model/immutable';
|
15 | import { CssAstNode, Feature, ScannedFeature, SourceRange, Warning } from '../model/model';
|
16 | import { ParsedCssDocument, Visitor } from './css-document';
|
17 | import { CssScanner } from './css-scanner';
|
18 | export declare class CssCustomPropertyScanner implements CssScanner {
|
19 | scan(document: ParsedCssDocument, visit: (visitor: Visitor) => Promise<void>): Promise<{
|
20 | features: CssCustomPropertyAssignment[];
|
21 | warnings: Warning[];
|
22 | }>;
|
23 | }
|
24 | declare module '../model/queryable' {
|
25 | interface FeatureKindMap {
|
26 | 'css-custom-property-assignment': CssCustomPropertyAssignment;
|
27 | }
|
28 | }
|
29 | export declare class CssCustomPropertyAssignment implements ScannedFeature, Feature {
|
30 | readonly sourceRange: SourceRange;
|
31 | readonly warnings: ImmutableArray<Warning>;
|
32 | readonly kinds: Set<string>;
|
33 | readonly identifiers: Set<string>;
|
34 | readonly name: string;
|
35 | readonly astNode: CssAstNode;
|
36 | constructor(name: string, sourceRange: SourceRange, astNode: CssAstNode);
|
37 | resolve(): this;
|
38 | }
|
39 | declare module '../model/queryable' {
|
40 | interface FeatureKindMap {
|
41 | 'css-custom-property-use': CssCustomPropertyUse;
|
42 | }
|
43 | }
|
44 | export declare class CssCustomPropertyUse implements ScannedFeature, Feature {
|
45 | readonly sourceRange: SourceRange;
|
46 | readonly warnings: ImmutableArray<Warning>;
|
47 | readonly kinds: Set<string>;
|
48 | readonly identifiers: Set<string>;
|
49 | readonly name: string;
|
50 | readonly astNode: CssAstNode;
|
51 | constructor(name: string, sourceRange: SourceRange, astNode: CssAstNode);
|
52 | resolve(): this;
|
53 | }
|