Enum clarity_repl::repl::ast::parser::error::ParserError
source · [−]pub enum ParserError {
Show 21 variants
Lexer(LexerError),
ContractNameTooLong(String),
ExpectedContractIdentifier,
ExpectedTraitIdentifier,
ExpectedIdentifier,
ExpectedPrincipal,
IllegalContractName,
IllegalTraitName,
InvalidPrincipalLiteral,
InvalidBuffer,
NameTooLong(String),
UnexpectedToken(Token),
ExpectedClosing(Token),
TupleColonExpected,
TupleCommaExpected,
TupleValueExpected,
IllegalClarityName(String),
IllegalASCIIString(String),
IllegalUtf8String(String),
ExpectedWhitespace,
NoteToMatchThis(Token),
}
Variants
Lexer(LexerError)
ContractNameTooLong(String)
ExpectedContractIdentifier
ExpectedTraitIdentifier
ExpectedIdentifier
ExpectedPrincipal
IllegalContractName
IllegalTraitName
InvalidPrincipalLiteral
InvalidBuffer
NameTooLong(String)
UnexpectedToken(Token)
ExpectedClosing(Token)
TupleColonExpected
TupleCommaExpected
TupleValueExpected
IllegalClarityName(String)
IllegalASCIIString(String)
IllegalUtf8String(String)
ExpectedWhitespace
NoteToMatchThis(Token)
Trait Implementations
sourceimpl Debug for ParserError
impl Debug for ParserError
sourceimpl DiagnosableError for ParserError
impl DiagnosableError for ParserError
sourceimpl PartialEq<ParserError> for ParserError
impl PartialEq<ParserError> for ParserError
sourcefn eq(&self, other: &ParserError) -> bool
fn eq(&self, other: &ParserError) -> bool
impl StructuralPartialEq for ParserError
Auto Trait Implementations
impl RefUnwindSafe for ParserError
impl Send for ParserError
impl Sync for ParserError
impl Unpin for ParserError
impl UnwindSafe for ParserError
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