Module logos_lexer

Module logos_lexer 

Source
Expand description

SIMD-accelerated lexer using Logos.

This module provides a fast tokenizer for Beancount syntax using the Logos crate, which generates a DFA-based lexer with SIMD optimizations where available.

Structs§

Span
A span in the source code (byte offsets).

Enums§

Token
Token types produced by the Logos lexer.

Functions§

tokenize
Tokenize source code into a vector of (Token, Span) pairs.