View Javadoc
1   /* Generated By:JavaCC: Do not edit this line. CppParserConstants.java */
2   package net.sourceforge.pmd.lang.cpp.ast;
3   
4   
5   /**
6    * Token literal values and constants.
7    * Generated by org.javacc.parser.OtherFilesGen#start()
8    */
9   public interface CppParserConstants {
10  
11    /** End of File. */
12    int EOF = 0;
13    /** RegularExpression Id. */
14    int LCURLYBRACE = 20;
15    /** RegularExpression Id. */
16    int RCURLYBRACE = 21;
17    /** RegularExpression Id. */
18    int LSQUAREBRACKET = 22;
19    /** RegularExpression Id. */
20    int RSQUAREBRACKET = 23;
21    /** RegularExpression Id. */
22    int LPARENTHESIS = 24;
23    /** RegularExpression Id. */
24    int RPARENTHESIS = 25;
25    /** RegularExpression Id. */
26    int SCOPE = 26;
27    /** RegularExpression Id. */
28    int COLON = 27;
29    /** RegularExpression Id. */
30    int SEMICOLON = 28;
31    /** RegularExpression Id. */
32    int COMMA = 29;
33    /** RegularExpression Id. */
34    int QUESTIONMARK = 30;
35    /** RegularExpression Id. */
36    int ELLIPSIS = 31;
37    /** RegularExpression Id. */
38    int ASSIGNEQUAL = 32;
39    /** RegularExpression Id. */
40    int TIMESEQUAL = 33;
41    /** RegularExpression Id. */
42    int DIVIDEEQUAL = 34;
43    /** RegularExpression Id. */
44    int MODEQUAL = 35;
45    /** RegularExpression Id. */
46    int PLUSEQUAL = 36;
47    /** RegularExpression Id. */
48    int MINUSEQUAL = 37;
49    /** RegularExpression Id. */
50    int SHIFTLEFTEQUAL = 38;
51    /** RegularExpression Id. */
52    int SHIFTRIGHTEQUAL = 39;
53    /** RegularExpression Id. */
54    int BITWISEANDEQUAL = 40;
55    /** RegularExpression Id. */
56    int BITWISEXOREQUAL = 41;
57    /** RegularExpression Id. */
58    int BITWISEOREQUAL = 42;
59    /** RegularExpression Id. */
60    int OR = 43;
61    /** RegularExpression Id. */
62    int AND = 44;
63    /** RegularExpression Id. */
64    int BITWISEOR = 45;
65    /** RegularExpression Id. */
66    int BITWISEXOR = 46;
67    /** RegularExpression Id. */
68    int AMPERSAND = 47;
69    /** RegularExpression Id. */
70    int EQUAL = 48;
71    /** RegularExpression Id. */
72    int NOTEQUAL = 49;
73    /** RegularExpression Id. */
74    int LESSTHAN = 50;
75    /** RegularExpression Id. */
76    int GREATERTHAN = 51;
77    /** RegularExpression Id. */
78    int LESSTHANOREQUALTO = 52;
79    /** RegularExpression Id. */
80    int GREATERTHANOREQUALTO = 53;
81    /** RegularExpression Id. */
82    int SHIFTLEFT = 54;
83    /** RegularExpression Id. */
84    int SHIFTRIGHT = 55;
85    /** RegularExpression Id. */
86    int PLUS = 56;
87    /** RegularExpression Id. */
88    int MINUS = 57;
89    /** RegularExpression Id. */
90    int STAR = 58;
91    /** RegularExpression Id. */
92    int DIVIDE = 59;
93    /** RegularExpression Id. */
94    int MOD = 60;
95    /** RegularExpression Id. */
96    int PLUSPLUS = 61;
97    /** RegularExpression Id. */
98    int MINUSMINUS = 62;
99    /** RegularExpression Id. */
100   int TILDE = 63;
101   /** RegularExpression Id. */
102   int NOT = 64;
103   /** RegularExpression Id. */
104   int DOT = 65;
105   /** RegularExpression Id. */
106   int POINTERTO = 66;
107   /** RegularExpression Id. */
108   int DOTSTAR = 67;
109   /** RegularExpression Id. */
110   int ARROWSTAR = 68;
111   /** RegularExpression Id. */
112   int AUTO = 69;
113   /** RegularExpression Id. */
114   int BREAK = 70;
115   /** RegularExpression Id. */
116   int CASE = 71;
117   /** RegularExpression Id. */
118   int CATCH = 72;
119   /** RegularExpression Id. */
120   int CHAR = 73;
121   /** RegularExpression Id. */
122   int CONST = 74;
123   /** RegularExpression Id. */
124   int CONTINUE = 75;
125   /** RegularExpression Id. */
126   int _DEFAULT = 76;
127   /** RegularExpression Id. */
128   int DELETE = 77;
129   /** RegularExpression Id. */
130   int DO = 78;
131   /** RegularExpression Id. */
132   int DOUBLE = 79;
133   /** RegularExpression Id. */
134   int ELSE = 80;
135   /** RegularExpression Id. */
136   int ENUM = 81;
137   /** RegularExpression Id. */
138   int EXTERN = 82;
139   /** RegularExpression Id. */
140   int FLOAT = 83;
141   /** RegularExpression Id. */
142   int FOR = 84;
143   /** RegularExpression Id. */
144   int FRIEND = 85;
145   /** RegularExpression Id. */
146   int GOTO = 86;
147   /** RegularExpression Id. */
148   int IF = 87;
149   /** RegularExpression Id. */
150   int INLINE = 88;
151   /** RegularExpression Id. */
152   int INT = 89;
153   /** RegularExpression Id. */
154   int LONG = 90;
155   /** RegularExpression Id. */
156   int NEW = 91;
157   /** RegularExpression Id. */
158   int PRIVATE = 92;
159   /** RegularExpression Id. */
160   int PROTECTED = 93;
161   /** RegularExpression Id. */
162   int PUBLIC = 94;
163   /** RegularExpression Id. */
164   int REDECLARED = 95;
165   /** RegularExpression Id. */
166   int REGISTER = 96;
167   /** RegularExpression Id. */
168   int RETURN = 97;
169   /** RegularExpression Id. */
170   int SHORT = 98;
171   /** RegularExpression Id. */
172   int SIGNED = 99;
173   /** RegularExpression Id. */
174   int SIZEOF = 100;
175   /** RegularExpression Id. */
176   int STATIC = 101;
177   /** RegularExpression Id. */
178   int STRUCT = 102;
179   /** RegularExpression Id. */
180   int CLASS = 103;
181   /** RegularExpression Id. */
182   int SWITCH = 104;
183   /** RegularExpression Id. */
184   int TEMPLATE = 105;
185   /** RegularExpression Id. */
186   int THIS = 106;
187   /** RegularExpression Id. */
188   int TRY = 107;
189   /** RegularExpression Id. */
190   int TYPEDEF = 108;
191   /** RegularExpression Id. */
192   int UNION = 109;
193   /** RegularExpression Id. */
194   int UNSIGNED = 110;
195   /** RegularExpression Id. */
196   int VIRTUAL = 111;
197   /** RegularExpression Id. */
198   int VOID = 112;
199   /** RegularExpression Id. */
200   int VOLATILE = 113;
201   /** RegularExpression Id. */
202   int WHILE = 114;
203   /** RegularExpression Id. */
204   int OPERATOR = 115;
205   /** RegularExpression Id. */
206   int TRUETOK = 116;
207   /** RegularExpression Id. */
208   int FALSETOK = 117;
209   /** RegularExpression Id. */
210   int THROW = 118;
211   /** RegularExpression Id. */
212   int AT = 119;
213   /** RegularExpression Id. */
214   int OCTALINT = 120;
215   /** RegularExpression Id. */
216   int OCTALLONG = 121;
217   /** RegularExpression Id. */
218   int UNSIGNED_OCTALINT = 122;
219   /** RegularExpression Id. */
220   int UNSIGNED_OCTALLONG = 123;
221   /** RegularExpression Id. */
222   int DECIMALINT = 124;
223   /** RegularExpression Id. */
224   int DECIMALLONG = 125;
225   /** RegularExpression Id. */
226   int UNSIGNED_DECIMALINT = 126;
227   /** RegularExpression Id. */
228   int UNSIGNED_DECIMALLONG = 127;
229   /** RegularExpression Id. */
230   int HEXADECIMALINT = 128;
231   /** RegularExpression Id. */
232   int HEXADECIMALLONG = 129;
233   /** RegularExpression Id. */
234   int UNSIGNED_HEXADECIMALINT = 130;
235   /** RegularExpression Id. */
236   int UNSIGNED_HEXADECIMALLONG = 131;
237   /** RegularExpression Id. */
238   int FLOATONE = 132;
239   /** RegularExpression Id. */
240   int FLOATTWO = 133;
241   /** RegularExpression Id. */
242   int CHARACTER = 134;
243   /** RegularExpression Id. */
244   int STRING = 135;
245   /** RegularExpression Id. */
246   int ID = 137;
247 
248   /** Lexical state. */
249   int DEFAULT = 0;
250   /** Lexical state. */
251   int IN_LINE_COMMENT = 1;
252   /** Lexical state. */
253   int IN_COMMENT = 2;
254   /** Lexical state. */
255   int IN_PREPROCESSOR_OUTPUT_COMMENT = 3;
256   /** Lexical state. */
257   int PREPROCESSOR_OUTPUT = 4;
258 
259   /** Literal token values. */
260   String[] tokenImage = {
261     "<EOF>",
262     "\" \"",
263     "\"\\f\"",
264     "\"\\t\"",
265     "\"\\r\\n\"",
266     "\"\\n\"",
267     "\"//\"",
268     "\"/*\"",
269     "\"#\"",
270     "\"\\n\"",
271     "<token of kind 10>",
272     "\"*/\"",
273     "<token of kind 12>",
274     "\"*/\"",
275     "\"\\n\"",
276     "\"/*\"",
277     "\"//\"",
278     "\"\\\\\\n\"",
279     "\"\\\\\\r\\n\"",
280     "<token of kind 19>",
281     "\"{\"",
282     "\"}\"",
283     "\"[\"",
284     "\"]\"",
285     "\"(\"",
286     "\")\"",
287     "\"::\"",
288     "\":\"",
289     "\";\"",
290     "\",\"",
291     "\"?\"",
292     "\"...\"",
293     "\"=\"",
294     "\"*=\"",
295     "\"/=\"",
296     "\"%=\"",
297     "\"+=\"",
298     "\"-=\"",
299     "\"<<=\"",
300     "\">>=\"",
301     "\"&=\"",
302     "\"^=\"",
303     "\"|=\"",
304     "\"||\"",
305     "\"&&\"",
306     "\"|\"",
307     "\"^\"",
308     "\"&\"",
309     "\"==\"",
310     "\"!=\"",
311     "\"<\"",
312     "\">\"",
313     "\"<=\"",
314     "\">=\"",
315     "\"<<\"",
316     "\">>\"",
317     "\"+\"",
318     "\"-\"",
319     "\"*\"",
320     "\"/\"",
321     "\"%\"",
322     "\"++\"",
323     "\"--\"",
324     "\"~\"",
325     "\"!\"",
326     "\".\"",
327     "\"->\"",
328     "\".*\"",
329     "\"->*\"",
330     "\"auto\"",
331     "\"break\"",
332     "\"case\"",
333     "\"catch\"",
334     "\"char\"",
335     "\"const\"",
336     "\"continue\"",
337     "\"default\"",
338     "\"delete\"",
339     "\"do\"",
340     "\"double\"",
341     "\"else\"",
342     "\"enum\"",
343     "\"extern\"",
344     "\"float\"",
345     "\"for\"",
346     "\"friend\"",
347     "\"goto\"",
348     "\"if\"",
349     "\"inline\"",
350     "\"int\"",
351     "\"long\"",
352     "\"new\"",
353     "\"private\"",
354     "\"protected\"",
355     "\"public\"",
356     "\"redeclared\"",
357     "\"register\"",
358     "\"return\"",
359     "\"short\"",
360     "\"signed\"",
361     "\"sizeof\"",
362     "\"static\"",
363     "\"struct\"",
364     "\"class\"",
365     "\"switch\"",
366     "\"template\"",
367     "\"this\"",
368     "\"try\"",
369     "\"typedef\"",
370     "\"union\"",
371     "\"unsigned\"",
372     "\"virtual\"",
373     "\"void\"",
374     "\"volatile\"",
375     "\"while\"",
376     "\"operator\"",
377     "\"true\"",
378     "\"false\"",
379     "\"throw\"",
380     "\"@\"",
381     "<OCTALINT>",
382     "<OCTALLONG>",
383     "<UNSIGNED_OCTALINT>",
384     "<UNSIGNED_OCTALLONG>",
385     "<DECIMALINT>",
386     "<DECIMALLONG>",
387     "<UNSIGNED_DECIMALINT>",
388     "<UNSIGNED_DECIMALLONG>",
389     "<HEXADECIMALINT>",
390     "<HEXADECIMALLONG>",
391     "<UNSIGNED_HEXADECIMALINT>",
392     "<UNSIGNED_HEXADECIMALLONG>",
393     "<FLOATONE>",
394     "<FLOATTWO>",
395     "<CHARACTER>",
396     "<STRING>",
397     "\"finally\"",
398     "<ID>",
399   };
400 
401 }