Skip to main content

Class: CommentNode

Implements

Constructors

new CommentNode()

new CommentNode(token, text): CommentNode

Parameters

token: Token

The token that started this node. Used to add line and column numbers to error messages.

text: string

Returns

CommentNode

Defined in

src/builtin/tags/comment.ts:30

Properties

text

readonly text: string

Defined in

src/builtin/tags/comment.ts:32


token

readonly token: Token

The token that started this node. Used to add line and column numbers to error messages.

Implementation of

Node.token

Defined in

src/builtin/tags/comment.ts:31

Methods

render()

render(): Promise<void>

Render this node to the given output stream.

Returns

Promise<void>

Implementation of

Node.render

Defined in

src/builtin/tags/comment.ts:35


renderSync()

renderSync(): void

A synchronous version of render.

Returns

void

See

render

Implementation of

Node.renderSync

Defined in

src/builtin/tags/comment.ts:39