#ifndef WILLOWC_INCLUDE_SOURCEMANAGER_HPP #define WILLOWC_INCLUDE_SOURCEMANAGER_HPP #include #include #include #include namespace willowc { using FileID = std::uint32_t; class SourceManager { struct File { std::string path; std::unique_ptr buf; }; public: std::optional addFile(std::string_view path); private: std::vector file_table; }; } // namespace willowc #endif // WILLOWC_INCLUDE_SOURCEMANAGER_HPP