Skip to content

달빛약속 / StringLiteral

Class: StringLiteral

Extends

Indexable

[key: string]: unknown

Constructors

new StringLiteral()

new StringLiteral(content, position?): StringLiteral

Parameters

content

string

position?

Position

Returns

StringLiteral

Overrides

Evaluable.constructor

Defined in

core/node/primitive-literal.ts:30

Properties

position?

optional position: Position

Inherited from

Evaluable.position

Defined in

core/node/primitive-literal.ts:30


friendlyName

static friendlyName: string = '문자'

Overrides

Evaluable.friendlyName

Defined in

core/node/primitive-literal.ts:28

Methods

execute()

execute(_scope, _callFrame): Promise<StringValue>

Parameters

_scope

Scope

_callFrame

CallFrame

Returns

Promise<StringValue>

Overrides

Evaluable.execute

Defined in

core/node/primitive-literal.ts:34


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:41