Skip to content

달빛약속 / core/mod / Loop

Class: Loop

Extends

Indexable

[key: string]: unknown

Constructors

new Loop()

new Loop(body, tokens): Loop

Parameters

body

Block

tokens

Token[]

Returns

Loop

Overrides

Executable.constructor

Defined in

core/node/loop.ts:12

Properties

body

body: Block

Defined in

core/node/loop.ts:12


tokens

tokens: Token[]

Inherited from

Executable.tokens

Defined in

core/node/loop.ts:12


friendlyName

static friendlyName: string = '반복'

Overrides

Executable.friendlyName

Defined in

core/node/loop.ts:10

Methods

execute()

execute(scope): Promise<void>

Parameters

scope

Scope

Returns

Promise<void>

Overrides

Executable.execute

Defined in

core/node/loop.ts:16


toJSON()

toJSON(): object

Returns

object

Inherited from

Executable.toJSON

Defined in

core/node/base.ts:20


toPrint()

toPrint(): string

Returns

string

Inherited from

Executable.toPrint

Defined in

core/node/base.ts:39


validate()

validate(scope): YaksokError<unknown>[]

Parameters

scope

Scope

Returns

YaksokError<unknown>[]

Overrides

Executable.validate

Defined in

core/node/loop.ts:28