1
2 package net.sourceforge.pmd.ast;
3
4 public interface JavaParserConstants {
5
6 int EOF = 0;
7 int SINGLE_LINE_COMMENT = 6;
8 int FORMAL_COMMENT = 9;
9 int MULTI_LINE_COMMENT = 10;
10 int ABSTRACT = 12;
11 int BOOLEAN = 13;
12 int BREAK = 14;
13 int BYTE = 15;
14 int CASE = 16;
15 int CATCH = 17;
16 int CHAR = 18;
17 int CLASS = 19;
18 int CONST = 20;
19 int CONTINUE = 21;
20 int _DEFAULT = 22;
21 int DO = 23;
22 int DOUBLE = 24;
23 int ELSE = 25;
24 int EXTENDS = 26;
25 int FALSE = 27;
26 int FINAL = 28;
27 int FINALLY = 29;
28 int FLOAT = 30;
29 int FOR = 31;
30 int GOTO = 32;
31 int IF = 33;
32 int IMPLEMENTS = 34;
33 int IMPORT = 35;
34 int INSTANCEOF = 36;
35 int INT = 37;
36 int INTERFACE = 38;
37 int LONG = 39;
38 int NATIVE = 40;
39 int NEW = 41;
40 int NULL = 42;
41 int PACKAGE = 43;
42 int PRIVATE = 44;
43 int PROTECTED = 45;
44 int PUBLIC = 46;
45 int RETURN = 47;
46 int SHORT = 48;
47 int STATIC = 49;
48 int SUPER = 50;
49 int SWITCH = 51;
50 int SYNCHRONIZED = 52;
51 int THIS = 53;
52 int THROW = 54;
53 int THROWS = 55;
54 int TRANSIENT = 56;
55 int TRUE = 57;
56 int TRY = 58;
57 int VOID = 59;
58 int VOLATILE = 60;
59 int WHILE = 61;
60 int STRICTFP = 62;
61 int INTEGER_LITERAL = 63;
62 int DECIMAL_LITERAL = 64;
63 int HEX_LITERAL = 65;
64 int OCTAL_LITERAL = 66;
65 int FLOATING_POINT_LITERAL = 67;
66 int EXPONENT = 68;
67 int CHARACTER_LITERAL = 69;
68 int STRING_LITERAL = 70;
69 int IDENTIFIER = 71;
70 int LETTER = 72;
71 int PART_LETTER = 73;
72 int LPAREN = 74;
73 int RPAREN = 75;
74 int LBRACE = 76;
75 int RBRACE = 77;
76 int LBRACKET = 78;
77 int RBRACKET = 79;
78 int SEMICOLON = 80;
79 int COMMA = 81;
80 int DOT = 82;
81 int AT = 83;
82 int ASSIGN = 84;
83 int LT = 85;
84 int BANG = 86;
85 int TILDE = 87;
86 int HOOK = 88;
87 int COLON = 89;
88 int EQ = 90;
89 int LE = 91;
90 int GE = 92;
91 int NE = 93;
92 int SC_OR = 94;
93 int SC_AND = 95;
94 int INCR = 96;
95 int DECR = 97;
96 int PLUS = 98;
97 int MINUS = 99;
98 int STAR = 100;
99 int SLASH = 101;
100 int BIT_AND = 102;
101 int BIT_OR = 103;
102 int XOR = 104;
103 int REM = 105;
104 int LSHIFT = 106;
105 int PLUSASSIGN = 107;
106 int MINUSASSIGN = 108;
107 int STARASSIGN = 109;
108 int SLASHASSIGN = 110;
109 int ANDASSIGN = 111;
110 int ORASSIGN = 112;
111 int XORASSIGN = 113;
112 int REMASSIGN = 114;
113 int LSHIFTASSIGN = 115;
114 int RSIGNEDSHIFTASSIGN = 116;
115 int RUNSIGNEDSHIFTASSIGN = 117;
116 int ELLIPSIS = 118;
117 int RUNSIGNEDSHIFT = 119;
118 int RSIGNEDSHIFT = 120;
119 int GT = 121;
120
121 int DEFAULT = 0;
122 int IN_FORMAL_COMMENT = 1;
123 int IN_MULTI_LINE_COMMENT = 2;
124
125 String[] tokenImage = {
126 "<EOF>",
127 "\" \"",
128 "\"//t\"",
129 "\"//n\"",
130 "\"//r\"",
131 "\"//f\"",
132 "<SINGLE_LINE_COMMENT>",
133 "<token of kind 7>",
134 "\"/*\"",
135 "\"*/\"",
136 "\"*/\"",
137 "<token of kind 11>",
138 "\"abstract\"",
139 "\"boolean\"",
140 "\"break\"",
141 "\"byte\"",
142 "\"case\"",
143 "\"catch\"",
144 "\"char\"",
145 "\"class\"",
146 "\"const\"",
147 "\"continue\"",
148 "\"default\"",
149 "\"do\"",
150 "\"double\"",
151 "\"else\"",
152 "\"extends\"",
153 "\"false\"",
154 "\"final\"",
155 "\"finally\"",
156 "\"float\"",
157 "\"for\"",
158 "\"goto\"",
159 "\"if\"",
160 "\"implements\"",
161 "\"import\"",
162 "\"instanceof\"",
163 "\"int\"",
164 "\"interface\"",
165 "\"long\"",
166 "\"native\"",
167 "\"new\"",
168 "\"null\"",
169 "\"package\"",
170 "\"private\"",
171 "\"protected\"",
172 "\"public\"",
173 "\"return\"",
174 "\"short\"",
175 "\"static\"",
176 "\"super\"",
177 "\"switch\"",
178 "\"synchronized\"",
179 "\"this\"",
180 "\"throw\"",
181 "\"throws\"",
182 "\"transient\"",
183 "\"true\"",
184 "\"try\"",
185 "\"void\"",
186 "\"volatile\"",
187 "\"while\"",
188 "\"strictfp\"",
189 "<INTEGER_LITERAL>",
190 "<DECIMAL_LITERAL>",
191 "<HEX_LITERAL>",
192 "<OCTAL_LITERAL>",
193 "<FLOATING_POINT_LITERAL>",
194 "<EXPONENT>",
195 "<CHARACTER_LITERAL>",
196 "<STRING_LITERAL>",
197 "<IDENTIFIER>",
198 "<LETTER>",
199 "<PART_LETTER>",
200 "\"(\"",
201 "\")\"",
202 "\"{\"",
203 "\"}\"",
204 "\"[\"",
205 "\"]\"",
206 "\";\"",
207 "\",\"",
208 "\".\"",
209 "\"@\"",
210 "\"=\"",
211 "\"<\"",
212 "\"!\"",
213 "\"~\"",
214 "\"?\"",
215 "\":\"",
216 "\"==\"",
217 "\"<=\"",
218 "\">=\"",
219 "\"!=\"",
220 "\"||\"",
221 "\"&&\"",
222 "\"++\"",
223 "\"--\"",
224 "\"+\"",
225 "\"-\"",
226 "\"*\"",
227 "\"/\"",
228 "\"&\"",
229 "\"|\"",
230 "\"^\"",
231 "\"%\"",
232 "\"<<\"",
233 "\"+=\"",
234 "\"-=\"",
235 "\"*=\"",
236 "\"/=\"",
237 "\"&=\"",
238 "\"|=\"",
239 "\"^=\"",
240 "\"%=\"",
241 "\"<<=\"",
242 "\">>=\"",
243 "\">>>=\"",
244 "\"...\"",
245 "\">>>\"",
246 "\">>\"",
247 "\">\"",
248 "\"//u001a\"",
249 "\"~[]\"",
250 };
251
252 }