Skip to content

달빛약속 / Block

Class: Block

Extends

Indexable

[key: string]: unknown

Constructors

new Block()

new Block(content): Block

Parameters

content

Node[]

Returns

Block

Overrides

Executable.constructor

Defined in

core/node/block.ts:12

Properties

children

children: Node[]

Defined in

core/node/block.ts:10


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

Methods

execute()

execute(scope, _callFrame): Promise<void>

Parameters

scope

Scope

_callFrame

CallFrame

Returns

Promise<void>

Overrides

Executable.execute

Defined in

core/node/block.ts:17


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