Enum esparse::lex::ParseStrLitError [] [src]

pub enum ParseStrLitError {
    InvalidEscape,
}

An error type for parsing string literals.

Returned by str_lit_value when the given string literal is syntactically invalid.

Variants

The string literal contains an invalid escape sequence.

Note that \c, where c is not a SingleEscapeCharacter, is not an invalid escape sequence. For example, "\a" is a valid string literal with the value "a".

Trait Implementations

impl Debug for ParseStrLitError
[src]

Formats the value using the given formatter.

impl Clone for ParseStrLitError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for ParseStrLitError
[src]

impl PartialEq for ParseStrLitError
[src]

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

This method tests for !=.

impl Hash for ParseStrLitError
[src]

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

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

impl Display for ParseStrLitError
[src]

Formats the value using the given formatter. Read more