1 | import { DocNodeKind, type IDocNodeParsedParameters, DocNode } from './DocNode';
|
2 | import type { TokenSequence } from '../parser/TokenSequence';
|
3 |
|
4 |
|
5 |
|
6 | export interface IDocEscapedTextParsedParameters extends IDocNodeParsedParameters {
|
7 | escapeStyle: EscapeStyle;
|
8 | encodedTextExcerpt: TokenSequence;
|
9 | decodedText: string;
|
10 | }
|
11 |
|
12 |
|
13 |
|
14 | export declare enum EscapeStyle {
|
15 | |
16 |
|
17 |
|
18 | CommonMarkBackslash = 0
|
19 | }
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 | export declare class DocEscapedText extends DocNode {
|
28 | private readonly _escapeStyle;
|
29 | private _encodedText;
|
30 | private readonly _encodedTextExcerpt;
|
31 | private readonly _decodedText;
|
32 | |
33 |
|
34 |
|
35 |
|
36 | constructor(parameters: IDocEscapedTextParsedParameters);
|
37 | /** @override */
|
38 | get kind(): DocNodeKind | string;
|
39 | /**
|
40 | * The style of escaping to be performed.
|
41 | */
|
42 | get escapeStyle(): EscapeStyle;
|
43 | /**
|
44 | * The text sequence including escapes.
|
45 | */
|
46 | get encodedText(): string;
|
47 | /**
|
48 | * The text without escaping.
|
49 | */
|
50 | get decodedText(): string;
|
51 | /** @override */
|
52 | protected onGetChildNodes(): ReadonlyArray<DocNode | undefined>;
|
53 | }
|
54 | //# sourceMappingURL=DocEscapedText.d.ts.map |
\ | No newline at end of file |