-
Notifications
You must be signed in to change notification settings - Fork 1
/
scanner.java~
1276 lines (1163 loc) · 41.9 KB
/
scanner.java~
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
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
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
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
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
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
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// DO NOT EDIT
// Generated by JFlex 1.9.1 http://jflex.de/
// source: especificacao.flex
import java_cup.runtime.*;
@SuppressWarnings("fallthrough")
class scanner implements java_cup.runtime.Scanner {
/** This character denotes the end of file. */
public static final int YYEOF = -1;
/** Initial size of the lookahead buffer. */
private static final int ZZ_BUFFERSIZE = 16384;
// Lexical states.
public static final int YYINITIAL = 0;
public static final int STRING = 2;
/**
* ZZ_LEXSTATE[l] is the state in the DFA for the lexical state l
* ZZ_LEXSTATE[l+1] is the state in the DFA for the lexical state l
* at the beginning of a line
* l is of the form l = 2*k, k a non negative integer
*/
private static final int ZZ_LEXSTATE[] = {
0, 0, 1, 1
};
/**
* Top-level table for translating characters to character classes
*/
private static final int [] ZZ_CMAP_TOP = zzUnpackcmap_top();
private static final String ZZ_CMAP_TOP_PACKED_0 =
"\1\0\1\u0100\1\u0200\1\u0300\1\u0400\1\u0500\1\u0600\1\u0700"+
"\1\u0800\1\u0900\1\u0a00\1\u0b00\1\u0c00\1\u0d00\1\u0e00\1\u0f00"+
"\1\u1000\1\u0100\1\u1100\1\u1200\1\u1300\1\u0100\1\u1400\1\u1500"+
"\1\u1600\1\u1700\1\u1800\1\u1900\1\u1a00\1\u1b00\1\u0100\1\u1c00"+
"\1\u1d00\1\u1e00\12\u1f00\1\u2000\1\u2100\1\u2200\1\u1f00\1\u2300"+
"\1\u2400\2\u1f00\31\u0100\1\u2500\126\u0100\1\u2600\1\u0100\1\u2700"+
"\1\u2800\1\u2900\1\u2a00\1\u2b00\1\u2c00\53\u0100\1\u2d00\10\u2e00"+
"\31\u1f00\1\u0100\1\u2f00\1\u3000\1\u0100\1\u3100\1\u3200\1\u3300"+
"\1\u3400\1\u3500\1\u3600\1\u3700\1\u3800\1\u3900\1\u0100\1\u3a00"+
"\1\u3b00\1\u3c00\1\u3d00\1\u3e00\1\u3f00\1\u4000\1\u4100\1\u4200"+
"\1\u4300\1\u4400\1\u4500\1\u4600\1\u4700\1\u4800\1\u4900\1\u4a00"+
"\1\u4b00\1\u4c00\1\u4d00\1\u1f00\1\u4e00\1\u4f00\1\u5000\1\u5100"+
"\3\u0100\1\u5200\1\u5300\1\u5400\11\u1f00\1\u5500\4\u0100\1\u5600"+
"\17\u1f00\2\u0100\1\u5700\41\u1f00\2\u0100\1\u5800\1\u5900\2\u1f00"+
"\1\u5a00\1\u5b00\27\u0100\1\u5c00\4\u0100\1\u5d00\1\u5e00\41\u1f00"+
"\1\u5f00\1\u0100\1\u6000\1\u6100\11\u1f00\1\u6200\22\u1f00\1\u6300"+
"\1\u1f00\1\u6400\1\u6500\1\u1f00\1\u6600\1\u6700\1\u6800\1\u6900"+
"\2\u1f00\1\u6a00\4\u1f00\1\u6b00\1\u6c00\1\u6d00\1\u6e00\1\u1f00"+
"\1\u6f00\2\u1f00\1\u7000\1\u7100\1\u7200\2\u1f00\1\u7300\1\u1f00"+
"\1\u7400\14\u1f00\1\u7500\4\u1f00\246\u0100\1\u7600\20\u0100\1\u7700"+
"\1\u7800\25\u0100\1\u7900\34\u0100\1\u7a00\14\u1f00\2\u0100\1\u7b00"+
"\5\u1f00\23\u0100\1\u7c00\17\u0100\1\u7d00\u0adc\u1f00\1\u7e00\1\u7f00"+
"\u02fe\u1f00";
private static int [] zzUnpackcmap_top() {
int [] result = new int[4352];
int offset = 0;
offset = zzUnpackcmap_top(ZZ_CMAP_TOP_PACKED_0, offset, result);
return result;
}
private static int zzUnpackcmap_top(String packed, int offset, int [] result) {
int i = 0; /* index in packed string */
int j = offset; /* index in unpacked array */
int l = packed.length();
while (i < l) {
int count = packed.charAt(i++);
int value = packed.charAt(i++);
do result[j++] = value; while (--count > 0);
}
return j;
}
/**
* Second-level tables for translating characters to character classes
*/
private static final int [] ZZ_CMAP_BLOCKS = zzUnpackcmap_blocks();
private static final String ZZ_CMAP_BLOCKS_PACKED_0 =
"\11\0\1\1\1\2\2\3\1\2\16\0\5\1\1\4"+
"\1\5\1\1\1\6\1\1\1\7\1\10\1\11\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\6\60\1\320\6\100\1\215\6"+
"\103\1\56\6\2\1\15\6\3\1\20\6\12\56\2\6"+
"\24\1\57\6\1\0\4\1\12\0\1\1\37\6\2\0"+
"\120\6\2\0\45\1\11\6\2\1\147\6\2\1\100\6"+
"\5\1\2\6\1\1\1\6\1\1\5\6\30\1\20\6"+
"\1\0\3\6\1\0\4\6\1\0\27\6\5\0\4\1"+
"\1\0\13\1\1\6\7\1\64\6\14\1\2\0\62\6"+
"\22\0\12\1\12\56\6\1\22\0\6\6\3\1\1\6"+
"\1\1\2\6\1\0\12\56\34\6\10\0\2\1\27\6"+
"\15\0\14\1\35\6\3\1\4\0\57\6\16\0\16\1"+
"\1\6\12\56\6\1\5\6\1\0\12\6\12\56\5\6"+
"\1\1\51\6\16\0\11\1\3\6\1\0\10\6\2\0"+
"\2\1\12\56\6\1\27\6\3\1\1\6\3\0\62\6"+
"\1\0\1\6\3\0\2\6\2\0\5\6\2\0\1\6"+
"\1\0\1\6\30\1\3\6\2\1\13\6\5\0\2\1"+
"\3\6\2\0\12\1\6\6\2\1\6\6\2\1\6\6"+
"\11\1\7\6\1\1\7\6\1\1\53\6\1\1\16\6"+
"\6\1\163\6\10\0\1\1\2\0\2\1\12\56\6\1"+
"\244\6\14\1\27\6\4\1\61\6\4\1\u0100\3\156\6"+
"\2\1\152\6\46\1\7\6\14\1\5\6\5\1\1\6"+
"\1\0\12\6\1\1\15\6\1\1\5\6\1\1\1\6"+
"\1\1\2\6\1\1\2\6\1\1\154\6\41\1\153\6"+
"\22\1\100\6\2\1\66\6\50\1\15\6\3\1\20\0"+
"\20\1\20\0\3\1\2\6\30\1\3\6\31\1\1\6"+
"\6\1\5\6\1\1\207\6\2\1\1\0\4\1\1\6"+
"\13\1\12\56\7\1\32\6\4\1\1\6\1\1\32\6"+
"\13\1\131\6\3\1\6\6\2\1\6\6\2\1\6\6"+
"\2\1\3\6\3\1\2\6\3\1\2\6\22\1\3\0"+
"\4\1\14\6\1\1\32\6\1\1\23\6\1\1\2\6"+
"\1\1\17\6\2\1\16\6\42\1\173\6\105\1\65\6"+
"\210\1\1\0\202\1\35\6\3\1\61\6\17\1\1\0"+
"\37\1\40\6\15\1\36\6\5\1\46\6\5\0\5\1"+
"\36\6\2\1\44\6\4\1\10\6\1\1\5\6\52\1"+
"\236\6\2\1\12\56\6\1\44\6\4\1\44\6\4\1"+
"\50\6\10\1\64\6\14\1\13\6\1\1\17\6\1\1"+
"\7\6\1\1\2\6\1\1\13\6\1\1\17\6\1\1"+
"\7\6\1\1\2\6\103\1\67\6\11\1\26\6\12\1"+
"\10\6\30\1\6\6\1\1\52\6\1\1\11\6\105\1"+
"\6\6\2\1\1\6\1\1\54\6\1\1\2\6\3\1"+
"\1\6\2\1\27\6\12\1\27\6\11\1\37\6\101\1"+
"\23\6\1\1\2\6\12\1\26\6\12\1\32\6\106\1"+
"\70\6\6\1\2\6\100\1\1\6\3\0\1\1\2\0"+
"\5\1\4\0\4\6\1\1\3\6\1\1\35\6\2\1"+
"\3\0\4\1\1\0\40\1\35\6\3\1\35\6\43\1"+
"\10\6\1\1\34\6\2\0\31\1\66\6\12\1\26\6"+
"\12\1\23\6\15\1\22\6\156\1\111\6\67\1\63\6"+
"\15\1\63\6\15\1\44\6\4\0\10\1\12\56\u0146\1"+
"\52\6\1\1\2\0\3\1\2\6\113\1\3\0\35\6"+
"\12\1\1\6\10\1\26\6\13\0\37\1\22\6\4\0"+
"\52\1\25\6\33\1\27\6\11\1\3\0\65\6\17\0"+
"\37\1\12\56\1\0\2\6\2\0\1\6\11\1\4\0"+
"\55\6\13\0\2\1\1\0\4\1\1\0\12\1\1\0"+
"\2\1\31\6\7\1\12\56\6\1\3\0\44\6\16\0"+
"\1\1\12\56\4\1\1\6\2\0\1\6\10\1\43\6"+
"\1\0\2\1\1\6\11\1\3\0\60\6\16\0\4\6"+
"\4\1\4\0\1\1\2\0\12\56\1\6\1\1\1\6"+
"\43\1\22\6\1\1\31\6\14\0\6\1\1\0\2\6"+
"\1\0\76\1\7\6\1\1\1\6\1\1\4\6\1\1"+
"\17\6\1\1\12\6\7\1\57\6\14\0\5\1\12\56"+
"\6\1\4\0\1\1\10\6\2\1\2\6\2\1\26\6"+
"\1\1\7\6\1\1\2\6\1\1\5\6\1\1\2\0"+
"\1\6\7\0\2\1\2\0\2\1\3\0\2\1\1\6"+
"\6\1\1\0\5\1\5\6\2\0\2\1\7\0\3\1"+
"\5\0\213\1\65\6\22\0\4\6\5\1\12\56\4\1"+
"\1\0\3\6\36\1\60\6\24\0\2\6\1\1\1\6"+
"\10\1\12\56\246\1\57\6\7\0\2\1\11\0\27\1"+
"\4\6\2\0\42\1\60\6\21\0\3\1\1\6\13\1"+
"\12\56\46\1\53\6\15\0\1\6\7\1\12\56\66\1"+
"\33\6\2\1\17\0\4\1\12\56\6\1\7\6\271\1"+
"\54\6\17\0\145\1\100\6\12\56\25\1\10\6\2\1"+
"\1\6\2\1\10\6\1\1\2\6\1\1\30\6\6\0"+
"\1\1\2\0\2\1\4\0\1\6\1\0\1\6\2\0"+
"\14\1\12\0\106\1\10\6\2\1\47\6\7\0\2\1"+
"\7\0\1\6\1\1\1\6\1\0\33\1\1\6\12\0"+
"\50\6\7\0\1\6\4\0\10\1\1\0\10\1\1\6"+
"\13\0\56\6\20\0\3\1\1\6\22\1\111\6\7\1"+
"\11\6\1\1\45\6\10\0\1\1\10\0\1\6\17\1"+
"\12\56\30\1\36\6\2\1\26\0\1\1\16\0\111\1"+
"\7\6\1\1\2\6\1\1\46\6\6\0\3\1\1\0"+
"\1\1\2\0\1\1\7\0\1\6\1\0\10\1\12\56"+
"\6\1\6\6\1\1\2\6\1\1\40\6\5\0\1\1"+
"\2\0\1\1\5\0\1\6\7\1\12\56\u0136\1\23\6"+
"\4\0\11\1\2\0\1\6\1\0\15\6\1\1\42\6"+
"\7\0\3\1\5\0\15\1\12\0\126\1\1\6\54\1"+
"\4\6\37\1\232\6\146\1\157\6\21\1\304\6\u014c\1"+
"\141\6\17\1\60\6\21\0\6\6\17\0\252\1\107\6"+
"\271\1\71\6\7\1\37\6\1\1\12\56\6\1\117\6"+
"\1\1\12\0\6\1\36\6\2\1\5\0\13\1\60\6"+
"\7\0\11\1\4\6\14\1\12\56\11\1\25\6\5\1"+
"\23\6\260\1\100\6\200\1\113\6\4\1\1\0\1\6"+
"\67\0\7\1\4\0\15\6\100\1\2\6\1\1\1\6"+
"\1\0\13\1\2\0\16\1\370\6\10\1\326\6\52\1"+
"\11\6\u01e7\1\4\6\1\1\7\6\1\1\2\6\1\1"+
"\43\6\17\1\1\6\35\1\3\6\2\1\1\6\16\1"+
"\4\6\10\1\u018c\6\4\1\153\6\5\1\15\6\3\1"+
"\11\6\7\1\12\6\3\1\2\0\1\1\4\0\134\1"+
"\56\0\2\1\27\0\u011e\1\5\0\3\1\26\0\2\1"+
"\7\0\36\1\4\0\224\1\3\0\273\1\125\6\1\1"+
"\107\6\1\1\2\6\2\1\1\6\2\1\2\6\2\1"+
"\4\6\1\1\14\6\1\1\1\6\1\1\7\6\1\1"+
"\101\6\1\1\4\6\2\1\10\6\1\1\7\6\1\1"+
"\34\6\1\1\4\6\1\1\5\6\1\1\1\6\3\1"+
"\7\6\1\1\u0154\6\2\1\31\6\1\1\31\6\1\1"+
"\37\6\1\1\31\6\1\1\37\6\1\1\31\6\1\1"+
"\37\6\1\1\31\6\1\1\37\6\1\1\31\6\1\1"+
"\10\6\2\1\62\56\67\0\4\1\62\0\10\1\1\0"+
"\16\1\1\0\26\1\5\0\1\1\17\0\120\1\37\6"+
"\6\1\6\6\325\1\7\0\1\1\21\0\2\1\7\0"+
"\1\1\2\0\1\1\5\0\5\1\76\6\41\1\1\0"+
"\160\1\55\6\3\1\7\0\7\6\2\1\12\56\4\1"+
"\1\6\u0141\1\36\6\1\0\21\1\54\6\4\0\12\56"+
"\5\1\1\6\320\1\34\6\16\0\346\1\7\6\1\1"+
"\4\6\1\1\2\6\1\1\17\6\1\1\305\6\13\1"+
"\7\0\51\1\104\6\7\0\1\6\4\1\12\56\u0156\1"+
"\1\6\117\1\4\6\1\1\33\6\1\1\2\6\1\1"+
"\1\6\2\1\1\6\1\1\12\6\1\1\4\6\1\1"+
"\1\6\1\1\1\6\6\1\1\6\4\1\1\6\1\1"+
"\1\6\1\1\1\6\1\1\3\6\1\1\2\6\1\1"+
"\1\6\2\1\1\6\1\1\1\6\1\1\1\6\1\1"+
"\1\6\1\1\1\6\1\1\2\6\1\1\1\6\2\1"+
"\4\6\1\1\7\6\1\1\4\6\1\1\4\6\1\1"+
"\1\6\1\1\12\6\1\1\21\6\5\1\3\6\1\1"+
"\5\6\1\1\21\6\u0134\1\12\0\6\1\340\6\40\1"+
"\72\6\6\1\336\6\2\1\u0182\6\16\1\u0131\6\37\1"+
"\36\6\342\1\113\6\5\1\u0160\6\121\1\1\0\36\1"+
"\140\0\200\1\360\0\20\1";
private static int [] zzUnpackcmap_blocks() {
int [] result = new int[32768];
int offset = 0;
offset = zzUnpackcmap_blocks(ZZ_CMAP_BLOCKS_PACKED_0, offset, result);
return result;
}
private static int zzUnpackcmap_blocks(String packed, int offset, int [] result) {
int i = 0; /* index in packed string */
int j = offset; /* index in unpacked array */
int l = packed.length();
while (i < l) {
int count = packed.charAt(i++);
int value = packed.charAt(i++);
do result[j++] = value; while (--count > 0);
}
return j;
}
/**
* Translates DFA states to action switch labels.
*/
private static final int [] ZZ_ACTION = zzUnpackAction();
private static final String ZZ_ACTION_PACKED_0 =
"\2\0\1\1\1\2\1\3\1\4\1\5\2\1\1\6"+
"\1\7\1\10\1\11\1\12\1\13\1\1\1\14\2\15"+
"\1\16\1\17\1\20\1\21\1\22\11\5\1\23\1\1"+
"\1\24\1\1\1\25\1\26\1\27\1\30\4\0\1\31"+
"\6\5\1\32\5\5\1\33\1\34\1\35\1\36\1\37"+
"\1\0\1\40\5\5\1\41\1\42\4\5\1\43\1\44"+
"\1\45\1\46\3\5\1\47\1\50\2\5\1\51\1\5"+
"\1\52\1\53\2\5\1\44\1\42";
private static int [] zzUnpackAction() {
int [] result = new int[95];
int offset = 0;
offset = zzUnpackAction(ZZ_ACTION_PACKED_0, offset, result);
return result;
}
private static int zzUnpackAction(String packed, int offset, int [] result) {
int i = 0; /* index in packed string */
int j = offset; /* index in unpacked array */
int l = packed.length();
while (i < l) {
int count = packed.charAt(i++);
int value = packed.charAt(i++);
do result[j++] = value; while (--count > 0);
}
return j;
}
/**
* Translates a state to a row index in the transition table
*/
private static final int [] ZZ_ROWMAP = zzUnpackRowMap();
private static final String ZZ_ROWMAP_PACKED_0 =
"\0\0\0\57\0\136\0\136\0\136\0\136\0\215\0\274"+
"\0\353\0\136\0\136\0\136\0\136\0\136\0\136\0\u011a"+
"\0\136\0\u0149\0\u0178\0\136\0\136\0\u01a7\0\136\0\136"+
"\0\u01d6\0\u0205\0\u0234\0\u0263\0\u0292\0\u02c1\0\u02f0\0\u031f"+
"\0\u034e\0\136\0\u037d\0\136\0\u0149\0\u03ac\0\136\0\u03db"+
"\0\136\0\u040a\0\u0439\0\u011a\0\u0149\0\136\0\u0468\0\u0497"+
"\0\u04c6\0\u04f5\0\u0524\0\u0553\0\215\0\u0582\0\u05b1\0\u05e0"+
"\0\u060f\0\u063e\0\136\0\136\0\136\0\136\0\136\0\u066d"+
"\0\136\0\u069c\0\u06cb\0\u06fa\0\u0729\0\u0758\0\215\0\u0787"+
"\0\u07b6\0\u07e5\0\u0814\0\u0843\0\136\0\u0872\0\215\0\215"+
"\0\u08a1\0\u08d0\0\u08ff\0\215\0\215\0\u092e\0\u095d\0\215"+
"\0\u098c\0\215\0\215\0\u09bb\0\u09ea\0\215\0\215";
private static int [] zzUnpackRowMap() {
int [] result = new int[95];
int offset = 0;
offset = zzUnpackRowMap(ZZ_ROWMAP_PACKED_0, offset, result);
return result;
}
private static int zzUnpackRowMap(String packed, int offset, int [] result) {
int i = 0; /* index in packed string */
int j = offset; /* index in unpacked array */
int l = packed.length() - 1;
while (i < l) {
int high = packed.charAt(i++) << 16;
result[j++] = high | packed.charAt(i++);
}
return j;
}
/**
* The transition table of the DFA
*/
private static final int [] ZZ_TRANS = zzUnpacktrans();
private static final String ZZ_TRANS_PACKED_0 =
"\3\3\1\4\1\5\1\6\1\7\1\10\1\11\1\12"+
"\1\13\1\14\1\15\1\16\1\17\1\20\1\21\1\22"+
"\1\23\1\24\1\25\1\26\1\27\1\3\1\30\1\7"+
"\1\31\1\32\1\33\1\34\2\7\1\35\3\7\1\36"+
"\1\7\1\37\1\40\1\7\1\41\1\42\1\43\1\44"+
"\1\4\1\45\2\46\1\4\2\46\1\47\21\46\1\50"+
"\27\46\57\0\1\7\5\0\1\7\12\0\2\7\6\0"+
"\21\7\3\0\2\7\7\0\1\51\55\0\1\52\22\0"+
"\21\52\26\0\2\53\33\0\1\53\17\0\1\54\1\0"+
"\2\55\33\0\1\55\17\0\1\54\1\0\2\23\33\0"+
"\1\55\25\0\1\56\31\0\1\7\5\0\1\7\12\0"+
"\2\7\6\0\12\7\1\57\6\7\3\0\3\7\5\0"+
"\1\7\12\0\2\7\6\0\6\7\1\60\12\7\3\0"+
"\3\7\5\0\1\7\12\0\2\7\6\0\10\7\1\61"+
"\10\7\3\0\3\7\5\0\1\7\12\0\2\7\6\0"+
"\1\62\7\7\1\63\1\7\1\64\6\7\3\0\3\7"+
"\5\0\1\7\12\0\2\7\6\0\4\7\1\65\4\7"+
"\1\66\7\7\3\0\3\7\5\0\1\7\12\0\2\7"+
"\6\0\14\7\1\67\4\7\3\0\3\7\5\0\1\7"+
"\12\0\2\7\6\0\2\7\1\70\16\7\3\0\3\7"+
"\5\0\1\7\12\0\2\7\6\0\14\7\1\71\4\7"+
"\3\0\3\7\5\0\1\7\12\0\2\7\6\0\6\7"+
"\1\72\12\7\3\0\2\7\53\0\1\73\3\0\2\46"+
"\1\0\2\46\1\0\21\46\1\0\27\46\5\0\1\74"+
"\34\0\1\75\2\0\1\76\1\0\1\77\32\0\1\100"+
"\54\0\2\53\1\101\32\0\1\53\1\7\5\0\1\7"+
"\12\0\2\7\6\0\12\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0"+
"\2\7\6\0\5\7\1\131\13\7\3\0\3\7\5\0"+
"\1\7\12\0\2\7\6\0\16\7\1\132\2\7\3\0"+
"\3\7\5\0\1\7\12\0\2\7\6\0\3\7\1\133"+
"\15\7\3\0\3\7\5\0\1\7\12\0\2\7\6\0"+
"\1\134\20\7\3\0\3\7\5\0\1\7\12\0\2\7"+
"\6\0\3\7\1\135\15\7\3\0\3\7\5\0\1\7"+
"\12\0\2\7\6\0\11\7\1\136\7\7\3\0\3\7"+
"\5\0\1\7\12\0\2\7\6\0\14\7\1\137\4\7"+
"\3\0\2\7";
private static int [] zzUnpacktrans() {
int [] result = new int[2585];
int offset = 0;
offset = zzUnpacktrans(ZZ_TRANS_PACKED_0, offset, result);
return result;
}
private static int zzUnpacktrans(String packed, int offset, int [] result) {
int i = 0; /* index in packed string */
int j = offset; /* index in unpacked array */
int l = packed.length();
while (i < l) {
int count = packed.charAt(i++);
int value = packed.charAt(i++);
value--;
do result[j++] = value; while (--count > 0);
}
return j;
}
/** Error code for "Unknown internal scanner error". */
private static final int ZZ_UNKNOWN_ERROR = 0;
/** Error code for "could not match input". */
private static final int ZZ_NO_MATCH = 1;
/** Error code for "pushback value was too large". */
private static final int ZZ_PUSHBACK_2BIG = 2;
/**
* Error messages for {@link #ZZ_UNKNOWN_ERROR}, {@link #ZZ_NO_MATCH}, and
* {@link #ZZ_PUSHBACK_2BIG} respectively.
*/
private static final String ZZ_ERROR_MSG[] = {
"Unknown internal scanner error",
"Error: could not match input",
"Error: pushback value was too large"
};
/**
* ZZ_ATTRIBUTE[aState] contains the attributes of state {@code aState}
*/
private static final int [] ZZ_ATTRIBUTE = zzUnpackAttribute();
private static final String ZZ_ATTRIBUTE_PACKED_0 =
"\2\0\4\11\3\1\6\11\1\1\1\11\2\1\2\11"+
"\1\1\2\11\11\1\1\11\1\1\1\11\2\1\1\11"+
"\1\1\1\11\4\0\1\11\14\1\5\11\1\0\1\11"+
"\13\1\1\11\22\1";
private static int [] zzUnpackAttribute() {
int [] result = new int[95];
int offset = 0;
offset = zzUnpackAttribute(ZZ_ATTRIBUTE_PACKED_0, offset, result);
return result;
}
private static int zzUnpackAttribute(String packed, int offset, int [] result) {
int i = 0; /* index in packed string */
int j = offset; /* index in unpacked array */
int l = packed.length();
while (i < l) {
int count = packed.charAt(i++);
int value = packed.charAt(i++);
do result[j++] = value; while (--count > 0);
}
return j;
}
/** Input device. */
private java.io.Reader zzReader;
/** Current state of the DFA. */
private int zzState;
/** Current lexical state. */
private int zzLexicalState = YYINITIAL;
/**
* This buffer contains the current text to be matched and is the source of the {@link #yytext()}
* string.
*/
private char zzBuffer[] = new char[Math.min(ZZ_BUFFERSIZE, zzMaxBufferLen())];
/** Text position at the last accepting state. */
private int zzMarkedPos;
/** Current text position in the buffer. */
private int zzCurrentPos;
/** Marks the beginning of the {@link #yytext()} string in the buffer. */
private int zzStartRead;
/** Marks the last character in the buffer, that has been read from input. */
private int zzEndRead;
/**
* Whether the scanner is at the end of file.
* @see #yyatEOF
*/
private boolean zzAtEOF;
/**
* The number of occupied positions in {@link #zzBuffer} beyond {@link #zzEndRead}.
*
* <p>When a lead/high surrogate has been read from the input stream into the final
* {@link #zzBuffer} position, this will have a value of 1; otherwise, it will have a value of 0.
*/
private int zzFinalHighSurrogate = 0;
/** Number of newlines encountered up to the start of the matched text. */
private int yyline;
/** Number of characters from the last newline up to the start of the matched text. */
private int yycolumn;
/** Number of characters up to the start of the matched text. */
@SuppressWarnings("unused")
private long yychar;
/** Whether the scanner is currently at the beginning of a line. */
@SuppressWarnings("unused")
private boolean zzAtBOL = true;
/** Whether the user-EOF-code has already been executed. */
private boolean zzEOFDone;
/* user code: */
StringBuffer string = new StringBuffer();
private Symbol symbol(int type) {
return new Symbol(type, yyline, yycolumn);
}
private Symbol symbol(int type, Object value) {
return new Symbol(type, yyline, yycolumn, value);
}
/**
* Creates a new scanner
*
* @param in the java.io.Reader to read input from.
*/
scanner(java.io.Reader in) {
this.zzReader = in;
}
/** Returns the maximum size of the scanner buffer, which limits the size of tokens. */
private int zzMaxBufferLen() {
return Integer.MAX_VALUE;
}
/** Whether the scanner buffer can grow to accommodate a larger token. */
private boolean zzCanGrow() {
return true;
}
/**
* Translates raw input code points to DFA table row
*/
private static int zzCMap(int input) {
int offset = input & 255;
return offset == input ? ZZ_CMAP_BLOCKS[offset] : ZZ_CMAP_BLOCKS[ZZ_CMAP_TOP[input >> 8] | offset];
}
/**
* Refills the input buffer.
*
* @return {@code false} iff there was new input.
* @exception java.io.IOException if any I/O-Error occurs
*/
private boolean zzRefill() throws java.io.IOException {
/* first: make room (if you can) */
if (zzStartRead > 0) {
zzEndRead += zzFinalHighSurrogate;
zzFinalHighSurrogate = 0;
System.arraycopy(zzBuffer, zzStartRead,
zzBuffer, 0,
zzEndRead - zzStartRead);
/* translate stored positions */
zzEndRead -= zzStartRead;
zzCurrentPos -= zzStartRead;
zzMarkedPos -= zzStartRead;
zzStartRead = 0;
}
/* is the buffer big enough? */
if (zzCurrentPos >= zzBuffer.length - zzFinalHighSurrogate && zzCanGrow()) {
/* if not, and it can grow: blow it up */
char newBuffer[] = new char[Math.min(zzBuffer.length * 2, zzMaxBufferLen())];
System.arraycopy(zzBuffer, 0, newBuffer, 0, zzBuffer.length);
zzBuffer = newBuffer;
zzEndRead += zzFinalHighSurrogate;
zzFinalHighSurrogate = 0;
}
/* fill the buffer with new input */
int requested = zzBuffer.length - zzEndRead;
int numRead = zzReader.read(zzBuffer, zzEndRead, requested);
/* not supposed to occur according to specification of java.io.Reader */
if (numRead == 0) {
if (requested == 0) {
throw new java.io.EOFException("Scan buffer limit reached ["+zzBuffer.length+"]");
}
else {
throw new java.io.IOException(
"Reader returned 0 characters. See JFlex examples/zero-reader for a workaround.");
}
}
if (numRead > 0) {
zzEndRead += numRead;
if (Character.isHighSurrogate(zzBuffer[zzEndRead - 1])) {
if (numRead == requested) { // We requested too few chars to encode a full Unicode character
--zzEndRead;
zzFinalHighSurrogate = 1;
} else { // There is room in the buffer for at least one more char
int c = zzReader.read(); // Expecting to read a paired low surrogate char
if (c == -1) {
return true;
} else {
zzBuffer[zzEndRead++] = (char)c;
}
}
}
/* potentially more input available */
return false;
}
/* numRead < 0 ==> end of stream */
return true;
}
/**
* Closes the input reader.
*
* @throws java.io.IOException if the reader could not be closed.
*/
public final void yyclose() throws java.io.IOException {
zzAtEOF = true; // indicate end of file
zzEndRead = zzStartRead; // invalidate buffer
if (zzReader != null) {
zzReader.close();
}
}
/**
* Resets the scanner to read from a new input stream.
*
* <p>Does not close the old reader.
*
* <p>All internal variables are reset, the old input stream <b>cannot</b> be reused (internal
* buffer is discarded and lost). Lexical state is set to {@code ZZ_INITIAL}.
*
* <p>Internal scan buffer is resized down to its initial length, if it has grown.
*
* @param reader The new input stream.
*/
public final void yyreset(java.io.Reader reader) {
zzReader = reader;
zzEOFDone = false;
yyResetPosition();
zzLexicalState = YYINITIAL;
int initBufferSize = Math.min(ZZ_BUFFERSIZE, zzMaxBufferLen());
if (zzBuffer.length > initBufferSize) {
zzBuffer = new char[initBufferSize];
}
}
/**
* Resets the input position.
*/
private final void yyResetPosition() {
zzAtBOL = true;
zzAtEOF = false;
zzCurrentPos = 0;
zzMarkedPos = 0;
zzStartRead = 0;
zzEndRead = 0;
zzFinalHighSurrogate = 0;
yyline = 0;
yycolumn = 0;
yychar = 0L;
}
/**
* Returns whether the scanner has reached the end of the reader it reads from.
*
* @return whether the scanner has reached EOF.
*/
public final boolean yyatEOF() {
return zzAtEOF;
}
/**
* Returns the current lexical state.
*
* @return the current lexical state.
*/
public final int yystate() {
return zzLexicalState;
}
/**
* Enters a new lexical state.
*
* @param newState the new lexical state
*/
public final void yybegin(int newState) {
zzLexicalState = newState;
}
/**
* Returns the text matched by the current regular expression.
*
* @return the matched text.
*/
public final String yytext() {
return new String(zzBuffer, zzStartRead, zzMarkedPos-zzStartRead);
}
/**
* Returns the character at the given position from the matched text.
*
* <p>It is equivalent to {@code yytext().charAt(pos)}, but faster.
*
* @param position the position of the character to fetch. A value from 0 to {@code yylength()-1}.
*
* @return the character at {@code position}.
*/
public final char yycharat(int position) {
return zzBuffer[zzStartRead + position];
}
/**
* How many characters were matched.
*
* @return the length of the matched text region.
*/
public final int yylength() {
return zzMarkedPos-zzStartRead;
}
/**
* Reports an error that occurred while scanning.
*
* <p>In a well-formed scanner (no or only correct usage of {@code yypushback(int)} and a
* match-all fallback rule) this method will only be called with things that
* "Can't Possibly Happen".
*
* <p>If this method is called, something is seriously wrong (e.g. a JFlex bug producing a faulty
* scanner etc.).
*
* <p>Usual syntax/scanner level error handling should be done in error fallback rules.
*
* @param errorCode the code of the error message to display.
*/
private static void zzScanError(int errorCode) {
String message;
try {
message = ZZ_ERROR_MSG[errorCode];
} catch (ArrayIndexOutOfBoundsException e) {
message = ZZ_ERROR_MSG[ZZ_UNKNOWN_ERROR];
}
throw new Error(message);
}
/**
* Pushes the specified amount of characters back into the input stream.
*
* <p>They will be read again by then next call of the scanning method.
*
* @param number the number of characters to be read again. This number must not be greater than
* {@link #yylength()}.
*/
public void yypushback(int number) {
if ( number > yylength() )
zzScanError(ZZ_PUSHBACK_2BIG);
zzMarkedPos -= number;
}
/**
* Contains user EOF-code, which will be executed exactly once,
* when the end of file is reached
*/
private void zzDoEOF() throws java.io.IOException {
if (!zzEOFDone) {
zzEOFDone = true;
//System.out.println("Codigo analisado com sucesso");
yyclose(); }
}
/**
* Resumes scanning until the next regular expression is matched, the end of input is encountered
* or an I/O-Error occurs.
*
* @return the next token.
* @exception java.io.IOException if any I/O-Error occurs.
*/
@Override public java_cup.runtime.Symbol next_token() throws java.io.IOException
{
int zzInput;
int zzAction;
// cached fields:
int zzCurrentPosL;
int zzMarkedPosL;
int zzEndReadL = zzEndRead;
char[] zzBufferL = zzBuffer;
int [] zzTransL = ZZ_TRANS;
int [] zzRowMapL = ZZ_ROWMAP;
int [] zzAttrL = ZZ_ATTRIBUTE;
while (true) {
zzMarkedPosL = zzMarkedPos;
boolean zzR = false;
int zzCh;
int zzCharCount;
for (zzCurrentPosL = zzStartRead ;
zzCurrentPosL < zzMarkedPosL ;
zzCurrentPosL += zzCharCount ) {
zzCh = Character.codePointAt(zzBufferL, zzCurrentPosL, zzMarkedPosL);
zzCharCount = Character.charCount(zzCh);
switch (zzCh) {
case '\u000B': // fall through
case '\u000C': // fall through
case '\u0085': // fall through
case '\u2028': // fall through
case '\u2029':
yyline++;
yycolumn = 0;
zzR = false;
break;
case '\r':
yyline++;
yycolumn = 0;
zzR = true;
break;
case '\n':
if (zzR)
zzR = false;
else {
yyline++;
yycolumn = 0;
}
break;
default:
zzR = false;
yycolumn += zzCharCount;
}
}
if (zzR) {
// peek one character ahead if it is
// (if we have counted one line too much)
boolean zzPeek;
if (zzMarkedPosL < zzEndReadL)
zzPeek = zzBufferL[zzMarkedPosL] == '\n';
else if (zzAtEOF)
zzPeek = false;
else {
boolean eof = zzRefill();
zzEndReadL = zzEndRead;
zzMarkedPosL = zzMarkedPos;
zzBufferL = zzBuffer;
if (eof)
zzPeek = false;
else
zzPeek = zzBufferL[zzMarkedPosL] == '\n';
}
if (zzPeek) yyline--;
}
zzAction = -1;
zzCurrentPosL = zzCurrentPos = zzStartRead = zzMarkedPosL;
zzState = ZZ_LEXSTATE[zzLexicalState];
// set up zzAction for empty match case:
int zzAttributes = zzAttrL[zzState];
if ( (zzAttributes & 1) == 1 ) {
zzAction = zzState;
}
zzForAction: {
while (true) {
if (zzCurrentPosL < zzEndReadL) {