Skip to content

달빛약속 / core/mod / IndexFetch

Class: IndexFetch

Extends

Indexable

[key: string]: unknown

Constructors

new IndexFetch()

new IndexFetch(list, index, tokens): IndexFetch

Parameters

list

Evaluable<IndexedValue>

index

Evaluable<NumberValue | StringValue | ListValue>

tokens

Token[]

Returns

IndexFetch

Overrides

Evaluable.constructor

Defined in

core/node/list.ts:42

Properties

index

index: Evaluable<NumberValue | StringValue | ListValue>

Defined in

core/node/list.ts:44


list

list: Evaluable<IndexedValue>

Defined in

core/node/list.ts:43


tokens

tokens: Token[]

Inherited from

Evaluable.tokens

Defined in

core/node/list.ts:45


friendlyName

static friendlyName: string = '사전에서 값 가져오기'

Overrides

Evaluable.friendlyName

Defined in

core/node/list.ts:40

Methods

execute()

execute(scope): Promise<ValueType>

Parameters

scope

Scope

Returns

Promise<ValueType>

Overrides

Evaluable.execute

Defined in

core/node/list.ts:50


setValue()

setValue(scope, value): Promise<void>

Parameters

scope

Scope

value

ValueType

Returns

Promise<void>

Defined in

core/node/list.ts:84


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