Module lexer

Source

Structs§

Lexer
Lexer is the main struct of the crate that allows you to read through a Source and produce tokens for enums implementing the Logos trait.

Enums§

Token

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.

Type Aliases§

TokenRanges

Derive Macros§

Logos