1 | import { DocNodeKind, type IDocNodeParameters, DocNode, type IDocNodeParsedParameters } from './DocNode';
|
2 | import type { TokenSequence } from '../parser/TokenSequence';
|
3 |
|
4 |
|
5 |
|
6 | export interface IDocCodeSpanParameters extends IDocNodeParameters {
|
7 | code: string;
|
8 | }
|
9 |
|
10 |
|
11 |
|
12 | export interface IDocCodeSpanParsedParameters extends IDocNodeParsedParameters {
|
13 | openingDelimiterExcerpt: TokenSequence;
|
14 | codeExcerpt: TokenSequence;
|
15 | closingDelimiterExcerpt: TokenSequence;
|
16 | }
|
17 |
|
18 |
|
19 |
|
20 |
|
21 | export declare class DocCodeSpan extends DocNode {
|
22 | private readonly _openingDelimiterExcerpt;
|
23 | private _code;
|
24 | private readonly _codeExcerpt;
|
25 | private readonly _closingDelimiterExcerpt;
|
26 | |
27 |
|
28 |
|
29 |
|
30 | constructor(parameters: IDocCodeSpanParameters | IDocCodeSpanParsedParameters);
|
31 | /** @override */
|
32 | get kind(): DocNodeKind | string;
|
33 | /**
|
34 | * The text that should be rendered as code, excluding the backtick delimiters.
|
35 | */
|
36 | get code(): string;
|
37 | /** @override */
|
38 | protected onGetChildNodes(): ReadonlyArray<DocNode | undefined>;
|
39 | }
|
40 | //# sourceMappingURL=DocCodeSpan.d.ts.map |
\ | No newline at end of file |