1 | import { ParserMessage } from './ParserMessage';
|
2 | import type { TextRange } from './TextRange';
|
3 | import type { TokenSequence } from './TokenSequence';
|
4 | import type { DocNode } from '../nodes/DocNode';
|
5 | import type { DocErrorText } from '../nodes/DocErrorText';
|
6 | import type { TSDocMessageId } from './TSDocMessageId';
|
7 |
|
8 |
|
9 |
|
10 | export declare class ParserMessageLog {
|
11 | private _messages;
|
12 | |
13 |
|
14 |
|
15 | get messages(): ReadonlyArray<ParserMessage>;
|
16 | |
17 |
|
18 |
|
19 | addMessage(parserMessage: ParserMessage): void;
|
20 | |
21 |
|
22 |
|
23 | addMessageForTextRange(messageId: TSDocMessageId, messageText: string, textRange: TextRange): void;
|
24 | |
25 |
|
26 |
|
27 | addMessageForTokenSequence(messageId: TSDocMessageId, messageText: string, tokenSequence: TokenSequence, docNode?: DocNode): void;
|
28 | |
29 |
|
30 |
|
31 | addMessageForDocErrorText(docErrorText: DocErrorText): void;
|
32 | }
|
33 |
|
\ | No newline at end of file |