@univerjs/engine-formula v0.5.4


Class: AstTreeBuilder

Defined in: submodules/univer/packages/engine-formula/src/engine/analysis/parser.ts:50

Extends

Constructors

new AstTreeBuilder()

new AstTreeBuilder(
   _runtimeService, 
   _astRootNodeFactory, 
   _functionNodeFactory, 
   _lambdaNodeFactory, 
   _lambdaParameterNodeFactory, 
   _operatorNodeFactory, 
   _prefixNodeFactory, 
   _referenceNodeFactory, 
   _suffixNodeFactory, 
   _unionNodeFactory, 
   _valueNodeFactory): AstTreeBuilder

Defined in: submodules/univer/packages/engine-formula/src/engine/analysis/parser.ts:53

Parameters

ParameterType
_runtimeServiceIFormulaRuntimeService
_astRootNodeFactoryAstRootNodeFactory
_functionNodeFactoryFunctionNodeFactory
_lambdaNodeFactoryLambdaNodeFactory
_lambdaParameterNodeFactoryLambdaParameterNodeFactory
_operatorNodeFactoryOperatorNodeFactory
_prefixNodeFactoryPrefixNodeFactory
_referenceNodeFactoryReferenceNodeFactory
_suffixNodeFactorySuffixNodeFactory
_unionNodeFactoryUnionNodeFactory
_valueNodeFactoryValueNodeFactory

Returns

AstTreeBuilder

Overrides

Disposable.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:96

Methods

dispose()

dispose(): void

Defined in: submodules/univer/packages/engine-formula/src/engine/analysis/parser.ts:71

Returns

void

Overrides

Disposable.dispose


disposeWithMe()

disposeWithMe(disposable): IDisposable

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe


ensureNotDisposed()

protected ensureNotDisposed(): void

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103

Returns

void

Inherited from

Disposable.ensureNotDisposed


parse()

parse(lexerNode): Nullable<BaseAstNode>

Defined in: submodules/univer/packages/engine-formula/src/engine/analysis/parser.ts:79

Parameters

ParameterType
lexerNodeLexerNode

Returns

Nullable<BaseAstNode>