API Reference
@univerjs
@univerjs/engine-formula
classes
Functionnodefactory

@univerjs/engine-formula v0.4.2Docs


Class: FunctionNodeFactory

Extends

  • BaseAstNodeFactory

Constructors

new FunctionNodeFactory()

new FunctionNodeFactory(
   _functionService, 
   _currentConfigService, 
   _runtimeService, 
   _definedNamesService, 
   _injector): FunctionNodeFactory

Parameters

ParameterType
_functionServiceIFunctionService
_currentConfigServiceIFormulaCurrentConfigService
_runtimeServiceIFormulaRuntimeService
_definedNamesServiceIDefinedNamesService
_injectorInjector

Returns

FunctionNodeFactory

Overrides

BaseAstNodeFactory.constructor

Defined in

packages/engine-formula/src/engine/ast-node/function-node.ts:310 (opens in a new tab)

Accessors

zIndex

get zIndex(): number

Returns

number

Overrides

BaseAstNodeFactory.zIndex

Defined in

packages/engine-formula/src/engine/ast-node/function-node.ts:320 (opens in a new tab)

Methods

checkAndCreateNodeType()

checkAndCreateNodeType(param): undefined | BaseAstNode

Parameters

ParameterType
paramstring | LexerNode

Returns

undefined | BaseAstNode

Overrides

BaseAstNodeFactory.checkAndCreateNodeType

Defined in

packages/engine-formula/src/engine/ast-node/function-node.ts:334 (opens in a new tab)


create()

create(token): BaseAstNode

Parameters

ParameterType
tokenstring

Returns

BaseAstNode

Overrides

BaseAstNodeFactory.create

Defined in

packages/engine-formula/src/engine/ast-node/function-node.ts:324 (opens in a new tab)


dispose()

dispose(): void

Returns

void

Inherited from

BaseAstNodeFactory.dispose

Defined in

packages/engine-formula/src/engine/ast-node/base-ast-node-factory.ts:29 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.