Skip to content

달빛약속 / MultiplyOperator

Class: MultiplyOperator ​

Extends ​

Constructors ​

MultiplyOperator() ​

MultiplyOperator(tokens): MultiplyOperator

Parameters ​

• tokens: Token[]

Returns ​

MultiplyOperator

Overrides ​

Operator.constructor

Defined in ​

core/node/operator.ts:136

Properties ​

subnode ​

subnode: unknown

Inherited from ​

Operator.subnode

Defined in ​

core/node/base.ts:29


tokens ​

tokens: Token[]

Inherited from ​

Operator.tokens

Defined in ​

core/node/operator.ts:136


value ​

value: string

Inherited from ​

Operator.value

Defined in ​

core/node/base.ts:186


accepts ​

static accepts: NodeCapability[] = []

Inherited from ​

Operator.accepts

Defined in ​

core/node/base.ts:33


friendlyName ​

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

Overrides ​

Operator.friendlyName

Defined in ​

core/node/operator.ts:133


sign ​

static sign: string = '*'

Defined in ​

core/node/operator.ts:134

Methods ​

call() ​

call(left, right): Promise<ListValue | NumberValue | StringValue>

Parameters ​

• left

• right

Returns ​

Promise<ListValue | NumberValue | StringValue>

Overrides ​

Operator.call

Defined in ​

core/node/operator.ts:144


getNodeTypeName() ​

protected getNodeTypeName(): string

Returns ​

string

Inherited from ​

Operator.getNodeTypeName

Defined in ​

core/node/base.ts:45


toPrint() ​

toPrint(): string

Returns ​

string

Overrides ​

Operator.toPrint

Defined in ​

core/node/operator.ts:140


validate() ​

validate(): YaksokError[]

Returns ​

YaksokError[]

Inherited from ​

Operator.validate

Defined in ​

core/node/base.ts:203