Skip to content

달빛약속 / core/mod / ListLiteral

Class: ListLiteral

Extends

Indexable

[key: string]: unknown

Constructors

new ListLiteral()

new ListLiteral(items, tokens): ListLiteral

Parameters

items

Evaluable<ValueType>[]

tokens

Token[]

Returns

ListLiteral

Overrides

Evaluable.constructor

Defined in

core/node/list.ts:25

Properties

items

items: Evaluable<ValueType>[]

Defined in

core/node/list.ts:25


tokens

tokens: Token[]

Inherited from

Evaluable.tokens

Defined in

core/node/list.ts:25


friendlyName

static friendlyName: string = '목록'

Overrides

Evaluable.friendlyName

Defined in

core/node/list.ts:23

Methods

execute()

execute(scope): Promise<ListValue>

Parameters

scope

Scope

Returns

Promise<ListValue>

Overrides

Evaluable.execute

Defined in

core/node/list.ts:29


toJSON()

toJSON(): object

Returns

object

Inherited from

Evaluable.toJSON

Defined in

core/node/base.ts:13


toPrint()

toPrint(): string

Returns

string

Inherited from

Evaluable.toPrint

Defined in

core/node/base.ts:32