Crate casco

Crate casco 

Source
Expand description

Crate for parsing CSS-like structures from the input of a procedural macro.

Modules§

cascade
Types and functions to parse a token stream into a cascade.
concrete
Concrete implementations of the token stream and related traits.
domain
Parsers for commonly used CSS constructs.
proc_macro2
Implementation of the token stream and related traits for proc_macro2.
stream
Types and traits that provide an abstraction over proc_macro2.

Structs§

StyleSheet
Domain-specific style sheet driven by an implementation of the Driver trait.

Enums§

Error
Type of error for exceptions that occur during parsing of domain-specific properties and rules.
Item
Represents a single domain-specific item (either a property or a rule).

Traits§

Driver
Controls how the domain-specific parts of a style sheet are parsed.