UNPKG

@haz3y0ne/parsexl

Version:

Parses Excel formulas into a clean, well-typed abstract syntax tree you can analyse or evaluate in TypeScript.

4 lines (3 loc) 187 B
import type { Token } from "../types"; /** Tokenise `formula`. Pass `true` to `debug` to dump the tokens. */ export declare function tokenize(formula: string, debug?: boolean): Token[];