1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | import ts from 'typescript';
|
9 | import { MetadataReader } from '../../metadata';
|
10 | import { DocEntry } from './entities';
|
11 |
|
12 |
|
13 |
|
14 |
|
15 | export declare class DocsExtractor {
|
16 | private typeChecker;
|
17 | private metadataReader;
|
18 | constructor(typeChecker: ts.TypeChecker, metadataReader: MetadataReader);
|
19 | /**
|
20 | * Gets the set of all documentable entries from a source file, including
|
21 | * declarations that are re-exported from this file as an entry-point.
|
22 | *
|
23 | * @param sourceFile The file from which to extract documentable entries.
|
24 | */
|
25 | extractAll(sourceFile: ts.SourceFile, rootDir: string, privateModules: Set<string>): {
|
26 | entries: DocEntry[];
|
27 | symbols: Map<string, string>;
|
28 | };
|
29 |
|
30 | private extractDeclaration;
|
31 |
|
32 | private getExportedDeclarations;
|
33 | }
|