Skip to content

달빛약속 / MultiplyOperator

Class: MultiplyOperator

Extends

Indexable

[key: string]: unknown

Constructors

new MultiplyOperator()

new MultiplyOperator(value?, position?): MultiplyOperator

Parameters

value?

string

position?

Position

Returns

MultiplyOperator

Inherited from

Operator.constructor

Defined in

core/node/base.ts:71

Properties

position?

optional position: Position

Inherited from

Operator.position

Defined in

core/node/base.ts:71


value?

optional value: string

Inherited from

Operator.value

Defined in

core/node/base.ts:71


friendlyName

static friendlyName: string = '곱하기(*)'

Overrides

Operator.friendlyName

Defined in

core/node/operator.ts:67

Methods

call()

call(...operands): NumberValue | StringValue

Parameters

operands

...ValueType[]

Returns

NumberValue | StringValue

Overrides

Operator.call

Defined in

core/node/operator.ts:73


toJSON()

toJSON(): object

Returns

object

Inherited from

Operator.toJSON

Defined in

core/node/base.ts:12


toPrint()

toPrint(): string

Returns

string

Overrides

Operator.toPrint

Defined in

core/node/operator.ts:69