@univerjs/engine-formula v0.5.0-beta.1Docs


Class: ReferenceNodeFactory

Extends

  • BaseAstNodeFactory

Constructors

new ReferenceNodeFactory()

new ReferenceNodeFactory(
   _currentConfigService, 
   _formulaRuntimeService, 
   _functionService): ReferenceNodeFactory

Parameters

ParameterType
_currentConfigServiceIFormulaCurrentConfigService
_formulaRuntimeServiceIFormulaRuntimeService
_functionServiceIFunctionService

Returns

ReferenceNodeFactory

Overrides

BaseAstNodeFactory.constructor

Defined in

submodules/univer/packages/engine-formula/src/engine/ast-node/reference-node.ts:104

Accessors

zIndex

Get Signature

get zIndex(): number
Returns

number

Overrides

BaseAstNodeFactory.zIndex

Defined in

submodules/univer/packages/engine-formula/src/engine/ast-node/reference-node.ts:112

Methods

checkAndCreateNodeType()

checkAndCreateNodeType(param): undefined | ReferenceNode

Parameters

ParameterType
paramstring | LexerNode

Returns

undefined | ReferenceNode

Overrides

BaseAstNodeFactory.checkAndCreateNodeType

Defined in

submodules/univer/packages/engine-formula/src/engine/ast-node/reference-node.ts:116


create()

create(
   param, 
   currentRow?, 
   currentColumn?): BaseAstNode

Parameters

ParameterType
paramstring | LexerNode
currentRow?number
currentColumn?number

Returns

BaseAstNode

Inherited from

BaseAstNodeFactory.create

Defined in

submodules/univer/packages/engine-formula/src/engine/ast-node/base-ast-node-factory.ts:33


dispose()

dispose(): void

Returns

void

Inherited from

BaseAstNodeFactory.dispose

Defined in

submodules/univer/packages/engine-formula/src/engine/ast-node/base-ast-node-factory.ts:29