//! # Convert from SCSS AST to CSS use std::io::Write; use codemap::CodeMap; use crate::{ atrule::{media::MediaRule, SupportsRule, UnknownAtRule}, error::SassResult, parse::Stmt, selector::Extender, selector::Selector, style::Style, }; #[derive(Debug, Clone)] enum Toplevel { RuleSet(Selector, Vec), MultilineComment(String), UnknownAtRule { name: String, params: String, body: Vec, }, Media { query: String, body: Vec, }, Supports { params: String, body: Vec, }, Newline, Style(Style), } #[derive(Debug, Clone)] enum BlockEntry { Style(Box