| 2118 | appendIndent(stream, indent + 1); |
| 2119 | appendKeyValue(stream, "view", Valdi::Value(getView()).toString()); |
| 2120 | stream << std::endl; |
| 2121 | |
| 2122 | auto dumpedAttributes = _attributesApplier.dumpResolvedAttributes(); |
| 2123 | |
| 2124 | if (!dumpedAttributes->empty()) { |
| 2125 | appendIndent(stream, indent + 1); |
| 2126 | for (const auto& attribute : *dumpedAttributes) { |
| 2127 | appendKeyValue(stream, attribute.first.toStringView(), attribute.second.toString()); |
| 2128 | } |
| 2129 | stream << std::endl; |
| 2130 | } |
| 2131 | |
| 2132 | if (getChildCount() == 0 || !recursive) { |
| 2133 | appendIndent(stream, indent); |
| 2134 | stream << "/>" << std::endl; |
| 2135 | } else { |