@univerjs/engine-formula v0.5.0-beta.1 • Docs
Class: Lexer
Extends
Constructors
new Lexer()
new Lexer(
_definedNamesService,
_lexerTreeBuilder,
_formulaCurrentConfigService): Lexer
Parameters
Parameter | Type |
---|---|
_definedNamesService | IDefinedNamesService |
_lexerTreeBuilder | LexerTreeBuilder |
_formulaCurrentConfigService | IFormulaCurrentConfigService |
Returns
Overrides
Defined in
submodules/univer/packages/engine-formula/src/engine/analysis/lexer.ts:28
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
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:106
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
treeBuilder()
treeBuilder(formulaString, transformSuffix): undefined | VALUE | LexerNode | (string | LexerNode)[]
Parameters
Parameter | Type | Default value |
---|---|---|
formulaString | string | undefined |
transformSuffix | boolean | true |
Returns
undefined
| VALUE
| LexerNode
| (string
| LexerNode
)[]
Defined in
submodules/univer/packages/engine-formula/src/engine/analysis/lexer.ts:36