Interface: Node
Properties
captureOutput?
readonly
optional
captureOutput:boolean
Indicates that a node will never produce an output, even if it has output statement child nodes.
Defined in
children()?
optional
children: () =>ChildNode
[]
Return an array of child nodes.
Returns
Defined in
forceOutput?
readonly
optional
forceOutput:boolean
Indicates that nodes that do automatic whitespace suppression should output this node regardless of its contents.
Defined in
token
readonly
token:Token
The token that started this node. Used to add line and column numbers to error messages.
Defined in
Methods
render()
render(
context
,out
):Promise
<void
>
Render this node to the given output stream.
Parameters
• context: RenderContext
The active render context.
• out: RenderStream
The stream to output to.
Returns
Promise
<void
>
Defined in
renderSync()
renderSync(
context
,out
):void
A synchronous version of render.
Parameters
• context: RenderContext
• out: RenderStream
Returns
void