(context: MatchMediaContext)
| 242 | } |
| 243 | |
| 244 | matches(context: MatchMediaContext) { |
| 245 | const canHover = |
| 246 | this.any === 'any' |
| 247 | ? this.canAnyHover(context) |
| 248 | : this.canPrimaryHover(context); |
| 249 | |
| 250 | if (canHover) { |
| 251 | return this.hover === 'hover'; |
| 252 | } else { |
| 253 | return this.hover === 'none'; |
| 254 | } |
| 255 | } |
| 256 | |
| 257 | static *Parser() { |
| 258 | yield optionalWhitespace; |
no test coverage detected