Enum meval::tokenizer::ParseError [] [src]

pub enum ParseError {
    UnexpectedToken(usize),
    MissingRParen(i32),
    MissingArgument,
    Unexpected,
}

An error reported by the parser.

Variants

UnexpectedToken(usize)

A token that is not allowed at the given location (contains the location of the offending character in the source string).

MissingRParen(i32)

Missing right parentheses at the end of the source string (contains the number of missing parens).

MissingArgument

Missing operator or function argument at the end of the expression.

Unexpected

Trait Implementations

impl PartialEq for ParseError
[src]

fn eq(&self, __arg_0: &ParseError) -> bool

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

fn ne(&self, __arg_0: &ParseError) -> bool

This method tests for !=.

impl Clone for ParseError
[src]

fn clone(&self) -> ParseError

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for ParseError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.