달빛약속 / core/mod / NumberLiteral
Class: NumberLiteral
Extends
Indexable
[key
: string
]: unknown
Constructors
new NumberLiteral()
new NumberLiteral(
content
,tokens
):NumberLiteral
Parameters
content
number
tokens
Token
[]
Returns
Overrides
Defined in
core/node/primitive-literal.ts:10
Properties
tokens
tokens:
Token
[]
Inherited from
Defined in
core/node/primitive-literal.ts:10
friendlyName
static
friendlyName:string
='숫자'
Overrides
Defined in
core/node/primitive-literal.ts:8
Methods
execute()
execute(
_scope
):Promise
<NumberValue
>
Parameters
_scope
Returns
Promise
<NumberValue
>
Overrides
Defined in
core/node/primitive-literal.ts:14
toJSON()
toJSON():
object
Returns
object
Inherited from
Defined in
toPrint()
toPrint():
string
Returns
string