1 #ifndef LexerFileTokenLexerTokens_HPP
2 #define LexerFileTokenLexerTokens_HPP
3
4
5
6 #include <sngcm/cmlexer/CmajorLexerApi.hpp>
7 #include <string>
8
9 namespace LexerFileTokenLexerTokens
10 {
11 const int END = 0;
12 const int CLASSMAP = 1;
13 const int TOKENS = 2;
14 const int KEYWORDS = 3;
15 const int EXPRESSIONS = 4;
16 const int LEXER = 5;
17 const int VARIABLES = 6;
18 const int ACTIONS = 7;
19 const int DOLLAR = 8;
20 const int ASSERT = 9;
21 const int ELIF = 10;
22 const int ENDIF = 11;
23 const int BOOL = 12;
24 const int TRUE = 13;
25 const int FALSE = 14;
26 const int SBYTE = 15;
27 const int BYTE = 16;
28 const int SHORT = 17;
29 const int USHORT = 18;
30 const int INT = 19;
31 const int UINT = 20;
32 const int LONG = 21;
33 const int ULONG = 22;
34 const int FLOAT = 23;
35 const int DOUBLE = 24;
36 const int CHAR = 25;
37 const int WCHAR = 26;
38 const int UCHAR = 27;
39 const int VOID = 28;
40 const int ENUM = 29;
41 const int CAST = 30;
42 const int INTERFACE = 31;
43 const int NAMESPACE = 32;
44 const int USING = 33;
45 const int STATIC = 34;
46 const int EXTERN = 35;
47 const int AS = 36;
48 const int IS = 37;
49 const int EXPLICIT = 38;
50 const int DELEGATE = 39;
51 const int INLINE = 40;
52 const int CDECL = 41;
53 const int NOTHROW = 42;
54 const int PUBLIC = 43;
55 const int PROTECTED = 44;
56 const int PRIVATE = 45;
57 const int INTERNAL = 46;
58 const int VIRTUAL = 47;
59 const int ABSTRACT = 48;
60 const int OVERRIDE = 49;
61 const int SUPPRESS = 50;
62 const int OPERATOR = 51;
63 const int CLASS = 52;
64 const int RETURN = 53;
65 const int IF = 54;
66 const int ELSE = 55;
67 const int SWITCH = 56;
68 const int CASE = 57;
69 const int DEFAULT = 58;
70 const int WHILE = 59;
71 const int DO = 60;
72 const int FOR = 61;
73 const int BREAK = 62;
74 const int CONTINUE = 63;
75 const int GOTO = 64;
76 const int TYPEDEF = 65;
77 const int TYPENAME = 66;
78 const int TYPEID = 67;
79 const int CONST = 68;
80 const int CONSTEXPR = 69;
81 const int NULLLIT = 70;
82 const int THIS = 71;
83 const int BASE = 72;
84 const int CONSTRUCT = 73;
85 const int DESTROY = 74;
86 const int NEW = 75;
87 const int DELETE = 76;
88 const int SIZEOF = 77;
89 const int TRY = 78;
90 const int CATCH = 79;
91 const int THROW = 80;
92 const int CONCEPT = 81;
93 const int WHERE = 82;
94 const int AXIOM = 83;
95 const int AND = 84;
96 const int OR = 85;
97 const int EXCLAMATION = 86;
98 const int UNIT_TEST = 87;
99 const int FLOATINGLIT = 88;
100 const int INTLIT = 89;
101 const int CHARLIT = 90;
102 const int STRINGLIT = 91;
103 const int EQUIVALENCE = 92;
104 const int IMPLICATION = 93;
105 const int DISJUNCTION = 94;
106 const int AMPAMP = 95;
107 const int BITOR = 96;
108 const int BITXOR = 97;
109 const int AMP = 98;
110 const int EQ = 99;
111 const int NEQ = 100;
112 const int LEQ = 101;
113 const int GEQ = 102;
114 const int SHIFTLEFT = 103;
115 const int SHIFTRIGHT = 104;
116 const int PLUS = 105;
117 const int MINUS = 106;
118 const int STAR = 107;
119 const int DIV = 108;
120 const int REM = 109;
121 const int PLUSPLUS = 110;
122 const int MINUSMINUS = 111;
123 const int CPL = 112;
124 const int DOT = 113;
125 const int ARROW = 114;
126 const int LBRACKET = 115;
127 const int RBRACKET = 116;
128 const int LPAREN = 117;
129 const int RPAREN = 118;
130 const int LANGLE = 119;
131 const int RANGLE = 120;
132 const int LBRACE = 121;
133 const int RBRACE = 122;
134 const int COMMA = 123;
135 const int ASSIGN = 124;
136 const int COLON = 125;
137 const int SEMICOLON = 126;
138 const int HASH = 127;
139 const int WS = 128;
140 const int LINECOMMENT = 129;
141 const int BLOCKCOMMENT = 130;
142 const int BLOCKCOMMENTLINE = 131;
143 const int KEYWORD = 132;
144 const int ID = 133;
145 const int NUMBER = 134;
146 const int OTHER = 135;
147 const int MAX = 136;
148
149 void InitTokenIdMap();
150 int GetTokenId(const std::u32string& tokenName);
151 const char* GetTokenName(int tokenId);
152 const char* GetTokenInfo(int tokenId);
153 }
154 #endif