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