/// Parses a single ExecutableDefinition and returns an AST as well as the
/// remainder of the input which is unparsed
pub fn consume_definition<'a, S>(s: &'a str) -> Result<(Definition<'a, S>, &'a str), ParseError> where S: Text<'a> { ... }
There are 4 tests demonstrating the functionality.
This PR adds a new API consume_query:
There are 4 tests demonstrating the functionality.
Resolves #35 Replaces #36