View Javadoc

1   /* Generated By:JJTree&JavaCC: Do not edit this line. JavaParserConstants.java */
2   package net.sourceforge.pmd.lang.java.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 BINARY_LITERAL = 66;
129   /** RegularExpression Id. */
130   int OCTAL_LITERAL = 67;
131   /** RegularExpression Id. */
132   int FLOATING_POINT_LITERAL = 68;
133   /** RegularExpression Id. */
134   int HEX_FLOATING_POINT_LITERAL = 69;
135   /** RegularExpression Id. */
136   int EXPONENT = 70;
137   /** RegularExpression Id. */
138   int CHARACTER_LITERAL = 71;
139   /** RegularExpression Id. */
140   int STRING_LITERAL = 72;
141   /** RegularExpression Id. */
142   int IDENTIFIER = 73;
143   /** RegularExpression Id. */
144   int LETTER = 74;
145   /** RegularExpression Id. */
146   int PART_LETTER = 75;
147   /** RegularExpression Id. */
148   int LPAREN = 76;
149   /** RegularExpression Id. */
150   int RPAREN = 77;
151   /** RegularExpression Id. */
152   int LBRACE = 78;
153   /** RegularExpression Id. */
154   int RBRACE = 79;
155   /** RegularExpression Id. */
156   int LBRACKET = 80;
157   /** RegularExpression Id. */
158   int RBRACKET = 81;
159   /** RegularExpression Id. */
160   int SEMICOLON = 82;
161   /** RegularExpression Id. */
162   int COMMA = 83;
163   /** RegularExpression Id. */
164   int DOT = 84;
165   /** RegularExpression Id. */
166   int AT = 85;
167   /** RegularExpression Id. */
168   int ASSIGN = 86;
169   /** RegularExpression Id. */
170   int LT = 87;
171   /** RegularExpression Id. */
172   int BANG = 88;
173   /** RegularExpression Id. */
174   int TILDE = 89;
175   /** RegularExpression Id. */
176   int HOOK = 90;
177   /** RegularExpression Id. */
178   int COLON = 91;
179   /** RegularExpression Id. */
180   int EQ = 92;
181   /** RegularExpression Id. */
182   int LE = 93;
183   /** RegularExpression Id. */
184   int GE = 94;
185   /** RegularExpression Id. */
186   int NE = 95;
187   /** RegularExpression Id. */
188   int SC_OR = 96;
189   /** RegularExpression Id. */
190   int SC_AND = 97;
191   /** RegularExpression Id. */
192   int INCR = 98;
193   /** RegularExpression Id. */
194   int DECR = 99;
195   /** RegularExpression Id. */
196   int PLUS = 100;
197   /** RegularExpression Id. */
198   int MINUS = 101;
199   /** RegularExpression Id. */
200   int STAR = 102;
201   /** RegularExpression Id. */
202   int SLASH = 103;
203   /** RegularExpression Id. */
204   int BIT_AND = 104;
205   /** RegularExpression Id. */
206   int BIT_OR = 105;
207   /** RegularExpression Id. */
208   int XOR = 106;
209   /** RegularExpression Id. */
210   int REM = 107;
211   /** RegularExpression Id. */
212   int LSHIFT = 108;
213   /** RegularExpression Id. */
214   int PLUSASSIGN = 109;
215   /** RegularExpression Id. */
216   int MINUSASSIGN = 110;
217   /** RegularExpression Id. */
218   int STARASSIGN = 111;
219   /** RegularExpression Id. */
220   int SLASHASSIGN = 112;
221   /** RegularExpression Id. */
222   int ANDASSIGN = 113;
223   /** RegularExpression Id. */
224   int ORASSIGN = 114;
225   /** RegularExpression Id. */
226   int XORASSIGN = 115;
227   /** RegularExpression Id. */
228   int REMASSIGN = 116;
229   /** RegularExpression Id. */
230   int LSHIFTASSIGN = 117;
231   /** RegularExpression Id. */
232   int RSIGNEDSHIFTASSIGN = 118;
233   /** RegularExpression Id. */
234   int RUNSIGNEDSHIFTASSIGN = 119;
235   /** RegularExpression Id. */
236   int ELLIPSIS = 120;
237   /** RegularExpression Id. */
238   int LAMBDA = 121;
239   /** RegularExpression Id. */
240   int METHOD_REF = 122;
241   /** RegularExpression Id. */
242   int RUNSIGNEDSHIFT = 123;
243   /** RegularExpression Id. */
244   int RSIGNEDSHIFT = 124;
245   /** RegularExpression Id. */
246   int GT = 125;
247 
248   /** Lexical state. */
249   int DEFAULT = 0;
250   /** Lexical state. */
251   int IN_FORMAL_COMMENT = 1;
252   /** Lexical state. */
253   int IN_MULTI_LINE_COMMENT = 2;
254 
255   /** Literal token values. */
256   String[] tokenImage = {
257     "<EOF>",
258     "\" \"",
259     "\"\\t\"",
260     "\"\\n\"",
261     "\"\\r\"",
262     "\"\\f\"",
263     "<SINGLE_LINE_COMMENT>",
264     "<token of kind 7>",
265     "\"/*\"",
266     "\"*/\"",
267     "\"*/\"",
268     "<token of kind 11>",
269     "\"abstract\"",
270     "\"boolean\"",
271     "\"break\"",
272     "\"byte\"",
273     "\"case\"",
274     "\"catch\"",
275     "\"char\"",
276     "\"class\"",
277     "\"const\"",
278     "\"continue\"",
279     "\"default\"",
280     "\"do\"",
281     "\"double\"",
282     "\"else\"",
283     "\"extends\"",
284     "\"false\"",
285     "\"final\"",
286     "\"finally\"",
287     "\"float\"",
288     "\"for\"",
289     "\"goto\"",
290     "\"if\"",
291     "\"implements\"",
292     "\"import\"",
293     "\"instanceof\"",
294     "\"int\"",
295     "\"interface\"",
296     "\"long\"",
297     "\"native\"",
298     "\"new\"",
299     "\"null\"",
300     "\"package\"",
301     "\"private\"",
302     "\"protected\"",
303     "\"public\"",
304     "\"return\"",
305     "\"short\"",
306     "\"static\"",
307     "\"super\"",
308     "\"switch\"",
309     "\"synchronized\"",
310     "\"this\"",
311     "\"throw\"",
312     "\"throws\"",
313     "\"transient\"",
314     "\"true\"",
315     "\"try\"",
316     "\"void\"",
317     "\"volatile\"",
318     "\"while\"",
319     "\"strictfp\"",
320     "<INTEGER_LITERAL>",
321     "<DECIMAL_LITERAL>",
322     "<HEX_LITERAL>",
323     "<BINARY_LITERAL>",
324     "<OCTAL_LITERAL>",
325     "<FLOATING_POINT_LITERAL>",
326     "<HEX_FLOATING_POINT_LITERAL>",
327     "<EXPONENT>",
328     "<CHARACTER_LITERAL>",
329     "<STRING_LITERAL>",
330     "<IDENTIFIER>",
331     "<LETTER>",
332     "<PART_LETTER>",
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     "\"<<=\"",
375     "\">>=\"",
376     "\">>>=\"",
377     "\"...\"",
378     "\"->\"",
379     "\"::\"",
380     "\">>>\"",
381     "\">>\"",
382     "\">\"",
383     "\"\\u001a\"",
384     "\"~[]\"",
385   };
386 
387 }