Function exhaustive_parse

Source
pub fn exhaustive_parse<T: Parse>(input: &str) -> Result<Vec<T>>
Expand description

Parses until the stream is empty or there are only whitespaces left.

Examples found in repository?
examples/tokenizer.rs (line 199)
198fn main() {
199    println!("{:?}", syntax_rs::exhaustive_parse::<Token>(CODE));
200}