1
2 package net.sourceforge.pmd.ast;
3
4
5 /**
6 * Token literal values and constants.
7 * Generated by org.javacc.parser.OtherFilesGen#start()
8 */
9 public interface JavaParserConstants {
10
11 /** End of File. */
12 int EOF = 0;
13 /** RegularExpression Id. */
14 int SINGLE_LINE_COMMENT = 6;
15 /** RegularExpression Id. */
16 int FORMAL_COMMENT = 9;
17 /** RegularExpression Id. */
18 int MULTI_LINE_COMMENT = 10;
19 /** RegularExpression Id. */
20 int ABSTRACT = 12;
21 /** RegularExpression Id. */
22 int BOOLEAN = 13;
23 /** RegularExpression Id. */
24 int BREAK = 14;
25 /** RegularExpression Id. */
26 int BYTE = 15;
27 /** RegularExpression Id. */
28 int CASE = 16;
29 /** RegularExpression Id. */
30 int CATCH = 17;
31 /** RegularExpression Id. */
32 int CHAR = 18;
33 /** RegularExpression Id. */
34 int CLASS = 19;
35 /** RegularExpression Id. */
36 int CONST = 20;
37 /** RegularExpression Id. */
38 int CONTINUE = 21;
39 /** RegularExpression Id. */
40 int _DEFAULT = 22;
41 /** RegularExpression Id. */
42 int DO = 23;
43 /** RegularExpression Id. */
44 int DOUBLE = 24;
45 /** RegularExpression Id. */
46 int ELSE = 25;
47 /** RegularExpression Id. */
48 int EXTENDS = 26;
49 /** RegularExpression Id. */
50 int FALSE = 27;
51 /** RegularExpression Id. */
52 int FINAL = 28;
53 /** RegularExpression Id. */
54 int FINALLY = 29;
55 /** RegularExpression Id. */
56 int FLOAT = 30;
57 /** RegularExpression Id. */
58 int FOR = 31;
59 /** RegularExpression Id. */
60 int GOTO = 32;
61 /** RegularExpression Id. */
62 int IF = 33;
63 /** RegularExpression Id. */
64 int IMPLEMENTS = 34;
65 /** RegularExpression Id. */
66 int IMPORT = 35;
67 /** RegularExpression Id. */
68 int INSTANCEOF = 36;
69 /** RegularExpression Id. */
70 int INT = 37;
71 /** RegularExpression Id. */
72 int INTERFACE = 38;
73 /** RegularExpression Id. */
74 int LONG = 39;
75 /** RegularExpression Id. */
76 int NATIVE = 40;
77 /** RegularExpression Id. */
78 int NEW = 41;
79 /** RegularExpression Id. */
80 int NULL = 42;
81 /** RegularExpression Id. */
82 int PACKAGE = 43;
83 /** RegularExpression Id. */
84 int PRIVATE = 44;
85 /** RegularExpression Id. */
86 int PROTECTED = 45;
87 /** RegularExpression Id. */
88 int PUBLIC = 46;
89 /** RegularExpression Id. */
90 int RETURN = 47;
91 /** RegularExpression Id. */
92 int SHORT = 48;
93 /** RegularExpression Id. */
94 int STATIC = 49;
95 /** RegularExpression Id. */
96 int SUPER = 50;
97 /** RegularExpression Id. */
98 int SWITCH = 51;
99 /** RegularExpression Id. */
100 int SYNCHRONIZED = 52;
101 /** RegularExpression Id. */
102 int THIS = 53;
103 /** RegularExpression Id. */
104 int THROW = 54;
105 /** RegularExpression Id. */
106 int THROWS = 55;
107 /** RegularExpression Id. */
108 int TRANSIENT = 56;
109 /** RegularExpression Id. */
110 int TRUE = 57;
111 /** RegularExpression Id. */
112 int TRY = 58;
113 /** RegularExpression Id. */
114 int VOID = 59;
115 /** RegularExpression Id. */
116 int VOLATILE = 60;
117 /** RegularExpression Id. */
118 int WHILE = 61;
119 /** RegularExpression Id. */
120 int STRICTFP = 62;
121 /** RegularExpression Id. */
122 int INTEGER_LITERAL = 63;
123 /** RegularExpression Id. */
124 int DECIMAL_LITERAL = 64;
125 /** RegularExpression Id. */
126 int HEX_LITERAL = 65;
127 /** RegularExpression Id. */
128 int OCTAL_LITERAL = 66;
129 /** RegularExpression Id. */
130 int FLOATING_POINT_LITERAL = 67;
131 /** RegularExpression Id. */
132 int HEX_FLOATING_POINT_LITERAL = 68;
133 /** RegularExpression Id. */
134 int EXPONENT = 69;
135 /** RegularExpression Id. */
136 int CHARACTER_LITERAL = 70;
137 /** RegularExpression Id. */
138 int STRING_LITERAL = 71;
139 /** RegularExpression Id. */
140 int IDENTIFIER = 72;
141 /** RegularExpression Id. */
142 int LETTER = 73;
143 /** RegularExpression Id. */
144 int PART_LETTER = 74;
145 /** RegularExpression Id. */
146 int LPAREN = 75;
147 /** RegularExpression Id. */
148 int RPAREN = 76;
149 /** RegularExpression Id. */
150 int LBRACE = 77;
151 /** RegularExpression Id. */
152 int RBRACE = 78;
153 /** RegularExpression Id. */
154 int LBRACKET = 79;
155 /** RegularExpression Id. */
156 int RBRACKET = 80;
157 /** RegularExpression Id. */
158 int SEMICOLON = 81;
159 /** RegularExpression Id. */
160 int COMMA = 82;
161 /** RegularExpression Id. */
162 int DOT = 83;
163 /** RegularExpression Id. */
164 int AT = 84;
165 /** RegularExpression Id. */
166 int ASSIGN = 85;
167 /** RegularExpression Id. */
168 int LT = 86;
169 /** RegularExpression Id. */
170 int BANG = 87;
171 /** RegularExpression Id. */
172 int TILDE = 88;
173 /** RegularExpression Id. */
174 int HOOK = 89;
175 /** RegularExpression Id. */
176 int COLON = 90;
177 /** RegularExpression Id. */
178 int EQ = 91;
179 /** RegularExpression Id. */
180 int LE = 92;
181 /** RegularExpression Id. */
182 int GE = 93;
183 /** RegularExpression Id. */
184 int NE = 94;
185 /** RegularExpression Id. */
186 int SC_OR = 95;
187 /** RegularExpression Id. */
188 int SC_AND = 96;
189 /** RegularExpression Id. */
190 int INCR = 97;
191 /** RegularExpression Id. */
192 int DECR = 98;
193 /** RegularExpression Id. */
194 int PLUS = 99;
195 /** RegularExpression Id. */
196 int MINUS = 100;
197 /** RegularExpression Id. */
198 int STAR = 101;
199 /** RegularExpression Id. */
200 int SLASH = 102;
201 /** RegularExpression Id. */
202 int BIT_AND = 103;
203 /** RegularExpression Id. */
204 int BIT_OR = 104;
205 /** RegularExpression Id. */
206 int XOR = 105;
207 /** RegularExpression Id. */
208 int REM = 106;
209 /** RegularExpression Id. */
210 int LSHIFT = 107;
211 /** RegularExpression Id. */
212 int PLUSASSIGN = 108;
213 /** RegularExpression Id. */
214 int MINUSASSIGN = 109;
215 /** RegularExpression Id. */
216 int STARASSIGN = 110;
217 /** RegularExpression Id. */
218 int SLASHASSIGN = 111;
219 /** RegularExpression Id. */
220 int ANDASSIGN = 112;
221 /** RegularExpression Id. */
222 int ORASSIGN = 113;
223 /** RegularExpression Id. */
224 int XORASSIGN = 114;
225 /** RegularExpression Id. */
226 int REMASSIGN = 115;
227 /** RegularExpression Id. */
228 int LSHIFTASSIGN = 116;
229 /** RegularExpression Id. */
230 int RSIGNEDSHIFTASSIGN = 117;
231 /** RegularExpression Id. */
232 int RUNSIGNEDSHIFTASSIGN = 118;
233 /** RegularExpression Id. */
234 int ELLIPSIS = 119;
235 /** RegularExpression Id. */
236 int RUNSIGNEDSHIFT = 120;
237 /** RegularExpression Id. */
238 int RSIGNEDSHIFT = 121;
239 /** RegularExpression Id. */
240 int GT = 122;
241
242 /** Lexical state. */
243 int DEFAULT = 0;
244 /** Lexical state. */
245 int IN_FORMAL_COMMENT = 1;
246 /** Lexical state. */
247 int IN_MULTI_LINE_COMMENT = 2;
248
249 /** Literal token values. */
250 String[] tokenImage = {
251 "<EOF>",
252 "\" \"",
253 "\"\\t\"",
254 "\"\\n\"",
255 "\"\\r\"",
256 "\"\\f\"",
257 "<SINGLE_LINE_COMMENT>",
258 "<token of kind 7>",
259 "\"/*\"",
260 "\"*/\"",
261 "\"*/\"",
262 "<token of kind 11>",
263 "\"abstract\"",
264 "\"boolean\"",
265 "\"break\"",
266 "\"byte\"",
267 "\"case\"",
268 "\"catch\"",
269 "\"char\"",
270 "\"class\"",
271 "\"const\"",
272 "\"continue\"",
273 "\"default\"",
274 "\"do\"",
275 "\"double\"",
276 "\"else\"",
277 "\"extends\"",
278 "\"false\"",
279 "\"final\"",
280 "\"finally\"",
281 "\"float\"",
282 "\"for\"",
283 "\"goto\"",
284 "\"if\"",
285 "\"implements\"",
286 "\"import\"",
287 "\"instanceof\"",
288 "\"int\"",
289 "\"interface\"",
290 "\"long\"",
291 "\"native\"",
292 "\"new\"",
293 "\"null\"",
294 "\"package\"",
295 "\"private\"",
296 "\"protected\"",
297 "\"public\"",
298 "\"return\"",
299 "\"short\"",
300 "\"static\"",
301 "\"super\"",
302 "\"switch\"",
303 "\"synchronized\"",
304 "\"this\"",
305 "\"throw\"",
306 "\"throws\"",
307 "\"transient\"",
308 "\"true\"",
309 "\"try\"",
310 "\"void\"",
311 "\"volatile\"",
312 "\"while\"",
313 "\"strictfp\"",
314 "<INTEGER_LITERAL>",
315 "<DECIMAL_LITERAL>",
316 "<HEX_LITERAL>",
317 "<OCTAL_LITERAL>",
318 "<FLOATING_POINT_LITERAL>",
319 "<HEX_FLOATING_POINT_LITERAL>",
320 "<EXPONENT>",
321 "<CHARACTER_LITERAL>",
322 "<STRING_LITERAL>",
323 "<IDENTIFIER>",
324 "<LETTER>",
325 "<PART_LETTER>",
326 "\"(\"",
327 "\")\"",
328 "\"{\"",
329 "\"}\"",
330 "\"[\"",
331 "\"]\"",
332 "\";\"",
333 "\",\"",
334 "\".\"",
335 "\"@\"",
336 "\"=\"",
337 "\"<\"",
338 "\"!\"",
339 "\"~\"",
340 "\"?\"",
341 "\":\"",
342 "\"==\"",
343 "\"<=\"",
344 "\">=\"",
345 "\"!=\"",
346 "\"||\"",
347 "\"&&\"",
348 "\"++\"",
349 "\"--\"",
350 "\"+\"",
351 "\"-\"",
352 "\"*\"",
353 "\"/\"",
354 "\"&\"",
355 "\"|\"",
356 "\"^\"",
357 "\"%\"",
358 "\"<<\"",
359 "\"+=\"",
360 "\"-=\"",
361 "\"*=\"",
362 "\"/=\"",
363 "\"&=\"",
364 "\"|=\"",
365 "\"^=\"",
366 "\"%=\"",
367 "\"<<=\"",
368 "\">>=\"",
369 "\">>>=\"",
370 "\"...\"",
371 "\">>>\"",
372 "\">>\"",
373 "\">\"",
374 "\"\\u001a\"",
375 "\"~[]\"",
376 };
377
378 }