Skip to content

달빛약속 / core/mod / IntegerDivideOperator

Class: IntegerDivideOperator

Extends

Indexable

[key: string]: unknown

Constructors

new IntegerDivideOperator()

new IntegerDivideOperator(tokens): IntegerDivideOperator

Parameters

tokens

Token[]

Returns

IntegerDivideOperator

Overrides

Operator.constructor

Defined in

core/node/operator.ts:204

Properties

tokens

tokens: Token[]

Inherited from

Operator.tokens

Defined in

core/node/operator.ts:204


value

value: string

Inherited from

Operator.value

Defined in

core/node/base.ts:72


friendlyName

static friendlyName: string = '정수 나누기(//)'

Overrides

Operator.friendlyName

Defined in

core/node/operator.ts:202

Methods

call()

call(...operands): NumberValue

Parameters

operands

...ValueType[]

Returns

NumberValue

Overrides

Operator.call

Defined in

core/node/operator.ts:212


toJSON()

toJSON(): object

Returns

object

Inherited from

Operator.toJSON

Defined in

core/node/base.ts:13


toPrint()

toPrint(): string

Returns

string

Overrides

Operator.toPrint

Defined in

core/node/operator.ts:208