Enum figtree::LexError [] [src]

pub enum LexError {
    UnclosedCommentError,
    UnclosedStringError,
    UnclosedIdentError,
    NewlineInIdentifier,
    InvalidEscape(char),
    InvalidUnicodeEscape(u32),
    FloatParseError(<f64 as FromStr>::Err),
    IntegerParseError(<i64 as FromStr>::Err),
    UnrecognisedCharError(char),
}

An enum representing different kinds of lexing errors

May be referenced in a ParseError if the parsing failed due to a lexical error

Variants

Trait Implementations

impl Debug for LexError
[src]

Formats the value using the given formatter.

impl PartialEq for LexError
[src]

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

This method tests for !=.