Struct ukhasnet_parser::ParserError
[−]
[src]
pub struct ParserError { pub position: usize, pub expected: Vec<String>, }
Contains the position in the input at which a parsing error occurred, and a Vec of token names we expected to see instead.
Fields
position: usize
expected: Vec<String>
Methods
impl ParserError
[src]
fn from_parser<'a, T: Input<'a>>(parser: &mut Rdp<T>) -> ParserError
Extract error information from a parser.