Skip to content

yaksok.tsDocs


yaksok.ts / Block

Class: Block

Extends

Constructors

new Block()

ts
new Block(content): Block

Parameters

content: Node[]

Returns

Block

Overrides

Executable.constructor

Defined in

src/node/block.ts:12

Properties

children

ts
children: Node[];

Defined in

src/node/block.ts:10


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/block.ts:8

Methods

execute()

ts
execute(scope, _callFrame): void

Parameters

scope: Scope

_callFrame: CallFrame

Returns

void

Overrides

Executable.execute

Defined in

src/node/block.ts:17


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