pub trait DocumentParser<'doc> {
type Output;
type Error;
// Required method
fn parse(
&mut self,
ctx: &ParseContext<'doc>,
) -> Result<Self::Output, Self::Error>;
}pub trait DocumentParser<'doc> {
type Output;
type Error;
// Required method
fn parse(
&mut self,
ctx: &ParseContext<'doc>,
) -> Result<Self::Output, Self::Error>;
}