달빛약속 / Formula
Class: Formula
Extends
Indexable
[key
: string
]: unknown
Constructors
new Formula()
new Formula(
terms
):Formula
Parameters
terms
(Evaluable
<ValueType
> | Operator
)[]
Returns
Overrides
Defined in
Properties
position?
optional
position:Position
Inherited from
Defined in
terms
Defined in
friendlyName
static
friendlyName:string
='계산식'
Overrides
Defined in
Methods
calculateOperatorWithPrecedence()
calculateOperatorWithPrecedence(
terms
,precedence
,scope
,callFrame
):Promise
<void
>
Parameters
terms
(ValueType
| Evaluable
<ValueType
> | Operator
)[]
precedence
number
scope
callFrame
CallFrame
Returns
Promise
<void
>
Defined in
execute()
execute(
scope
,_callFrame
):Promise
<ValueType
>
Parameters
scope
_callFrame
CallFrame
Returns
Promise
<ValueType
>
Overrides
Defined in
toJSON()
toJSON():
object
Returns
object
Inherited from
Defined in
toPrint()
toPrint():
string
Returns
string