CSSParsers
Parsers for the subset of CSS supported by Laika.
Not supported are attribute selectors, pseudo classes, namespaces and media queries.
Type members
Classlikes
A combinator for an immediate child.
A combinator for an immediate child.
Represents a combinator between two predicates.
Represents a combinator between two predicates.
A combinator for a descendant on any nesting level.
A combinator for a descendant on any nesting level.
Represents a single style within a style declaration.
Represents a single style within a style declaration.
Value members
Concrete fields
Parses a sequence of selectors, separated by a comma.
Parses a sequence of selectors, separated by a comma.
Parses the sub-part of a selector without any combinators, e.g. Paragraph#title
.
Parses the sub-part of a selector without any combinators, e.g. Paragraph#title
.
Parses an entire set of style declarations. This is the top level parser of this trait.
Parses an entire set of style declarations. This is the top level parser of this trait.
Parses a sequence of style declarations, ignoring any comments.
Parses a sequence of style declarations, ignoring any comments.
Parses the name of a style. The name must start
with a letter, while subsequent characters can be
letters, digits or one of the symbols '-'
or '_'
.
Parses the name of a style. The name must start
with a letter, while subsequent characters can be
letters, digits or one of the symbols '-'
or '_'
.
Parses the value of a single style, ignoring any comments..
Parses the value of a single style, ignoring any comments..