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