CppParserConstants.java
001 /* Generated By:JavaCC: Do not edit this line. CppParserConstants.java */
002 package net.sourceforge.pmd.lang.cpp.ast;
003 
004 
005 /**
006  * Token literal values and constants.
007  * Generated by org.javacc.parser.OtherFilesGen#start()
008  */
009 public interface CppParserConstants {
010 
011   /** End of File. */
012   int EOF = 0;
013   /** RegularExpression Id. */
014   int LCURLYBRACE = 19;
015   /** RegularExpression Id. */
016   int RCURLYBRACE = 20;
017   /** RegularExpression Id. */
018   int LSQUAREBRACKET = 21;
019   /** RegularExpression Id. */
020   int RSQUAREBRACKET = 22;
021   /** RegularExpression Id. */
022   int LPARENTHESIS = 23;
023   /** RegularExpression Id. */
024   int RPARENTHESIS = 24;
025   /** RegularExpression Id. */
026   int SCOPE = 25;
027   /** RegularExpression Id. */
028   int COLON = 26;
029   /** RegularExpression Id. */
030   int SEMICOLON = 27;
031   /** RegularExpression Id. */
032   int COMMA = 28;
033   /** RegularExpression Id. */
034   int QUESTIONMARK = 29;
035   /** RegularExpression Id. */
036   int ELLIPSIS = 30;
037   /** RegularExpression Id. */
038   int ASSIGNEQUAL = 31;
039   /** RegularExpression Id. */
040   int TIMESEQUAL = 32;
041   /** RegularExpression Id. */
042   int DIVIDEEQUAL = 33;
043   /** RegularExpression Id. */
044   int MODEQUAL = 34;
045   /** RegularExpression Id. */
046   int PLUSEQUAL = 35;
047   /** RegularExpression Id. */
048   int MINUSEQUAL = 36;
049   /** RegularExpression Id. */
050   int SHIFTLEFTEQUAL = 37;
051   /** RegularExpression Id. */
052   int SHIFTRIGHTEQUAL = 38;
053   /** RegularExpression Id. */
054   int BITWISEANDEQUAL = 39;
055   /** RegularExpression Id. */
056   int BITWISEXOREQUAL = 40;
057   /** RegularExpression Id. */
058   int BITWISEOREQUAL = 41;
059   /** RegularExpression Id. */
060   int OR = 42;
061   /** RegularExpression Id. */
062   int AND = 43;
063   /** RegularExpression Id. */
064   int BITWISEOR = 44;
065   /** RegularExpression Id. */
066   int BITWISEXOR = 45;
067   /** RegularExpression Id. */
068   int AMPERSAND = 46;
069   /** RegularExpression Id. */
070   int EQUAL = 47;
071   /** RegularExpression Id. */
072   int NOTEQUAL = 48;
073   /** RegularExpression Id. */
074   int LESSTHAN = 49;
075   /** RegularExpression Id. */
076   int GREATERTHAN = 50;
077   /** RegularExpression Id. */
078   int LESSTHANOREQUALTO = 51;
079   /** RegularExpression Id. */
080   int GREATERTHANOREQUALTO = 52;
081   /** RegularExpression Id. */
082   int SHIFTLEFT = 53;
083   /** RegularExpression Id. */
084   int SHIFTRIGHT = 54;
085   /** RegularExpression Id. */
086   int PLUS = 55;
087   /** RegularExpression Id. */
088   int MINUS = 56;
089   /** RegularExpression Id. */
090   int STAR = 57;
091   /** RegularExpression Id. */
092   int DIVIDE = 58;
093   /** RegularExpression Id. */
094   int MOD = 59;
095   /** RegularExpression Id. */
096   int PLUSPLUS = 60;
097   /** RegularExpression Id. */
098   int MINUSMINUS = 61;
099   /** RegularExpression Id. */
100   int TILDE = 62;
101   /** RegularExpression Id. */
102   int NOT = 63;
103   /** RegularExpression Id. */
104   int DOT = 64;
105   /** RegularExpression Id. */
106   int POINTERTO = 65;
107   /** RegularExpression Id. */
108   int DOTSTAR = 66;
109   /** RegularExpression Id. */
110   int ARROWSTAR = 67;
111   /** RegularExpression Id. */
112   int AUTO = 68;
113   /** RegularExpression Id. */
114   int BREAK = 69;
115   /** RegularExpression Id. */
116   int CASE = 70;
117   /** RegularExpression Id. */
118   int CATCH = 71;
119   /** RegularExpression Id. */
120   int CHAR = 72;
121   /** RegularExpression Id. */
122   int CONST = 73;
123   /** RegularExpression Id. */
124   int CONTINUE = 74;
125   /** RegularExpression Id. */
126   int _DEFAULT = 75;
127   /** RegularExpression Id. */
128   int DELETE = 76;
129   /** RegularExpression Id. */
130   int DO = 77;
131   /** RegularExpression Id. */
132   int DOUBLE = 78;
133   /** RegularExpression Id. */
134   int ELSE = 79;
135   /** RegularExpression Id. */
136   int ENUM = 80;
137   /** RegularExpression Id. */
138   int EXTERN = 81;
139   /** RegularExpression Id. */
140   int FLOAT = 82;
141   /** RegularExpression Id. */
142   int FOR = 83;
143   /** RegularExpression Id. */
144   int FRIEND = 84;
145   /** RegularExpression Id. */
146   int GOTO = 85;
147   /** RegularExpression Id. */
148   int IF = 86;
149   /** RegularExpression Id. */
150   int INLINE = 87;
151   /** RegularExpression Id. */
152   int INT = 88;
153   /** RegularExpression Id. */
154   int LONG = 89;
155   /** RegularExpression Id. */
156   int NEW = 90;
157   /** RegularExpression Id. */
158   int PRIVATE = 91;
159   /** RegularExpression Id. */
160   int PROTECTED = 92;
161   /** RegularExpression Id. */
162   int PUBLIC = 93;
163   /** RegularExpression Id. */
164   int REDECLARED = 94;
165   /** RegularExpression Id. */
166   int REGISTER = 95;
167   /** RegularExpression Id. */
168   int RETURN = 96;
169   /** RegularExpression Id. */
170   int SHORT = 97;
171   /** RegularExpression Id. */
172   int SIGNED = 98;
173   /** RegularExpression Id. */
174   int SIZEOF = 99;
175   /** RegularExpression Id. */
176   int STATIC = 100;
177   /** RegularExpression Id. */
178   int STRUCT = 101;
179   /** RegularExpression Id. */
180   int CLASS = 102;
181   /** RegularExpression Id. */
182   int SWITCH = 103;
183   /** RegularExpression Id. */
184   int TEMPLATE = 104;
185   /** RegularExpression Id. */
186   int THIS = 105;
187   /** RegularExpression Id. */
188   int TRY = 106;
189   /** RegularExpression Id. */
190   int TYPEDEF = 107;
191   /** RegularExpression Id. */
192   int UNION = 108;
193   /** RegularExpression Id. */
194   int UNSIGNED = 109;
195   /** RegularExpression Id. */
196   int VIRTUAL = 110;
197   /** RegularExpression Id. */
198   int VOID = 111;
199   /** RegularExpression Id. */
200   int VOLATILE = 112;
201   /** RegularExpression Id. */
202   int WHILE = 113;
203   /** RegularExpression Id. */
204   int OPERATOR = 114;
205   /** RegularExpression Id. */
206   int TRUETOK = 115;
207   /** RegularExpression Id. */
208   int FALSETOK = 116;
209   /** RegularExpression Id. */
210   int THROW = 117;
211   /** RegularExpression Id. */
212   int OCTALINT = 118;
213   /** RegularExpression Id. */
214   int OCTALLONG = 119;
215   /** RegularExpression Id. */
216   int UNSIGNED_OCTALINT = 120;
217   /** RegularExpression Id. */
218   int UNSIGNED_OCTALLONG = 121;
219   /** RegularExpression Id. */
220   int DECIMALINT = 122;
221   /** RegularExpression Id. */
222   int DECIMALLONG = 123;
223   /** RegularExpression Id. */
224   int UNSIGNED_DECIMALINT = 124;
225   /** RegularExpression Id. */
226   int UNSIGNED_DECIMALLONG = 125;
227   /** RegularExpression Id. */
228   int HEXADECIMALINT = 126;
229   /** RegularExpression Id. */
230   int HEXADECIMALLONG = 127;
231   /** RegularExpression Id. */
232   int UNSIGNED_HEXADECIMALINT = 128;
233   /** RegularExpression Id. */
234   int UNSIGNED_HEXADECIMALLONG = 129;
235   /** RegularExpression Id. */
236   int FLOATONE = 130;
237   /** RegularExpression Id. */
238   int FLOATTWO = 131;
239   /** RegularExpression Id. */
240   int CHARACTER = 132;
241   /** RegularExpression Id. */
242   int STRING = 133;
243   /** RegularExpression Id. */
244   int ID = 135;
245 
246   /** Lexical state. */
247   int DEFAULT = 0;
248   /** Lexical state. */
249   int IN_LINE_COMMENT = 1;
250   /** Lexical state. */
251   int IN_COMMENT = 2;
252   /** Lexical state. */
253   int IN_PREPROCESSOR_OUTPUT_COMMENT = 3;
254   /** Lexical state. */
255   int PREPROCESSOR_OUTPUT = 4;
256 
257   /** Literal token values. */
258   String[] tokenImage = {
259     "<EOF>",
260     "\" \"",
261     "\"\\f\"",
262     "\"\\t\"",
263     "\"\\r\\n\"",
264     "\"\\n\"",
265     "\"//\"",
266     "\"/*\"",
267     "\"#\"",
268     "\"\\n\"",
269     "<token of kind 10>",
270     "\"*/\"",
271     "<token of kind 12>",
272     "\"*/\"",
273     "\"\\n\"",
274     "\"/*\"",
275     "\"\\\\\\n\"",
276     "\"\\\\\\r\\n\"",
277     "<token of kind 18>",
278     "\"{\"",
279     "\"}\"",
280     "\"[\"",
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     "\"auto\"",
328     "\"break\"",
329     "\"case\"",
330     "\"catch\"",
331     "\"char\"",
332     "\"const\"",
333     "\"continue\"",
334     "\"default\"",
335     "\"delete\"",
336     "\"do\"",
337     "\"double\"",
338     "\"else\"",
339     "\"enum\"",
340     "\"extern\"",
341     "\"float\"",
342     "\"for\"",
343     "\"friend\"",
344     "\"goto\"",
345     "\"if\"",
346     "\"inline\"",
347     "\"int\"",
348     "\"long\"",
349     "\"new\"",
350     "\"private\"",
351     "\"protected\"",
352     "\"public\"",
353     "\"redeclared\"",
354     "\"register\"",
355     "\"return\"",
356     "\"short\"",
357     "\"signed\"",
358     "\"sizeof\"",
359     "\"static\"",
360     "\"struct\"",
361     "\"class\"",
362     "\"switch\"",
363     "\"template\"",
364     "\"this\"",
365     "\"try\"",
366     "\"typedef\"",
367     "\"union\"",
368     "\"unsigned\"",
369     "\"virtual\"",
370     "\"void\"",
371     "\"volatile\"",
372     "\"while\"",
373     "\"operator\"",
374     "\"true\"",
375     "\"false\"",
376     "\"throw\"",
377     "<OCTALINT>",
378     "<OCTALLONG>",
379     "<UNSIGNED_OCTALINT>",
380     "<UNSIGNED_OCTALLONG>",
381     "<DECIMALINT>",
382     "<DECIMALLONG>",
383     "<UNSIGNED_DECIMALINT>",
384     "<UNSIGNED_DECIMALLONG>",
385     "<HEXADECIMALINT>",
386     "<HEXADECIMALLONG>",
387     "<UNSIGNED_HEXADECIMALINT>",
388     "<UNSIGNED_HEXADECIMALLONG>",
389     "<FLOATONE>",
390     "<FLOATTWO>",
391     "<CHARACTER>",
392     "<STRING>",
393     "\"finally\"",
394     "<ID>",
395   };
396 
397 }