@univerjs/engine-formula v0.4.2 • Docs
Class: Interpreter
Extends
Constructors
new Interpreter()
new Interpreter(_runtimeService): Interpreter
Parameters
Parameter | Type |
---|---|
_runtimeService | IFormulaRuntimeService |
Returns
Overrides
Defined in
packages/engine-formula/src/engine/interpreter/interpreter.ts:33 (opens in a new tab)
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | packages/core/src/shared/lifecycle.ts:93 (opens in a new tab) |
Methods
checkAsyncNode()
checkAsyncNode(node): boolean
Parameters
Parameter | Type |
---|---|
node | BaseAstNode |
Returns
boolean
Defined in
packages/engine-formula/src/engine/interpreter/interpreter.ts:90 (opens in a new tab)
dispose()
dispose(): void
Returns
void
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:106 (opens in a new tab)
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:100 (opens in a new tab)
execute()
execute(nodeData): FunctionVariantType
Parameters
Parameter | Type |
---|---|
nodeData | IExecuteAstNodeData |
Returns
Defined in
packages/engine-formula/src/engine/interpreter/interpreter.ts:61 (opens in a new tab)
executeAsync()
executeAsync(nodeData): Promise<FunctionVariantType>
Parameters
Parameter | Type |
---|---|
nodeData | IExecuteAstNodeData |
Returns
Promise
<FunctionVariantType
>
Defined in
packages/engine-formula/src/engine/interpreter/interpreter.ts:37 (opens in a new tab)
executePreCalculateNode()
executePreCalculateNode(node): Nullable<FunctionVariantType>
Parameters
Parameter | Type |
---|---|
node | PreCalculateNodeType |
Returns
Defined in
packages/engine-formula/src/engine/interpreter/interpreter.ts:85 (opens in a new tab)