css_ast/types/syntax.rs
1#![allow(unused)]
2use super::prelude::*;
3
4/// <https://drafts.csswg.org/css-values-5/#css-syntax>
5///
6/// ```text,ignore
7/// <syntax> = '*' | <syntax-component> [ <syntax-combinator> <syntax-component> ]* | <syntax-string>
8/// <syntax-component> = <syntax-single-component> <syntax-multiplier>?
9/// | '<' transform-list '>'
10/// <syntax-single-component> = '<' <syntax-type-name> '>' | <ident>
11/// <syntax-type-name> = angle | color | custom-ident | image | integer
12/// | length | length-percentage | number
13/// | percentage | resolution | string | time
14/// | url | transform-function
15/// <syntax-combinator> = '|'
16/// <syntax-multiplier> = [ '#' | '+' ]
17///
18/// <syntax-string> = <string>
19/// ```
20pub type Syntax = crate::Todo;