Enum cexpr::Error
[−]
[src]
pub enum Error { ExactToken(Kind, &'static [u8]), TypedToken(Kind), UnknownIdentifier, InvalidLiteral, Partial, }
Parsing errors specific to C parsing
Variants
ExactToken(Kind, &'static [u8])
Expected the specified token
TypedToken(Kind)
Expected a token of the specified kind
UnknownIdentifier
An unknown identifier was encountered
InvalidLiteral
An invalid literal was encountered.
When encountered, this generally means a bug exists in the data that was passed in or the parsing logic.
Partial
A full parse was requested, but data was left over after parsing finished.