Skip to content

달빛약속 / DeclareFunction

Class: DeclareFunction

Extends

Indexable

[key: string]: unknown

Constructors

new DeclareFunction()

new DeclareFunction(props): DeclareFunction

Parameters

props
body

Block

name

string

Returns

DeclareFunction

Overrides

Executable.constructor

Defined in

core/node/function.ts:17

Properties

body

body: Block

Defined in

core/node/function.ts:15


name

name: string

Defined in

core/node/function.ts:14


position?

optional position: Position

Inherited from

Executable.position

Defined in

core/node/base.ts:9


friendlyName

static friendlyName: string = '새 약속 만들기'

Overrides

Executable.friendlyName

Defined in

core/node/function.ts:12

Methods

execute()

execute(scope, _callFrame): Promise<void>

Parameters

scope

Scope

_callFrame

CallFrame

Returns

Promise<void>

Overrides

Executable.execute

Defined in

core/node/function.ts:24


toJSON()

toJSON(): object

Returns

object

Inherited from

Executable.toJSON

Defined in

core/node/base.ts:12


toPrint()

toPrint(): string

Returns

string

Inherited from

Executable.toPrint

Defined in

core/node/base.ts:31