[][src]Enum wlambda::parser::state::ParseErrorKind

pub enum ParseErrorKind {
    UnexpectedToken(char, &'static str),
    ExpectedToken(char, &'static str),
    BadEscape(&'static str),
    BadIndent(&'static str),
    BadValue(ParseValueError),
    BadPattern(String),
    BadKeyword(String, &'static str),
    BadNumber(ParseNumberError),
    EOF(&'static str),
}

The possible errors the parser can detect while reading code.

Variants

UnexpectedToken(char, &'static str)
ExpectedToken(char, &'static str)
BadEscape(&'static str)
BadIndent(&'static str)
BadValue(ParseValueError)
BadPattern(String)
BadKeyword(String, &'static str)
BadNumber(ParseNumberError)
EOF(&'static str)

Trait Implementations

impl Debug for ParseErrorKind[src]

impl Display for ParseErrorKind[src]

impl Into<ParseErrorKind> for ParseValueError[src]

impl Into<ParseErrorKind> for ParseNumberError[src]

impl PartialEq<ParseErrorKind> for ParseErrorKind[src]

impl StructuralPartialEq for ParseErrorKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.