@univerjs/engine-formula v0.3.0 • 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:31 (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:80 (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()
protected 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(node): FunctionVariantType
Parameters
Parameter | Type |
---|---|
node | BaseAstNode |
Returns
Defined in
packages/engine-formula/src/engine/interpreter/interpreter.ts:55 (opens in a new tab)
executeAsync()
executeAsync(node): Promise<FunctionVariantType>
Parameters
Parameter | Type |
---|---|
node | BaseAstNode |
Returns
Promise
<FunctionVariantType
>
Defined in
packages/engine-formula/src/engine/interpreter/interpreter.ts:35 (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:75 (opens in a new tab)