Skip to content

yaksok.tsDocs


yaksok.ts / PrimitiveValue

Class: PrimitiveValue<T>

Extends

Extended by

Type Parameters

T

Constructors

new PrimitiveValue()

ts
new PrimitiveValue<T>(content): PrimitiveValue<T>

Parameters

content: T

Returns

PrimitiveValue<T>

Overrides

Evaluable.constructor

Defined in

src/node/primitive.ts:11

Properties

position?

ts
optional position: Position;

Inherited from

Evaluable.position

Defined in

src/node/base.ts:16


value

ts
value: T;

Defined in

src/node/primitive.ts:9


friendlyName

ts
static friendlyName: string = '원시값';

Overrides

Evaluable.friendlyName

Defined in

src/node/primitive.ts:7

Methods

execute()

ts
execute(_scope, _callFrame): PrimitiveValue<T>

Parameters

_scope: Scope

_callFrame: CallFrame

Returns

PrimitiveValue<T>

Overrides

Evaluable.execute

Defined in

src/node/primitive.ts:16


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