()
| 424 | } |
| 425 | |
| 426 | function* RulesParser(): ParseGenerator<Array<Rule>> { |
| 427 | const rules: Array<Rule> = []; |
| 428 | |
| 429 | yield whitespaceMay; |
| 430 | while (yield hasMore) { |
| 431 | rules.push(yield RuleParser); |
| 432 | yield whitespaceMay; |
| 433 | } |
| 434 | return rules; |
| 435 | } |
| 436 | |
| 437 | const code = ` |
| 438 | :root { |