pub fn parse_next_statement(
source: &[u8],
offset: usize,
limits: &Limits,
) -> Result<ParsedStatement, ParseError>Expand description
Parses the next statement beginning at offset.
The returned consumed count is what a caller advances by to reach the
tail, which is SQLite’s prepare contract. A source that holds only trivia
yields an empty statement and consumes all of it.