@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
Parameter | Type |
---|---|
_runtimeService | IFormulaRuntimeService |
_astRootNodeFactory | AstRootNodeFactory |
_functionNodeFactory | FunctionNodeFactory |
_lambdaNodeFactory | LambdaNodeFactory |
_lambdaParameterNodeFactory | LambdaParameterNodeFactory |
_operatorNodeFactory | OperatorNodeFactory |
_prefixNodeFactory | PrefixNodeFactory |
_referenceNodeFactory | ReferenceNodeFactory |
_suffixNodeFactory | SuffixNodeFactory |
_unionNodeFactory | UnionNodeFactory |
_valueNodeFactory | ValueNodeFactory |
Returns
Overrides
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/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
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
ensureNotDisposed()
protected ensureNotDisposed(): void
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103
Returns
void
Inherited from
parse()
parse(lexerNode): Nullable<BaseAstNode>
Defined in: submodules/univer/packages/engine-formula/src/engine/analysis/parser.ts:79
Parameters
Parameter | Type |
---|---|
lexerNode | LexerNode |
Returns
Nullable
<BaseAstNode
>