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),
ExpectedFrom(Loc, String),
}
Variants
EndOfFileInComment(Loc)
EndOfFileInString(Loc)
EndofFileInHex(Loc)
MissingNumber(Loc)
InvalidCharacterInHexLiteral(Loc, char)
UnrecognisedToken(Loc, String)
MissingExponent(Loc)
ExpectedFrom(Loc, String)
Trait Implementations
sourceimpl CodeLocation for LexicalError
impl CodeLocation for LexicalError
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
impl Eq for LexicalError
impl StructuralEq for LexicalError
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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