| 157 | } |
| 158 | |
| 159 | StringView Directives::prefix() const { |
| 160 | if (!m_shared) |
| 161 | return ""; |
| 162 | else if (m_shared->empty()) |
| 163 | return m_shared->string; |
| 164 | else if (m_shared->string.utf8().at(0) == '?') |
| 165 | return ""; |
| 166 | else |
| 167 | return m_shared->entries.front().string(*m_shared); |
| 168 | } |
| 169 | |
| 170 | String Directives::string() const { |
| 171 | if (!m_shared) |
no test coverage detected