@univerjs/engine-formula 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -5
- package/lib/cjs/facade.js +2 -2
- package/lib/cjs/index.js +13 -4
- package/lib/cjs/{plugin-CDy-SbDF.js → plugin-BLJLwyCu.js} +2467 -1554
- package/lib/cjs/worker.js +1 -1
- package/lib/es/facade.js +2 -2
- package/lib/es/index.js +2 -2
- package/lib/es/{plugin-BO47k05w.js → plugin-USnMdaGa.js} +2546 -1627
- package/lib/es/worker.js +1 -1
- package/lib/facade.js +2 -2
- package/lib/index.js +2 -2
- package/lib/{plugin-BO47k05w.js → plugin-USnMdaGa.js} +2546 -1627
- package/lib/types/basics/complex.d.ts +10 -4
- package/lib/types/basics/date.d.ts +6 -1
- package/lib/types/basics/function.d.ts +2 -1
- package/lib/types/basics/inverted-index-cache.d.ts +2 -1
- package/lib/types/controllers/calculate.controller.d.ts +0 -2
- package/lib/types/engine/analysis/lexer-tree-builder.d.ts +1 -3
- package/lib/types/engine/analysis/lexer.d.ts +6 -2
- package/lib/types/engine/analysis/parser.d.ts +3 -1
- package/lib/types/engine/ast-node/reference-node.d.ts +1 -4
- package/lib/types/engine/ast-node/union-node.d.ts +1 -3
- package/lib/types/engine/reference-object/base-reference-object.d.ts +5 -3
- package/lib/types/engine/utils/generate-ast-node.d.ts +0 -2
- package/lib/types/engine/utils/three-dimensional-reference.d.ts +21 -0
- package/lib/types/engine/value-object/array-value-object.d.ts +4 -0
- package/lib/types/index.d.ts +3 -2
- package/lib/types/models/formula-data-snapshot.d.ts +24 -0
- package/lib/types/models/formula-data.model.d.ts +9 -1
- package/lib/types/services/calculate-formula.service.d.ts +11 -1
- package/lib/types/services/current-data.service.d.ts +12 -0
- package/lib/types/services/formula/formula-calculation-session.service.d.ts +2 -1
- package/lib/types/services/formula-cache.service.d.ts +47 -0
- package/lib/types/services/formula-result.service.d.ts +29 -0
- package/lib/types/services/function.service.d.ts +3 -0
- package/lib/types/services/runtime.service.d.ts +15 -3
- package/lib/umd/index.js +4 -4
- package/lib/worker.js +1 -1
- package/package.json +6 -6
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
import { DateSystem } from '@univerjs/core';
|
|
16
17
|
export declare class Complex {
|
|
17
18
|
static getComplex(realNum: number, iNum: number, suffix: string): number | string;
|
|
18
19
|
static createByComplexStr(realNum: number, iNum: number, suffix: string): Complex;
|
|
@@ -21,10 +22,15 @@ export declare class Complex {
|
|
|
21
22
|
private _iNum;
|
|
22
23
|
private _suffix;
|
|
23
24
|
private _isError;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
private _dateSystem;
|
|
26
|
+
constructor(inumber: number | string, dateSystem?: DateSystem);
|
|
27
|
+
/**
|
|
28
|
+
* Reads the text into its real and imaginary parts. Excel converts every
|
|
29
|
+
* part with the same text to number conversion it applies to cell values,
|
|
30
|
+
* so `1+2-3i` keeps `2-3` as its imaginary part, and any part that cannot
|
|
31
|
+
* be read makes the whole number invalid.
|
|
32
|
+
*/
|
|
33
|
+
private _parseInumber;
|
|
28
34
|
getRealNum(): number;
|
|
29
35
|
getINum(): number;
|
|
30
36
|
getSuffix(): string;
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import type { BaseValueObject } from '../engine/value-object/base-value-object';
|
|
17
16
|
import { DateSystem, numfmt } from '@univerjs/core';
|
|
17
|
+
import type { BaseValueObject } from '../engine/value-object/base-value-object';
|
|
18
18
|
import { ErrorValueObject } from '../engine/value-object/base-value-object';
|
|
19
19
|
export declare const DEFAULT_DATE_FORMAT = "yyyy/mm/dd;@";
|
|
20
20
|
export declare const DEFAULT_NOW_FORMAT = "yyyy/mm/dd hh:mm";
|
|
@@ -39,6 +39,11 @@ export declare function countWorkingDays(startDateSerialNumber: number, endDateS
|
|
|
39
39
|
export declare function getDateSerialNumberByWorkingDays(startDateSerialNumber: number, workingDays: number, weekend?: number | string, holidays?: number[], dateSystem?: DateSystem): number | ErrorValueObject;
|
|
40
40
|
export declare function getDateSerialNumberByObject(serialNumberObject: BaseValueObject, dateSystem?: DateSystem): ErrorValueObject | number;
|
|
41
41
|
export declare function getWeekDayByDateSerialNumber(dateSerialNumber: number, dateSystem?: DateSystem): number;
|
|
42
|
+
/**
|
|
43
|
+
* Returns the ISO 8601 week number of a date serial, the value of `ISOWEEKNUM` and
|
|
44
|
+
* `WEEKNUM(date, 21)`. The time fraction is ignored so a date-time keeps the week of its day.
|
|
45
|
+
*/
|
|
46
|
+
export declare function getIsoWeekNumber(dateSerialNumber: number, dateSystem?: DateSystem): number;
|
|
42
47
|
interface ITwoDateDaysType {
|
|
43
48
|
days: number;
|
|
44
49
|
yearDays: number;
|
|
@@ -27,9 +27,9 @@ import type { FUNCTION_NAMES_LOOKUP } from '../functions/lookup/function-names';
|
|
|
27
27
|
import type { FUNCTION_NAMES_MATH } from '../functions/math/function-names';
|
|
28
28
|
import type { FUNCTION_NAMES_META } from '../functions/meta/function-names';
|
|
29
29
|
import type { FUNCTION_NAMES_STATISTICAL } from '../functions/statistical/function-names';
|
|
30
|
-
import type { FUNCTION_NAMES_TEXT } from '../functions/text/function-names';
|
|
31
30
|
import type { FUNCTION_NAMES_UNIVER } from '../functions/univer/function-names';
|
|
32
31
|
import type { FUNCTION_NAMES_WEB } from '../functions/web/function-names';
|
|
32
|
+
import { FUNCTION_NAMES_TEXT } from '../functions/text/function-names';
|
|
33
33
|
/**
|
|
34
34
|
* Function type, refer to https://support.microsoft.com/en-us/office/excel-functions-by-category-5f91f4e9-7b42-46d2-9bd1-63f26a86c0eb
|
|
35
35
|
*/
|
|
@@ -162,3 +162,4 @@ export interface IFunctionInfo {
|
|
|
162
162
|
functionParameter: IFunctionParam[];
|
|
163
163
|
}
|
|
164
164
|
export type IFunctionNames = string | FUNCTION_NAMES_ARRAY | FUNCTION_NAMES_COMPATIBILITY | FUNCTION_NAMES_CUBE | FUNCTION_NAMES_DATABASE | FUNCTION_NAMES_DATE | FUNCTION_NAMES_ENGINEERING | FUNCTION_NAMES_FINANCIAL | FUNCTION_NAMES_INFORMATION | FUNCTION_NAMES_LOGICAL | FUNCTION_NAMES_LOOKUP | FUNCTION_NAMES_MATH | FUNCTION_NAMES_META | FUNCTION_NAMES_STATISTICAL | FUNCTION_NAMES_TEXT | FUNCTION_NAMES_UNIVER | FUNCTION_NAMES_WEB;
|
|
165
|
+
export declare function normalizeFunctionToken(token: string): string;
|
|
@@ -20,6 +20,7 @@ type ValueTypeWithNullUndefined = ValueType | null | undefined;
|
|
|
20
20
|
type ValueTypeWithSymbol = ValueType | symbol;
|
|
21
21
|
export declare const DEFAULT_EMPTY_CELL_KEY: unique symbol;
|
|
22
22
|
export declare class InvertedIndexCache {
|
|
23
|
+
private readonly _normalizedValueMap;
|
|
23
24
|
/**
|
|
24
25
|
* {
|
|
25
26
|
* unitId:{
|
|
@@ -47,8 +48,8 @@ export declare class InvertedIndexCache {
|
|
|
47
48
|
rowsInCache: NumericTuple[];
|
|
48
49
|
rowsNotInCache: NumericTuple[];
|
|
49
50
|
};
|
|
51
|
+
deleteUnit(unitId: string): void;
|
|
50
52
|
clear(): void;
|
|
51
53
|
private _handleNewInterval;
|
|
52
54
|
}
|
|
53
|
-
export declare const CELL_INVERTED_INDEX_CACHE: InvertedIndexCache;
|
|
54
55
|
export {};
|
|
@@ -14,15 +14,14 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import type { Nullable } from '@univerjs/core';
|
|
17
|
+
import { AbsoluteRefType, Disposable } from '@univerjs/core';
|
|
17
18
|
import type { IDirtyUnitDefinedNameMap, IExprTreeNode, ISuperTable } from '../../basics/common';
|
|
18
19
|
import type { IFunctionNames } from '../../basics/function';
|
|
19
20
|
import type { IDefinedNamesServiceParam } from '../../services/defined-names.service';
|
|
20
21
|
import type { ISequenceArray, ISequenceNode } from '../utils/sequence';
|
|
21
|
-
import { AbsoluteRefType, Disposable } from '@univerjs/core';
|
|
22
22
|
import { FormulaAstLRU } from '../../basics/cache-lru';
|
|
23
23
|
import { ErrorType } from '../../basics/error-type';
|
|
24
24
|
import { LexerNode } from './lexer-node';
|
|
25
|
-
export declare const FormulaLexerNodeCache: FormulaAstLRU<LexerNode>;
|
|
26
25
|
export declare const FormulaSequenceNodeCache: FormulaAstLRU<(string | ISequenceNode)[]>;
|
|
27
26
|
interface IInjectDefinedNameParam {
|
|
28
27
|
unitId: Nullable<string>;
|
|
@@ -107,7 +106,6 @@ export declare class LexerTreeBuilder extends Disposable {
|
|
|
107
106
|
private _moveDefinedNameRefOffset;
|
|
108
107
|
private _getHasSheetNameDefinedName;
|
|
109
108
|
private _handleNestedDefinedName;
|
|
110
|
-
private _simpleCheckDefinedName;
|
|
111
109
|
private _checkDefinedNameDirty;
|
|
112
110
|
private _suffixExpressionHandler;
|
|
113
111
|
private _processSuffixExpressionRemain;
|
|
@@ -17,13 +17,17 @@ import type { Nullable } from '@univerjs/core';
|
|
|
17
17
|
import { Disposable } from '@univerjs/core';
|
|
18
18
|
import { IFormulaCurrentConfigService } from '../../services/current-data.service';
|
|
19
19
|
import { IDefinedNamesService } from '../../services/defined-names.service';
|
|
20
|
+
import { FormulaCacheService } from '../../services/formula-cache.service';
|
|
20
21
|
import { IFunctionService } from '../../services/function.service';
|
|
22
|
+
import { LexerNode } from './lexer-node';
|
|
21
23
|
import { LexerTreeBuilder } from './lexer-tree-builder';
|
|
22
24
|
export declare class Lexer extends Disposable {
|
|
23
25
|
private readonly _definedNamesService;
|
|
24
26
|
private readonly _lexerTreeBuilder;
|
|
25
27
|
private readonly _formulaCurrentConfigService;
|
|
26
28
|
private readonly _functionService;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
+
private readonly _cacheService;
|
|
30
|
+
constructor(_definedNamesService: IDefinedNamesService, _lexerTreeBuilder: LexerTreeBuilder, _formulaCurrentConfigService: IFormulaCurrentConfigService, _functionService: IFunctionService, _cacheService: FormulaCacheService);
|
|
31
|
+
treeBuilder(formulaString: string, transformSuffix?: boolean, unitId?: Nullable<string>, refOffsetX?: number, refOffsetY?: number): import("../..").ErrorType.VALUE | (string | LexerNode)[] | LexerNode | undefined;
|
|
32
|
+
private _isDefinedNameDirty;
|
|
29
33
|
}
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import type { Nullable } from '@univerjs/core';
|
|
17
17
|
import { Disposable } from '@univerjs/core';
|
|
18
|
+
import { FormulaCacheService } from '../../services/formula-cache.service';
|
|
18
19
|
import { IFormulaRuntimeService } from '../../services/runtime.service';
|
|
19
20
|
import { AstRootNodeFactory } from '../ast-node/ast-root-node';
|
|
20
21
|
import { BaseAstNode } from '../ast-node/base-ast-node';
|
|
@@ -29,6 +30,7 @@ import { UnionNodeFactory } from '../ast-node/union-node';
|
|
|
29
30
|
import { ValueNodeFactory } from '../ast-node/value-node';
|
|
30
31
|
import { LexerNode } from './lexer-node';
|
|
31
32
|
export declare class AstTreeBuilder extends Disposable {
|
|
33
|
+
readonly cacheService: FormulaCacheService;
|
|
32
34
|
private readonly _runtimeService;
|
|
33
35
|
private readonly _astRootNodeFactory;
|
|
34
36
|
private readonly _functionNodeFactory;
|
|
@@ -41,7 +43,7 @@ export declare class AstTreeBuilder extends Disposable {
|
|
|
41
43
|
private readonly _unionNodeFactory;
|
|
42
44
|
private readonly _valueNodeFactory;
|
|
43
45
|
private _astNodeFactoryList;
|
|
44
|
-
constructor(_runtimeService: IFormulaRuntimeService, _astRootNodeFactory: AstRootNodeFactory, _functionNodeFactory: FunctionNodeFactory, _lambdaNodeFactory: LambdaNodeFactory, _lambdaParameterNodeFactory: LambdaParameterNodeFactory, _operatorNodeFactory: OperatorNodeFactory, _prefixNodeFactory: PrefixNodeFactory, _referenceNodeFactory: ReferenceNodeFactory, _suffixNodeFactory: SuffixNodeFactory, _unionNodeFactory: UnionNodeFactory, _valueNodeFactory: ValueNodeFactory);
|
|
46
|
+
constructor(cacheService: FormulaCacheService, _runtimeService: IFormulaRuntimeService, _astRootNodeFactory: AstRootNodeFactory, _functionNodeFactory: FunctionNodeFactory, _lambdaNodeFactory: LambdaNodeFactory, _lambdaParameterNodeFactory: LambdaParameterNodeFactory, _operatorNodeFactory: OperatorNodeFactory, _prefixNodeFactory: PrefixNodeFactory, _referenceNodeFactory: ReferenceNodeFactory, _suffixNodeFactory: SuffixNodeFactory, _unionNodeFactory: UnionNodeFactory, _valueNodeFactory: ValueNodeFactory);
|
|
45
47
|
dispose(): void;
|
|
46
48
|
parse(lexerNode: LexerNode): Nullable<BaseAstNode>;
|
|
47
49
|
private _lambdaParameterHandler;
|
|
@@ -30,9 +30,6 @@ interface ITableReferenceDescriptor {
|
|
|
30
30
|
tableName: string;
|
|
31
31
|
columnStruct: string | undefined;
|
|
32
32
|
}
|
|
33
|
-
type ReferenceNodeCurrentConfigService = Pick<IFormulaCurrentConfigService, 'getArrayFormulaCellData' | 'getArrayFormulaRange' | 'getSheetNameMap' | 'getUnitData' | 'getUnitStylesData'>;
|
|
34
|
-
type ReferenceNodeRuntimeService = Pick<IFormulaRuntimeService, 'markExternalReferenceUnavailable' | 'currentColumn' | 'currentRow' | 'currentSubUnitId' | 'currentUnitId' | 'getRuntimeArrayFormulaCellData' | 'getRuntimeFeatureCellData' | 'getUnitArrayFormula' | 'getUnitData'>;
|
|
35
|
-
type ReferenceNodeSuperTableService = Pick<ISuperTableService, 'getTableMap' | 'getTableOptionMap'>;
|
|
36
33
|
export declare class ReferenceNode extends BaseAstNode {
|
|
37
34
|
private _currentConfigService;
|
|
38
35
|
private _runtimeService;
|
|
@@ -44,7 +41,7 @@ export declare class ReferenceNode extends BaseAstNode {
|
|
|
44
41
|
private _tableReference?;
|
|
45
42
|
private _refOffsetX;
|
|
46
43
|
private _refOffsetY;
|
|
47
|
-
constructor(_currentConfigService:
|
|
44
|
+
constructor(_currentConfigService: IFormulaCurrentConfigService, _runtimeService: IFormulaRuntimeService, operatorString: string, _referenceObjectType: ReferenceObjectType, _unitReferenceResolver: IFormulaUnitReferenceResolver, _superTableService: ISuperTableService, _externalReferenceDataLoader: IFormulaExternalReferenceDataLoader, _isPrepareMerge?: boolean, _tableReference?: ITableReferenceDescriptor | undefined);
|
|
48
45
|
get nodeType(): NodeType;
|
|
49
46
|
execute(): void;
|
|
50
47
|
executeAsync(): Promise<AstNodePromiseType>;
|
|
@@ -21,12 +21,10 @@ import { BaseAstNodeFactory } from './base-ast-node-factory';
|
|
|
21
21
|
import { NodeType } from './node-type';
|
|
22
22
|
export declare class UnionNode extends BaseAstNode {
|
|
23
23
|
private readonly _currentConfigService;
|
|
24
|
-
constructor(operatorString: string, _currentConfigService:
|
|
24
|
+
constructor(operatorString: string, _currentConfigService: IFormulaCurrentConfigService);
|
|
25
25
|
get nodeType(): NodeType;
|
|
26
26
|
execute(): void;
|
|
27
27
|
private _createThreeDimensionalReference;
|
|
28
|
-
private _normalizeSheetName;
|
|
29
|
-
private _copyReferenceContext;
|
|
30
28
|
private _unionFunction;
|
|
31
29
|
}
|
|
32
30
|
export declare class UnionNodeFactory extends BaseAstNodeFactory {
|
|
@@ -14,17 +14,19 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import type { ICellData, IRange, IUnitRange, Nullable } from '@univerjs/core';
|
|
17
|
-
import { DateSystem, ObjectMatrix } from '@univerjs/core';
|
|
18
17
|
import type { IArrayFormulaRangeType, IRuntimeUnitDataType, IUnitData, IUnitSheetNameMap, IUnitStylesData } from '../../basics/common';
|
|
18
|
+
import type { FormulaCalculationCache } from '../../services/formula-cache.service';
|
|
19
19
|
import type { BaseValueObject } from '../value-object/base-value-object';
|
|
20
|
-
import {
|
|
20
|
+
import { DateSystem, ObjectMatrix } from '@univerjs/core';
|
|
21
21
|
import { ObjectClassType } from '../../basics/object-class-type';
|
|
22
22
|
import { ArrayValueObject } from '../value-object/array-value-object';
|
|
23
23
|
export type NodeValueType = BaseValueObject | BaseReferenceObject | AsyncObject | AsyncArrayObject;
|
|
24
24
|
export type FunctionVariantType = BaseValueObject | BaseReferenceObject;
|
|
25
|
-
export declare const FORMULA_REF_TO_ARRAY_CACHE: FormulaAstLRU<ArrayValueObject>;
|
|
26
25
|
export declare class BaseReferenceObject extends ObjectClassType {
|
|
27
26
|
private _token;
|
|
27
|
+
private _calculationCache;
|
|
28
|
+
setCalculationCache(cache: FormulaCalculationCache | undefined): void;
|
|
29
|
+
getCalculationCache(): FormulaCalculationCache | undefined;
|
|
28
30
|
private _dateSystem;
|
|
29
31
|
private _forcedSheetId;
|
|
30
32
|
private _forcedSheetName;
|
|
@@ -19,7 +19,5 @@ import type { Lexer } from '../analysis/lexer';
|
|
|
19
19
|
import type { AstTreeBuilder } from '../analysis/parser';
|
|
20
20
|
import type { AstRootNode } from '../ast-node/ast-root-node';
|
|
21
21
|
import type { IFormulaDependencyTree } from '../dependency/dependency-tree';
|
|
22
|
-
import { FormulaAstLRU } from '../../basics/cache-lru';
|
|
23
|
-
export declare const FORMULA_AST_CACHE: FormulaAstLRU<AstRootNode>;
|
|
24
22
|
export declare function generateAstNode(unitId: string, formulaString: string, lexer: Lexer, astTreeBuilder: AstTreeBuilder, currentConfigService: IFormulaCurrentConfigService, subUnitId?: string, definedNameRefOffsetX?: number, definedNameRefOffsetY?: number): AstRootNode;
|
|
25
23
|
export declare function includeDefinedName(tree: IFormulaDependencyTree, node: Nullable<AstRootNode>, currentConfigService: IFormulaCurrentConfigService): boolean;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type { IFormulaCurrentConfigService } from '../../services/current-data.service';
|
|
17
|
+
import type { BaseReferenceObject } from '../reference-object/base-reference-object';
|
|
18
|
+
import { MultiAreaReferenceObject } from '../reference-object/multi-area-reference-object';
|
|
19
|
+
import { ErrorValueObject } from '../value-object/base-value-object';
|
|
20
|
+
export declare function expandSheetSpan(source: BaseReferenceObject, currentConfig: IFormulaCurrentConfigService): MultiAreaReferenceObject | ErrorValueObject | undefined;
|
|
21
|
+
export declare function createThreeDimensionalReference(firstSheetName: string, lastSheetName: string, source: BaseReferenceObject, sheetsInfo: ReturnType<IFormulaCurrentConfigService['getSheetsInfo']>): MultiAreaReferenceObject | undefined;
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import type { Nullable } from '@univerjs/core';
|
|
17
17
|
import { DateSystem } from '@univerjs/core';
|
|
18
|
+
import type { FormulaCalculationCache } from '../../services/formula-cache.service';
|
|
18
19
|
import type { callbackMapFnType, IArrayValueObject } from './base-value-object';
|
|
19
20
|
import { compareToken } from '../../basics/token';
|
|
20
21
|
import { ArrayBinarySearchType, ArrayOrderSearchType } from '../utils/compare';
|
|
@@ -22,6 +23,9 @@ import { BaseValueObject } from './base-value-object';
|
|
|
22
23
|
export declare function transformToValueObject(array?: Array<Array<number | string | boolean | null>>, isIgnoreNumberPattern?: boolean, dateSystem?: DateSystem): BaseValueObject[][];
|
|
23
24
|
export declare function transformToValue(array?: Nullable<BaseValueObject>[][]): (string | number | boolean | null)[][];
|
|
24
25
|
export declare class ArrayValueObject extends BaseValueObject {
|
|
26
|
+
private _calculationCache;
|
|
27
|
+
withCalculationCache(cache: FormulaCalculationCache | undefined): this;
|
|
28
|
+
getCalculationCache(): FormulaCalculationCache | undefined;
|
|
25
29
|
/**
|
|
26
30
|
* Create an array value object based on the string or IArrayValueObject data.
|
|
27
31
|
* @param rawValue
|
package/lib/types/index.d.ts
CHANGED
|
@@ -23,7 +23,6 @@ export { type ISheetFormulaError } from './basics/error-type';
|
|
|
23
23
|
export { FunctionType } from './basics/function';
|
|
24
24
|
export type { IFunctionInfo, IFunctionParam } from './basics/function';
|
|
25
25
|
export { type IFunctionNames } from './basics/function';
|
|
26
|
-
export { CELL_INVERTED_INDEX_CACHE } from './basics/inverted-index-cache';
|
|
27
26
|
export { includeFormulaLexerToken, isFormulaLexerToken, normalizeSheetName } from './basics/match-token';
|
|
28
27
|
export { matchRefDrawToken } from './basics/match-token';
|
|
29
28
|
export { isReferenceString } from './basics/regex';
|
|
@@ -77,7 +76,7 @@ export { generateRandomDependencyTreeId } from './engine/dependency/formula-depe
|
|
|
77
76
|
export { Interpreter } from './engine/interpreter/interpreter';
|
|
78
77
|
export { BaseReferenceObject } from './engine/reference-object/base-reference-object';
|
|
79
78
|
export type { FunctionVariantType } from './engine/reference-object/base-reference-object';
|
|
80
|
-
export { AsyncArrayObject, AsyncObject
|
|
79
|
+
export { AsyncArrayObject, AsyncObject } from './engine/reference-object/base-reference-object';
|
|
81
80
|
export { RangeReferenceObject } from './engine/reference-object/range-reference-object';
|
|
82
81
|
export { generateExecuteAstNodeData } from './engine/utils/ast-node-tool';
|
|
83
82
|
export { extractFormulaError } from './engine/utils/cell';
|
|
@@ -135,6 +134,7 @@ export { FUNCTION_NAMES_UNIVER } from './functions/univer/function-names';
|
|
|
135
134
|
export { getObjectValue } from './functions/util';
|
|
136
135
|
export { functionWeb } from './functions/web/function-map';
|
|
137
136
|
export { FUNCTION_NAMES_WEB } from './functions/web/function-names';
|
|
137
|
+
export type { IFormulaDataSnapshot } from './models/formula-data-snapshot';
|
|
138
138
|
export { FormulaDataModel } from './models/formula-data.model';
|
|
139
139
|
export type { IRangeChange } from './models/formula-data.model';
|
|
140
140
|
export { UniverFormulaEnginePlugin } from './plugin';
|
|
@@ -156,6 +156,7 @@ export { FormulaCalculationTriggerService, mergeDirtyData } from './services/for
|
|
|
156
156
|
export { IFormulaChangesetCalculationService } from './services/formula-changeset-calculation.service';
|
|
157
157
|
export type { IFormulaInfo, IOtherFormulaResult } from './services/formula-common';
|
|
158
158
|
export { FormulaResultStatus } from './services/formula-common';
|
|
159
|
+
export { FormulaResultService } from './services/formula-result.service';
|
|
159
160
|
export { DescriptionService, IDescriptionService } from './services/formula/description.service';
|
|
160
161
|
export type { ISearchItem, ISearchItemWithType } from './services/formula/description.service';
|
|
161
162
|
export { FormulaCalculationSessionService, FormulaResultApplicationType, } from './services/formula/formula-calculation-session.service';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import type { IFormulaData } from '../basics/common';
|
|
17
|
+
/**
|
|
18
|
+
* Internal calculation-engine input; not an application or Facade API.
|
|
19
|
+
* Ephemeral calculation input, not a serialized Workbook snapshot.
|
|
20
|
+
* Materialization returns an owned, mutable formula DTO cached for subsequent reads.
|
|
21
|
+
*/
|
|
22
|
+
export interface IFormulaDataSnapshot {
|
|
23
|
+
materialize(): IFormulaData;
|
|
24
|
+
}
|
|
@@ -14,9 +14,10 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import type { ICellData, IObjectMatrixPrimitiveType, IRange, IUnitRange, Nullable } from '@univerjs/core';
|
|
17
|
+
import { Disposable, IUniverInstanceService, ObjectMatrix } from '@univerjs/core';
|
|
17
18
|
import type { IArrayFormulaRangeType, IArrayFormulaUnitCellType, IFormulaData, IFormulaDataItem, IFormulaUnitNameMap, IRuntimeUnitDataType, IUnitData, IUnitImageFormulaDataType, IUnitRowData, IUnitSheetNameMap, IUnitStylesData } from '../basics/common';
|
|
18
19
|
import type { ICircularReference } from '../services/runtime.service';
|
|
19
|
-
import {
|
|
20
|
+
import type { IFormulaDataSnapshot } from './formula-data-snapshot';
|
|
20
21
|
import { LexerTreeBuilder } from '../engine/analysis/lexer-tree-builder';
|
|
21
22
|
export interface IRangeChange {
|
|
22
23
|
oldCell: IRange;
|
|
@@ -38,6 +39,13 @@ export declare class FormulaDataModel extends Disposable {
|
|
|
38
39
|
clearPreviousArrayFormulaCellData(clearArrayFormulaCellData: IRuntimeUnitDataType): void;
|
|
39
40
|
mergeArrayFormulaCellData(unitData: IRuntimeUnitDataType): void;
|
|
40
41
|
getFormulaData(): IFormulaData;
|
|
42
|
+
private _collectFormulaData;
|
|
43
|
+
/**
|
|
44
|
+
* Internal calculation-engine capture; customized model methods retain the eager DTO path.
|
|
45
|
+
* Reuse ordinary model traversal and metadata preparation, deferring per-formula DTO objects where possible.
|
|
46
|
+
* The optional classifier is retained for cooperating engines that reject a proxied model before capture.
|
|
47
|
+
*/
|
|
48
|
+
tryCreateFormulaDataSnapshot(isProxy?: (value: unknown) => boolean): IFormulaDataSnapshot | undefined;
|
|
41
49
|
initSheetFormulaData(formulaData: IFormulaData, unitId: string, sheetId: string, cellMatrix: ObjectMatrix<Nullable<ICellData>>): IFormulaData;
|
|
42
50
|
clearFormulaIdMap(unitId: string, sheetId?: string): void;
|
|
43
51
|
getSheetFormulaData(unitId: string, sheetId: string): Nullable<IObjectMatrixPrimitiveType<Nullable<IFormulaDataItem>>>;
|
|
@@ -20,16 +20,24 @@ import { Subject } from 'rxjs';
|
|
|
20
20
|
import type { IArrayFormulaRangeType, IFeatureDirtyRangeType, IFormulaDatasetConfig, IFormulaExecuteResultMap, IFormulaStringMap, IRuntimeUnitDataType, IUnitExcludedCell, IUnitRowData } from '../basics/common';
|
|
21
21
|
import type { IFormulaDependencyTreeFullJson, IFormulaDependencyTreeJson, IFormulaDependentsAndInRangeResults } from '../engine/dependency/dependency-tree';
|
|
22
22
|
import type { FunctionVariantType } from '../engine/reference-object/base-reference-object';
|
|
23
|
+
import type { IFormulaDataSnapshot } from '../models/formula-data-snapshot';
|
|
23
24
|
import type { IAllRuntimeData, IExecutionInProgressParams } from './runtime.service';
|
|
24
25
|
import { Lexer } from '../engine/analysis/lexer';
|
|
25
26
|
import { AstTreeBuilder } from '../engine/analysis/parser';
|
|
26
27
|
import { IFormulaDependencyGenerator } from '../engine/dependency/formula-dependency';
|
|
27
28
|
import { Interpreter } from '../engine/interpreter/interpreter';
|
|
28
29
|
import { IFormulaCurrentConfigService } from './current-data.service';
|
|
30
|
+
import { FormulaResultService } from './formula-result.service';
|
|
29
31
|
import { IFormulaRuntimeService } from './runtime.service';
|
|
30
32
|
export declare const DEFAULT_INTERVAL_COUNT = 500;
|
|
31
33
|
export declare const EVERY_N_FUNCTION_EXECUTION_PAUSE = 100;
|
|
32
34
|
export interface ICalculateFormulaService {
|
|
35
|
+
/** Internal engine opt-in; engines without this capability and RPC proxies keep the complete formula DTO input. */
|
|
36
|
+
readonly supportsFormulaDataSnapshot?: boolean;
|
|
37
|
+
/** Internal engine capability to capture formula values in the same runtime. */
|
|
38
|
+
prepareFormulaDataSnapshot?(): IFormulaDataSnapshot | undefined;
|
|
39
|
+
/** Internal engine capability to execute the captured formula input. */
|
|
40
|
+
executeWithFormulaDataSnapshot?(config: Omit<IFormulaDatasetConfig, 'formulaData'>, snapshot: IFormulaDataSnapshot): Promise<void>;
|
|
33
41
|
readonly executionInProgressListener$: Observable<IExecutionInProgressParams>;
|
|
34
42
|
readonly executionCompleteListener$: Observable<IAllRuntimeData>;
|
|
35
43
|
setRuntimeFeatureCellData(featureId: string, featureData: IRuntimeUnitDataType): void;
|
|
@@ -53,6 +61,7 @@ export declare class CalculateFormulaService extends Disposable implements ICalc
|
|
|
53
61
|
protected readonly _formulaDependencyGenerator: IFormulaDependencyGenerator;
|
|
54
62
|
protected readonly _interpreter: Interpreter;
|
|
55
63
|
protected readonly _astTreeBuilder: AstTreeBuilder;
|
|
64
|
+
protected readonly _formulaResultService: FormulaResultService;
|
|
56
65
|
protected readonly _executionInProgressListener$: Subject<IExecutionInProgressParams>;
|
|
57
66
|
readonly executionInProgressListener$: Observable<IExecutionInProgressParams>;
|
|
58
67
|
protected readonly _executionCompleteListener$: Subject<IAllRuntimeData>;
|
|
@@ -92,7 +101,7 @@ export declare class CalculateFormulaService extends Disposable implements ICalc
|
|
|
92
101
|
preserve: boolean;
|
|
93
102
|
iteration: number;
|
|
94
103
|
}, void, unknown>;
|
|
95
|
-
constructor(_configService: IConfigService, _lexer: Lexer, _currentConfigService: IFormulaCurrentConfigService, _runtimeService: IFormulaRuntimeService, _formulaDependencyGenerator: IFormulaDependencyGenerator, _interpreter: Interpreter, _astTreeBuilder: AstTreeBuilder);
|
|
104
|
+
constructor(_configService: IConfigService, _lexer: Lexer, _currentConfigService: IFormulaCurrentConfigService, _runtimeService: IFormulaRuntimeService, _formulaDependencyGenerator: IFormulaDependencyGenerator, _interpreter: Interpreter, _astTreeBuilder: AstTreeBuilder, _formulaResultService: FormulaResultService);
|
|
96
105
|
dispose(): void;
|
|
97
106
|
/**
|
|
98
107
|
* Stop the execution of the formula.
|
|
@@ -108,6 +117,7 @@ export declare class CalculateFormulaService extends Disposable implements ICalc
|
|
|
108
117
|
setRuntimeFeatureCellData(featureId: string, featureData: IRuntimeUnitDataType): void;
|
|
109
118
|
setRuntimeFeatureRange(featureId: string, featureRange: IFeatureDirtyRangeType): void;
|
|
110
119
|
execute(formulaDatasetConfig: IFormulaDatasetConfig): Promise<void>;
|
|
120
|
+
protected _completeExecution(): Promise<void>;
|
|
111
121
|
protected _executeStep(): Promise<true | undefined>;
|
|
112
122
|
protected _getArrayFormulaDirtyRangeAndExcludedRange(arrayFormulaRange: IArrayFormulaRangeType, runtimeFeatureRange: {
|
|
113
123
|
[featureId: string]: IFeatureDirtyRangeType;
|
|
@@ -16,8 +16,14 @@
|
|
|
16
16
|
import type { IUnitRange, IWorkbookCalculationSettings, LocaleType, Nullable } from '@univerjs/core';
|
|
17
17
|
import { DateSystem, Disposable, IUniverInstanceService, LocaleService } from '@univerjs/core';
|
|
18
18
|
import type { IArrayFormulaRangeType, IDirtyUnitDefinedNameMap, IDirtyUnitFeatureMap, IDirtyUnitOtherFormulaMap, IDirtyUnitSheetNameMap, IDirtyUnitSuperTableMap, IFormulaData, IFormulaDatasetConfig, IFormulaExternalReferences, IFormulaUnitNameMap, IRuntimeUnitDataType, IUnitData, IUnitExcludedCell, IUnitRowData, IUnitSheetIdToNameMap, IUnitSheetNameMap, IUnitStylesData } from '../basics/common';
|
|
19
|
+
import type { IFormulaDataSnapshot } from '../models/formula-data-snapshot';
|
|
19
20
|
import { FormulaDataModel } from '../models/formula-data.model';
|
|
20
21
|
import { ISheetRowFilteredService } from './sheet-row-filtered.service';
|
|
22
|
+
/**
|
|
23
|
+
* Internal implementation bookkeeping, not an application integration API.
|
|
24
|
+
* Query deferred-input bookkeeping without observing service Proxy properties or getters.
|
|
25
|
+
*/
|
|
26
|
+
export declare function hasDeferredFormulaDataSnapshot(service: unknown): boolean;
|
|
21
27
|
export interface IFormulaDirtyData {
|
|
22
28
|
dirtyReferenceUnits?: string[];
|
|
23
29
|
dirtyIterationUnits?: string[];
|
|
@@ -36,6 +42,8 @@ export interface IFormulaDirtyData {
|
|
|
36
42
|
}
|
|
37
43
|
export interface IFormulaCurrentConfigService {
|
|
38
44
|
load(config: IFormulaDatasetConfig): void;
|
|
45
|
+
/** Internal engine capability to defer formula DTO materialization. */
|
|
46
|
+
loadWithFormulaDataSnapshot?(config: Omit<IFormulaDatasetConfig, 'formulaData'>, snapshot: IFormulaDataSnapshot): void;
|
|
39
47
|
getUnitData(): IUnitData;
|
|
40
48
|
/**
|
|
41
49
|
* Get the unit styles data.
|
|
@@ -96,6 +104,7 @@ export declare class FormulaCurrentConfigService extends Disposable implements I
|
|
|
96
104
|
private _arrayFormulaCellData;
|
|
97
105
|
private _arrayFormulaRange;
|
|
98
106
|
private _formulaData;
|
|
107
|
+
private _formulaDataSnapshot;
|
|
99
108
|
private _sheetNameMap;
|
|
100
109
|
private _unitNameMap;
|
|
101
110
|
private _externalReferences;
|
|
@@ -153,6 +162,9 @@ export declare class FormulaCurrentConfigService extends Disposable implements I
|
|
|
153
162
|
};
|
|
154
163
|
getFilteredOutRows(unitId: string, sheetId: string, startRow: number, endRow: number): number[];
|
|
155
164
|
load(config: IFormulaDatasetConfig): void;
|
|
165
|
+
/** Internal engine capability to defer formula DTO materialization. */
|
|
166
|
+
loadWithFormulaDataSnapshot(config: Omit<IFormulaDatasetConfig, 'formulaData'>, snapshot: IFormulaDataSnapshot): void;
|
|
167
|
+
private _loadFormulaDataset;
|
|
156
168
|
loadDataLite(rowData?: IUnitRowData): void;
|
|
157
169
|
getDirtyData(forFeatureCalculation?: boolean): IFormulaDirtyData;
|
|
158
170
|
loadDirtyRangesAndExcludedCell(dirtyRanges: IUnitRange[], excludedCell?: IUnitExcludedCell): void;
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
import { Disposable } from '@univerjs/core';
|
|
16
17
|
import type { ISetFormulaCalculationResultMutation } from '../../commands/mutations/set-formula-calculation.mutation';
|
|
17
18
|
import type { IExecutionInProgressParams } from '../runtime.service';
|
|
18
|
-
import { Disposable } from '@univerjs/core';
|
|
19
19
|
import { FormulaExecutedStateType } from '../runtime.service';
|
|
20
20
|
export interface IFormulaCalculationSessionState {
|
|
21
21
|
id: number;
|
|
@@ -36,6 +36,7 @@ export declare class FormulaCalculationSessionService extends Disposable {
|
|
|
36
36
|
private readonly _state$;
|
|
37
37
|
private readonly _resultApplied$;
|
|
38
38
|
private _currentResult;
|
|
39
|
+
private _lastAppliedResult;
|
|
39
40
|
private _hasEmittedCurrentResultApplied;
|
|
40
41
|
private _pendingResultApplicationTypes;
|
|
41
42
|
private _preAppliedSessionTypes;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { Disposable } from '@univerjs/core';
|
|
17
|
+
import type { IFunctionNames } from '../basics/function';
|
|
18
|
+
import type { LexerNode } from '../engine/analysis/lexer-node';
|
|
19
|
+
import type { AstRootNode } from '../engine/ast-node/ast-root-node';
|
|
20
|
+
import type { ArrayValueObject } from '../engine/value-object/array-value-object';
|
|
21
|
+
import { FormulaAstLRU } from '../basics/cache-lru';
|
|
22
|
+
import { InvertedIndexCache } from '../basics/inverted-index-cache';
|
|
23
|
+
/** Runtime-only context. Values may outlive a calculation, but must not revive its caches. */
|
|
24
|
+
export declare class FormulaCalculationCache extends Disposable {
|
|
25
|
+
readonly references: FormulaAstLRU<ArrayValueObject>;
|
|
26
|
+
readonly invertedIndex: InvertedIndexCache;
|
|
27
|
+
get closed(): boolean;
|
|
28
|
+
clearUnit(unitId: string): void;
|
|
29
|
+
dispose(): void;
|
|
30
|
+
}
|
|
31
|
+
/** One owner per Univer injector; no dependency on the parser, calculator or function registry. */
|
|
32
|
+
export declare class FormulaCacheService extends Disposable {
|
|
33
|
+
private readonly _asts;
|
|
34
|
+
private readonly _lexerTrees;
|
|
35
|
+
private readonly _calculations;
|
|
36
|
+
get closed(): boolean;
|
|
37
|
+
getAst(key: string): AstRootNode | undefined;
|
|
38
|
+
setAst(key: string, unitId: string, node: AstRootNode): void;
|
|
39
|
+
getLexerTree(key: string): LexerNode | undefined;
|
|
40
|
+
setLexerTree(key: string, node: LexerNode, unitId?: string | null): void;
|
|
41
|
+
clearCompiled(): void;
|
|
42
|
+
clearFunctions(functionNames: IFunctionNames[]): void;
|
|
43
|
+
clearUnit(unitId: string): void;
|
|
44
|
+
createCalculation(): FormulaCalculationCache | undefined;
|
|
45
|
+
releaseCalculation(context: FormulaCalculationCache): void;
|
|
46
|
+
dispose(): void;
|
|
47
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2023-present DreamNum Co., Ltd.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { Disposable, ICommandService } from '@univerjs/core';
|
|
17
|
+
import type { ISetFormulaCalculationResultMutation } from '../commands/mutations/set-formula-calculation.mutation';
|
|
18
|
+
import type { IAllRuntimeData } from './runtime.service';
|
|
19
|
+
import { FormulaDataModel } from '../models/formula-data.model';
|
|
20
|
+
import { IFormulaRuntimeService } from './runtime.service';
|
|
21
|
+
/** Applies calculation batches for every engine; completion notifications never resubmit them. */
|
|
22
|
+
export declare class FormulaResultService extends Disposable {
|
|
23
|
+
private readonly _commandService;
|
|
24
|
+
private readonly _formulaDataModel;
|
|
25
|
+
private readonly _runtimeService;
|
|
26
|
+
constructor(_commandService: ICommandService, _formulaDataModel: FormulaDataModel, _runtimeService: IFormulaRuntimeService);
|
|
27
|
+
applyTreeResult(data: IAllRuntimeData): Promise<void>;
|
|
28
|
+
applyResult(data: IAllRuntimeData, result?: ISetFormulaCalculationResultMutation): Promise<void>;
|
|
29
|
+
}
|
|
@@ -17,6 +17,7 @@ import type { IDisposable, Nullable } from '@univerjs/core';
|
|
|
17
17
|
import type { IFunctionInfo, IFunctionNames } from '../basics/function';
|
|
18
18
|
import type { BaseFunction } from '../functions/base-function';
|
|
19
19
|
import { Disposable } from '@univerjs/core';
|
|
20
|
+
import { FormulaCacheService } from './formula-cache.service';
|
|
20
21
|
export interface IFunctionService {
|
|
21
22
|
/**
|
|
22
23
|
* Use register to register a function, new CustomFunction(inject, name)
|
|
@@ -46,8 +47,10 @@ export interface IFunctionService {
|
|
|
46
47
|
}
|
|
47
48
|
export declare const IFunctionService: import("@univerjs/core").IdentifierDecorator<IFunctionService>;
|
|
48
49
|
export declare class FunctionService extends Disposable implements IFunctionService {
|
|
50
|
+
private readonly _cacheService;
|
|
49
51
|
private _functionExecutors;
|
|
50
52
|
private _functionDescriptions;
|
|
53
|
+
constructor(_cacheService: FormulaCacheService);
|
|
51
54
|
dispose(): void;
|
|
52
55
|
registerExecutors(...functions: BaseFunction[]): void;
|
|
53
56
|
getExecutors(): Map<IFunctionNames, BaseFunction>;
|