michangarrito/apps/backend/node_modules/@microsoft/tsdoc/lib/parser/ParagraphSplitter.d.ts
rckrdmrd 97f407c661 [MIGRATION-V2] feat: Migrar michangarrito a estructura v2
- Prefijo v2: MCH
- TRACEABILITY-MASTER.yml creado
- Listo para integracion como submodulo

Workspace: v2.0.0 | SIMCO: v4.0.0
2026-01-10 11:28:54 -06:00

24 lines
1.1 KiB
TypeScript

import { DocSection, type DocNode } from '../nodes';
/**
* The ParagraphSplitter is a secondary stage that runs after the NodeParser has constructed
* the DocComment. It splits DocParagraph nodes into multiple paragraphs by looking for
* paragraph delimiters. Following CommonMark conventions, paragraphs are delimited by
* one or more blank lines. (These lines end with SoftBreak nodes.) The blank lines are
* not discarded. Instead, they are attached to the preceding paragraph. If the DocParagraph
* starts with blank lines, they are preserved to avoid creating a paragraph containing only
* whitespace.
*/
export declare class ParagraphSplitter {
private static readonly _whitespaceRegExp;
/**
* Split all paragraphs belonging to the provided subtree.
*/
static splitParagraphs(node: DocNode): void;
/**
* Split all paragraphs belonging to the provided DocSection.
*/
static splitParagraphsForSection(docSection: DocSection): void;
private static _splitParagraph;
private static _isWhitespace;
}
//# sourceMappingURL=ParagraphSplitter.d.ts.map