pub trait SpannedEventReceiver<'input> {
// Required method
fn on_event(&mut self, ev: Event<'input>, span: Span);
}
Expand description
Trait to be implemented for using the low-level parsing API.
Functionally similar to EventReceiver
, but receives a Span
as well as the event.