1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//! This module contains the semantic representation of a CSS StyleSheet.
//!
//! ```text
//! Sheet
//! └── Vec<enum ScopeContent>
//! ├── Block
//! │ ├── condition: Vec<Selector>
//! │ │ └── fragments: Vec<StringFragment>
//! │ └── content: Vec<enum RuleBlockContent>
//! │ ├── StyleAttr
//! │ │ ├── key: String
//! │ │ └── value: Vec<StringFragment>
//! │ ├── Block (*)
//! │ └── Rule (*)
//! └── Rule
//! ├── condition: Vec<StringFragment>
//! └── Vec<enum RuleBlockContent (*)>
//! ```
//!
//! # Warning
//!
//! This module is not stable at the moment and is exposed to be used by procedural macros.
//! Its API may change at anytime.
/// A procedural macro that parses a string literal or an inline stylesheet into a [`Sheet`].
///
/// Please consult the documentation of the [`macros`](crate::macros) module for the supported
/// syntax of this macro.
///
/// # Warning
///
/// Use of this macro is discouraged.
///
/// Any place that accepts the output of this macro also accepts the output of
/// [`css!`](crate::css).
///
/// Use [`css!`](crate::css) unless you know what you are doing.
pub use sheet;
pub use *;
pub use Bow;