Skip to main content

parse_with

Function parse_with 

Source
pub fn parse_with(
    input: &str,
    options: &ParserOptions,
) -> Result<QueryNode, ParseError>
Expand description

Parse with caller-provided options. Use this to register custom filter names (so e.g. is:owed-reply parses to FilterKind::Custom("owed-reply") instead of returning ParseError::UnknownFilter).