(node, options)
| 158 | } |
| 159 | |
| 160 | function parseNestedValue(node, options) { |
| 161 | if (isObject(node)) { |
| 162 | for (const key in node) { |
| 163 | if (key !== "parent") { |
| 164 | parseNestedValue(node[key], options); |
| 165 | if (key === "nodes") { |
| 166 | if (!(node.type === "atword" && node.nodes.length === 0)) { |
| 167 | node.group = flattenGroups(parseValueNode(node, options)); |
| 168 | } |
| 169 | delete node[key]; |
| 170 | } |
| 171 | } |
| 172 | } |
| 173 | } |
| 174 | return node; |
| 175 | } |
| 176 | |
| 177 | function parseValue(value, options) { |
| 178 | // Inline JavaScript in Less |
no test coverage detected