| 196 | } |
| 197 | |
| 198 | void check(const tsl::ordered_map<std::string, std::string> &conditions, bool check_root) { |
| 199 | if (check_root) { |
| 200 | for (const auto &itr : m_root.as_table()) { |
| 201 | if (!m_visisted.contains(itr.first)) { |
| 202 | throw_key_error("Unknown key '" + itr.first + "'", itr.first, itr.second); |
| 203 | } |
| 204 | } |
| 205 | } |
| 206 | for (const auto &checker : m_checkers) { |
| 207 | checker.check(conditions); |
| 208 | } |
| 209 | } |
| 210 | }; |
| 211 | |
| 212 | Project::Project(const Project *parent, const std::string &path, bool build) : parent(parent) { |
nothing calls this directly
no test coverage detected