Skip to content

Formula

Defined in: core/node/calculation.ts:83

new Formula(terms, tokens): Formula

Defined in: core/node/calculation.ts:88

(Evaluable<SubnodeScheme, ValueType> | Operator)[]

Token[]

Formula

Evaluable.constructor

parsingErrors: YaksokError<unknown>[] = []

Defined in: core/node/calculation.ts:86


subnode: (Evaluable<SubnodeScheme, ValueType> | Operator)[]

Defined in: core/node/base.ts:29

Evaluable.subnode


tokens: Token[]

Defined in: core/node/calculation.ts:90

Evaluable.tokens


optional value?: string

Defined in: core/node/base.ts:30

Evaluable.value


static accepts: NodeCapability[] = []

Defined in: core/node/base.ts:33

Evaluable.accepts


static friendlyName: string = '계산식'

Defined in: core/node/calculation.ts:84

Evaluable.friendlyName

execute(scope): Promise<ValueType>

Defined in: core/node/calculation.ts:96

Scope

Promise<ValueType>

Evaluable.execute


injectParsingError(parsingError): void

Defined in: core/node/calculation.ts:246

YaksokError

void


toPrint(): string

Defined in: core/node/base.ts:63

string

Evaluable.toPrint


validate(scope): YaksokError<unknown>[]

Defined in: core/node/calculation.ts:159

Scope

YaksokError<unknown>[]

Evaluable.validate