[−][src]Struct libslide::parser::errors::ExpectedExpr
This error fires on token sequences that are expected to parse as an expression, but do not.
The following are examples of slide programs that emit this error:
1 + +
^- offending token
1 / )
^- offending token
1 /
^- offending token: end of file
In all cases such programs are malformed and should be refactored to include complete expressions.
Trait Implementations
impl DiagnosticRecord for ExpectedExpr
[src]
Auto Trait Implementations
impl RefUnwindSafe for ExpectedExpr
impl Send for ExpectedExpr
impl Sync for ExpectedExpr
impl Unpin for ExpectedExpr
impl UnwindSafe for ExpectedExpr
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,