1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 | import * as jsdoc from '../javascript/jsdoc';
|
15 | import { JsAstNode, SourceRange } from '../model/model';
|
16 | import { Privacy, ScannedFeature } from './model';
|
17 | import { Warning } from './warning';
|
18 | export interface ScannedProperty extends ScannedFeature {
|
19 | name: string;
|
20 | type?: string;
|
21 | privacy: Privacy;
|
22 | 'default'?: string;
|
23 | readOnly?: boolean;
|
24 | changeEvent?: string;
|
25 | warnings: Warning[];
|
26 | astNode: JsAstNode | undefined;
|
27 | }
|
28 | export interface Property {
|
29 | readonly name: string;
|
30 | readonly type?: string;
|
31 | readonly description?: string;
|
32 | readonly jsdoc?: jsdoc.Annotation;
|
33 | privacy: Privacy;
|
34 | readonly 'default'?: string;
|
35 | readonly readOnly?: boolean;
|
36 | readonly sourceRange?: SourceRange;
|
37 | readonly inheritedFrom?: string;
|
38 | readonly changeEvent?: string;
|
39 | readonly astNode: JsAstNode | undefined;
|
40 | }
|