@univerjs/engine-formula v0.4.2 • 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
packages/engine-formula/src/engine/analysis/parser.ts:57 (opens in a new tab)
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | packages/core/src/shared/lifecycle.ts:93 (opens in a new tab) |
Methods
dispose()
dispose(): void
Returns
void
Overrides
Defined in
packages/engine-formula/src/engine/analysis/parser.ts:75 (opens in a new tab)
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:100 (opens in a new tab)
parse()
parse(lexerNode): Nullable<BaseAstNode>
Parameters
Parameter | Type |
---|---|
lexerNode | LexerNode |
Returns
Nullable
<BaseAstNode
>
Defined in
packages/engine-formula/src/engine/analysis/parser.ts:83 (opens in a new tab)