UNPKG

983 BTypeScriptView Raw
1import { DocComment, DocDeclarationReference, DocHtmlEndTag, DocHtmlStartTag } from '../nodes';
2import { IStringBuilder } from './StringBuilder';
3/**
4 * Renders a DocNode tree as a code comment.
5 */
6export declare class TSDocEmitter {
7 readonly eol: string;
8 private _emitCommentFraming;
9 private _output;
10 private _lineState;
11 private _previousLineHadContent;
12 private _hangingParagraph;
13 renderComment(output: IStringBuilder, docComment: DocComment): void;
14 renderHtmlTag(output: IStringBuilder, htmlTag: DocHtmlStartTag | DocHtmlEndTag): void;
15 renderDeclarationReference(output: IStringBuilder, declarationReference: DocDeclarationReference): void;
16 private _renderCompleteObject;
17 private _renderNode;
18 private _renderInlineTag;
19 private _renderNodes;
20 private _ensureAtStartOfLine;
21 private _ensureLineSkipped;
22 private _writeContent;
23 private _writeNewline;
24 private _writeEnd;
25}
26//# sourceMappingURL=TSDocEmitter.d.ts.map
\No newline at end of file