Crate casco

Source
Expand description

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

Modules§

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

Structs§

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

Enums§

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

Traits§

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