@univerjs/engine-formula v0.5.0-beta.1 • Docs
Class: AstTreeBuilder
Extends
Constructors
new AstTreeBuilder()
new AstTreeBuilder(
_runtimeService,
_astRootNodeFactory,
_functionNodeFactory,
_lambdaNodeFactory,
_lambdaParameterNodeFactory,
_operatorNodeFactory,
_prefixNodeFactory,
_referenceNodeFactory,
_suffixNodeFactory,
_unionNodeFactory,
_valueNodeFactory): AstTreeBuilder
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
Defined in
submodules/univer/packages/engine-formula/src/engine/analysis/parser.ts:53
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:93 |
Methods
dispose()
dispose(): void
Returns
void
Overrides
Defined in
submodules/univer/packages/engine-formula/src/engine/analysis/parser.ts:71
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:96
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:100
parse()
parse(lexerNode): Nullable<BaseAstNode>
Parameters
Parameter | Type |
---|---|
lexerNode | LexerNode |
Returns
Nullable
<BaseAstNode
>
Defined in
submodules/univer/packages/engine-formula/src/engine/analysis/parser.ts:79