[][src]Crate casco

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.

lexer

Lexer implementation that turns a string into a spanned concrete token stream.

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.