@univerjs-proengine-formulaindexclassesFormuladependencytreevirtual

@univerjs-pro/engine-formula v0.5.4


Class: FormulaDependencyTreeVirtual

Defined in: submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:97

Extends

  • FormulaDependencyTreeCalculator

Constructors

new FormulaDependencyTreeVirtual()

new FormulaDependencyTreeVirtual(): FormulaDependencyTreeVirtual

Returns

FormulaDependencyTreeVirtual

Inherited from

FormulaDependencyTreeCalculator.constructor

Properties

PropertyTypeDefault valueInherited fromDefined in
addressFunctionNodesFunctionNode[][]-submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:104
childrenSet<number>undefinedFormulaDependencyTreeCalculator.childrensubmodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:71
featureIdNullable<string>undefined-submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:272
getDirtyDataGetDirtyDataTypeundefined-submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:270
isCachebooleanfalse-submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:101
isDirtybooleanfalse-submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:102
parentsSet<number>undefinedFormulaDependencyTreeCalculator.parentssubmodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:73
refOffsetXnumber-1-submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:99
refOffsetYnumber-1-submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:100
refTreeNullable<FormulaDependencyTree>undefined-submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:98
treeIdnumberundefinedFormulaDependencyTreeCalculator.treeIdsubmodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:69

Accessors

column

Get Signature

get column(): number

Defined in: submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:117

Returns

number


columnCount

Get Signature

get columnCount(): number

Defined in: submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:131

Returns

number


formula

Get Signature

get formula(): string

Defined in: submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:152

Returns

string


formulaId

Get Signature

get formulaId(): Nullable<string>

Defined in: submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:273

Returns

Nullable<string>


isVirtual

Get Signature

get isVirtual(): boolean

Defined in: submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:106

Returns

boolean


node

Get Signature

get node(): Nullable<AstRootNode>

Defined in: submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:164

Returns

Nullable<AstRootNode>


nodeData

Get Signature

get nodeData(): {
  node: Nullable<AstRootNode>;
  refOffsetX: number;
  refOffsetY: number;
}

Defined in: submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:156

Returns
{
  node: Nullable<AstRootNode>;
  refOffsetX: number;
  refOffsetY: number;
}
NameTypeDefined in
nodeNullable<AstRootNode>submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:158
refOffsetXnumbersubmodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:159
refOffsetYnumbersubmodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:160

rangeList

Get Signature

get rangeList(): {
  range: IRange;
  sheetId: string;
  unitId: string;
 }[]

Defined in: submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:172

Returns

{ range: IRange; sheetId: string; unitId: string; }[]


row

Get Signature

get row(): number

Defined in: submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:110

Returns

number


rowCount

Get Signature

get rowCount(): number

Defined in: submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:124

Returns

number


subUnitId

Get Signature

get subUnitId(): string

Defined in: submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:145

Returns

string


unitId

Get Signature

get unitId(): string

Defined in: submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:138

Returns

string

Methods

dependencySheetName()

dependencySheetName(dirtyUnitSheetNameMap?): boolean

Defined in: submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:220

Parameters

ParameterType
dirtyUnitSheetNameMap?IDirtyUnitSheetNameMap

Returns

boolean


dispose()

dispose(): void

Defined in: submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:168

Returns

void


hasChildren()

hasChildren(treeId): boolean

Defined in: submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:80

Parameters

ParameterType
treeIdnumber

Returns

boolean

Inherited from

FormulaDependencyTreeCalculator.hasChildren

inRangeData()

inRangeData(range): boolean

Defined in: submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:204

Parameters

ParameterType
rangeIRange

Returns

boolean


isAdded()

isAdded(): boolean

Defined in: submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:57

Returns

boolean

Inherited from

FormulaDependencyTreeCalculator.isAdded

isExcludeRange()

isExcludeRange(unitExcludedCell): boolean

Defined in: submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:227

Parameters

ParameterType
unitExcludedCellNullable<IUnitExcludedCell>

Returns

boolean


isSkip()

isSkip(): boolean

Defined in: submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:65

Returns

boolean

Inherited from

FormulaDependencyTreeCalculator.isSkip

pushChildren()

pushChildren(tree): void

Defined in: submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:75

Parameters

ParameterType
treeFormulaDependencyTreeCalculator

Returns

void

Inherited from

FormulaDependencyTreeCalculator.pushChildren

resetState()

resetState(): void

Defined in: submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:49

Returns

void

Inherited from

FormulaDependencyTreeCalculator.resetState

setAdded()

setAdded(): void

Defined in: submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:53

Returns

void

Inherited from

FormulaDependencyTreeCalculator.setAdded

setSkip()

setSkip(): void

Defined in: submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:61

Returns

void

Inherited from

FormulaDependencyTreeCalculator.setSkip

toRTreeItem()

toRTreeItem(): IUnitRange[]

Defined in: submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:188

Returns

IUnitRange[]