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


onRunChild()

protected onRunChild(__namedParameters): Promise<void>

Parameters

__namedParameters
childTokens

Token[]

scope

Scope

skipReport

boolean = false

Returns

Promise<void>

Inherited from

Executable.onRunChild

Defined in

core/node/base.ts:44


toJSON()

toJSON(): object

Returns

object

Inherited from

Executable.toJSON

Defined in

core/node/base.ts:21


toPrint()

toPrint(): string

Returns

string

Inherited from

Executable.toPrint

Defined in

core/node/base.ts:40


validate()

validate(_scope): YaksokError<unknown>[]

Parameters

_scope

Scope

Returns

YaksokError<unknown>[]

Inherited from

Executable.validate

Defined in

core/node/base.ts:17