@univerjs-pro/engine-formula v0.5.4
Class: Interpreter
Defined in: submodules/univer/packages/engine-formula/src/engine/interpreter/interpreter.ts:33
Extends
Constructors
new Interpreter()
new Interpreter(_runtimeService): Interpreter
Defined in: submodules/univer/packages/engine-formula/src/engine/interpreter/interpreter.ts:34
Parameters
Parameter | Type |
---|---|
_runtimeService | IFormulaRuntimeService |
Returns
Overrides
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:96 |
Methods
checkAsyncNode()
checkAsyncNode(node): boolean
Defined in: submodules/univer/packages/engine-formula/src/engine/interpreter/interpreter.ts:91
Parameters
Parameter | Type |
---|---|
node | Nullable <BaseAstNode > |
Returns
boolean
dispose()
dispose(): void
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:109
Returns
void
Inherited from
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
ensureNotDisposed()
protected ensureNotDisposed(): void
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103
Returns
void
Inherited from
execute()
execute(nodeData): FunctionVariantType
Defined in: submodules/univer/packages/engine-formula/src/engine/interpreter/interpreter.ts:62
Parameters
Parameter | Type |
---|---|
nodeData | IExecuteAstNodeData |
Returns
executeAsync()
executeAsync(nodeData): Promise<FunctionVariantType>
Defined in: submodules/univer/packages/engine-formula/src/engine/interpreter/interpreter.ts:38
Parameters
Parameter | Type |
---|---|
nodeData | IExecuteAstNodeData |
Returns
Promise
<FunctionVariantType
>
executePreCalculateNode()
executePreCalculateNode(node): Nullable<FunctionVariantType>
Defined in: submodules/univer/packages/engine-formula/src/engine/interpreter/interpreter.ts:86
Parameters
Parameter | Type |
---|---|
node | PreCalculateNodeType |