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:11

Properties

body

body: Block

Defined in

core/node/loop.ts:11


tokens

tokens: Token[]

Inherited from

Executable.tokens

Defined in

core/node/loop.ts:11


friendlyName

static friendlyName: string = '반복'

Overrides

Executable.friendlyName

Defined in

core/node/loop.ts:9

Methods

execute()

execute(scope): Promise<void>

Parameters

scope

Scope

Returns

Promise<void>

Overrides

Executable.execute

Defined in

core/node/loop.ts:15


toJSON()

toJSON(): object

Returns

object

Inherited from

Executable.toJSON

Defined in

core/node/base.ts:13


toPrint()

toPrint(): string

Returns

string

Inherited from

Executable.toPrint

Defined in

core/node/base.ts:32