1
2
3
4
5
6 #ifndef CMAJOR_SYMBOLS_SOURCE_FILE_MODULE_MAP_INCLUDED
7 #define CMAJOR_SYMBOLS_SOURCE_FILE_MODULE_MAP_INCLUDED
8 #include <sngcm/ast/Project.hpp>
9 #include <cmajor/symbols/SymbolsApi.hpp>
10 #include <boost/uuid/uuid.hpp>
11
12 namespace cmajor { namespace symbols {
13
14 class Module;
15
16 void MapSourceFileToModuleId(sngcm::ast::BackEnd backend, sngcm::ast::Config config, const std::string& sourceFilePath, const boost::uuids::uuid& moduleId);
17 Module* GetModuleBySourceFile(sngcm::ast::BackEnd backend, sngcm::ast::Config config, const std::string& sourceFilePath);
18 void InitSourceFileModuleMap();
19 void DoneSourceFileModuleMap();
20
21 } }
22
23 #endif // CMAJOR_SYMBOLS_SOURCE_FILE_MODULE_MAP_INCLUDED