(node: { name: string | { type: string; value: string }[] })
| 309 | let { matcher } = env |
| 310 | |
| 311 | function isClassAttr(node: { name: string | { type: string; value: string }[] }) { |
| 312 | return Array.isArray(node.name) |
| 313 | ? node.name.every((n) => n.type === 'TextNode' && matcher.hasStaticAttr(n.value)) |
| 314 | : matcher.hasStaticAttr(node.name) |
| 315 | } |
| 316 | |
| 317 | function hasSurroundingQuotes(str: string) { |
| 318 | let start = str[0] |
no test coverage detected
searching dependent graphs…