Skip to content

달빛약속 / FunctionObject

Class: FunctionObject ​

Extends ​

  • unknown

Implements ​

Constructors ​

FunctionObject() ​

FunctionObject(name, body, invokeRules, declaredScope): FunctionObject

Parameters ​

• name: string

• body: Block

• invokeRules: Rule[]

• declaredScope: Scope

Returns ​

FunctionObject

Overrides ​

ObjectValue.constructor

Defined in ​

core/value/function.ts:17

Properties ​

invokeRules ​

invokeRules: Rule[]

Implementation of ​

RunnableObject.invokeRules

Defined in ​

core/value/function.ts:20


name ​

name: string

Implementation of ​

RunnableObject.name

Defined in ​

core/value/function.ts:18


friendlyName ​

static friendlyName: string = '약속'

Defined in ​

core/value/function.ts:15

Methods ​

run() ​

run(args): Promise<ValueType>

Parameters ​

• args: Map<string, ValueType>

Returns ​

Promise<ValueType>

Implementation of ​

RunnableObject.run

Defined in ​

core/value/function.ts:26