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]

[src]

Trait Implementations

impl Debug for ParseError
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for ParseError
[src]

[src]

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

[src]

This method tests for !=.

impl Error for ParseError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

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

impl Display for ParseError
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for ParseError

impl Sync for ParseError