Skip to content

달빛약속 / core/mod / ElseStatement

Class: ElseStatement ​

Extends ​

Indexable ​

[key: string]: unknown

Constructors ​

new ElseStatement() ​

new ElseStatement(body, tokens): ElseStatement

Parameters ​

body ​

Block

tokens ​

Token[]

Returns ​

ElseStatement

Overrides ​

Executable.constructor

Defined in ​

core/node/IfStatement.ts:56

Properties ​

body ​

body: Block

Defined in ​

core/node/IfStatement.ts:56


tokens ​

tokens: Token[]

Inherited from ​

Executable.tokens

Defined in ​

core/node/IfStatement.ts:56


friendlyName ​

static friendlyName: string = '조건문(아니면)'

Overrides ​

Executable.friendlyName

Defined in ​

core/node/IfStatement.ts:54

Methods ​

execute() ​

execute(_scope): Promise<unknown>

Parameters ​

_scope ​

Scope

Returns ​

Promise<unknown>

Inherited from ​

Executable.execute

Defined in ​

core/node/base.ts:35


toJSON() ​

toJSON(): object

Returns ​

object

Inherited from ​

Executable.toJSON

Defined in ​

core/node/base.ts:20


toPrint() ​

toPrint(): string

Returns ​

string

Inherited from ​

Executable.toPrint

Defined in ​

core/node/base.ts:39


validate() ​

validate(_scope): YaksokError<unknown>[]

Parameters ​

_scope ​

Scope

Returns ​

YaksokError<unknown>[]

Inherited from ​

Executable.validate

Defined in ​

core/node/base.ts:16