Skip to content

yaksok.tsDocs


yaksok.ts / Operator

Class: Operator

Extends

Extended by

Constructors

new Operator()

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

Parameters

value?: string

position?: Position

Returns

Operator

Overrides

Node.constructor

Defined in

src/node/base.ts:76

Properties

position?

ts
optional position: Position;

Inherited from

Node.position

Defined in

src/node/base.ts:76


value?

ts
optional value: string;

Defined in

src/node/base.ts:76


friendlyName

ts
static friendlyName: string = '연산자';

Overrides

Node.friendlyName

Defined in

src/node/base.ts:74

Methods

call()

ts
call(..._operands): ValueTypes

Parameters

• ..._operands: ValueTypes[]

Returns

ValueTypes

Defined in

src/node/base.ts:84


toJSON()

ts
toJSON(): object

Returns

object

Inherited from

Node.toJSON

Defined in

src/node/base.ts:19


toPrint()

ts
toPrint(): string

Returns

string

Overrides

Node.toPrint

Defined in

src/node/base.ts:80