1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use swc_common::{ast_node, Span};

use crate::{DashedIdent, Ident, SimpleBlock};

#[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: SimpleBlock,
}