Trait prism_parser::error::ParseError
source · pub trait ParseError: Sized + Clone {
type L;
// Required methods
fn new(span: Span) -> Self;
fn add_label_explicit(&mut self, label: Self::L);
fn add_label_implicit(&mut self, label: Self::L);
fn merge(self, other: Self) -> Self;
fn set_end(&mut self, end: Pos);
fn report(&self, enable_debug: bool) -> Report<'static, Span>;
}Required Associated Types§
Required Methods§
fn new(span: Span) -> Self
fn add_label_explicit(&mut self, label: Self::L)
fn add_label_implicit(&mut self, label: Self::L)
fn merge(self, other: Self) -> Self
fn set_end(&mut self, end: Pos)
fn report(&self, enable_debug: bool) -> Report<'static, Span>
Object Safety§
This trait is not object safe.