1
/* Generated By:JavaCC: Do not edit this line. JavaParserTokenManager.java */
4
* Cobertura - http://cobertura.sourceforge.net/
6
* This file was taken from JavaNCSS
7
* http://www.kclee.com/clemens/java/javancss/
8
* Copyright (C) 2000 Chr. Clemens Lee <clemens a.t kclee d.o.t com>
10
* Cobertura is free software; you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License as published
12
* by the Free Software Foundation; either version 2 of the License,
13
* or (at your option) any later version.
15
* Cobertura is distributed in the hope that it will be useful, but
16
* WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
* General Public License for more details.
20
* You should have received a copy of the GNU General Public License
21
* along with Cobertura; if not, write to the Free Software
22
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
26
package net.sourceforge.cobertura.javancss;
28
public class JavaParserTokenManager implements JavaParserConstants
33
private final int jjStopStringLiteralDfa_0(int pos, long active0, long active1)
38
if ((active1 & 0x100000L) != 0L)
40
if ((active0 & 0xffffffffffffe000L) != 0L || (active1 & 0x1L) != 0L)
47
if ((active0 & 0x806000000L) != 0L)
49
if ((active0 & 0xfffffff7f9ffe000L) != 0L || (active1 & 0x1L) != 0L)
51
if (jjmatchedPos != 1)
60
if ((active0 & 0x2000098200000000L) != 0L)
62
if ((active0 & 0xdffff675fdffe000L) != 0L || (active1 & 0x1L) != 0L)
64
if (jjmatchedPos != 2)
73
if ((active0 & 0x8effe571f5e9e000L) != 0L || (active1 & 0x1L) != 0L)
79
if ((active0 & 0x5100120408160000L) != 0L)
83
if ((active0 & 0x6240001e0690000L) != 0L || (active1 & 0x1L) != 0L)
85
if ((active0 & 0x88dbe5701580e000L) != 0L)
87
if (jjmatchedPos != 4)
96
if ((active0 & 0x44b042004004000L) != 0L)
98
if ((active0 & 0x8890e1509180a000L) != 0L)
106
if ((active0 & 0x8890815000802000L) != 0L)
112
if ((active0 & 0x600091008000L) != 0L)
116
if ((active0 & 0x8010000000802000L) != 0L)
118
if ((active0 & 0x880815000000000L) != 0L)
126
if ((active0 & 0x800810000000000L) != 0L)
128
if ((active0 & 0x80005000000000L) != 0L)
136
if ((active0 & 0x5000000000L) != 0L)
138
if ((active0 & 0x80000000000000L) != 0L)
146
if ((active0 & 0x80000000000000L) != 0L)
158
private final int jjStartNfa_0(int pos, long active0, long active1)
160
return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0, active1), pos + 1);
163
private final int jjStopAtPos(int pos, int kind)
165
jjmatchedKind = kind;
170
private final int jjStartNfaWithStates_0(int pos, int kind, int state)
172
jjmatchedKind = kind;
176
curChar = input_stream.readChar();
178
catch (java.io.IOException e)
182
return jjMoveNfa_0(state, pos + 1);
185
private final int jjMoveStringLiteralDfa0_0()
191
return jjMoveStringLiteralDfa1_0(0x0L, 0x80000000L);
194
return jjMoveStringLiteralDfa1_0(0x0L, 0x40000000000000L);
197
return jjMoveStringLiteralDfa1_0(0x0L, 0x8000200000000L);
199
return jjStopAtPos(0, 76);
201
return jjStopAtPos(0, 77);
204
return jjMoveStringLiteralDfa1_0(0x0L, 0x2000000000000L);
207
return jjMoveStringLiteralDfa1_0(0x0L, 0x800400000000L);
209
return jjStopAtPos(0, 83);
212
return jjMoveStringLiteralDfa1_0(0x0L, 0x1000800000000L);
214
return jjStartNfaWithStates_0(0, 84, 4);
217
return jjMoveStringLiteralDfa1_0(0x180L, 0x4000000000000L);
219
return jjStopAtPos(0, 91);
221
return jjStopAtPos(0, 82);
224
return jjMoveStringLiteralDfa1_0(0x0L, 0x80100020000000L);
227
return jjMoveStringLiteralDfa1_0(0x0L, 0x10000000L);
230
return jjMoveStringLiteralDfa1_0(0x0L, 0x300600040000000L);
232
return jjStopAtPos(0, 90);
234
return jjStopAtPos(0, 80);
236
return jjStopAtPos(0, 81);
239
return jjMoveStringLiteralDfa1_0(0x0L, 0x20000000000000L);
241
return jjMoveStringLiteralDfa1_0(0x6000L, 0x0L);
243
return jjMoveStringLiteralDfa1_0(0x38000L, 0x0L);
245
return jjMoveStringLiteralDfa1_0(0xfc0000L, 0x0L);
247
return jjMoveStringLiteralDfa1_0(0x7000000L, 0x0L);
249
return jjMoveStringLiteralDfa1_0(0x18000000L, 0x0L);
251
return jjMoveStringLiteralDfa1_0(0x3e0000000L, 0x0L);
253
return jjMoveStringLiteralDfa1_0(0x400000000L, 0x0L);
255
return jjMoveStringLiteralDfa1_0(0x1f800000000L, 0x0L);
257
return jjMoveStringLiteralDfa1_0(0x20000000000L, 0x0L);
259
return jjMoveStringLiteralDfa1_0(0x1c0000000000L, 0x0L);
261
return jjMoveStringLiteralDfa1_0(0x1e00000000000L, 0x0L);
263
return jjMoveStringLiteralDfa1_0(0x2000000000000L, 0x0L);
265
return jjMoveStringLiteralDfa1_0(0xfc000000000000L, 0x0L);
267
return jjMoveStringLiteralDfa1_0(0x3f00000000000000L, 0x0L);
269
return jjMoveStringLiteralDfa1_0(0xc000000000000000L, 0x0L);
271
return jjMoveStringLiteralDfa1_0(0x0L, 0x1L);
273
return jjStopAtPos(0, 78);
276
return jjMoveStringLiteralDfa1_0(0x0L, 0x10000100000000L);
278
return jjStopAtPos(0, 79);
280
return jjStopAtPos(0, 89);
282
return jjMoveNfa_0(0, 0);
286
private final int jjMoveStringLiteralDfa1_0(long active0, long active1)
290
curChar = input_stream.readChar();
292
catch (java.io.IOException e)
294
jjStopStringLiteralDfa_0(0, active0, active1);
300
if ((active1 & 0x200000000L) != 0L)
301
return jjStopAtPos(1, 97);
304
if ((active0 & 0x80L) != 0L)
305
return jjStopAtPos(1, 7);
308
if ((active1 & 0x400000000L) != 0L)
309
return jjStopAtPos(1, 98);
312
if ((active1 & 0x800000000L) != 0L)
313
return jjStopAtPos(1, 99);
316
if ((active0 & 0x100L) != 0L)
317
return jjStopAtPos(1, 8);
320
if ((active1 & 0x100000000000L) != 0L)
325
return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x80000000000000L);
327
if ((active1 & 0x10000000L) != 0L)
328
return jjStopAtPos(1, 92);
329
else if ((active1 & 0x20000000L) != 0L)
330
return jjStopAtPos(1, 93);
331
else if ((active1 & 0x40000000L) != 0L)
332
return jjStopAtPos(1, 94);
333
else if ((active1 & 0x80000000L) != 0L)
334
return jjStopAtPos(1, 95);
335
else if ((active1 & 0x800000000000L) != 0L)
336
return jjStopAtPos(1, 111);
337
else if ((active1 & 0x1000000000000L) != 0L)
338
return jjStopAtPos(1, 112);
339
else if ((active1 & 0x2000000000000L) != 0L)
340
return jjStopAtPos(1, 113);
341
else if ((active1 & 0x4000000000000L) != 0L)
342
return jjStopAtPos(1, 114);
343
else if ((active1 & 0x8000000000000L) != 0L)
344
return jjStopAtPos(1, 115);
345
else if ((active1 & 0x10000000000000L) != 0L)
346
return jjStopAtPos(1, 116);
347
else if ((active1 & 0x20000000000000L) != 0L)
348
return jjStopAtPos(1, 117);
349
else if ((active1 & 0x40000000000000L) != 0L)
350
return jjStopAtPos(1, 118);
353
if ((active1 & 0x200000000000L) != 0L)
358
return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x300400000000000L);
360
return jjMoveStringLiteralDfa2_0(active0, 0x2400200c0000L, active1, 0L);
362
return jjMoveStringLiteralDfa2_0(active0, 0x2000L, active1, 0L);
364
return jjMoveStringLiteralDfa2_0(active0, 0x2080001000000L, active1, 0L);
366
if ((active0 & 0x800000000L) != 0L)
367
return jjStartNfaWithStates_0(1, 35, 28);
370
return jjMoveStringLiteralDfa2_0(active0, 0x704000000100000L, active1, 0x1L);
372
return jjMoveStringLiteralDfa2_0(active0, 0xc0000000L, active1, 0L);
374
return jjMoveStringLiteralDfa2_0(active0, 0x108200000L, active1, 0L);
376
return jjMoveStringLiteralDfa2_0(active0, 0x3000000000L, active1, 0L);
378
return jjMoveStringLiteralDfa2_0(active0, 0x1c000000000L, active1, 0L);
380
if ((active0 & 0x2000000L) != 0L)
385
return jjMoveStringLiteralDfa2_0(active0, 0xc000020604c08000L, active1, 0L);
387
return jjMoveStringLiteralDfa2_0(active0, 0x3800c00000010000L, active1, 0L);
389
return jjMoveStringLiteralDfa2_0(active0, 0x4000L, active1, 0L);
391
return jjMoveStringLiteralDfa2_0(active0, 0x18000000000000L, active1, 0L);
393
return jjMoveStringLiteralDfa2_0(active0, 0x21100000000000L, active1, 0L);
395
return jjMoveStringLiteralDfa2_0(active0, 0x40000000000000L, active1, 0L);
397
return jjMoveStringLiteralDfa2_0(active0, 0x10000000L, active1, 0L);
399
return jjMoveStringLiteralDfa2_0(active0, 0x80000000020000L, active1, 0L);
401
if ((active1 & 0x100000000L) != 0L)
402
return jjStopAtPos(1, 96);
407
return jjStartNfa_0(0, active0, active1);
410
private final int jjMoveStringLiteralDfa2_0(long old0, long active0, long old1, long active1)
412
if (((active0 &= old0) | (active1 &= old1)) == 0L)
413
return jjStartNfa_0(0, old0, old1);
416
curChar = input_stream.readChar();
418
catch (java.io.IOException e)
420
jjStopStringLiteralDfa_0(1, active0, active1);
426
if ((active1 & 0x80000000000000L) != 0L)
427
return jjStopAtPos(2, 119);
428
else if ((active1 & 0x100000000000000L) != 0L)
429
return jjStopAtPos(2, 120);
432
if ((active1 & 0x400000000000L) != 0L)
437
return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x200000000000000L);
439
return jjMoveStringLiteralDfa3_0(active0, 0x808000000300000L, active1, 0L);
441
return jjMoveStringLiteralDfa3_0(active0, 0x1000000000000L, active1, 0L);
443
return jjMoveStringLiteralDfa3_0(active0, 0x200000000000L, active1, 0L);
445
return jjMoveStringLiteralDfa3_0(active0, 0x10000L, active1, 0L);
447
return jjMoveStringLiteralDfa3_0(active0, 0x1000000L, active1, 0L);
449
return jjMoveStringLiteralDfa3_0(active0, 0x4140400000000000L, active1, 0x1L);
451
return jjMoveStringLiteralDfa3_0(active0, 0x8000100020000000L, active1, 0L);
453
return jjMoveStringLiteralDfa3_0(active0, 0x800200c0c00000L, active1, 0L);
455
return jjMoveStringLiteralDfa3_0(active0, 0x4800100008000L, active1, 0L);
457
return jjMoveStringLiteralDfa3_0(active0, 0x20003000000000L, active1, 0L);
459
if ((active0 & 0x200000000L) != 0L)
460
return jjStartNfaWithStates_0(2, 33, 28);
461
return jjMoveStringLiteralDfa3_0(active0, 0x610000000000000L, active1, 0L);
463
return jjMoveStringLiteralDfa3_0(active0, 0x4008046000L, active1, 0L);
465
if ((active0 & 0x8000000000L) != 0L)
470
return jjMoveStringLiteralDfa3_0(active0, 0x20504100a0000L, active1, 0L);
472
return jjMoveStringLiteralDfa3_0(active0, 0x1000000004000000L, active1, 0L);
474
if ((active0 & 0x80000000000L) != 0L)
475
return jjStartNfaWithStates_0(2, 43, 28);
478
if ((active0 & 0x2000000000000000L) != 0L)
479
return jjStartNfaWithStates_0(2, 61, 28);
484
return jjStartNfa_0(1, active0, active1);
487
private final int jjMoveStringLiteralDfa3_0(long old0, long active0, long old1, long active1)
489
if (((active0 &= old0) | (active1 &= old1)) == 0L)
490
return jjStartNfa_0(1, old0, old1);
493
curChar = input_stream.readChar();
495
catch (java.io.IOException e)
497
jjStopStringLiteralDfa_0(2, active0, active1);
503
if ((active1 & 0x200000000000000L) != 0L)
504
return jjStopAtPos(3, 121);
507
return jjMoveStringLiteralDfa4_0(active0, 0x80000001c1010000L, active1, 0L);
509
return jjMoveStringLiteralDfa4_0(active0, 0x4000000L, active1, 0L);
511
return jjMoveStringLiteralDfa4_0(active0, 0x80000000080000L, active1, 0L);
513
if ((active0 & 0x4000000000000000L) != 0L)
514
return jjStartNfaWithStates_0(3, 62, 28);
517
if ((active0 & 0x20000L) != 0L)
518
return jjStartNfaWithStates_0(3, 17, 28);
519
else if ((active0 & 0x40000L) != 0L)
520
return jjStartNfaWithStates_0(3, 18, 28);
521
else if ((active0 & 0x8000000L) != 0L)
522
return jjStartNfaWithStates_0(3, 27, 28);
523
else if ((active0 & 0x1000000000000000L) != 0L)
524
return jjStartNfaWithStates_0(3, 60, 28);
525
return jjMoveStringLiteralDfa4_0(active0, 0x20010010004000L, active1, 0L);
527
if ((active0 & 0x20000000000L) != 0L)
528
return jjStartNfaWithStates_0(3, 41, 28);
531
return jjMoveStringLiteralDfa4_0(active0, 0x10040000000000L, active1, 0L);
533
return jjMoveStringLiteralDfa4_0(active0, 0x200000000000L, active1, 0L);
535
if ((active0 & 0x100000000000L) != 0L)
536
return jjStartNfaWithStates_0(3, 44, 28);
537
return jjMoveStringLiteralDfa4_0(active0, 0x1001000008000L, active1, 0x1L);
539
return jjMoveStringLiteralDfa4_0(active0, 0x800000000000000L, active1, 0L);
541
if ((active0 & 0x400000000L) != 0L)
542
return jjStartNfaWithStates_0(3, 34, 28);
543
return jjMoveStringLiteralDfa4_0(active0, 0x600002000000000L, active1, 0L);
545
if ((active0 & 0x100000L) != 0L)
546
return jjStartNfaWithStates_0(3, 20, 28);
547
return jjMoveStringLiteralDfa4_0(active0, 0x4000000000000L, active1, 0L);
549
if ((active0 & 0x100000000000000L) != 0L)
550
return jjStartNfaWithStates_0(3, 56, 28);
551
return jjMoveStringLiteralDfa4_0(active0, 0x20600000L, active1, 0L);
553
return jjMoveStringLiteralDfa4_0(active0, 0x48804000802000L, active1, 0L);
555
return jjMoveStringLiteralDfa4_0(active0, 0x2000000000000L, active1, 0L);
557
return jjMoveStringLiteralDfa4_0(active0, 0x400000000000L, active1, 0L);
561
return jjStartNfa_0(2, active0, active1);
564
private final int jjMoveStringLiteralDfa4_0(long old0, long active0, long old1, long active1)
566
if (((active0 &= old0) | (active1 &= old1)) == 0L)
567
return jjStartNfa_0(2, old0, old1);
570
curChar = input_stream.readChar();
572
catch (java.io.IOException e)
574
jjStopStringLiteralDfa_0(3, active0, active1);
580
return jjMoveStringLiteralDfa5_0(active0, 0x604000000000L, active1, 0L);
582
return jjMoveStringLiteralDfa5_0(active0, 0x50000000000000L, active1, 0L);
584
if ((active0 & 0x20000000L) != 0L)
585
return jjStartNfaWithStates_0(4, 29, 28);
586
else if ((active1 & 0x1L) != 0L)
587
return jjStartNfaWithStates_0(4, 64, 28);
588
return jjMoveStringLiteralDfa5_0(active0, 0x801000008000L, active1, 0L);
590
if ((active0 & 0x80000L) != 0L)
591
return jjStartNfaWithStates_0(4, 19, 28);
592
return jjMoveStringLiteralDfa5_0(active0, 0x80000000000000L, active1, 0L);
594
return jjMoveStringLiteralDfa5_0(active0, 0x9000000800000L, active1, 0L);
596
if ((active0 & 0x10000L) != 0L)
597
return jjStartNfaWithStates_0(4, 16, 28);
600
if ((active0 & 0x40000000L) != 0L)
605
return jjMoveStringLiteralDfa5_0(active0, 0x84000000L, active1, 0L);
607
return jjMoveStringLiteralDfa5_0(active0, 0x10000000L, active1, 0L);
609
if ((active0 & 0x20000000000000L) != 0L)
610
return jjStartNfaWithStates_0(4, 53, 28);
611
return jjMoveStringLiteralDfa5_0(active0, 0x2012000006000L, active1, 0L);
613
if ((active0 & 0x200000L) != 0L)
614
return jjStartNfaWithStates_0(4, 21, 28);
615
return jjMoveStringLiteralDfa5_0(active0, 0x800000000000000L, active1, 0L);
617
if ((active0 & 0x400000L) != 0L)
618
return jjStartNfaWithStates_0(4, 22, 28);
619
else if ((active0 & 0x100000000L) != 0L)
620
return jjStartNfaWithStates_0(4, 32, 28);
621
else if ((active0 & 0x4000000000000L) != 0L)
622
return jjStartNfaWithStates_0(4, 50, 28);
623
return jjMoveStringLiteralDfa5_0(active0, 0x8000000000000000L, active1, 0L);
625
return jjMoveStringLiteralDfa5_0(active0, 0x1000000L, active1, 0L);
627
return jjMoveStringLiteralDfa5_0(active0, 0x40000000000L, active1, 0L);
629
if ((active0 & 0x200000000000000L) != 0L)
634
return jjMoveStringLiteralDfa5_0(active0, 0x400000000000000L, active1, 0L);
638
return jjStartNfa_0(3, active0, active1);
641
private final int jjMoveStringLiteralDfa5_0(long old0, long active0, long old1, long active1)
643
if (((active0 &= old0) | (active1 &= old1)) == 0L)
644
return jjStartNfa_0(3, old0, old1);
647
curChar = input_stream.readChar();
649
catch (java.io.IOException e)
651
jjStopStringLiteralDfa_0(4, active0, 0L);
657
return jjMoveStringLiteralDfa6_0(active0, 0xa000L);
659
if ((active0 & 0x1000000000000L) != 0L)
660
return jjStartNfaWithStates_0(5, 48, 28);
661
else if ((active0 & 0x8000000000000L) != 0L)
662
return jjStartNfaWithStates_0(5, 51, 28);
663
return jjMoveStringLiteralDfa6_0(active0, 0x800000000000L);
665
return jjMoveStringLiteralDfa6_0(active0, 0x10000000L);
667
if ((active0 & 0x4000000L) != 0L)
668
return jjStartNfaWithStates_0(5, 26, 28);
669
else if ((active0 & 0x40000000000L) != 0L)
670
return jjStartNfaWithStates_0(5, 42, 28);
673
return jjMoveStringLiteralDfa6_0(active0, 0x10000000000L);
675
return jjMoveStringLiteralDfa6_0(active0, 0x200000000000L);
677
if ((active0 & 0x40000000000000L) != 0L)
678
return jjStartNfaWithStates_0(5, 54, 28);
681
return jjMoveStringLiteralDfa6_0(active0, 0x8800000000000000L);
683
return jjMoveStringLiteralDfa6_0(active0, 0x81000000L);
685
return jjMoveStringLiteralDfa6_0(active0, 0x1000000000L);
687
if ((active0 & 0x2000000000000L) != 0L)
688
return jjStartNfaWithStates_0(5, 49, 28);
689
return jjMoveStringLiteralDfa6_0(active0, 0x4000800000L);
691
return jjMoveStringLiteralDfa6_0(active0, 0x80000000000000L);
693
if ((active0 & 0x400000000000000L) != 0L)
694
return jjStartNfaWithStates_0(5, 58, 28);
697
if ((active0 & 0x4000L) != 0L)
698
return jjStartNfaWithStates_0(5, 14, 28);
699
else if ((active0 & 0x2000000000L) != 0L)
700
return jjStartNfaWithStates_0(5, 37, 28);
701
return jjMoveStringLiteralDfa6_0(active0, 0x10400000000000L);
705
return jjStartNfa_0(4, active0, 0L);
708
private final int jjMoveStringLiteralDfa6_0(long old0, long active0)
710
if (((active0 &= old0)) == 0L)
711
return jjStartNfa_0(4, old0, 0L);
714
curChar = input_stream.readChar();
716
catch (java.io.IOException e)
718
jjStopStringLiteralDfa_0(5, active0, 0L);
724
return jjMoveStringLiteralDfa7_0(active0, 0x10000000000L);
726
return jjMoveStringLiteralDfa7_0(active0, 0x4000002000L);
728
if ((active0 & 0x200000000000L) != 0L)
729
return jjStartNfaWithStates_0(6, 45, 28);
730
else if ((active0 & 0x400000000000L) != 0L)
731
return jjStartNfaWithStates_0(6, 46, 28);
732
return jjMoveStringLiteralDfa7_0(active0, 0x800001000000000L);
734
return jjMoveStringLiteralDfa7_0(active0, 0x10000000000000L);
736
return jjMoveStringLiteralDfa7_0(active0, 0x8000000000000000L);
738
if ((active0 & 0x8000L) != 0L)
739
return jjStartNfaWithStates_0(6, 15, 28);
742
return jjMoveStringLiteralDfa7_0(active0, 0x80000000000000L);
744
if ((active0 & 0x10000000L) != 0L)
745
return jjStartNfaWithStates_0(6, 28, 28);
748
if ((active0 & 0x1000000L) != 0L)
749
return jjStartNfaWithStates_0(6, 24, 28);
750
return jjMoveStringLiteralDfa7_0(active0, 0x800000000000L);
752
return jjMoveStringLiteralDfa7_0(active0, 0x800000L);
754
if ((active0 & 0x80000000L) != 0L)
755
return jjStartNfaWithStates_0(6, 31, 28);
760
return jjStartNfa_0(5, active0, 0L);
763
private final int jjMoveStringLiteralDfa7_0(long old0, long active0)
765
if (((active0 &= old0)) == 0L)
766
return jjStartNfa_0(5, old0, 0L);
769
curChar = input_stream.readChar();
771
catch (java.io.IOException e)
773
jjStopStringLiteralDfa_0(6, active0, 0L);
779
return jjMoveStringLiteralDfa8_0(active0, 0x10000000000L);
781
if ((active0 & 0x800000L) != 0L)
782
return jjStartNfaWithStates_0(7, 23, 28);
783
else if ((active0 & 0x8000000000000000L) != 0L)
784
return jjStartNfaWithStates_0(7, 63, 28);
785
return jjMoveStringLiteralDfa8_0(active0, 0x804000000000L);
787
return jjMoveStringLiteralDfa8_0(active0, 0x880001000000000L);
789
if ((active0 & 0x10000000000000L) != 0L)
790
return jjStartNfaWithStates_0(7, 52, 28);
793
if ((active0 & 0x2000L) != 0L)
794
return jjStartNfaWithStates_0(7, 13, 28);
799
return jjStartNfa_0(6, active0, 0L);
802
private final int jjMoveStringLiteralDfa8_0(long old0, long active0)
804
if (((active0 &= old0)) == 0L)
805
return jjStartNfa_0(6, old0, 0L);
808
curChar = input_stream.readChar();
810
catch (java.io.IOException e)
812
jjStopStringLiteralDfa_0(7, active0, 0L);
818
if ((active0 & 0x800000000000L) != 0L)
819
return jjStartNfaWithStates_0(8, 47, 28);
822
if ((active0 & 0x10000000000L) != 0L)
823
return jjStartNfaWithStates_0(8, 40, 28);
826
return jjMoveStringLiteralDfa9_0(active0, 0x80000000000000L);
828
return jjMoveStringLiteralDfa9_0(active0, 0x4000000000L);
830
if ((active0 & 0x800000000000000L) != 0L)
831
return jjStartNfaWithStates_0(8, 59, 28);
832
return jjMoveStringLiteralDfa9_0(active0, 0x1000000000L);
836
return jjStartNfa_0(7, active0, 0L);
839
private final int jjMoveStringLiteralDfa9_0(long old0, long active0)
841
if (((active0 &= old0)) == 0L)
842
return jjStartNfa_0(7, old0, 0L);
845
curChar = input_stream.readChar();
847
catch (java.io.IOException e)
849
jjStopStringLiteralDfa_0(8, active0, 0L);
855
if ((active0 & 0x4000000000L) != 0L)
856
return jjStartNfaWithStates_0(9, 38, 28);
859
if ((active0 & 0x1000000000L) != 0L)
860
return jjStartNfaWithStates_0(9, 36, 28);
863
return jjMoveStringLiteralDfa10_0(active0, 0x80000000000000L);
867
return jjStartNfa_0(8, active0, 0L);
870
private final int jjMoveStringLiteralDfa10_0(long old0, long active0)
872
if (((active0 &= old0)) == 0L)
873
return jjStartNfa_0(8, old0, 0L);
876
curChar = input_stream.readChar();
878
catch (java.io.IOException e)
880
jjStopStringLiteralDfa_0(9, active0, 0L);
886
return jjMoveStringLiteralDfa11_0(active0, 0x80000000000000L);
890
return jjStartNfa_0(9, active0, 0L);
893
private final int jjMoveStringLiteralDfa11_0(long old0, long active0)
895
if (((active0 &= old0)) == 0L)
896
return jjStartNfa_0(9, old0, 0L);
899
curChar = input_stream.readChar();
901
catch (java.io.IOException e)
903
jjStopStringLiteralDfa_0(10, active0, 0L);
909
if ((active0 & 0x80000000000000L) != 0L)
910
return jjStartNfaWithStates_0(11, 55, 28);
915
return jjStartNfa_0(10, active0, 0L);
918
private final void jjCheckNAdd(int state)
920
if (jjrounds[state] != jjround)
922
jjstateSet[jjnewStateCnt++] = state;
923
jjrounds[state] = jjround;
927
private final void jjAddStates(int start, int end)
931
jjstateSet[jjnewStateCnt++] = jjnextStates[start];
932
} while (start++ != end);
935
private final void jjCheckNAddTwoStates(int state1, int state2)
941
private final void jjCheckNAddStates(int start, int end)
945
jjCheckNAdd(jjnextStates[start]);
946
} while (start++ != end);
949
private static final long[] jjbitVec0 = { 0xfffffffffffffffeL, 0xffffffffffffffffL,
950
0xffffffffffffffffL, 0xffffffffffffffffL };
951
private static final long[] jjbitVec2 = { 0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL };
952
private static final long[] jjbitVec3 = { 0x1ff00000fffffffeL, 0xffffffffffffc000L,
953
0xffffffffL, 0x600000000000000L };
954
private static final long[] jjbitVec4 = { 0x0L, 0x0L, 0x0L, 0xff7fffffff7fffffL };
955
private static final long[] jjbitVec5 = { 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL,
956
0xffffffffffffffffL };
957
private static final long[] jjbitVec6 = { 0xffffffffffffffffL, 0xffffffffffffffffL, 0xffffL,
959
private static final long[] jjbitVec7 = { 0xffffffffffffffffL, 0xffffffffffffffffL, 0x0L, 0x0L };
960
private static final long[] jjbitVec8 = { 0x3fffffffffffL, 0x0L, 0x0L, 0x0L };
962
private final int jjMoveNfa_0(int startState, int curPos)
967
jjstateSet[0] = startState;
968
int kind = 0x7fffffff;
971
if (++jjround == 0x7fffffff)
975
long l = 1L << curChar;
978
switch (jjstateSet[--i])
981
if ((0x3ff000000000000L & l) != 0L)
982
jjCheckNAddStates(0, 6);
983
else if (curChar == 36)
989
else if (curChar == 34)
990
jjCheckNAddStates(7, 9);
991
else if (curChar == 39)
993
else if (curChar == 46)
995
if ((0x3fe000000000000L & l) != 0L)
999
jjCheckNAddTwoStates(1, 2);
1001
else if (curChar == 48)
1005
jjCheckNAddStates(12, 14);
1009
if ((0x3ff000000000000L & l) == 0L)
1013
jjCheckNAddTwoStates(1, 2);
1020
if ((0x3ff000000000000L & l) == 0L)
1024
jjCheckNAddStates(15, 17);
1027
if ((0x280000000000L & l) != 0L)
1031
if ((0x3ff000000000000L & l) == 0L)
1035
jjCheckNAddTwoStates(7, 8);
1039
jjAddStates(10, 11);
1042
if ((0xfffffffffffffbffL & l) != 0L)
1046
if (curChar == 39 && kind > 71)
1050
if ((0x8400000000L & l) != 0L)
1054
if ((0xff000000000000L & l) != 0L)
1055
jjCheckNAddTwoStates(15, 11);
1058
if ((0xff000000000000L & l) != 0L)
1062
if ((0xf000000000000L & l) != 0L)
1063
jjstateSet[jjnewStateCnt++] = 17;
1066
if ((0xff000000000000L & l) != 0L)
1071
jjCheckNAddStates(7, 9);
1074
if ((0xfffffffbffffdbffL & l) != 0L)
1075
jjCheckNAddStates(7, 9);
1078
if ((0x8400000000L & l) != 0L)
1079
jjCheckNAddStates(7, 9);
1082
if (curChar == 34 && kind > 72)
1086
if ((0xff000000000000L & l) != 0L)
1087
jjCheckNAddStates(18, 21);
1090
if ((0xff000000000000L & l) != 0L)
1091
jjCheckNAddStates(7, 9);
1094
if ((0xf000000000000L & l) != 0L)
1095
jjstateSet[jjnewStateCnt++] = 26;
1098
if ((0xff000000000000L & l) != 0L)
1109
if ((0x3ff001000000000L & l) == 0L)
1116
if ((0x3ff000000000000L & l) != 0L)
1117
jjCheckNAddStates(0, 6);
1120
if ((0x3ff000000000000L & l) != 0L)
1121
jjCheckNAddTwoStates(30, 31);
1128
jjCheckNAddStates(22, 24);
1131
if ((0x3ff000000000000L & l) == 0L)
1135
jjCheckNAddStates(22, 24);
1138
if ((0x280000000000L & l) != 0L)
1142
if ((0x3ff000000000000L & l) == 0L)
1146
jjCheckNAddTwoStates(35, 8);
1149
if ((0x3ff000000000000L & l) != 0L)
1150
jjCheckNAddTwoStates(36, 37);
1153
if ((0x280000000000L & l) != 0L)
1157
if ((0x3ff000000000000L & l) == 0L)
1161
jjCheckNAddTwoStates(39, 8);
1164
if ((0x3ff000000000000L & l) != 0L)
1165
jjCheckNAddStates(25, 27);
1168
if ((0x280000000000L & l) != 0L)
1172
if ((0x3ff000000000000L & l) != 0L)
1173
jjCheckNAddTwoStates(43, 8);
1180
jjCheckNAddStates(12, 14);
1183
if ((0x3ff000000000000L & l) == 0L)
1187
jjCheckNAddTwoStates(46, 2);
1190
if ((0xff000000000000L & l) == 0L)
1194
jjCheckNAddTwoStates(47, 2);
1199
} while (i != startsAt);
1201
else if (curChar < 128)
1203
long l = 1L << (curChar & 077);
1206
switch (jjstateSet[--i])
1210
if ((0x7fffffe87fffffeL & l) == 0L)
1217
if ((0x100000001000L & l) != 0L && kind > 65)
1221
if ((0x2000000020L & l) != 0L)
1222
jjAddStates(28, 29);
1225
if ((0x5000000050L & l) != 0L && kind > 69)
1229
if ((0xffffffffefffffffL & l) != 0L)
1234
jjAddStates(30, 32);
1237
if ((0x14404410000000L & l) != 0L)
1241
if ((0xffffffffefffffffL & l) != 0L)
1242
jjCheckNAddStates(7, 9);
1246
jjAddStates(33, 35);
1249
if ((0x14404410000000L & l) != 0L)
1250
jjCheckNAddStates(7, 9);
1253
if ((0x2000000020L & l) != 0L)
1254
jjAddStates(36, 37);
1257
if ((0x2000000020L & l) != 0L)
1258
jjAddStates(38, 39);
1261
if ((0x2000000020L & l) != 0L)
1262
jjAddStates(40, 41);
1265
if ((0x100000001000000L & l) != 0L)
1269
if ((0x7e0000007eL & l) == 0L)
1273
jjCheckNAddTwoStates(46, 2);
1278
} while (i != startsAt);
1282
int hiByte = curChar >> 8;
1283
int i1 = hiByte >> 6;
1284
long l1 = 1L << (hiByte & 077);
1285
int i2 = (curChar & 0xff) >> 6;
1286
long l2 = 1L << (curChar & 077);
1289
switch (jjstateSet[--i])
1293
if (!jjCanMove_1(hiByte, i1, i2, l1, l2))
1300
if (jjCanMove_0(hiByte, i1, i2, l1, l2))
1301
jjstateSet[jjnewStateCnt++] = 11;
1304
if (jjCanMove_0(hiByte, i1, i2, l1, l2))
1310
} while (i != startsAt);
1312
if (kind != 0x7fffffff)
1314
jjmatchedKind = kind;
1315
jjmatchedPos = curPos;
1319
if ((i = jjnewStateCnt) == (startsAt = 48 - (jjnewStateCnt = startsAt)))
1323
curChar = input_stream.readChar();
1325
catch (java.io.IOException e)
1332
private final int jjStopStringLiteralDfa_2(int pos)
1341
private final int jjStartNfa_2(int pos)
1343
return jjMoveNfa_2(jjStopStringLiteralDfa_2(pos), pos + 1);
1346
private final int jjMoveStringLiteralDfa0_2()
1351
return jjMoveStringLiteralDfa1_2(0x800L);
1353
return jjMoveNfa_2(0, 0);
1357
private final int jjMoveStringLiteralDfa1_2(long active0)
1361
curChar = input_stream.readChar();
1363
catch (java.io.IOException e)
1365
jjStopStringLiteralDfa_2(0);
1371
if ((active0 & 0x800L) != 0L)
1372
return jjStopAtPos(1, 11);
1377
return jjStartNfa_2(0);
1380
private final int jjMoveNfa_2(int startState, int curPos)
1385
jjstateSet[0] = startState;
1386
int kind = 0x7fffffff;
1389
if (++jjround == 0x7fffffff)
1393
long l = 1L << curChar;
1396
switch (jjstateSet[--i])
1399
if ((0x2400L & l) != 0L)
1405
jjstateSet[jjnewStateCnt++] = 1;
1408
if (curChar == 10 && kind > 10)
1413
jjstateSet[jjnewStateCnt++] = 1;
1418
} while (i != startsAt);
1424
switch (jjstateSet[--i])
1429
} while (i != startsAt);
1431
if (kind != 0x7fffffff)
1433
jjmatchedKind = kind;
1434
jjmatchedPos = curPos;
1438
if ((i = jjnewStateCnt) == (startsAt = 3 - (jjnewStateCnt = startsAt)))
1442
curChar = input_stream.readChar();
1444
catch (java.io.IOException e)
1451
private final int jjMoveStringLiteralDfa0_1()
1453
return jjMoveNfa_1(4, 0);
1456
private final int jjMoveNfa_1(int startState, int curPos)
1461
jjstateSet[0] = startState;
1462
int kind = 0x7fffffff;
1465
if (++jjround == 0x7fffffff)
1469
long l = 1L << curChar;
1472
switch (jjstateSet[--i])
1475
if ((0xffffffffffffdbffL & l) != 0L)
1479
jjCheckNAddStates(42, 44);
1481
else if ((0x2400L & l) != 0L)
1487
jjstateSet[jjnewStateCnt++] = 2;
1490
if ((0xffffffffffffdbffL & l) == 0L)
1493
jjCheckNAddStates(42, 44);
1496
if ((0x2400L & l) != 0L && kind > 9)
1500
if (curChar == 10 && kind > 9)
1505
jjstateSet[jjnewStateCnt++] = 2;
1510
} while (i != startsAt);
1512
else if (curChar < 128)
1516
switch (jjstateSet[--i])
1521
jjCheckNAddStates(42, 44);
1526
} while (i != startsAt);
1530
int hiByte = curChar >> 8;
1531
int i1 = hiByte >> 6;
1532
long l1 = 1L << (hiByte & 077);
1533
int i2 = (curChar & 0xff) >> 6;
1534
long l2 = 1L << (curChar & 077);
1537
switch (jjstateSet[--i])
1541
if (!jjCanMove_0(hiByte, i1, i2, l1, l2))
1545
jjCheckNAddStates(42, 44);
1550
} while (i != startsAt);
1552
if (kind != 0x7fffffff)
1554
jjmatchedKind = kind;
1555
jjmatchedPos = curPos;
1559
if ((i = jjnewStateCnt) == (startsAt = 4 - (jjnewStateCnt = startsAt)))
1563
curChar = input_stream.readChar();
1565
catch (java.io.IOException e)
1572
private static final int[] jjnextStates = { 30, 31, 36, 37, 40, 41, 8, 19, 20, 22, 10, 12, 45,
1573
47, 2, 4, 5, 8, 19, 20, 24, 22, 32, 33, 8, 40, 41, 8, 6, 7, 13, 14, 16, 21, 23, 25, 34,
1574
35, 38, 39, 42, 43, 0, 1, 3, };
1576
private static final boolean jjCanMove_0(int hiByte, int i1, int i2, long l1, long l2)
1581
return ((jjbitVec2[i2] & l2) != 0L);
1583
if ((jjbitVec0[i1] & l1) != 0L)
1589
private static final boolean jjCanMove_1(int hiByte, int i1, int i2, long l1, long l2)
1594
return ((jjbitVec4[i2] & l2) != 0L);
1596
return ((jjbitVec5[i2] & l2) != 0L);
1598
return ((jjbitVec6[i2] & l2) != 0L);
1600
return ((jjbitVec7[i2] & l2) != 0L);
1602
return ((jjbitVec8[i2] & l2) != 0L);
1604
if ((jjbitVec3[i1] & l1) != 0L)
1610
private static final String[] jjstrLiteralImages = { "", null, null, null, null, null, null,
1611
null, null, null, null, null, null, "\141\142\163\164\162\141\143\164",
1612
"\141\163\163\145\162\164", "\142\157\157\154\145\141\156", "\142\162\145\141\153",
1613
"\142\171\164\145", "\143\141\163\145", "\143\141\164\143\150", "\143\150\141\162",
1614
"\143\154\141\163\163", "\143\157\156\163\164", "\143\157\156\164\151\156\165\145",
1615
"\144\145\146\141\165\154\164", "\144\157", "\144\157\165\142\154\145",
1616
"\145\154\163\145", "\145\170\164\145\156\144\163", "\146\141\154\163\145",
1617
"\146\151\156\141\154", "\146\151\156\141\154\154\171", "\146\154\157\141\164",
1618
"\146\157\162", "\147\157\164\157", "\151\146",
1619
"\151\155\160\154\145\155\145\156\164\163", "\151\155\160\157\162\164",
1620
"\151\156\163\164\141\156\143\145\157\146", "\151\156\164",
1621
"\151\156\164\145\162\146\141\143\145", "\154\157\156\147", "\156\141\164\151\166\145",
1622
"\156\145\167", "\156\165\154\154", "\160\141\143\153\141\147\145",
1623
"\160\162\151\166\141\164\145", "\160\162\157\164\145\143\164\145\144",
1624
"\160\165\142\154\151\143", "\162\145\164\165\162\156", "\163\150\157\162\164",
1625
"\163\164\141\164\151\143", "\163\164\162\151\143\164\146\160", "\163\165\160\145\162",
1626
"\163\167\151\164\143\150", "\163\171\156\143\150\162\157\156\151\172\145\144",
1627
"\164\150\151\163", "\164\150\162\157\167", "\164\150\162\157\167\163",
1628
"\164\162\141\156\163\151\145\156\164", "\164\162\165\145", "\164\162\171",
1629
"\166\157\151\144", "\166\157\154\141\164\151\154\145", "\167\150\151\154\145", null,
1630
null, null, null, null, null, null, null, null, null, null, "\50", "\51", "\173",
1631
"\175", "\133", "\135", "\73", "\54", "\56", "\75", "\76", "\74", "\41", "\176", "\77",
1632
"\72", "\75\75", "\74\75", "\76\75", "\41\75", "\174\174", "\46\46", "\53\53",
1633
"\55\55", "\53", "\55", "\52", "\57", "\46", "\174", "\136", "\45", "\74\74", "\76\76",
1634
"\76\76\76", "\53\75", "\55\75", "\52\75", "\57\75", "\46\75", "\174\75", "\136\75",
1635
"\45\75", "\74\74\75", "\76\76\75", "\76\76\76\75", };
1636
private static final int[] jjnewLexState = { -1, -1, -1, -1, -1, -1, -1, 2, 1, 0, -1, 0, -1,
1637
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
1638
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
1639
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
1640
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
1641
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, };
1642
private static final long[] jjtoToken = { 0xffffffffffffe001L, 0x3fffffffffff3a3L, };
1643
private static final long[] jjtoSkip = { 0xf7eL, 0x0L, };
1644
private static final long[] jjtoSpecial = { 0xf00L, 0x0L, };
1645
private ASCII_UCodeESC_CharStream input_stream;
1646
private final int[] jjrounds = new int[48];
1647
private final int[] jjstateSet = new int[96];
1648
private StringBuffer image;
1649
private int jjimageLen;
1650
private char curChar;
1652
public JavaParserTokenManager(ASCII_UCodeESC_CharStream stream)
1654
if (ASCII_UCodeESC_CharStream.staticFlag)
1656
"ERROR: Cannot use a static CharStream class with a non-static lexical analyzer.");
1657
input_stream = stream;
1660
private final void ReInitRounds()
1663
jjround = 0x80000001;
1664
for (i = 48; i-- > 0;)
1665
jjrounds[i] = 0x80000000;
1668
private final Token jjFillToken()
1670
Token t = Token.newToken(jjmatchedKind);
1671
t.kind = jjmatchedKind;
1672
if (jjmatchedPos < 0)
1675
t.beginLine = t.endLine = input_stream.getBeginLine();
1676
t.beginColumn = t.endColumn = input_stream.getBeginColumn();
1680
String im = jjstrLiteralImages[jjmatchedKind];
1681
t.image = (im == null) ? input_stream.getImage() : im;
1682
t.beginLine = input_stream.getBeginLine();
1683
t.beginColumn = input_stream.getBeginColumn();
1684
t.endLine = input_stream.getEndLine();
1685
t.endColumn = input_stream.getEndColumn();
1690
private int curLexState = 0;
1691
private int jjnewStateCnt;
1692
private int jjround;
1693
private int jjmatchedPos;
1694
private int jjmatchedKind;
1696
public final Token getNextToken()
1698
Token specialToken = null;
1706
curChar = input_stream.beginToken();
1708
catch (java.io.IOException e)
1711
matchedToken = jjFillToken();
1712
matchedToken.specialToken = specialToken;
1713
return matchedToken;
1720
switch (curLexState)
1725
input_stream.backup(0);
1726
while (curChar <= 32 && (0x104003600L & (1L << curChar)) != 0L)
1727
curChar = input_stream.beginToken();
1729
catch (java.io.IOException e1)
1733
jjmatchedKind = 0x7fffffff;
1735
curPos = jjMoveStringLiteralDfa0_0();
1741
curPos = jjMoveStringLiteralDfa0_1();
1742
if (jjmatchedPos < 0 || (jjmatchedPos == 0 && jjmatchedKind > 12))
1749
jjmatchedKind = 0x7fffffff;
1751
curPos = jjMoveStringLiteralDfa0_2();
1752
if (jjmatchedPos == 0 && jjmatchedKind > 12)
1758
if (jjmatchedKind != 0x7fffffff)
1760
if (jjmatchedPos + 1 < curPos)
1761
input_stream.backup(curPos - jjmatchedPos - 1);
1762
if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
1764
matchedToken = jjFillToken();
1765
matchedToken.specialToken = specialToken;
1766
if (jjnewLexState[jjmatchedKind] != -1)
1767
curLexState = jjnewLexState[jjmatchedKind];
1768
return matchedToken;
1770
else if ((jjtoSkip[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
1772
if ((jjtoSpecial[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
1774
matchedToken = jjFillToken();
1775
if (specialToken == null)
1776
specialToken = matchedToken;
1779
matchedToken.specialToken = specialToken;
1780
specialToken = (specialToken.next = matchedToken);
1782
SkipLexicalActions();
1785
SkipLexicalActions();
1786
if (jjnewLexState[jjmatchedKind] != -1)
1787
curLexState = jjnewLexState[jjmatchedKind];
1790
MoreLexicalActions();
1791
if (jjnewLexState[jjmatchedKind] != -1)
1792
curLexState = jjnewLexState[jjmatchedKind];
1794
jjmatchedKind = 0x7fffffff;
1797
curChar = input_stream.readChar();
1800
catch (java.io.IOException e1)
1804
int error_line = input_stream.getEndLine();
1805
int error_column = input_stream.getEndColumn();
1806
String error_after = null;
1807
boolean EOFSeen = false;
1810
input_stream.readChar();
1811
input_stream.backup(1);
1813
catch (java.io.IOException e1)
1816
error_after = curPos <= 1 ? "" : input_stream.getImage();
1817
if (curChar == '\n' || curChar == '\r')
1827
input_stream.backup(1);
1828
error_after = curPos <= 1 ? "" : input_stream.getImage();
1830
throw new TokenMgrError(EOFSeen, error_line, error_column, error_after, curChar,
1831
TokenMgrError.LEXICAL_ERROR);
1836
private final void SkipLexicalActions()
1838
switch (jjmatchedKind)
1842
image = new StringBuffer(new String(input_stream.getSuffix(jjimageLen
1843
+ jjmatchedPos + 1)));
1845
image.append(input_stream.getSuffix(jjimageLen + jjmatchedPos + 1));
1849
image = new StringBuffer(new String(input_stream.getSuffix(jjimageLen
1850
+ jjmatchedPos + 1)));
1852
image.append(input_stream.getSuffix(jjimageLen + jjmatchedPos + 1));
1856
image = new StringBuffer(new String(input_stream.getSuffix(jjimageLen
1857
+ jjmatchedPos + 1)));
1859
image.append(input_stream.getSuffix(jjimageLen + jjmatchedPos + 1));
1866
private final void MoreLexicalActions()
1868
jjimageLen += jjmatchedPos + 1;
1869
switch (jjmatchedKind)
1873
image = new StringBuffer(new String(input_stream.getSuffix(jjimageLen)));
1875
image.append(input_stream.getSuffix(jjimageLen));