Skip to content

달빛약속 / ElseStatement

Class: ElseStatement

Extends

Indexable

[key: string]: unknown

Constructors

new ElseStatement()

new ElseStatement(body): ElseStatement

Parameters

body

Block

Returns

ElseStatement

Overrides

Executable.constructor

Defined in

core/node/IfStatement.ts:49

Properties

body

body: Block

Defined in

core/node/IfStatement.ts:49


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/IfStatement.ts:47

Methods

execute()

execute(_scope, _callFrame): Promise<unknown>

Parameters

_scope

Scope

_callFrame

CallFrame

Returns

Promise<unknown>

Inherited from

Executable.execute

Defined in

core/node/base.ts:27


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