Enum lambda_calculus::parser::ParseError
[−]
[src]
pub enum ParseError { InvalidCharacter((usize, char)), InvalidExpression, EmptyExpression, }
An error returned by parse()
when a parsing issue is encountered.
Variants
InvalidCharacter((usize, char))
lexical error; contains the invalid character and its index
InvalidExpression
syntax error; the expression is invalid
EmptyExpression
syntax error; the expression is empty
Trait Implementations
impl Debug for ParseError
[src]
impl PartialEq for ParseError
[src]
fn eq(&self, __arg_0: &ParseError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ParseError) -> bool
[src]
This method tests for !=
.