pub enum LambdaParserError<'input> {
LexerError(LexerError),
LambdaError(IncorrectLambdaError),
ParseError(ParseError<usize, Token<'input>, LexerError>),
RecoveryErrors(Vec<ErrorRecovery<usize, Token<'input>, LexerError>>),
}
Variants§
LexerError(LexerError)
LambdaError(IncorrectLambdaError)
ParseError(ParseError<usize, Token<'input>, LexerError>)
RecoveryErrors(Vec<ErrorRecovery<usize, Token<'input>, LexerError>>)
Trait Implementations§
source§impl<'input> Clone for LambdaParserError<'input>
impl<'input> Clone for LambdaParserError<'input>
source§fn clone(&self) -> LambdaParserError<'input>
fn clone(&self) -> LambdaParserError<'input>
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<'input> Debug for LambdaParserError<'input>
impl<'input> Debug for LambdaParserError<'input>
source§impl<'input> Display for LambdaParserError<'input>
impl<'input> Display for LambdaParserError<'input>
source§impl<'input> Error for LambdaParserError<'input>
impl<'input> Error for LambdaParserError<'input>
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl<'input> From<LexerError> for LambdaParserError<'input>
impl<'input> From<LexerError> for LambdaParserError<'input>
source§fn from(source: LexerError) -> Self
fn from(source: LexerError) -> Self
Converts to this type from the input type.
source§impl<'input> From<ParseError<usize, Token<'input>, LexerError>> for LambdaParserError<'input>
impl<'input> From<ParseError<usize, Token<'input>, LexerError>> for LambdaParserError<'input>
source§fn from(e: ParseError<usize, Token<'input>, LexerError>) -> Self
fn from(e: ParseError<usize, Token<'input>, LexerError>) -> Self
Converts to this type from the input type.
source§impl<'input> From<Vec<ErrorRecovery<usize, Token<'input>, LexerError>, Global>> for LambdaParserError<'input>
impl<'input> From<Vec<ErrorRecovery<usize, Token<'input>, LexerError>, Global>> for LambdaParserError<'input>
source§fn from(errors: Vec<ErrorRecovery<usize, Token<'input>, LexerError>>) -> Self
fn from(errors: Vec<ErrorRecovery<usize, Token<'input>, LexerError>>) -> Self
Converts to this type from the input type.
source§impl<'input> PartialEq<LambdaParserError<'input>> for LambdaParserError<'input>
impl<'input> PartialEq<LambdaParserError<'input>> for LambdaParserError<'input>
source§fn eq(&self, other: &LambdaParserError<'input>) -> bool
fn eq(&self, other: &LambdaParserError<'input>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.