Skip to content

달빛약속 / core/mod / MultiplyOperator

Class: MultiplyOperator

Extends

Indexable

[key: string]: unknown

Constructors

new MultiplyOperator()

new MultiplyOperator(tokens): MultiplyOperator

Parameters

tokens

Token[]

Returns

MultiplyOperator

Overrides

Operator.constructor

Defined in

core/node/operator.ts:87

Properties

tokens

tokens: Token[]

Inherited from

Operator.tokens

Defined in

core/node/operator.ts:87


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

Methods

call()

call(...operands): NumberValue | StringValue

Parameters

operands

...ValueType[]

Returns

NumberValue | StringValue

Overrides

Operator.call

Defined in

core/node/operator.ts:95


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