Skip to content

yaksok.tsDocs


yaksok.ts / StringValue

Class: StringValue

Extends

Constructors

new StringValue()

ts
new StringValue(content, position?): StringValue

Parameters

content: string

position?: Position

Returns

StringValue

Overrides

PrimitiveValue.constructor

Defined in

src/node/primitive.ts:36

Properties

position?

ts
optional position: Position;

Inherited from

PrimitiveValue.position

Defined in

src/node/primitive.ts:36


value

ts
value: string;

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

Methods

execute()

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

Parameters

_scope: Scope

_callFrame: CallFrame

Returns

PrimitiveValue<string>

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