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
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
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
Defined in
src/builtin/tags/comment.ts:35
renderSync()
renderSync():
void
A synchronous version of render.
Returns
void