1 #ifndef ProjectFileTokens_HPP
2 #define ProjectFileTokens_HPP
3
4
5
6 #include <sng2html/sng2html/TokenValueParsers.hpp>
7 #include <string>
8
9 namespace ProjectFileTokens
10 {
11 const int END = 0;
12 const int PROJECT = 1;
13 const int SOURCE = 2;
14 const int ID = 3;
15 const int FILEPATH = 4;
16 const int DOT = 5;
17 const int SEMICOLON = 6;
18
19 void InitTokenIdMap();
20 int GetTokenId(const std::u32string& tokenName);
21 const char* GetTokenName(int tokenId);
22 const char* GetTokenInfo(int tokenId);
23 }
24 #endif