Struct mediawiki_parser::ParseError[][src]

pub struct ParseError {
    pub position: Position,
    pub expected: Vec<String>,
    pub context: Vec<String>,
    pub context_start: usize,
    pub context_end: usize,
}

The parser error with source code context.

Fields

Methods

impl ParseError
[src]

Trait Implementations

impl Debug for ParseError
[src]

Formats the value using the given formatter. Read more

impl PartialEq for ParseError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Error for ParseError
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl Display for ParseError
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for ParseError

impl Sync for ParseError