API Reference
@univerjs
@univerjs/engine-formula
classes
Interpreter

@univerjs/engine-formula v0.2.14Docs


Class: Interpreter

Extends

Constructors

new Interpreter()

new Interpreter(_runtimeService): Interpreter

Parameters

ParameterType
_runtimeServiceIFormulaRuntimeService

Returns

Interpreter

Overrides

Disposable.constructor

Defined in

packages/engine-formula/src/engine/interpreter/interpreter.ts:31 (opens in a new tab)

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedpackages/core/src/shared/lifecycle.ts:93 (opens in a new tab)

Methods

checkAsyncNode()

checkAsyncNode(node): boolean

Parameters

ParameterType
nodeBaseAstNode

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

Disposable.dispose

Defined in

packages/core/src/shared/lifecycle.ts:106 (opens in a new tab)


disposeWithMe()

protected disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

packages/core/src/shared/lifecycle.ts:100 (opens in a new tab)


execute()

execute(node): FunctionVariantType

Parameters

ParameterType
nodeBaseAstNode

Returns

FunctionVariantType

Defined in

packages/engine-formula/src/engine/interpreter/interpreter.ts:55 (opens in a new tab)


executeAsync()

executeAsync(node): Promise<FunctionVariantType>

Parameters

ParameterType
nodeBaseAstNode

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

ParameterType
nodePreCalculateNodeType

Returns

Nullable<FunctionVariantType>

Defined in

packages/engine-formula/src/engine/interpreter/interpreter.ts:75 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.