Skip to content

달빛약속 / SetVariable

Class: SetVariable

Extends

Indexable

[key: string]: unknown

Constructors

new SetVariable()

new SetVariable(name, value): SetVariable

Parameters

name

string

value

Evaluable<ValueType>

Returns

SetVariable

Overrides

Evaluable.constructor

Defined in

core/node/variable.ts:27

Properties

name

name: string

Defined in

core/node/variable.ts:27


position?

optional position: Position

Inherited from

Evaluable.position

Defined in

core/node/base.ts:9


value

value: Evaluable<ValueType>

Defined in

core/node/variable.ts:27


friendlyName

static friendlyName: string = '변수 정하기'

Overrides

Evaluable.friendlyName

Defined in

core/node/variable.ts:25

Methods

assertValidName()

assertValidName(): void

Returns

void

Defined in

core/node/variable.ts:45


execute()

execute(scope, _callFrame): Promise<ValueType>

Parameters

scope

Scope

_callFrame

CallFrame

Returns

Promise<ValueType>

Overrides

Evaluable.execute

Defined in

core/node/variable.ts:32


toJSON()

toJSON(): object

Returns

object

Inherited from

Evaluable.toJSON

Defined in

core/node/base.ts:12


toPrint()

toPrint(): string

Returns

string

Inherited from

Evaluable.toPrint

Defined in

core/node/base.ts:31