Skip to content

yaksok.tsDocs


yaksok.ts / ModularOperator

Class: ModularOperator

Extends

Constructors

new ModularOperator()

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

Parameters

value?: string

position?: Position

Returns

ModularOperator

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

Methods

call()

ts
call(...operands): NumberValue

Parameters

• ...operands: ValueTypes[]

Returns

NumberValue

Overrides

Operator.call

Defined in

src/node/operator.ts:132


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