Struct webidl_parser::LexicalError [] [src]

pub struct LexicalError {
    pub code: LexicalErrorCode,
    pub location: usize,
}

The error that is returned when an error occurs during lexing.

Fields

The code that is used to distinguish different types of errors.

The location offset from the beginning of the input string given to the lexer.

Trait Implementations

impl Clone for LexicalError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for LexicalError
[src]

impl Debug for LexicalError
[src]

Formats the value using the given formatter.

impl Eq for LexicalError
[src]

impl Hash for LexicalError
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for LexicalError
[src]

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

This method tests for !=.