Skip to content

달빛약속 / core/mod / ElseIfStatement

Class: ElseIfStatement

Extends

Indexable

[key: string]: unknown

Constructors

new ElseIfStatement()

new ElseIfStatement(elseIfCase, tokens): ElseIfStatement

Parameters

elseIfCase

Case

tokens

Token[]

Returns

ElseIfStatement

Overrides

Executable.constructor

Defined in

core/node/IfStatement.ts:50

Properties

elseIfCase

elseIfCase: Case

Defined in

core/node/IfStatement.ts:50


tokens

tokens: Token[]

Inherited from

Executable.tokens

Defined in

core/node/IfStatement.ts:50


friendlyName

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

Overrides

Executable.friendlyName

Defined in

core/node/IfStatement.ts:48

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