[][src]Module casco::domain

Parsers for commonly used CSS constructs.

Structs

GroupedBy

Parsable type that reads a token stream from the contents of a group token that is delimited with the specified punctuation token.

SeparatedBy

Parsable type that repeatedly and alternatingly invokes a sub-parser and consumes a punctuation token.

Enums

Comma

Punctuation character , that can be used in conjunction with SeparatedBy.

Parentheses

Delimiter character ( ... ) that can be used in conjunction with GroupedBy.

Slash

Punctuation character / that can be used in conjunction with SeparatedBy.

Traits

Parse

Trait that is implemented by types that can assist in parsing a type from a slice of tokens.

Functions

name

Parses a CSS name (a series of Idents separated by - Puncts).

number

Parses a CSS number literal.

string

Parses a CSS string literal.

unit_dim

Parses a CSS unit.