001 /* Generated By:JJTree&JavaCC: Do not edit this line. JavaParserConstants.java */
002 package net.sourceforge.pmd.lang.java.ast;
003
004
005 /**
006 * Token literal values and constants.
007 * Generated by org.javacc.parser.OtherFilesGen#start()
008 */
009 public interface JavaParserConstants {
010
011 /** End of File. */
012 int EOF = 0;
013 /** RegularExpression Id. */
014 int SINGLE_LINE_COMMENT = 6;
015 /** RegularExpression Id. */
016 int FORMAL_COMMENT = 9;
017 /** RegularExpression Id. */
018 int MULTI_LINE_COMMENT = 10;
019 /** RegularExpression Id. */
020 int ABSTRACT = 12;
021 /** RegularExpression Id. */
022 int BOOLEAN = 13;
023 /** RegularExpression Id. */
024 int BREAK = 14;
025 /** RegularExpression Id. */
026 int BYTE = 15;
027 /** RegularExpression Id. */
028 int CASE = 16;
029 /** RegularExpression Id. */
030 int CATCH = 17;
031 /** RegularExpression Id. */
032 int CHAR = 18;
033 /** RegularExpression Id. */
034 int CLASS = 19;
035 /** RegularExpression Id. */
036 int CONST = 20;
037 /** RegularExpression Id. */
038 int CONTINUE = 21;
039 /** RegularExpression Id. */
040 int _DEFAULT = 22;
041 /** RegularExpression Id. */
042 int DO = 23;
043 /** RegularExpression Id. */
044 int DOUBLE = 24;
045 /** RegularExpression Id. */
046 int ELSE = 25;
047 /** RegularExpression Id. */
048 int EXTENDS = 26;
049 /** RegularExpression Id. */
050 int FALSE = 27;
051 /** RegularExpression Id. */
052 int FINAL = 28;
053 /** RegularExpression Id. */
054 int FINALLY = 29;
055 /** RegularExpression Id. */
056 int FLOAT = 30;
057 /** RegularExpression Id. */
058 int FOR = 31;
059 /** RegularExpression Id. */
060 int GOTO = 32;
061 /** RegularExpression Id. */
062 int IF = 33;
063 /** RegularExpression Id. */
064 int IMPLEMENTS = 34;
065 /** RegularExpression Id. */
066 int IMPORT = 35;
067 /** RegularExpression Id. */
068 int INSTANCEOF = 36;
069 /** RegularExpression Id. */
070 int INT = 37;
071 /** RegularExpression Id. */
072 int INTERFACE = 38;
073 /** RegularExpression Id. */
074 int LONG = 39;
075 /** RegularExpression Id. */
076 int NATIVE = 40;
077 /** RegularExpression Id. */
078 int NEW = 41;
079 /** RegularExpression Id. */
080 int NULL = 42;
081 /** RegularExpression Id. */
082 int PACKAGE = 43;
083 /** RegularExpression Id. */
084 int PRIVATE = 44;
085 /** RegularExpression Id. */
086 int PROTECTED = 45;
087 /** RegularExpression Id. */
088 int PUBLIC = 46;
089 /** RegularExpression Id. */
090 int RETURN = 47;
091 /** RegularExpression Id. */
092 int SHORT = 48;
093 /** RegularExpression Id. */
094 int STATIC = 49;
095 /** RegularExpression Id. */
096 int SUPER = 50;
097 /** RegularExpression Id. */
098 int SWITCH = 51;
099 /** 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 }
|