UNPKG

hyperformula-dc

Version:

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

29 lines (28 loc) 931 B
/** * @license * Copyright (c) 2021 Handsoncode. All rights reserved. */ import { CellError } from '../Cell'; import { RawCellContent } from '../CellContentParser'; import { ExtendedNumber } from '../interpreter/InterpreterValue'; export declare type ValueCellVertexValue = ExtendedNumber | boolean | string | CellError; export interface RawAndParsedValue { parsedValue: ValueCellVertexValue; rawValue: RawCellContent; } /** * Represents vertex which keeps static cell value */ export declare class ValueCellVertex { private parsedValue; private rawValue; /** Static cell value. */ constructor(parsedValue: ValueCellVertexValue, rawValue: RawCellContent); getValues(): RawAndParsedValue; setValues(values: RawAndParsedValue): void; /** * Returns cell value stored in vertex */ getCellValue(): ValueCellVertexValue; setCellValue(_cellValue: ValueCellVertexValue): never; }