Enum cexpr::Error [] [src]

pub enum Error {
    ExactToken(Kind&'static [u8]),
    TypedToken(Kind),
    UnknownIdentifier,
    InvalidLiteral,
    Partial,
}

Parsing errors specific to C parsing

Variants

Expected the specified token

Expected a token of the specified kind

An unknown identifier was encountered

An invalid literal was encountered.

When encountered, this generally means a bug exists in the data that was passed in or the parsing logic.

A full parse was requested, but data was left over after parsing finished.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.