pub struct ParseOutput {
pub program: Option<Program>,
pub errors: Vec<OpyError>,
}Expand description
The outcome of a parse.
Fields§
§program: Option<Program>The parsed program, present only when no errors were collected.
errors: Vec<OpyError>Every structured error collected during the parse.
Trait Implementations§
Source§impl Debug for ParseOutput
impl Debug for ParseOutput
Auto Trait Implementations§
impl Freeze for ParseOutput
impl RefUnwindSafe for ParseOutput
impl Send for ParseOutput
impl Sync for ParseOutput
impl Unpin for ParseOutput
impl UnsafeUnpin for ParseOutput
impl UnwindSafe for ParseOutput
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