Crate flycatcher_lexer

Crate flycatcher_lexer 

Source
Expand description

An efficient lexer for Flycatcher source powered by Logos.

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
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.

Derive Macros§

Logos