@univerjs/engine-formula v0.5.0-beta.1 • Docs
Class: FormulaDependencyTreeVirtual
Extends
FormulaDependencyTreeCalculator
Constructors
new FormulaDependencyTreeVirtual()
new FormulaDependencyTreeVirtual(): FormulaDependencyTreeVirtual
Returns
Inherited from
FormulaDependencyTreeCalculator.constructor
Properties
Property | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|
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:270 |
getDirtyData | GetDirtyDataType | undefined | - | submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:268 |
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
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;
}
Name | Type | Defined in |
---|---|---|
node | Nullable <AstRootNode > | submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:156 |
refOffsetX | number | submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:157 |
refOffsetY | number | submodules/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
Parameter | Type |
---|---|
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
Parameter | Type |
---|---|
treeId | number |
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
Parameter | Type |
---|---|
range | IRange |
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
Parameter | Type |
---|---|
unitExcludedCell | Nullable <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
Parameter | Type |
---|---|
tree | FormulaDependencyTreeCalculator |
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
Defined in
submodules/univer/packages/engine-formula/src/engine/dependency/dependency-tree.ts:186