Module parce::lexer[][src]

Expand description

Contains the Lexer trait and the Lexeme wrapper struct used by the generated lexers.

Structs

Lexeme

Wrapper for the lexeme enum, containing extra information about the location and length of the lexeme in the string input.

Traits

Lexer

Enables lexing a string into a vector of lexemes. The parce_macros::lexer attribute macro generates impls of this trait.