Skip to main content

writeNodes

Summary

Writes multiple TSDoc nodes sequentially

Signature

protected writeNodes(docNodes: ReadonlyArray<DocNode>, context: IMarkdownEmitterContext): void;

Parameters

docNodes

Type:ReadonlyArray<DocNode> Array of nodes to write

context

Type:IMarkdownEmitterContext Emission context

Returns

Type:void Writes multiple TSDoc nodes sequentially

Remarks

This helper iterates through a node array and calls writeNode() for each. The docNodeSiblings parameter passed to writeNode() is set based on whether there are multiple nodes (used for formatting decisions).