Module parser

Source
Expand description

§Search emails query string parser

This module contains parsers needed to parse a full search emails query from a string slice. See filter::parser::query and sort::parser::query for more details.

Parsing is based on the great lib chumsky.

Functions§

parse
Parse the given string slice into a SearchEmailsQuery.
parse_filter
Parse the given string into a SearchEmailsFilterQuery.
parse_sort
Parse the given string into a list of SearchEmailsSorter.

Type Aliases§

ParserError
Alias for a rich chumsky error for better diagnosis.