1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 | import { AstNodeWithLanguage } from '..';
|
15 | import * as jsdoc from '../javascript/jsdoc';
|
16 | import { ImmutableArray, ImmutableSet } from './immutable';
|
17 | import { SourceRange } from './source-range';
|
18 | import { Warning } from './warning';
|
19 | export declare abstract class Feature {
|
20 | readonly kinds: Set<string> | ImmutableSet<string>;
|
21 | readonly identifiers: Set<string> | ImmutableSet<string>;
|
22 |
|
23 | readonly sourceRange?: SourceRange;
|
24 | |
25 |
|
26 |
|
27 |
|
28 | readonly astNode?: AstNodeWithLanguage;
|
29 |
|
30 | readonly warnings: Array<Warning> | ImmutableArray<Warning>;
|
31 | constructor(sourceRange?: SourceRange, astNode?: AstNodeWithLanguage, warnings?: Array<Warning> | ImmutableArray<Warning>);
|
32 | }
|
33 | export declare abstract class ScannedFeature {
|
34 | readonly description?: string;
|
35 | readonly jsdoc?: jsdoc.Annotation;
|
36 |
|
37 | readonly sourceRange: SourceRange | undefined;
|
38 | |
39 |
|
40 |
|
41 |
|
42 | readonly astNode?: AstNodeWithLanguage;
|
43 |
|
44 | readonly warnings: Array<Warning> | ImmutableArray<Warning>;
|
45 | constructor(sourceRange?: SourceRange, astNode?: AstNodeWithLanguage, description?: string, jsdoc?: jsdoc.Annotation, warnings?: Warning[]);
|
46 | }
|
47 | export declare type Privacy = 'public' | 'private' | 'protected';
|