Enum flycatcher_parser::error::ErrorKind[][src]

pub enum ErrorKind {
    SyntaxError,
    EndOfFile,
}
Expand description

A list of possible errors that may occur during parsing.

Variants

SyntaxError

A general syntax error, if this error is thrown, it is guaranteed that the parser will have emitted a diagnostic message.

EndOfFile

Returned when there is no tokens left in the lexer that the parser uses. The parser will not throw a diagnostic message if this error is found.

Trait Implementations

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

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.