UNPKG

@haz3y0ne/parsexl

Version:

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

7 lines (6 loc) 239 B
import type { ASTNode } from "../types"; /** * Map a raw token string to one or more ASTArg descriptors. * Leaves `args` off entirely – the parser will attach them. */ export declare function guessTokenType(token: string): ASTNode[];