(input, pos, comment)
| 2098 | * @returns {{ decls: Declaration[], rules: Rule[] }} block decls + rules |
| 2099 | */ |
| 2100 | const parseABlocksContents = (input, pos, comment) => { |
| 2101 | // 1. Normalize input, and set input to the result. |
| 2102 | const ts = normalizeIntoTokenStream(input, pos, comment); |
| 2103 | useObjectBackend(ts.locConverter); |
| 2104 | // 2. Consume a block’s contents from input, and return the result. |
| 2105 | return consumeABlocksContents(ts); |
| 2106 | }; |
| 2107 | |
| 2108 | /** |
| 2109 | * Parse a rule, CSS Syntax Level 3 |
no test coverage detected