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

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

An error reported by the parser.

Variants

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

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

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

Trait Implementations

impl Debug for ParseError
[src]

Formats the value using the given formatter. Read more

impl Clone for ParseError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for ParseError
[src]

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

This method tests for !=.

impl Display for ParseError
[src]

Formats the value using the given formatter. Read more

impl Error for ParseError
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl From<ParseError> for Error
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for ParseError

impl Sync for ParseError