#pragma once #include #include "token.hpp" #include "ast_node.hpp" #include #include namespace hex::lang { class Validator { public: Validator(); bool validate(const std::vector& ast); const std::pair& getError() { return this->m_error; } private: std::pair m_error; }; }