UNPKG

hyperformula

Version:

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

22 lines (21 loc) 796 B
/** * @license * Copyright (c) 2025 Handsoncode. All rights reserved. */ import { ProcedureAst } from '../../parser'; import { FunctionPlugin } from '../index'; import { InterpreterState } from '../InterpreterState'; import { InterpreterValue } from '../InterpreterValue'; import { FunctionPluginTypecheck, ImplementedFunctions } from './FunctionPlugin'; export declare class FormulaTextPlugin extends FunctionPlugin implements FunctionPluginTypecheck<FormulaTextPlugin> { static implementedFunctions: ImplementedFunctions; /** * Corresponds to FORMULATEXT(value) * * Returns a formula in a given cell as a string. * * @param ast * @param state */ formulatext(ast: ProcedureAst, state: InterpreterState): InterpreterValue; }