Skip to main content

Module entry_points

Module entry_points 

Source
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.