pub struct PrettyReport<'source> { /* private fields */ }Expand description
A displayable three-part inspection report for one parsed source file.
The report shows the retained input snapshot, a recursively flattened raw
token table, and the complete generated typed CST. Use Self::ansi for
explicit terminal color or crate::ParsedFile::print_pretty for automatic
terminal detection.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'source> Freeze for PrettyReport<'source>
impl<'source> RefUnwindSafe for PrettyReport<'source>
impl<'source> Send for PrettyReport<'source>
impl<'source> Sync for PrettyReport<'source>
impl<'source> Unpin for PrettyReport<'source>
impl<'source> UnsafeUnpin for PrettyReport<'source>
impl<'source> UnwindSafe for PrettyReport<'source>
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