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

lexical error; contains the invalid character and its index

syntax error; the expression is invalid

syntax error; the expression is empty

Trait Implementations

impl Debug for ParseError
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for ParseError
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.