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

@univerjs/engine-formula v0.4.2Docs


Class: FormulaDependencyGenerator

Extends

Constructors

new FormulaDependencyGenerator()

new FormulaDependencyGenerator(
   _currentConfigService, 
   _runtimeService, 
   _otherFormulaManagerService, 
   _featureCalculationManagerService, 
   _interpreter, 
   _astTreeBuilder, 
   _lexer, 
   _dependencyManagerService): FormulaDependencyGenerator

Parameters

ParameterType
_currentConfigServiceIFormulaCurrentConfigService
_runtimeServiceIFormulaRuntimeService
_otherFormulaManagerServiceIOtherFormulaManagerService
_featureCalculationManagerServiceIFeatureCalculationManagerService
_interpreterInterpreter
_astTreeBuilderAstTreeBuilder
_lexerLexer
_dependencyManagerServiceIDependencyManagerService

Returns

FormulaDependencyGenerator

Overrides

Disposable.constructor

Defined in

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

Properties

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

Methods

dispose()

dispose(): void

Returns

void

Overrides

Disposable.dispose

Defined in

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


disposeWithMe()

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)


generate()

generate(): Promise<FormulaDependencyTree[]>

Returns

Promise<FormulaDependencyTree[]>

Defined in

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


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