Skip to content

yaksok.tsDocs


yaksok.ts / PowerOperator

Class: PowerOperator

Extends

Constructors

new PowerOperator()

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

Parameters

value?: string

position?: Position

Returns

PowerOperator

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

Methods

call()

ts
call(...operands): NumberValue

Parameters

• ...operands: ValueTypes[]

Returns

NumberValue

Overrides

Operator.call

Defined in

src/node/operator.ts:155


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