Formula
Defined in: core/node/calculation.ts:83
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new Formula(
terms,tokens):Formula
Defined in: core/node/calculation.ts:88
Parameters
Section titled “Parameters”(Evaluable<SubnodeScheme, ValueType> | Operator)[]
tokens
Section titled “tokens”Token[]
Returns
Section titled “Returns”Formula
Overrides
Section titled “Overrides”Properties
Section titled “Properties”parsingErrors
Section titled “parsingErrors”parsingErrors:
YaksokError<unknown>[] =[]
Defined in: core/node/calculation.ts:86
subnode
Section titled “subnode”subnode: (
Evaluable<SubnodeScheme,ValueType> |Operator)[]
Defined in: core/node/base.ts:29
Inherited from
Section titled “Inherited from”tokens
Section titled “tokens”tokens:
Token[]
Defined in: core/node/calculation.ts:90
Inherited from
Section titled “Inherited from”value?
Section titled “value?”
optionalvalue?:string
Defined in: core/node/base.ts:30
Inherited from
Section titled “Inherited from”accepts
Section titled “accepts”
staticaccepts:NodeCapability[] =[]
Defined in: core/node/base.ts:33
Inherited from
Section titled “Inherited from”friendlyName
Section titled “friendlyName”
staticfriendlyName:string='계산식'
Defined in: core/node/calculation.ts:84
Overrides
Section titled “Overrides”Methods
Section titled “Methods”execute()
Section titled “execute()”execute(
scope):Promise<ValueType>
Defined in: core/node/calculation.ts:96
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Promise<ValueType>
Overrides
Section titled “Overrides”injectParsingError()
Section titled “injectParsingError()”injectParsingError(
parsingError):void
Defined in: core/node/calculation.ts:246
Parameters
Section titled “Parameters”parsingError
Section titled “parsingError”Returns
Section titled “Returns”void
toPrint()
Section titled “toPrint()”toPrint():
string
Defined in: core/node/base.ts:63
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”validate()
Section titled “validate()”validate(
scope):YaksokError<unknown>[]
Defined in: core/node/calculation.ts:159
Parameters
Section titled “Parameters”Returns
Section titled “Returns”YaksokError<unknown>[]