pub trait Parser<T, E = ()> {
// Required method
fn parse<'s>(
&self,
source: &'s str,
location: Span,
) -> ParseResult<'s, T, E>;
}
Expand description
A parser takes an input source and produces an array of potential tagged values and an array of errors.