Skip to content

달빛약속 / core/mod / DeclareFunction

Class: DeclareFunction

Extends

Indexable

[key: string]: unknown

Constructors

new DeclareFunction()

new DeclareFunction(props, tokens): DeclareFunction

Parameters

props
body

Block

name

string

tokens

Token[]

Returns

DeclareFunction

Overrides

Executable.constructor

Defined in

core/node/function.ts:18

Properties

body

body: Block

Defined in

core/node/function.ts:16


name

name: string

Defined in

core/node/function.ts:15


tokens

tokens: Token[]

Inherited from

Executable.tokens

Defined in

core/node/function.ts:20


friendlyName

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

Overrides

Executable.friendlyName

Defined in

core/node/function.ts:13

Methods

execute()

execute(scope): Promise<void>

Parameters

scope

Scope

Returns

Promise<void>

Overrides

Executable.execute

Defined in

core/node/function.ts:28


toJSON()

toJSON(): object

Returns

object

Inherited from

Executable.toJSON

Defined in

core/node/base.ts:13


toPrint()

toPrint(): string

Returns

string

Inherited from

Executable.toPrint

Defined in

core/node/base.ts:32