XuqmGroup-H5SDK/node_modules/@microsoft/tsdoc/lib/nodes/DocNodeContainer.d.ts
徐勤民 e34fa2052a feat(private): add private deployment SDK module
Adds @xuqm/h5-sdk/private entry point with JSON-based initialization,
feature gating, and error codes for private deployment scenarios.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-18 21:08:08 +08:00

42 行
1.4 KiB
TypeScript

import { DocNode, type IDocNodeParameters, type IDocNodeParsedParameters } from './DocNode';
/**
* Constructor parameters for {@link DocNodeContainer}.
*/
export interface IDocNodeContainerParameters extends IDocNodeParameters {
}
/**
* Constructor parameters for {@link DocNodeContainer}.
*/
export interface IDocNodeContainerParsedParameters extends IDocNodeParsedParameters {
}
/**
* DocNodeContainer is the base class for DocNode classes that allow arbitrary child nodes to be added by the consumer.
* The child classes are {@link DocParagraph} and {@link DocSection}.
*/
export declare abstract class DocNodeContainer extends DocNode {
private readonly _nodes;
/**
* Don't call this directly. Instead use {@link TSDocParser}
* @internal
*/
constructor(parameters: IDocNodeContainerParameters | IDocNodeContainerParsedParameters, childNodes?: ReadonlyArray<DocNode>);
/**
* The nodes that were added to this container.
*/
get nodes(): ReadonlyArray<DocNode>;
/**
* Append a node to the container.
*/
appendNode(docNode: DocNode): void;
/**
* Append nodes to the container.
*/
appendNodes(docNodes: ReadonlyArray<DocNode>): void;
/**
* Remove all nodes from the container.
*/
clearNodes(): void;
/** @override */
protected onGetChildNodes(): ReadonlyArray<DocNode | undefined>;
}
//# sourceMappingURL=DocNodeContainer.d.ts.map