Skip to content

달빛약속 / core/mod / ListLoop

Class: ListLoop

Extends

Indexable

[key: string]: unknown

Constructors

new ListLoop()

new ListLoop(list, variableName, body, tokens): ListLoop

Parameters

list

Evaluable<ValueType>

variableName

string

body

Block

tokens

Token[]

Returns

ListLoop

Overrides

Executable.constructor

Defined in

core/node/listLoop.ts:15

Properties

body

body: Block

Defined in

core/node/listLoop.ts:18


list

list: Evaluable<ValueType>

Defined in

core/node/listLoop.ts:16


tokens

tokens: Token[]

Inherited from

Executable.tokens

Defined in

core/node/listLoop.ts:19


variableName

variableName: string

Defined in

core/node/listLoop.ts:17


friendlyName

static friendlyName: string = '목록 반복'

Overrides

Executable.friendlyName

Defined in

core/node/listLoop.ts:13

Methods

assertRepeatTargetIsList()

assertRepeatTargetIsList(target): asserts target is ListValue

Parameters

target

ValueType

Returns

asserts target is ListValue

Defined in

core/node/listLoop.ts:43


execute()

execute(_scope): Promise<void>

Parameters

_scope

Scope

Returns

Promise<void>

Overrides

Executable.execute

Defined in

core/node/listLoop.ts:24


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