Skip to content

달빛약속 / DeclareFunction

Class: DeclareFunction ​

Extends ​

  • unknown<Block>

Constructors ​

DeclareFunction() ​

DeclareFunction(body, header, tokens): DeclareFunction

Parameters ​

• body: Block

• header: FunctionDeclareHeader<약속>

• tokens: Token[]

Returns ​

DeclareFunction

Overrides ​

Executable<Block>.constructor

Defined in ​

core/node/function.ts:133

Properties ​

readonly header: FunctionDeclareHeader<약속>

Defined in ​

core/node/function.ts:135


tokens ​

tokens: Token[]

Defined in ​

core/node/function.ts:136


accepts ​

static accepts: any[]

Defined in ​

core/node/function.ts:131


friendlyName ​

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

Defined in ​

core/node/function.ts:130

Methods ​

execute() ​

execute(scope): Promise<void>

Parameters ​

• scope: Scope

Returns ​

Promise<void>

Defined in ​

core/node/function.ts:142


validate() ​

validate(scope): YaksokError[]

Parameters ​

• scope: Scope

Returns ​

YaksokError[]

Defined in ​

core/node/function.ts:162