UNPKG

hyperformula-dc

Version:

HyperFormula is a JavaScript engine for efficient processing of spreadsheet-like data and formulas

23 lines (22 loc) 1.3 kB
/** * @license * Copyright (c) 2021 Handsoncode. All rights reserved. */ import { ErrorType, SimpleCellAddress } from '../Cell'; import { DependencyGraph } from '../DependencyGraph'; import { CellAddress, ParserWithCaching } from '../parser'; import { ColumnAddress } from '../parser/ColumnAddress'; import { RowAddress } from '../parser/RowAddress'; import { Transformer } from './Transformer'; export declare class RemoveSheetTransformer extends Transformer { readonly sheet: number; constructor(sheet: number); isIrreversible(): boolean; performEagerTransformations(graph: DependencyGraph, _parser: ParserWithCaching): void; protected fixNodeAddress(address: SimpleCellAddress): SimpleCellAddress; protected transformCellAddress<T extends CellAddress>(dependencyAddress: T, _formulaAddress: SimpleCellAddress): ErrorType.REF | false | T; protected transformCellRange(start: CellAddress, _end: CellAddress, _formulaAddress: SimpleCellAddress): ErrorType.REF | false; protected transformColumnRange(start: ColumnAddress, _end: ColumnAddress, _formulaAddress: SimpleCellAddress): ErrorType.REF | false; protected transformRowRange(start: RowAddress, _end: RowAddress, _formulaAddress: SimpleCellAddress): ErrorType.REF | false; private transformAddress; }