Skip to main content

Crate frost_lexer

Crate frost_lexer 

Source
Expand description

Zsh-compatible lexer.

Tokenizes zsh source into a stream of Tokens. The lexer is context-aware: quoting state, heredoc delimiters, and alias expansion all influence tokenization (matching zsh behavior).

Re-exports§

pub use lexer::Lexer;
pub use lexer::tokenize;

Modules§

lexer
Main lexer implementation.

Structs§

Span
Byte offset span in source.
Token
A token produced by the lexer.

Enums§

TokenKind
All token kinds recognized by the zsh lexer.