#ifndef RFL_PARSING_SCHEMA_MAKE_HPP_ #define RFL_PARSING_SCHEMA_MAKE_HPP_ #include #include "../Parser.hpp" #include "Definition.hpp" #include "Type.hpp" namespace rfl::parsing::schema { template Definition make() { std::map definitions; auto root = Parser::to_schema(&definitions); return Definition{.root_ = root, .definitions_ = definitions}; } } // namespace rfl::parsing::schema #endif