()
| 90 | } |
| 91 | |
| 92 | function* MediaQueryParser() { |
| 93 | yield '@media'; |
| 94 | yield whitespaceMay; |
| 95 | yield '('; |
| 96 | const [rawFeatures]: [string] = yield /^[^)]+/; |
| 97 | yield ')'; |
| 98 | yield whitespaceMay; |
| 99 | yield '{'; |
| 100 | const rules = yield RulesParser; |
| 101 | yield '}'; |
| 102 | return { type: 'media', rawFeatures, rules }; |
| 103 | } |
| 104 | |
| 105 | function* CommentParser(): Generator< |
| 106 | RegExp | string, |