(input, pos, options = {})
| 2189 | * @returns {ComponentValue[]} component values |
| 2190 | */ |
| 2191 | const parseAListOfComponentValues = (input, pos, options = {}) => { |
| 2192 | // 1. Normalize input, and set input to the result. |
| 2193 | const ts = normalizeIntoTokenStream(input, pos, options.comment); |
| 2194 | useObjectBackend(ts.locConverter); |
| 2195 | // 2. Consume a list of component values from input, and return the result. |
| 2196 | return consumeAListOfComponentValues(ts); |
| 2197 | }; |
| 2198 | |
| 2199 | /** |
| 2200 | * Parse a comma-separated list of component values, CSS Syntax Level 3 [§5.3.11](https://drafts.csswg.org/css-syntax/#parse-comma-list) — consumes one `<comma-token>`-stopped group of component values per iteration until EOF. |
no test coverage detected