Interface: Node
Properties
captureOutput?
readonlyoptionalcaptureOutput:boolean
Indicates that a node will never produce an output, even if it has output statement child nodes.
Defined in
children()?
optionalchildren: () =>ChildNode[]
Return an array of child nodes.
Returns
Defined in
forceOutput?
readonlyoptionalforceOutput:boolean
Indicates that nodes that do automatic whitespace suppression should output this node regardless of its contents.
Defined in
token
readonlytoken: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