1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
use crate::{DashedIdent, DeclarationBlockItem, Ident};
use swc_common::{ast_node, Span};
#[ast_node]
pub enum ColorProfileName {
#[tag("DashedIdent")]
DashedIdent(DashedIdent),
#[tag("Ident")]
Ident(Ident),
}
#[ast_node("ColorProfileRule")]
pub struct ColorProfileRule {
pub span: Span,
pub name: ColorProfileName,
pub block: Vec<DeclarationBlockItem>,
}