@univerjs/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
Inherited from
FormulaDependencyTreeCalculator.constructor
Properties
Property | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|
addressFunctionNodes | FunctionNode [] | [] | - | submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:104 |
children | Set <number > | undefined | FormulaDependencyTreeCalculator.children | submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:71 |
featureId | Nullable <string > | undefined | - | submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:272 |
getDirtyData | GetDirtyDataType | undefined | - | submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:270 |
isCache | boolean | false | - | submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:101 |
isDirty | boolean | false | - | submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:102 |
parents | Set <number > | undefined | FormulaDependencyTreeCalculator.parents | submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:73 |
refOffsetX | number | -1 | - | submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:99 |
refOffsetY | number | -1 | - | submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:100 |
refTree | Nullable <FormulaDependencyTree > | undefined | - | submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:98 |
treeId | number | undefined | FormulaDependencyTreeCalculator.treeId | submodules/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;
}
Name | Type | Defined in |
---|---|---|
node | Nullable <AstRootNode > | submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:158 |
refOffsetX | number | submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:159 |
refOffsetY | number | submodules/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
Parameter | Type |
---|---|
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
Parameter | Type |
---|---|
treeId | number |
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
Parameter | Type |
---|---|
range | IRange |
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
Parameter | Type |
---|---|
unitExcludedCell | Nullable <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
Parameter | Type |
---|---|
tree | FormulaDependencyTreeCalculator |
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