1 #ifndef ContainerFileTokens_HPP
2 #define ContainerFileTokens_HPP
3
4
5
6 #include <sngcm/cmlexer/CmajorLexerApi.hpp>
7 #include <sngcm/cmlexer/TokenValueParsers.hpp>
8 #include <string>
9
10 namespace ContainerFileTokens
11 {
12 const int END = 0;
13 const int PROJECT = 1;
14 const int SOLUTION = 2;
15 const int REFERENCE = 3;
16 const int SOURCE = 4;
17 const int RESOURCE = 5;
18 const int TEXT = 6;
19 const int TARGET = 7;
20 const int PROGRAM = 8;
21 const int WINGUIAPP = 9;
22 const int WINAPP = 10;
23 const int LIBRARY = 11;
24 const int WINLIB = 12;
25 const int UNITTEST = 13;
26 const int ACTIVEPROJECT = 14;
27 const int ID = 15;
28 const int FILEPATH = 16;
29 const int ASSIGN = 17;
30 const int SEMICOLON = 18;
31 const int DOT = 19;
32
33 void InitTokenIdMap();
34 int GetTokenId(const std::u32string& tokenName);
35 const char* GetTokenName(int tokenId);
36 const char* GetTokenInfo(int tokenId);
37 }
38 #endif