Enum expry::CompileErrorDescription
source · pub enum CompileErrorDescription<'a> {
NoToken,
ParserTooLong,
UnknownField(&'a str),
Lexer(LexerError),
Parser(&'a str),
Optimizer(EvalError<'a>),
Types(TypeError<'a>),
}
Variants§
NoToken
ParserTooLong
UnknownField(&'a str)
Lexer(LexerError)
Parser(&'a str)
Optimizer(EvalError<'a>)
Types(TypeError<'a>)
Trait Implementations§
source§impl<'a> Clone for CompileErrorDescription<'a>
impl<'a> Clone for CompileErrorDescription<'a>
source§fn clone(&self) -> CompileErrorDescription<'a>
fn clone(&self) -> CompileErrorDescription<'a>
Returns a copy 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<'a> Debug for CompileErrorDescription<'a>
impl<'a> Debug for CompileErrorDescription<'a>
source§impl<'a> Display for CompileErrorDescription<'a>
impl<'a> Display for CompileErrorDescription<'a>
source§impl<'a> From<TypeError<'a>> for CompileErrorDescription<'a>
impl<'a> From<TypeError<'a>> for CompileErrorDescription<'a>
source§impl<'a> PartialEq<CompileErrorDescription<'a>> for CompileErrorDescription<'a>
impl<'a> PartialEq<CompileErrorDescription<'a>> for CompileErrorDescription<'a>
source§fn eq(&self, other: &CompileErrorDescription<'a>) -> bool
fn eq(&self, other: &CompileErrorDescription<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.