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

@univerjs/engine-formula v0.4.2Docs


Class: PrefixNodeFactory

Extends

  • BaseAstNodeFactory

Constructors

new PrefixNodeFactory()

new PrefixNodeFactory(_functionService, _injector): PrefixNodeFactory

Parameters

ParameterType
_functionServiceIFunctionService
_injectorInjector

Returns

PrefixNodeFactory

Overrides

BaseAstNodeFactory.constructor

Defined in

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

Accessors

zIndex

get zIndex(): number

Returns

number

Overrides

BaseAstNodeFactory.zIndex

Defined in

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

Methods

checkAndCreateNodeType()

checkAndCreateNodeType(param): undefined | ErrorNode | PrefixNode

Parameters

ParameterType
paramstring | LexerNode

Returns

undefined | ErrorNode | PrefixNode

Overrides

BaseAstNodeFactory.checkAndCreateNodeType

Defined in

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


create()

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

Parameters

ParameterType
paramstring | LexerNode
currentRow?number
currentColumn?number

Returns

BaseAstNode

Inherited from

BaseAstNodeFactory.create

Defined in

packages/engine-formula/src/engine/ast-node/base-ast-node-factory.ts:33 (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.