Struct lamcal::ParseError[][src]

pub struct ParseError { /* fields omitted */ }

An error that occurs during parsing of expressions.

Methods

impl ParseError
[src]

Constructs a new ParseError with the given information.

Returns the kind of error that has been found.

Returns the position in the input stream, where the error has been found.

Returns the slice of the expression which causes the error.

Returns a description of what is expected to form a correct expression.

Returns an additional hint for finding and fixing the error.

The hint is optional. So some errors might not have a hint for you.

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

Auto Trait Implementations

impl Send for ParseError

impl Sync for ParseError