Skip to content

yaksok.tsDocs


yaksok.ts / PlusOperator

Class: PlusOperator

Extends

Constructors

new PlusOperator()

ts
new PlusOperator(value?, position?): PlusOperator

Parameters

value?: string

position?: Position

Returns

PlusOperator

Inherited from

Operator.constructor

Defined in

src/node/base.ts:76

Properties

position?

ts
optional position: Position;

Inherited from

Operator.position

Defined in

src/node/base.ts:76


value?

ts
optional value: string;

Inherited from

Operator.value

Defined in

src/node/base.ts:76


friendlyName

ts
static friendlyName: string = '더하기(+)';

Overrides

Operator.friendlyName

Defined in

src/node/operator.ts:12

Methods

call()

ts
call(...operands): NumberValue | StringValue

Parameters

• ...operands: ValueTypes[]

Returns

NumberValue | StringValue

Overrides

Operator.call

Defined in

src/node/operator.ts:18


toJSON()

ts
toJSON(): object

Returns

object

Inherited from

Operator.toJSON

Defined in

src/node/base.ts:19


toPrint()

ts
toPrint(): string

Returns

string

Overrides

Operator.toPrint

Defined in

src/node/operator.ts:14