Enum brush_parser::ParseError
source · pub enum ParseError {
ParsingNearToken(Token),
ParsingAtEndOfInput,
Tokenizing {
inner: TokenizerError,
position: Option<SourcePosition>,
},
}Expand description
Represents an error that occurred while parsing tokens.
Variants§
ParsingNearToken(Token)
A parsing error occurred near the given token.
ParsingAtEndOfInput
A parsing error occurred at the end of the input.
Tokenizing
An error occurred while tokenizing the input stream.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParseError
impl !RefUnwindSafe for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Unpin for ParseError
impl !UnwindSafe for ParseError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more