Skip to main content

Module lexer

Module lexer 

Source
Expand description

Byte-oriented lexer for bash input.

Operates on &[u8] with a position cursor. No token enum — the parser calls methods directly (peek/eat/read). Every read method returns &'a str — a zero-copy slice of the input.

Structs§

ParseError
Error produced when the parser encounters invalid or unsupported bash syntax.