UNPKG

hyperformula-dc

Version:

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

27 lines (26 loc) 908 B
/** * @license * Copyright (c) 2021 Handsoncode. All rights reserved. */ import { ProcedureAst } from '../../parser'; import { InterpreterState } from '../InterpreterState'; import { InterpreterValue } from '../InterpreterValue'; import { ArgumentTypes, FunctionPlugin, FunctionPluginTypecheck } from './FunctionPlugin'; export declare class CodePlugin extends FunctionPlugin implements FunctionPluginTypecheck<CodePlugin> { static implementedFunctions: { CODE: { method: string; parameters: { argumentType: ArgumentTypes; }[]; }; UNICODE: { method: string; parameters: { argumentType: ArgumentTypes; }[]; }; }; code(ast: ProcedureAst, state: InterpreterState): InterpreterValue; unicode(ast: ProcedureAst, state: InterpreterState): InterpreterValue; }