Enum clarity_repl::repl::ast::parser::lexer::error::LexerError
source · [−]pub enum LexerError {
Show 21 variants
InvalidCharInt(char),
InvalidCharUint(char),
InvalidCharBuffer(char),
InvalidCharIdent(char),
WarningCharIdent(char),
InvalidCharTraitIdent(char),
InvalidCharPrincipal(char),
InvalidBufferLength(usize),
UnknownEscapeChar(char),
IllegalCharString(char),
IllegalCharUTF8Encoding(char),
UnterminatedUTF8Encoding,
ExpectedClosing(char),
ExpectedSeparator,
EmptyUTF8Encoding,
InvalidUTF8Encoding,
SingleSemiColon,
UnknownSymbol(char),
NoteToMatchThis(char),
UnsupportedLineEnding,
EditorCRLFMode,
}
Variants
InvalidCharInt(char)
InvalidCharUint(char)
InvalidCharBuffer(char)
InvalidCharIdent(char)
WarningCharIdent(char)
InvalidCharTraitIdent(char)
InvalidCharPrincipal(char)
InvalidBufferLength(usize)
UnknownEscapeChar(char)
IllegalCharString(char)
IllegalCharUTF8Encoding(char)
UnterminatedUTF8Encoding
ExpectedClosing(char)
ExpectedSeparator
EmptyUTF8Encoding
InvalidUTF8Encoding
SingleSemiColon
UnknownSymbol(char)
NoteToMatchThis(char)
UnsupportedLineEnding
EditorCRLFMode
Trait Implementations
sourceimpl Clone for LexerError
impl Clone for LexerError
sourcefn clone(&self) -> LexerError
fn clone(&self) -> LexerError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for LexerError
impl Debug for LexerError
sourceimpl DiagnosableError for LexerError
impl DiagnosableError for LexerError
sourceimpl PartialEq<LexerError> for LexerError
impl PartialEq<LexerError> for LexerError
sourcefn eq(&self, other: &LexerError) -> bool
fn eq(&self, other: &LexerError) -> bool
impl StructuralPartialEq for LexerError
Auto Trait Implementations
impl RefUnwindSafe for LexerError
impl Send for LexerError
impl Sync for LexerError
impl Unpin for LexerError
impl UnwindSafe for LexerError
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