#![expect(clippy::todo, reason = "skeleton: #6833")]
use alloc::boxed::Box;
use alloc::vec::Vec;
use crate::pass::observer::PassEvent;
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct DumpPage {
pub pass: Option<&'static str>,
pub text: Box<str>,
}
#[derive(Debug, Clone, Default)]
pub struct DumpRuntime {
after_change_only: bool,
pages: Vec<DumpPage>,
}
impl DumpRuntime {
#[must_use]
pub const fn new(after_change_only: bool) -> Self {
Self {
after_change_only,
pages: Vec::new(),
}
}
pub fn seed(&mut self, canonical_text: &str) {
let _ = canonical_text;
todo!()
}
pub fn after_pass(&mut self, event: &PassEvent<'_>, canonical_text: &str) {
let _ = (event, canonical_text, self.after_change_only);
todo!()
}
#[must_use]
pub fn pages(&self) -> &[DumpPage] {
&self.pages
}
}