Enum baby_emulator::assembler::parser::errors::LineParseError
source · pub enum LineParseError {
TagError(TagError),
AbsoluteError(AbsoluteError),
InstructionError(InstructionError),
}Expand description
Thrown when an error is encountered parsing a Baby asm line.
Variants§
TagError(TagError)
Thrown when an error is encountered parsing a tag declaration.
AbsoluteError(AbsoluteError)
Thrown when an error is encountered parsing an absolute value declaration.
InstructionError(InstructionError)
Thrown when an error is encountered parsing a instruction use.
Trait Implementations§
source§impl Debug for LineParseError
impl Debug for LineParseError
source§impl ParseError for LineParseError
impl ParseError for LineParseError
source§impl PartialEq<LineParseError> for LineParseError
impl PartialEq<LineParseError> for LineParseError
source§fn eq(&self, other: &LineParseError) -> bool
fn eq(&self, other: &LineParseError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LineParseError
Auto Trait Implementations§
impl RefUnwindSafe for LineParseError
impl Send for LineParseError
impl Sync for LineParseError
impl Unpin for LineParseError
impl UnwindSafe for LineParseError
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