yaksok.ts • Docs
yaksok.ts / Operator
Class: Operator
Extends
Extended by
RangeOperator
PlusOperator
MinusOperator
MultiplyOperator
DivideOperator
ModularOperator
PowerOperator
IntegerDivideOperator
EqualOperator
AndOperator
OrOperator
GreaterThanOperator
LessThanOperator
GreaterThanOrEqualOperator
LessThanOrEqualOperator
Constructors
new Operator()
ts
new Operator(value?, position?): Operator
Parameters
• value?: string
• position?: Position
Returns
Overrides
Defined in
Properties
position?
ts
optional position: Position;
Inherited from
Defined in
value?
ts
optional value: string;
Defined in
friendlyName
ts
static friendlyName: string = '연산자';
Overrides
Defined in
Methods
call()
ts
call(..._operands): ValueTypes
Parameters
• ..._operands: ValueTypes
[]
Returns
Defined in
toJSON()
ts
toJSON(): object
Returns
object
Inherited from
Defined in
toPrint()
ts
toPrint(): string
Returns
string