accent_sass_compiler 0.16.0

Internal implementation of the accent-sass compiler
Documentation
use codemap::Span;

use crate::ast::CssStmt;

#[derive(Debug, Clone)]
#[allow(dead_code)]
pub(crate) struct UnknownAtRule {
    pub name: String,
    // pub super_selector: Selector,
    pub params: String,
    pub body: Vec<CssStmt>,

    /// Whether or not this @-rule was declared with curly
    /// braces. A body may not necessarily have contents
    pub has_body: bool,

    /// Where the rule was written. A bodiless rule's span is its name and
    /// parameters, which is what a warning about the style rule holding it
    /// points at.
    pub span: Span,
}