001 /* Generated By:JavaCC: Do not edit this line. JavaParserConstants.java */
002
003 /*
004 * Cobertura - http://cobertura.sourceforge.net/
005 *
006 * This file was taken from JavaNCSS
007 * http://www.kclee.com/clemens/java/javancss/
008 * Copyright (C) 2000 Chr. Clemens Lee <clemens a.t kclee d.o.t com>
009 *
010 * Cobertura is free software; you can redistribute it and/or modify
011 * it under the terms of the GNU General Public License as published
012 * by the Free Software Foundation; either version 2 of the License,
013 * or (at your option) any later version.
014 *
015 * Cobertura is distributed in the hope that it will be useful, but
016 * WITHOUT ANY WARRANTY; without even the implied warranty of
017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
018 * General Public License for more details.
019 *
020 * You should have received a copy of the GNU General Public License
021 * along with Cobertura; if not, write to the Free Software
022 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
023 * USA
024 */
025 package net.sourceforge.cobertura.javancss;
026
027 public interface JavaParserConstants {
028
029 int EOF = 0;
030 int SINGLE_LINE_COMMENT = 8;
031 int SINGLE_LINE_COMMENT2 = 9;
032 int END_OF_LINE_MULTI = 10;
033 int MULTI_LINE_COMMENT = 11;
034 int ABSTRACT = 13;
035 int ASSERT = 14;
036 int BOOLEAN = 15;
037 int BREAK = 16;
038 int BYTE = 17;
039 int CASE = 18;
040 int CATCH = 19;
041 int CHAR = 20;
042 int CLASS = 21;
043 int CONST = 22;
044 int CONTINUE = 23;
045 int _DEFAULT = 24;
046 int DO = 25;
047 int DOUBLE = 26;
048 int ELSE = 27;
049 int ENUM = 28;
050 int EXTENDS = 29;
051 int FALSE = 30;
052 int FINAL = 31;
053 int FINALLY = 32;
054 int FLOAT = 33;
055 int FOR = 34;
056 int GOTO = 35;
057 int IF = 36;
058 int IMPLEMENTS = 37;
059 int IMPORT = 38;
060 int INSTANCEOF = 39;
061 int INT = 40;
062 int INTERFACE = 41;
063 int LONG = 42;
064 int NATIVE = 43;
065 int NEW = 44;
066 int NULL = 45;
067 int PACKAGE = 46;
068 int PRIVATE = 47;
069 int PROTECTED = 48;
070 int PUBLIC = 49;
071 int RETURN = 50;
072 int SHORT = 51;
073 int STATIC = 52;
074 int TESTAAAA = 53;
075 int SUPER = 54;
076 int SWITCH = 55;
077 int SYNCHRONIZED = 56;
078 int THIS = 57;
079 int THROW = 58;
080 int THROWS = 59;
081 int TRANSIENT = 60;
082 int TRUE = 61;
083 int TRY = 62;
084 int VOID = 63;
085 int VOLATILE = 64;
086 int WHILE = 65;
087 int INTEGER_LITERAL = 66;
088 int DECIMAL_LITERAL = 67;
089 int HEX_LITERAL = 68;
090 int OCTAL_LITERAL = 69;
091 int FLOATING_POINT_LITERAL = 70;
092 int EXPONENT = 71;
093 int CHARACTER_LITERAL = 72;
094 int STRING_LITERAL = 73;
095 int IDENTIFIER = 74;
096 int LETTER = 75;
097 int DIGIT = 76;
098 int LPAREN = 77;
099 int RPAREN = 78;
100 int LBRACE = 79;
101 int RBRACE = 80;
102 int LBRACKET = 81;
103 int RBRACKET = 82;
104 int SEMICOLON = 83;
105 int COMMA = 84;
106 int DOT = 85;
107 int AT = 86;
108 int ASSIGN = 87;
109 int GT = 88;
110 int LT = 89;
111 int BANG = 90;
112 int TILDE = 91;
113 int HOOK = 92;
114 int COLON = 93;
115 int EQ = 94;
116 int LE = 95;
117 int GE = 96;
118 int NE = 97;
119 int SC_OR = 98;
120 int SC_AND = 99;
121 int INCR = 100;
122 int DECR = 101;
123 int PLUS = 102;
124 int MINUS = 103;
125 int STAR = 104;
126 int SLASH = 105;
127 int BIT_AND = 106;
128 int BIT_OR = 107;
129 int XOR = 108;
130 int REM = 109;
131 int LSHIFT = 110;
132 int RSIGNEDSHIFT = 111;
133 int RUNSIGNEDSHIFT = 112;
134 int PLUSASSIGN = 113;
135 int MINUSASSIGN = 114;
136 int STARASSIGN = 115;
137 int SLASHASSIGN = 116;
138 int ANDASSIGN = 117;
139 int ORASSIGN = 118;
140 int XORASSIGN = 119;
141 int REMASSIGN = 120;
142 int LSHIFTASSIGN = 121;
143 int RSIGNEDSHIFTASSIGN = 122;
144 int RUNSIGNEDSHIFTASSIGN = 123;
145 int ELLIPSIS = 124;
146
147 int DEFAULT = 0;
148 int IN_SINGLE_LINE_COMMENT = 1;
149 int IN_MULTI_LINE_COMMENT = 2;
150
151 String[] tokenImage = {
152 "<EOF>",
153 "\" \"",
154 "\"\\t\"",
155 "\"\\n\"",
156 "\"\\r\"",
157 "\"\\f\"",
158 "\"\\u001a\"",
159 "\"/*\"",
160 "\"//\"",
161 "<SINGLE_LINE_COMMENT2>",
162 "<END_OF_LINE_MULTI>",
163 "\"*/\"",
164 "<token of kind 12>",
165 "\"abstract\"",
166 "\"assert\"",
167 "\"boolean\"",
168 "\"break\"",
169 "\"byte\"",
170 "\"case\"",
171 "\"catch\"",
172 "\"char\"",
173 "\"class\"",
174 "\"const\"",
175 "\"continue\"",
176 "\"default\"",
177 "\"do\"",
178 "\"double\"",
179 "\"else\"",
180 "\"enum\"",
181 "\"extends\"",
182 "\"false\"",
183 "\"final\"",
184 "\"finally\"",
185 "\"float\"",
186 "\"for\"",
187 "\"goto\"",
188 "\"if\"",
189 "\"implements\"",
190 "\"import\"",
191 "\"instanceof\"",
192 "\"int\"",
193 "\"interface\"",
194 "\"long\"",
195 "\"native\"",
196 "\"new\"",
197 "\"null\"",
198 "\"package\"",
199 "\"private\"",
200 "\"protected\"",
201 "\"public\"",
202 "\"return\"",
203 "\"short\"",
204 "\"static\"",
205 "\"strictfp\"",
206 "\"super\"",
207 "\"switch\"",
208 "\"synchronized\"",
209 "\"this\"",
210 "\"throw\"",
211 "\"throws\"",
212 "\"transient\"",
213 "\"true\"",
214 "\"try\"",
215 "\"void\"",
216 "\"volatile\"",
217 "\"while\"",
218 "<INTEGER_LITERAL>",
219 "<DECIMAL_LITERAL>",
220 "<HEX_LITERAL>",
221 "<OCTAL_LITERAL>",
222 "<FLOATING_POINT_LITERAL>",
223 "<EXPONENT>",
224 "<CHARACTER_LITERAL>",
225 "<STRING_LITERAL>",
226 "<IDENTIFIER>",
227 "<LETTER>",
228 "<DIGIT>",
229 "\"(\"",
230 "\")\"",
231 "\"{\"",
232 "\"}\"",
233 "\"[\"",
234 "\"]\"",
235 "\";\"",
236 "\",\"",
237 "\".\"",
238 "\"@\"",
239 "\"=\"",
240 "\">\"",
241 "\"<\"",
242 "\"!\"",
243 "\"~\"",
244 "\"?\"",
245 "\":\"",
246 "\"==\"",
247 "\"<=\"",
248 "\">=\"",
249 "\"!=\"",
250 "\"||\"",
251 "\"&&\"",
252 "\"++\"",
253 "\"--\"",
254 "\"+\"",
255 "\"-\"",
256 "\"*\"",
257 "\"/\"",
258 "\"&\"",
259 "\"|\"",
260 "\"^\"",
261 "\"%\"",
262 "\"<<\"",
263 "\">>\"",
264 "\">>>\"",
265 "\"+=\"",
266 "\"-=\"",
267 "\"*=\"",
268 "\"/=\"",
269 "\"&=\"",
270 "\"|=\"",
271 "\"^=\"",
272 "\"%=\"",
273 "\"<<=\"",
274 "\">>=\"",
275 "\">>>=\"",
276 "\"...\"",
277 };
278
279 }