Skip to content

달빛약속 / core/mod / SetVariable

Class: SetVariable

Extends

Indexable

[key: string]: unknown

Constructors

new SetVariable()

new SetVariable(name, value, tokens): SetVariable

Parameters

name

string

value

Evaluable<ValueType>

tokens

Token[]

Returns

SetVariable

Overrides

Evaluable.constructor

Defined in

core/node/variable.ts:13

Properties

name

name: string

Defined in

core/node/variable.ts:14


tokens

tokens: Token[]

Inherited from

Evaluable.tokens

Defined in

core/node/variable.ts:16


value

value: Evaluable<ValueType>

Defined in

core/node/variable.ts:15


friendlyName

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

Overrides

Evaluable.friendlyName

Defined in

core/node/variable.ts:11

Methods

assertValidName()

assertValidName(): void

Returns

void

Defined in

core/node/variable.ts:31


execute()

execute(scope): Promise<ValueType>

Parameters

scope

Scope

Returns

Promise<ValueType>

Overrides

Evaluable.execute

Defined in

core/node/variable.ts:22


toJSON()

toJSON(): object

Returns

object

Inherited from

Evaluable.toJSON

Defined in

core/node/base.ts:13


toPrint()

toPrint(): string

Returns

string

Inherited from

Evaluable.toPrint

Defined in

core/node/base.ts:32