Skip to main content

Class: BreakNode

Implements

Constructors

new BreakNode()

new BreakNode(token): BreakNode

Parameters

token: Token

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

Returns

BreakNode

Defined in

src/builtin/tags/for.ts:77

Properties

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/for.ts:77

Methods

children()

children(): ChildNode[]

Return an array of child nodes.

Returns

ChildNode[]

Implementation of

Node.children

Defined in

src/builtin/tags/for.ts:91


render()

render(): Promise<void>

Render this node to the given output stream.

Returns

Promise<void>

Implementation of

Node.render

Defined in

src/builtin/tags/for.ts:83


renderSync()

renderSync(): void

A synchronous version of render.

Returns

void

See

render

Implementation of

Node.renderSync

Defined in

src/builtin/tags/for.ts:87


toString()

toString(): string

Returns a string representation of an object.

Returns

string

Defined in

src/builtin/tags/for.ts:79