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:42

Properties

body

body: Block

Defined in

core/node/IfStatement.ts:42


tokens

tokens: Token[]

Inherited from

Executable.tokens

Defined in

core/node/IfStatement.ts:42


friendlyName

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

Overrides

Executable.friendlyName

Defined in

core/node/IfStatement.ts:40

Methods

execute()

execute(_scope): Promise<unknown>

Parameters

_scope

Scope

Returns

Promise<unknown>

Inherited from

Executable.execute

Defined in

core/node/base.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