Expand description
§5.5 Parser Algorithms.
Implementation of the 11 algorithms defined in CSS Syntax Module Level 3 §5.5. This module covers:
- CP-3 (lower-level algorithms): §5.5.7-§5.5.11.
- CP-4 (declaration algorithms): §5.5.6.
- CP-5 (stylesheet/rule/block algorithms): §5.5.1-§5.5.5.
Structs§
- Block
Contents - Result of
consume_a_block/consume_a_blocks_contents. Combines a list of declarations (possibly empty) and a list of child rules.
Functions§
- consume_
a_ block - §5.5.4 (L2469-2484) Consume a block.
- consume_
a_ blocks_ contents - §5.5.5 (L2486-2636) Consume a block’s contents.
- consume_
a_ component_ value - §5.5.8 (L2776-2796) Consume a component value.
- consume_
a_ declaration - §5.5.6 (L2639-2717) Consume a declaration.
- consume_
a_ function - §5.5.10 (L2832-2854) Consume a function.
- consume_
a_ list_ of_ component_ values - §5.5.7 (L2745-2774) Consume a list of component values.
- consume_
a_ qualified_ rule - §5.5.3 (L2340-2466) Consume a qualified rule.
- consume_
a_ simple_ block - §5.5.9 (L2799-2829) Consume a simple block.
- consume_
a_ stylesheets_ contents - §5.5.1 (L2223-2279) Consume a stylesheet’s contents.
- consume_
a_ unicode_ range_ value - §5.5.11 (L2857-2872) Consume the value of a
@font-face/unicode-rangedescriptor. - consume_
an_ at_ rule - §5.5.2 (L2281-2337) Consume an at-rule.
- consume_
the_ remnants_ of_ a_ bad_ declaration - §5.5.6 (L2721-2741) Consume the remnants of a bad declaration.