utils/node_modules/@microsoft/tsdoc/lib/nodes/DocBlock.d.ts
2024-02-07 01:33:07 -05:00

41 lines
1.3 KiB
TypeScript

import { DocNodeKind, DocNode, IDocNodeParameters, IDocNodeParsedParameters } from './DocNode';
import { DocSection } from './DocSection';
import { DocBlockTag } from './DocBlockTag';
/**
* Constructor parameters for {@link DocBlock}.
*/
export interface IDocBlockParameters extends IDocNodeParameters {
blockTag: DocBlockTag;
}
/**
* Constructor parameters for {@link DocBlock}.
*/
export interface IDocBlockParsedParameters extends IDocNodeParsedParameters {
blockTag: DocBlockTag;
}
/**
* Represents a section that is introduced by a TSDoc block tag.
* For example, an `@example` block.
*/
export declare class DocBlock extends DocNode {
private readonly _blockTag;
private readonly _content;
/**
* Don't call this directly. Instead use {@link TSDocParser}
* @internal
*/
constructor(parameters: IDocBlockParameters | IDocBlockParsedParameters);
/** @override */
get kind(): DocNodeKind | string;
/**
* The TSDoc tag that introduces this section.
*/
get blockTag(): DocBlockTag;
/**
* The TSDoc tag that introduces this section.
*/
get content(): DocSection;
/** @override */
protected onGetChildNodes(): ReadonlyArray<DocNode | undefined>;
}
//# sourceMappingURL=DocBlock.d.ts.map