1 | import { TextRange } from '../TextRange';
|
2 | import { DocNode } from '../../nodes';
|
3 | import { ParserContext } from '../ParserContext';
|
4 | import { TSDocConfiguration } from '../../configuration/TSDocConfiguration';
|
5 | interface ISnapshotItem {
|
6 | kind: string;
|
7 | errorMessage?: string;
|
8 | errorLocation?: string;
|
9 | errorLocationPrecedingToken?: string;
|
10 | nodeExcerpt?: string;
|
11 | nodeSpacing?: string;
|
12 | nodePlainText?: string;
|
13 | nodes?: ISnapshotItem[];
|
14 | }
|
15 | export declare class TestHelpers {
|
16 | |
17 |
|
18 |
|
19 | static formatLineSpan(line: TextRange, range: TextRange): string;
|
20 | |
21 |
|
22 |
|
23 | static getEscaped(s: string): string;
|
24 | |
25 |
|
26 |
|
27 | static parseAndMatchNodeParserSnapshot(buffer: string, config?: TSDocConfiguration): void;
|
28 | |
29 |
|
30 |
|
31 | static parseAndMatchDocCommentSnapshot(buffer: string, configuration?: TSDocConfiguration): ParserContext;
|
32 | |
33 |
|
34 |
|
35 | static getDocNodeSnapshot(docNode: DocNode | undefined): ISnapshotItem | undefined;
|
36 | private static _getTokenCoverageGapsSnapshot;
|
37 | }
|
38 | export {};
|
39 |
|
\ | No newline at end of file |