@univerjsengine-formulaindexclassesFormuladependencytreevirtual

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


Class: FormulaDependencyTreeVirtual

Extends

  • FormulaDependencyTreeCalculator

Constructors

new FormulaDependencyTreeVirtual()

new FormulaDependencyTreeVirtual(): FormulaDependencyTreeVirtual

Returns

FormulaDependencyTreeVirtual

Inherited from

FormulaDependencyTreeCalculator.constructor

Properties

PropertyTypeDefault valueInherited fromDefined in
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:270
getDirtyDataGetDirtyDataTypeundefined-submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:268
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
Returns

number

Defined in

submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:115


columnCount

Get Signature

get columnCount(): number
Returns

number

Defined in

submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:129


formula

Get Signature

get formula(): string
Returns

string

Defined in

submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:150


formulaId

Get Signature

get formulaId(): Nullable<string>
Returns

Nullable<string>

Defined in

submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:271


isVirtual

Get Signature

get isVirtual(): boolean
Returns

boolean

Defined in

submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:104


node

Get Signature

get node(): Nullable<AstRootNode>
Returns

Nullable<AstRootNode>

Defined in

submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:162


nodeData

Get Signature

get nodeData(): {
  node: Nullable<AstRootNode>;
  refOffsetX: number;
  refOffsetY: number;
}
Returns
{
  node: Nullable<AstRootNode>;
  refOffsetX: number;
  refOffsetY: number;
}
NameTypeDefined in
nodeNullable<AstRootNode>submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:156
refOffsetXnumbersubmodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:157
refOffsetYnumbersubmodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:158

Defined in

submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:154


rangeList

Get Signature

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

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

Defined in

submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:170


row

Get Signature

get row(): number
Returns

number

Defined in

submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:108


rowCount

Get Signature

get rowCount(): number
Returns

number

Defined in

submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:122


subUnitId

Get Signature

get subUnitId(): string
Returns

string

Defined in

submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:143


unitId

Get Signature

get unitId(): string
Returns

string

Defined in

submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:136

Methods

dependencySheetName()

dependencySheetName(dirtyUnitSheetNameMap?): boolean

Parameters

ParameterType
dirtyUnitSheetNameMap?IDirtyUnitSheetNameMap

Returns

boolean

Defined in

submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:218


dispose()

dispose(): void

Returns

void

Defined in

submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:166


hasChildren()

hasChildren(treeId): boolean

Parameters

ParameterType
treeIdnumber

Returns

boolean

Inherited from

FormulaDependencyTreeCalculator.hasChildren

Defined in

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


inRangeData()

inRangeData(range): boolean

Parameters

ParameterType
rangeIRange

Returns

boolean

Defined in

submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:202


isAdded()

isAdded(): boolean

Returns

boolean

Inherited from

FormulaDependencyTreeCalculator.isAdded

Defined in

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


isExcludeRange()

isExcludeRange(unitExcludedCell): boolean

Parameters

ParameterType
unitExcludedCellNullable<IUnitExcludedCell>

Returns

boolean

Defined in

submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:225


isSkip()

isSkip(): boolean

Returns

boolean

Inherited from

FormulaDependencyTreeCalculator.isSkip

Defined in

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


pushChildren()

pushChildren(tree): void

Parameters

ParameterType
treeFormulaDependencyTreeCalculator

Returns

void

Inherited from

FormulaDependencyTreeCalculator.pushChildren

Defined in

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


resetState()

resetState(): void

Returns

void

Inherited from

FormulaDependencyTreeCalculator.resetState

Defined in

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


setAdded()

setAdded(): void

Returns

void

Inherited from

FormulaDependencyTreeCalculator.setAdded

Defined in

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


setSkip()

setSkip(): void

Returns

void

Inherited from

FormulaDependencyTreeCalculator.setSkip

Defined in

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


toRTreeItem()

toRTreeItem(): IUnitRange[]

Returns

IUnitRange[]

Defined in

submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:186