(input, comment)
| 2082 | * @returns {Rule[]} top-level rules |
| 2083 | */ |
| 2084 | const parseAStylesheetsContents = (input, comment) => { |
| 2085 | // 1. Normalize input, and set input to the result. |
| 2086 | const ts = normalizeIntoTokenStream(input, 0, comment); |
| 2087 | useObjectBackend(ts.locConverter); |
| 2088 | // 2. Consume a stylesheet’s contents from input, and return the result. |
| 2089 | return consumeAStylesheetsContents(ts); |
| 2090 | }; |
| 2091 | |
| 2092 | /** |
| 2093 | * Parse a block's contents, CSS Syntax Level 3 |
no test coverage detected