Class: IfChangedNode
Implements
Constructors
new IfChangedNode()
new IfChangedNode(
token
,block
):IfChangedNode
Parameters
• token: Token
The token that started this node. Used to add line and column numbers to error messages.
• block: BlockNode
Returns
Defined in
src/builtin/tags/ifchanged.ts:29
Properties
block
readonly
block:BlockNode
Defined in
src/builtin/tags/ifchanged.ts:31
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/ifchanged.ts:30
Methods
children()
children():
ChildNode
[]
Return an array of child nodes.
Returns
Implementation of
Defined in
src/builtin/tags/ifchanged.ts:63
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
>
Implementation of
Defined in
src/builtin/tags/ifchanged.ts:34
renderSync()
renderSync(
context
,out
):void
A synchronous version of render.
Parameters
• context: RenderContext
• out: RenderStream
Returns
void