| 338 | } |
| 339 | |
| 340 | void DirectivesGroup::addToString(String& string) const { |
| 341 | for (auto& entry : m_directives) { |
| 342 | if (entry && !entry->string.empty()) { |
| 343 | if (!string.empty() && string.utf8().back() != '?' && entry->string.utf8()[0] != '?') |
| 344 | string.append('?'); |
| 345 | string += entry->string; |
| 346 | } |
| 347 | } |
| 348 | } |
| 349 | |
| 350 | void DirectivesGroup::forEach(DirectivesCallback callback) const { |
| 351 | for (auto& directives : m_directives) { |
no test coverage detected