use crate::prelude::*;
use crate::utils::block_like::CssBlockLike;
use biome_css_syntax::CssPageAtRuleBlock;
use biome_formatter::write;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatCssPageAtRuleBlock;
impl FormatNodeRule<CssPageAtRuleBlock> for FormatCssPageAtRuleBlock {
fn fmt_fields(&self, node: &CssPageAtRuleBlock, f: &mut CssFormatter) -> FormatResult<()> {
write!(f, [CssBlockLike::from(node.clone())])
}
fn fmt_dangling_comments(
&self,
_: &CssPageAtRuleBlock,
_: &mut CssFormatter,
) -> FormatResult<()> {
Ok(())
}
}