(node: DeclNode)
| 198 | } |
| 199 | |
| 200 | declaration(node: DeclNode) { |
| 201 | // eslint-disable-next-line prefer-const |
| 202 | let { value, property, position } = node; |
| 203 | |
| 204 | if (this.id) { |
| 205 | if (animationRE.test(property)) { |
| 206 | value = processAnimation(value, this.id); |
| 207 | } else if (animationNameRE.test(property)) { |
| 208 | value = value |
| 209 | .split(',') |
| 210 | .map((v) => (v === 'none' ? v : `${v.trim()}-${this.id}`)) |
| 211 | .join(','); |
| 212 | } |
| 213 | } |
| 214 | return ( |
| 215 | this.emit(this.indent()) + |
| 216 | this.emit(`${property}: ${value}`, position) + |
| 217 | this.emit(';') |
| 218 | ); |
| 219 | } |
| 220 | |
| 221 | 'font-face'(node: FontFaceNode) { |
| 222 | return ( |
nothing calls this directly
no test coverage detected