Module lexer

Module lexer 

Source
Expand description

Lexer for tokenizing LNMP text format.

Structs§

Lexer
Lexer for LNMP text format
SpanMap
Maps positions between sanitized and original input for lenient mode

Enums§

Token
Token types in LNMP format

Functions§

build_span_map
Builds a best-effort mapping from sanitized byte offsets to original byte offsets.