* Get value with comments if it was not changed
(decl)
| 114 | * Get value with comments if it was not changed |
| 115 | */ |
| 116 | value(decl) { |
| 117 | if (decl.raws.value && decl.raws.value.value === decl.value) { |
| 118 | return decl.raws.value.raw |
| 119 | } else { |
| 120 | return decl.value |
| 121 | } |
| 122 | } |
| 123 | } |
| 124 | |
| 125 | module.exports = Value |