Skip to content

yaksok.tsDocs


yaksok.ts / ElseStatement

Class: ElseStatement

Extends

Constructors

new ElseStatement()

ts
new ElseStatement(body): ElseStatement

Parameters

body: Block

Returns

ElseStatement

Overrides

Executable.constructor

Defined in

src/node/IfStatement.ts:45

Properties

body

ts
body: Block;

Defined in

src/node/IfStatement.ts:45


position?

ts
optional position: Position;

Inherited from

Executable.position

Defined in

src/node/base.ts:16


friendlyName

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

Overrides

Executable.friendlyName

Defined in

src/node/IfStatement.ts:43

Methods

execute()

ts
execute(_scope, _callFrame): void

Parameters

_scope: Scope

_callFrame: CallFrame

Returns

void

Inherited from

Executable.execute

Defined in

src/node/base.ts:33


toJSON()

ts
toJSON(): object

Returns

object

Inherited from

Executable.toJSON

Defined in

src/node/base.ts:19


toPrint()

ts
toPrint(): string

Returns

string

Inherited from

Executable.toPrint

Defined in

src/node/base.ts:36