1 | import { type IDocNodeParameters, DocNode, type IDocNodeParsedParameters } from './DocNode';
|
2 | import type { TokenSequence } from '../parser/TokenSequence';
|
3 |
|
4 |
|
5 |
|
6 | export interface IDocInlineTagBaseParameters extends IDocNodeParameters {
|
7 | tagName: string;
|
8 | }
|
9 |
|
10 |
|
11 |
|
12 | export interface IDocInlineTagBaseParsedParameters extends IDocNodeParsedParameters {
|
13 | openingDelimiterExcerpt: TokenSequence;
|
14 | tagNameExcerpt: TokenSequence;
|
15 | tagName: string;
|
16 | spacingAfterTagNameExcerpt?: TokenSequence;
|
17 | closingDelimiterExcerpt: TokenSequence;
|
18 | }
|
19 |
|
20 |
|
21 |
|
22 | export declare abstract class DocInlineTagBase extends DocNode {
|
23 | private readonly _openingDelimiterExcerpt;
|
24 | private readonly _tagName;
|
25 | private readonly _tagNameWithUpperCase;
|
26 | private readonly _tagNameExcerpt;
|
27 | private readonly _spacingAfterTagNameExcerpt;
|
28 | private readonly _closingDelimiterExcerpt;
|
29 | |
30 |
|
31 |
|
32 |
|
33 | constructor(parameters: IDocInlineTagBaseParameters | IDocInlineTagBaseParsedParameters);
|
34 | /**
|
35 | * The TSDoc tag name. TSDoc tag names start with an at-sign (`@`) followed
|
36 | * by ASCII letters using "camelCase" capitalization.
|
37 | *
|
38 | * @remarks
|
39 | * For example, if the inline tag is `{@link Guid.toString | the toString() method}`
|
40 | * then the tag name would be `@link`.
|
41 | */
|
42 | get tagName(): string;
|
43 | /**
|
44 | * The TSDoc tag name in all capitals, which is used for performing
|
45 | * case-insensitive comparisons or lookups.
|
46 | */
|
47 | get tagNameWithUpperCase(): string;
|
48 | /** @override @sealed */
|
49 | protected onGetChildNodes(): ReadonlyArray<DocNode | undefined>;
|
50 | /**
|
51 | * Allows child classes to replace the tagContentParticle with a more detailed
|
52 | * set of nodes.
|
53 | * @virtual
|
54 | */
|
55 | protected abstract getChildNodesForContent(): ReadonlyArray<DocNode | undefined>;
|
56 | }
|
57 | //# sourceMappingURL=DocInlineTagBase.d.ts.map |
\ | No newline at end of file |