Skip to content

yaksok.tsDocs


yaksok.ts / MinusOperator

Class: MinusOperator

Extends

Constructors

new MinusOperator()

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

Parameters

value?: string

position?: Position

Returns

MinusOperator

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

Methods

call()

ts
call(...operands): NumberValue

Parameters

• ...operands: ValueTypes[]

Returns

NumberValue

Overrides

Operator.call

Defined in

src/node/operator.ts:54


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