#include "libparse.h" using namespace lib_parse; CheckException::CheckException(const QString& msg) : msg_store(msg) {} QString CheckException::message() const { return msg_store; } Analyzer::Analyzer(const QList >& providers) : check_providers(providers) {} std::shared_ptr Analyzer::validCheckWith(std::shared_ptr root) const { for (auto& v : check_providers) v->validCheck(root); return root; }