pub trait ParseErrorDataTrait {
    fn get_position(&self) -> TextPosition;
    fn get_length(&self) -> usize;
    fn get_message(&self) -> String;
}
Expand description

Common trait for data about an error

Required Methods§

Gets the error’s position in the input

Gets the error’s length in the input (in number of characters)

Gets the error’s message

Implementors§