pub fn parse(input: &str) -> Result<Ast, ParseError>Expand description
Tokenize and parse query text into an Ast.
§Errors
Returns a ParseError for malformed input: an unclosed quote, or an
invalid size:/date filter, or a term that cannot be negated.
§Panics
Does not panic: groups is seeded with one group and only grows, so the
last_mut access always succeeds.