Class: Formula
Extends
Indexable
[key
: string
]: unknown
Constructors
new Formula()
new Formula(
terms
,tokens
):Formula
Parameters
terms
(Evaluable
<ValueType
> | Operator
)[]
tokens
Token
[]
Returns
Overrides
Defined in
Properties
terms
Defined in
tokens
tokens:
Token
[]
Inherited from
Defined in
friendlyName
static
friendlyName:string
='계산식'
Overrides
Defined in
Methods
calculateOperatorWithPrecedence()
calculateOperatorWithPrecedence(
termsWithToken
,precedence
,scope
):Promise
<void
>
Parameters
termsWithToken
object
[]
precedence
number
scope
Returns
Promise
<void
>
Defined in
execute()
execute(
scope
):Promise
<ValueType
>
Parameters
scope
Returns
Promise
<ValueType
>
Overrides
Defined in
toJSON()
toJSON():
object
Returns
object
Inherited from
Defined in
toPrint()
toPrint():
string
Returns
string