UNPKG

hyperformula

Version:

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

20 lines (19 loc) 691 B
/** * @license * Copyright (c) 2025 Handsoncode. All rights reserved. */ /** * Helper class for recognizing NamedExpression token in text */ export declare class NamedExpressionMatcher { readonly POSSIBLE_START_CHARACTERS: string[]; private namedExpressionRegexp; private r1c1CellRefRegexp; /** * Method used by the lexer to recognize NamedExpression token in text * * Note: using 'y' sticky flag for a named expression which is not supported on IE11... * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/sticky */ match(text: string, startOffset: number): RegExpExecArray | null; }