~ubuntu-branches/ubuntu/oneiric/cobertura/oneiric

« back to all changes in this revision

Viewing changes to src/net/sourceforge/cobertura/javancss/parser/JavaParserConstants.java

  • Committer: Bazaar Package Importer
  • Author(s): Miguel Landaeta
  • Date: 2010-05-11 19:21:46 UTC
  • mfrom: (0.1.4 sid) (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100511192146-j742v5jsl89ztndu
Tags: 1.9.4.1+dfsg-2
* Now Build-Depends on libservlet2.5-java and add a missing Depends
  on the same package. (Closes: #580842). 
* Simplify list of JRE dependences for cobertura and drop JRE dependences for
  libcobertura-java as Java libraries are no longer required to depend on a
  JVM.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Cobertura - http://cobertura.sourceforge.net/
 
3
 *
 
4
 * This file was taken from JavaNCSS
 
5
 * http://www.kclee.com/clemens/java/javancss/
 
6
 * Copyright (C) 2000 Chr. Clemens Lee <clemens a.t kclee d.o.t com>
 
7
 *
 
8
 * Cobertura is free software; you can redistribute it and/or modify
 
9
 * it under the terms of the GNU General Public License as published
 
10
 * by the Free Software Foundation; either version 2 of the License,
 
11
 * or (at your option) any later version.
 
12
 *
 
13
 * Cobertura is distributed in the hope that it will be useful, but
 
14
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 
16
 * General Public License for more details.
 
17
 *
 
18
 * You should have received a copy of the GNU General Public License
 
19
 * along with Cobertura; if not, write to the Free Software
 
20
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 
21
 * USA
 
22
 */
 
23
 
 
24
 
 
25
/*
 
26
 *
 
27
 * WARNING   WARNING   WARNING   WARNING   WARNING   WARNING   WARNING   WARNING   WARNING  
 
28
 *
 
29
 * WARNING TO COBERTURA DEVELOPERS
 
30
 *
 
31
 * DO NOT MODIFY THIS FILE!
 
32
 *
 
33
 * MODIFY THE FILES UNDER THE JAVANCSS DIRECTORY LOCATED AT THE ROOT OF THE COBERTURA PROJECT.
 
34
 *
 
35
 * FOLLOW THE PROCEDURE FOR MERGING THE LATEST JAVANCSS INTO COBERTURA LOCATED AT
 
36
 * javancss/coberturaREADME.txt
 
37
 *
 
38
 * WARNING   WARNING   WARNING   WARNING   WARNING   WARNING   WARNING   WARNING   WARNING   
 
39
 */
 
40
/* Generated By:JavaCC: Do not edit this line. JavaParserConstants.java */
 
41
package net.sourceforge.cobertura.javancss.parser;
 
42
 
 
43
 
 
44
/**
 
45
 * Token literal values and constants.
 
46
 * Generated by org.javacc.parser.OtherFilesGen#start()
 
47
 */
 
48
public interface JavaParserConstants {
 
49
 
 
50
  /** End of File. */
 
51
  int EOF = 0;
 
52
  /** RegularExpression Id. */
 
53
  int SINGLE_LINE_COMMENT = 8;
 
54
  /** RegularExpression Id. */
 
55
  int SINGLE_LINE_COMMENT2 = 9;
 
56
  /** RegularExpression Id. */
 
57
  int END_OF_LINE_MULTI = 10;
 
58
  /** RegularExpression Id. */
 
59
  int MULTI_LINE_COMMENT = 11;
 
60
  /** RegularExpression Id. */
 
61
  int ABSTRACT = 13;
 
62
  /** RegularExpression Id. */
 
63
  int ASSERT = 14;
 
64
  /** RegularExpression Id. */
 
65
  int BOOLEAN = 15;
 
66
  /** RegularExpression Id. */
 
67
  int BREAK = 16;
 
68
  /** RegularExpression Id. */
 
69
  int BYTE = 17;
 
70
  /** RegularExpression Id. */
 
71
  int CASE = 18;
 
72
  /** RegularExpression Id. */
 
73
  int CATCH = 19;
 
74
  /** RegularExpression Id. */
 
75
  int CHAR = 20;
 
76
  /** RegularExpression Id. */
 
77
  int CLASS = 21;
 
78
  /** RegularExpression Id. */
 
79
  int CONST = 22;
 
80
  /** RegularExpression Id. */
 
81
  int CONTINUE = 23;
 
82
  /** RegularExpression Id. */
 
83
  int _DEFAULT = 24;
 
84
  /** RegularExpression Id. */
 
85
  int DO = 25;
 
86
  /** RegularExpression Id. */
 
87
  int DOUBLE = 26;
 
88
  /** RegularExpression Id. */
 
89
  int ELSE = 27;
 
90
  /** RegularExpression Id. */
 
91
  int ENUM = 28;
 
92
  /** RegularExpression Id. */
 
93
  int EXTENDS = 29;
 
94
  /** RegularExpression Id. */
 
95
  int FALSE = 30;
 
96
  /** RegularExpression Id. */
 
97
  int FINAL = 31;
 
98
  /** RegularExpression Id. */
 
99
  int FINALLY = 32;
 
100
  /** RegularExpression Id. */
 
101
  int FLOAT = 33;
 
102
  /** RegularExpression Id. */
 
103
  int FOR = 34;
 
104
  /** RegularExpression Id. */
 
105
  int GOTO = 35;
 
106
  /** RegularExpression Id. */
 
107
  int IF = 36;
 
108
  /** RegularExpression Id. */
 
109
  int IMPLEMENTS = 37;
 
110
  /** RegularExpression Id. */
 
111
  int IMPORT = 38;
 
112
  /** RegularExpression Id. */
 
113
  int INSTANCEOF = 39;
 
114
  /** RegularExpression Id. */
 
115
  int INT = 40;
 
116
  /** RegularExpression Id. */
 
117
  int INTERFACE = 41;
 
118
  /** RegularExpression Id. */
 
119
  int LONG = 42;
 
120
  /** RegularExpression Id. */
 
121
  int NATIVE = 43;
 
122
  /** RegularExpression Id. */
 
123
  int NEW = 44;
 
124
  /** RegularExpression Id. */
 
125
  int NULL = 45;
 
126
  /** RegularExpression Id. */
 
127
  int PACKAGE = 46;
 
128
  /** RegularExpression Id. */
 
129
  int PRIVATE = 47;
 
130
  /** RegularExpression Id. */
 
131
  int PROTECTED = 48;
 
132
  /** RegularExpression Id. */
 
133
  int PUBLIC = 49;
 
134
  /** RegularExpression Id. */
 
135
  int RETURN = 50;
 
136
  /** RegularExpression Id. */
 
137
  int SHORT = 51;
 
138
  /** RegularExpression Id. */
 
139
  int STATIC = 52;
 
140
  /** RegularExpression Id. */
 
141
  int TESTAAAA = 53;
 
142
  /** RegularExpression Id. */
 
143
  int SUPER = 54;
 
144
  /** RegularExpression Id. */
 
145
  int SWITCH = 55;
 
146
  /** RegularExpression Id. */
 
147
  int SYNCHRONIZED = 56;
 
148
  /** RegularExpression Id. */
 
149
  int THIS = 57;
 
150
  /** RegularExpression Id. */
 
151
  int THROW = 58;
 
152
  /** RegularExpression Id. */
 
153
  int THROWS = 59;
 
154
  /** RegularExpression Id. */
 
155
  int TRANSIENT = 60;
 
156
  /** RegularExpression Id. */
 
157
  int TRUE = 61;
 
158
  /** RegularExpression Id. */
 
159
  int TRY = 62;
 
160
  /** RegularExpression Id. */
 
161
  int VOID = 63;
 
162
  /** RegularExpression Id. */
 
163
  int VOLATILE = 64;
 
164
  /** RegularExpression Id. */
 
165
  int WHILE = 65;
 
166
  /** RegularExpression Id. */
 
167
  int INTEGER_LITERAL = 66;
 
168
  /** RegularExpression Id. */
 
169
  int DECIMAL_LITERAL = 67;
 
170
  /** RegularExpression Id. */
 
171
  int HEX_LITERAL = 68;
 
172
  /** RegularExpression Id. */
 
173
  int OCTAL_LITERAL = 69;
 
174
  /** RegularExpression Id. */
 
175
  int FLOATING_POINT_LITERAL = 70;
 
176
  /** RegularExpression Id. */
 
177
  int EXPONENT = 71;
 
178
  /** RegularExpression Id. */
 
179
  int CHARACTER_LITERAL = 72;
 
180
  /** RegularExpression Id. */
 
181
  int STRING_LITERAL = 73;
 
182
  /** RegularExpression Id. */
 
183
  int IDENTIFIER = 74;
 
184
  /** RegularExpression Id. */
 
185
  int LETTER = 75;
 
186
  /** RegularExpression Id. */
 
187
  int DIGIT = 76;
 
188
  /** RegularExpression Id. */
 
189
  int LPAREN = 77;
 
190
  /** RegularExpression Id. */
 
191
  int RPAREN = 78;
 
192
  /** RegularExpression Id. */
 
193
  int LBRACE = 79;
 
194
  /** RegularExpression Id. */
 
195
  int RBRACE = 80;
 
196
  /** RegularExpression Id. */
 
197
  int LBRACKET = 81;
 
198
  /** RegularExpression Id. */
 
199
  int RBRACKET = 82;
 
200
  /** RegularExpression Id. */
 
201
  int SEMICOLON = 83;
 
202
  /** RegularExpression Id. */
 
203
  int COMMA = 84;
 
204
  /** RegularExpression Id. */
 
205
  int DOT = 85;
 
206
  /** RegularExpression Id. */
 
207
  int AT = 86;
 
208
  /** RegularExpression Id. */
 
209
  int ASSIGN = 87;
 
210
  /** RegularExpression Id. */
 
211
  int GT = 88;
 
212
  /** RegularExpression Id. */
 
213
  int LT = 89;
 
214
  /** RegularExpression Id. */
 
215
  int BANG = 90;
 
216
  /** RegularExpression Id. */
 
217
  int TILDE = 91;
 
218
  /** RegularExpression Id. */
 
219
  int HOOK = 92;
 
220
  /** RegularExpression Id. */
 
221
  int COLON = 93;
 
222
  /** RegularExpression Id. */
 
223
  int EQ = 94;
 
224
  /** RegularExpression Id. */
 
225
  int LE = 95;
 
226
  /** RegularExpression Id. */
 
227
  int GE = 96;
 
228
  /** RegularExpression Id. */
 
229
  int NE = 97;
 
230
  /** RegularExpression Id. */
 
231
  int SC_OR = 98;
 
232
  /** RegularExpression Id. */
 
233
  int SC_AND = 99;
 
234
  /** RegularExpression Id. */
 
235
  int INCR = 100;
 
236
  /** RegularExpression Id. */
 
237
  int DECR = 101;
 
238
  /** RegularExpression Id. */
 
239
  int PLUS = 102;
 
240
  /** RegularExpression Id. */
 
241
  int MINUS = 103;
 
242
  /** RegularExpression Id. */
 
243
  int STAR = 104;
 
244
  /** RegularExpression Id. */
 
245
  int SLASH = 105;
 
246
  /** RegularExpression Id. */
 
247
  int BIT_AND = 106;
 
248
  /** RegularExpression Id. */
 
249
  int BIT_OR = 107;
 
250
  /** RegularExpression Id. */
 
251
  int XOR = 108;
 
252
  /** RegularExpression Id. */
 
253
  int REM = 109;
 
254
  /** RegularExpression Id. */
 
255
  int LSHIFT = 110;
 
256
  /** RegularExpression Id. */
 
257
  int PLUSASSIGN = 111;
 
258
  /** RegularExpression Id. */
 
259
  int MINUSASSIGN = 112;
 
260
  /** RegularExpression Id. */
 
261
  int STARASSIGN = 113;
 
262
  /** RegularExpression Id. */
 
263
  int SLASHASSIGN = 114;
 
264
  /** RegularExpression Id. */
 
265
  int ANDASSIGN = 115;
 
266
  /** RegularExpression Id. */
 
267
  int ORASSIGN = 116;
 
268
  /** RegularExpression Id. */
 
269
  int XORASSIGN = 117;
 
270
  /** RegularExpression Id. */
 
271
  int REMASSIGN = 118;
 
272
  /** RegularExpression Id. */
 
273
  int LSHIFTASSIGN = 119;
 
274
  /** RegularExpression Id. */
 
275
  int RSIGNEDSHIFTASSIGN = 120;
 
276
  /** RegularExpression Id. */
 
277
  int RUNSIGNEDSHIFTASSIGN = 121;
 
278
  /** RegularExpression Id. */
 
279
  int ELLIPSIS = 122;
 
280
 
 
281
  /** Lexical state. */
 
282
  int DEFAULT = 0;
 
283
  /** Lexical state. */
 
284
  int IN_SINGLE_LINE_COMMENT = 1;
 
285
  /** Lexical state. */
 
286
  int IN_MULTI_LINE_COMMENT = 2;
 
287
 
 
288
  /** Literal token values. */
 
289
  String[] tokenImage = {
 
290
    "<EOF>",
 
291
    "\" \"",
 
292
    "\"\\t\"",
 
293
    "\"\\n\"",
 
294
    "\"\\r\"",
 
295
    "\"\\f\"",
 
296
    "\"\\u001a\"",
 
297
    "\"/*\"",
 
298
    "\"//\"",
 
299
    "<SINGLE_LINE_COMMENT2>",
 
300
    "<END_OF_LINE_MULTI>",
 
301
    "\"*/\"",
 
302
    "<token of kind 12>",
 
303
    "\"abstract\"",
 
304
    "\"assert\"",
 
305
    "\"boolean\"",
 
306
    "\"break\"",
 
307
    "\"byte\"",
 
308
    "\"case\"",
 
309
    "\"catch\"",
 
310
    "\"char\"",
 
311
    "\"class\"",
 
312
    "\"const\"",
 
313
    "\"continue\"",
 
314
    "\"default\"",
 
315
    "\"do\"",
 
316
    "\"double\"",
 
317
    "\"else\"",
 
318
    "\"enum\"",
 
319
    "\"extends\"",
 
320
    "\"false\"",
 
321
    "\"final\"",
 
322
    "\"finally\"",
 
323
    "\"float\"",
 
324
    "\"for\"",
 
325
    "\"goto\"",
 
326
    "\"if\"",
 
327
    "\"implements\"",
 
328
    "\"import\"",
 
329
    "\"instanceof\"",
 
330
    "\"int\"",
 
331
    "\"interface\"",
 
332
    "\"long\"",
 
333
    "\"native\"",
 
334
    "\"new\"",
 
335
    "\"null\"",
 
336
    "\"package\"",
 
337
    "\"private\"",
 
338
    "\"protected\"",
 
339
    "\"public\"",
 
340
    "\"return\"",
 
341
    "\"short\"",
 
342
    "\"static\"",
 
343
    "\"strictfp\"",
 
344
    "\"super\"",
 
345
    "\"switch\"",
 
346
    "\"synchronized\"",
 
347
    "\"this\"",
 
348
    "\"throw\"",
 
349
    "\"throws\"",
 
350
    "\"transient\"",
 
351
    "\"true\"",
 
352
    "\"try\"",
 
353
    "\"void\"",
 
354
    "\"volatile\"",
 
355
    "\"while\"",
 
356
    "<INTEGER_LITERAL>",
 
357
    "<DECIMAL_LITERAL>",
 
358
    "<HEX_LITERAL>",
 
359
    "<OCTAL_LITERAL>",
 
360
    "<FLOATING_POINT_LITERAL>",
 
361
    "<EXPONENT>",
 
362
    "<CHARACTER_LITERAL>",
 
363
    "<STRING_LITERAL>",
 
364
    "<IDENTIFIER>",
 
365
    "<LETTER>",
 
366
    "<DIGIT>",
 
367
    "\"(\"",
 
368
    "\")\"",
 
369
    "\"{\"",
 
370
    "\"}\"",
 
371
    "\"[\"",
 
372
    "\"]\"",
 
373
    "\";\"",
 
374
    "\",\"",
 
375
    "\".\"",
 
376
    "\"@\"",
 
377
    "\"=\"",
 
378
    "\">\"",
 
379
    "\"<\"",
 
380
    "\"!\"",
 
381
    "\"~\"",
 
382
    "\"?\"",
 
383
    "\":\"",
 
384
    "\"==\"",
 
385
    "\"<=\"",
 
386
    "\">=\"",
 
387
    "\"!=\"",
 
388
    "\"||\"",
 
389
    "\"&&\"",
 
390
    "\"++\"",
 
391
    "\"--\"",
 
392
    "\"+\"",
 
393
    "\"-\"",
 
394
    "\"*\"",
 
395
    "\"/\"",
 
396
    "\"&\"",
 
397
    "\"|\"",
 
398
    "\"^\"",
 
399
    "\"%\"",
 
400
    "\"<<\"",
 
401
    "\"+=\"",
 
402
    "\"-=\"",
 
403
    "\"*=\"",
 
404
    "\"/=\"",
 
405
    "\"&=\"",
 
406
    "\"|=\"",
 
407
    "\"^=\"",
 
408
    "\"%=\"",
 
409
    "\"<<=\"",
 
410
    "\">>=\"",
 
411
    "\">>>=\"",
 
412
    "\"...\"",
 
413
  };
 
414
 
 
415
}