Structs§
- Lexer
Lexer
is the main struct of the crate that allows you to read through aSource
and produce tokens for enums implementing theLogos
trait.
Enums§
Traits§
- Logos
- Trait implemented for an enum representing all tokens. You should never have
to implement it manually, use the
#[derive(Logos)]
attribute on your enum.