pub enum PreprocessorError {
Show 26 variants
IntegerOverflow,
FloatParsingError,
UnexpectedCharacter,
UnexpectedToken(TokenValue),
UnexpectedHash,
UnexpectedNewLine,
UnexpectedEndOfInput,
TooFewDefineArguments,
TooManyDefineArguments,
ErrorDirective,
DuplicateParameter,
UnknownDirective,
DefineRedefined,
ElifOutsideOfBlock,
ElseOutsideOfBlock,
EndifOutsideOfBlock,
ElifAfterElse,
MoreThanOneElse,
UnfinishedBlock,
LineOverflow,
NotSupported16BitLiteral,
NotSupported64BitLiteral,
MacroNotDefined,
RecursionLimitReached,
DivisionByZero,
RemainderByZero,
}
Variants§
IntegerOverflow
FloatParsingError
UnexpectedCharacter
UnexpectedToken(TokenValue)
UnexpectedHash
UnexpectedNewLine
UnexpectedEndOfInput
TooFewDefineArguments
TooManyDefineArguments
ErrorDirective
DuplicateParameter
UnknownDirective
DefineRedefined
ElifOutsideOfBlock
ElseOutsideOfBlock
EndifOutsideOfBlock
ElifAfterElse
MoreThanOneElse
UnfinishedBlock
LineOverflow
NotSupported16BitLiteral
NotSupported64BitLiteral
MacroNotDefined
RecursionLimitReached
DivisionByZero
RemainderByZero
Trait Implementations§
Source§impl Clone for PreprocessorError
impl Clone for PreprocessorError
Source§fn clone(&self) -> PreprocessorError
fn clone(&self) -> PreprocessorError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PreprocessorError
impl Debug for PreprocessorError
Source§impl PartialEq for PreprocessorError
impl PartialEq for PreprocessorError
impl StructuralPartialEq for PreprocessorError
Auto Trait Implementations§
impl Freeze for PreprocessorError
impl RefUnwindSafe for PreprocessorError
impl Send for PreprocessorError
impl Sync for PreprocessorError
impl Unpin for PreprocessorError
impl UnwindSafe for PreprocessorError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more