Skip to main content

Module lexer

Module lexer 

Source
Expand description

Tokenizer for Excel formulas (A1 style, canonical or selected UI separators).

Token spans are byte offsets into the source, which the editor uses to colour references.

Structs§

LexError
Token

Enums§

Tok

Functions§

tokenize
Tokenizes formula text (without the leading =).
tokenize_locale
Tokenizes UI syntax while retaining byte spans in the original text.