1
2
3
4
5
6 #include <cmajor/symbols/InitDone.hpp>
7 #include <cmajor/symbols/Symbol.hpp>
8 #include <cmajor/symbols/FunctionSymbol.hpp>
9 #include <cmajor/symbols/Module.hpp>
10 #include <cmajor/symbols/ModuleCache.hpp>
11 #include <cmajor/symbols/EditModuleCache.hpp>
12 #include <cmajor/symbols/SourceFileModuleMap.hpp>
13 #include <cmajor/symbols/SymbolTable.hpp>
14
15 namespace cmajor { namespace symbols {
16
17 void Init()
18 {
19 InitSymbol();
20 InitFunctionSymbol();
21 InitModule();
22 InitModuleCache();
23 InitSymbolTable();
24 InitSourceFileModuleMap();
25 InitEditModuleCache();
26 }
27
28 void Done()
29 {
30 DoneEditModuleCache();
31 DoneSourceFileModuleMap();
32 DoneSymbolTable();
33 DoneModuleCache();
34 DoneModule();
35 DoneFunctionSymbol();
36 DoneSymbol();
37 }
38
39 } }