yaksok.ts • Docs
yaksok.ts / Formula
Class: Formula
Extends
Constructors
new Formula()
ts
new Formula(terms): Formula
Parameters
• terms: (Evaluable
| Operator
)[]
Returns
Overrides
Defined in
Properties
position?
ts
optional position: Position;
Inherited from
Defined in
terms
ts
terms: (Evaluable | Operator)[];
Defined in
friendlyName
ts
static friendlyName: string = '계산식';
Overrides
Defined in
Methods
calculateOperatorWithPrecedence()
ts
calculateOperatorWithPrecedence(
terms,
precedence,
scope,
callFrame): void
Parameters
• terms: (Evaluable
| Operator
)[]
• precedence: number
• scope: Scope
• callFrame: CallFrame
Returns
void
Defined in
execute()
ts
execute(scope, _callFrame): ValueTypes
Parameters
• scope: Scope
• _callFrame: CallFrame
Returns
Overrides
Defined in
toJSON()
ts
toJSON(): object
Returns
object
Inherited from
Defined in
toPrint()
ts
toPrint(): string
Returns
string