Skip to content

달빛약속 / core/mod / FunctionInvoke

Class: FunctionInvoke

Extends

Indexable

[key: string]: unknown

Constructors

new FunctionInvoke()

new FunctionInvoke(props, tokens): FunctionInvoke

Parameters

props
name

string

params

Record<string, Evaluable<ValueType>>

tokens

Token[]

Returns

FunctionInvoke

Overrides

Evaluable.constructor

Defined in

core/node/function.ts:42

Properties

name

name: string

Defined in

core/node/function.ts:39


params

params: Record<string, Evaluable<ValueType>>

Defined in

core/node/function.ts:40


tokens

tokens: Token[]

Inherited from

Evaluable.tokens

Defined in

core/node/function.ts:44


friendlyName

static friendlyName: string = '약속 사용하기'

Overrides

Evaluable.friendlyName

Defined in

core/node/function.ts:37

Methods

execute()

execute(scope, args?): Promise<ValueType>

Parameters

scope

Scope

args?

FunctionInvokingParams

Returns

Promise<ValueType>

Overrides

Evaluable.execute

Defined in

core/node/function.ts:52


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