Enum solang_parser::lexer::LexicalError
source · [−]pub enum LexicalError {
EndOfFileInComment(Loc),
EndOfFileInString(Loc),
EndofFileInHex(Loc),
MissingNumber(Loc),
InvalidCharacterInHexLiteral(Loc, char),
UnrecognisedToken(Loc, String),
MissingExponent(Loc),
DoublePoints(Loc),
UnrecognisedDecimal(Loc),
ExpectedFrom(Loc, String),
}
Variants
EndOfFileInComment(Loc)
EndOfFileInString(Loc)
EndofFileInHex(Loc)
MissingNumber(Loc)
InvalidCharacterInHexLiteral(Loc, char)
UnrecognisedToken(Loc, String)
MissingExponent(Loc)
DoublePoints(Loc)
UnrecognisedDecimal(Loc)
ExpectedFrom(Loc, String)
Implementations
sourceimpl LexicalError
impl LexicalError
Trait Implementations
sourceimpl Debug for LexicalError
impl Debug for LexicalError
sourceimpl Display for LexicalError
impl Display for LexicalError
sourceimpl PartialEq<LexicalError> for LexicalError
impl PartialEq<LexicalError> for LexicalError
sourcefn eq(&self, other: &LexicalError) -> bool
fn eq(&self, other: &LexicalError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LexicalError) -> bool
fn ne(&self, other: &LexicalError) -> bool
This method tests for !=
.
impl StructuralPartialEq for LexicalError
Auto Trait Implementations
impl RefUnwindSafe for LexicalError
impl Send for LexicalError
impl Sync for LexicalError
impl Unpin for LexicalError
impl UnwindSafe for LexicalError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more