Skip to content

달빛약속 / NumberLiteral

Class: NumberLiteral

Extends

Indexable

[key: string]: unknown

Constructors

new NumberLiteral()

new NumberLiteral(content, position?): NumberLiteral

Parameters

content

number

position?

Position

Returns

NumberLiteral

Overrides

Evaluable.constructor

Defined in

core/node/primitive-literal.ts:11

Properties

position?

optional position: Position

Inherited from

Evaluable.position

Defined in

core/node/primitive-literal.ts:11


friendlyName

static friendlyName: string = '숫자'

Overrides

Evaluable.friendlyName

Defined in

core/node/primitive-literal.ts:9

Methods

execute()

execute(_scope, _callFrame): Promise<NumberValue>

Parameters

_scope

Scope

_callFrame

CallFrame

Returns

Promise<NumberValue>

Overrides

Evaluable.execute

Defined in

core/node/primitive-literal.ts:15


toJSON()

toJSON(): object

Returns

object

Inherited from

Evaluable.toJSON

Defined in

core/node/base.ts:12


toPrint()

toPrint(): string

Returns

string

Overrides

Evaluable.toPrint

Defined in

core/node/primitive-literal.ts:22