Skip to content

yaksok.tsDocs


yaksok.ts / NumberValue

Class: NumberValue

Extends

Constructors

new NumberValue()

ts
new NumberValue(content, position?): NumberValue

Parameters

content: number

position?: Position

Returns

NumberValue

Overrides

PrimitiveValue.constructor

Defined in

src/node/primitive.ts:24

Properties

position?

ts
optional position: Position;

Inherited from

PrimitiveValue.position

Defined in

src/node/primitive.ts:24


value

ts
value: number;

Inherited from

PrimitiveValue.value

Defined in

src/node/primitive.ts:9


friendlyName

ts
static friendlyName: string = '숫자';

Overrides

PrimitiveValue.friendlyName

Defined in

src/node/primitive.ts:22

Methods

execute()

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

Parameters

_scope: Scope

_callFrame: CallFrame

Returns

PrimitiveValue<number>

Inherited from

PrimitiveValue.execute

Defined in

src/node/primitive.ts:16


toJSON()

ts
toJSON(): object

Returns

object

Inherited from

PrimitiveValue.toJSON

Defined in

src/node/base.ts:19


toPrint()

ts
toPrint(): string

Returns

string

Overrides

PrimitiveValue.toPrint

Defined in

src/node/primitive.ts:28