Skip to content

yaksok.tsDocs


yaksok.ts / SetVariable

Class: SetVariable

Extends

Constructors

new SetVariable()

ts
new SetVariable(name, value): SetVariable

Parameters

name: string

value: Evaluable

Returns

SetVariable

Overrides

Evaluable.constructor

Defined in

src/node/variable.ts:25

Properties

name

ts
name: string;

Defined in

src/node/variable.ts:25


position?

ts
optional position: Position;

Inherited from

Evaluable.position

Defined in

src/node/base.ts:16


value

ts
value: Evaluable;

Defined in

src/node/variable.ts:25


friendlyName

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

Overrides

Evaluable.friendlyName

Defined in

src/node/variable.ts:23

Methods

assertValidName()

ts
assertValidName(): void

Returns

void

Defined in

src/node/variable.ts:40


execute()

ts
execute(scope, _callFrame): ValueTypes

Parameters

scope: Scope

_callFrame: CallFrame

Returns

ValueTypes

Overrides

Evaluable.execute

Defined in

src/node/variable.ts:30


toJSON()

ts
toJSON(): object

Returns

object

Inherited from

Evaluable.toJSON

Defined in

src/node/base.ts:19


toPrint()

ts
toPrint(): string

Returns

string

Inherited from

Evaluable.toPrint

Defined in

src/node/base.ts:36