Expand description
§5.4 Parser Entry Points.
Nine entry points producing high-level CSS objects from input. The
grammar-based hooks §5.4.1 (parse something according to a CSS grammar) and §5.4.2 (parse a comma-separated list according to a CSS grammar) are implemented in crate::grammar (using the
Grammar trait).
§References
- CSS Syntax Module Level 3 §5.4 L1816-2206.
- Source:
D:\CSSWG\css-syntax-3\Overview.md.
Functions§
- parse_
a_ blocks_ contents - §5.4.5 (L2055-2069) Parse a block’s contents.
- parse_
a_ comma_ separated_ list_ of_ component_ values - §5.4.10 (L2186-2204) Parse a comma-separated list of component values.
- parse_
a_ component_ value - §5.4.8 (L2138-2168) Parse a component value.
- parse_
a_ declaration - §5.4.7 (L2113-2134) Parse a declaration.
- parse_
a_ list_ of_ component_ values - §5.4.9 (L2172-2183) Parse a list of component values.
- parse_
a_ rule - §5.4.6 (L2073-2109) Parse a rule.
- parse_
a_ stylesheet - §5.4.3 (L2005-2033) Parse a stylesheet.
- parse_
a_ stylesheets_ contents - §5.4.4 (L2037-2051) Parse a stylesheet’s contents.