Expand description
An efficient lexer for Flycatcher source powered by Logos.
Structs§
- Lexer
Lexeris the main struct of the crate that allows you to read through aSourceand produce tokens for enums implementing theLogostrait.
Enums§
- Token
- A list of tokens that may be matched by the lexer. Because of the wonderful Logos crate, this enum also acts as a lexer, for example:
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.