001
002
003
016
017 package com.liferay.portal.parsers.creole.parser;
018
019
020 import org.antlr.runtime.*;
021 import java.util.Stack;
022 import java.util.List;
023 import java.util.ArrayList;
024
025 @SuppressWarnings("all")
026 public class Creole10Lexer extends Lexer {
027 public static final int T75=75;
028 public static final int T76=76;
029 public static final int T73=73;
030 public static final int INSIGNIFICANT_CHAR=43;
031 public static final int T74=74;
032 public static final int T79=79;
033 public static final int STAR=17;
034 public static final int T77=77;
035 public static final int T78=78;
036 public static final int FORCED_END_OF_LINE=4;
037 public static final int TABLE_OF_CONTENTS_TEXT=32;
038 public static final int NOWIKI_BLOCK_CLOSE=27;
039 public static final int SPACE=36;
040 public static final int NOWIKI_CLOSE=28;
041 public static final int EOF=-1;
042 public static final int T72=72;
043 public static final int T71=71;
044 public static final int LIST_ITEM=7;
045 public static final int T70=70;
046 public static final int T62=62;
047 public static final int TEXT_NODE=11;
048 public static final int T63=63;
049 public static final int WIKI=14;
050 public static final int T64=64;
051 public static final int T65=65;
052 public static final int T66=66;
053 public static final int SLASH=40;
054 public static final int T67=67;
055 public static final int T68=68;
056 public static final int ESCAPE=26;
057 public static final int T69=69;
058 public static final int BRACE_CLOSE=38;
059 public static final int EQUAL=18;
060 public static final int TABULATOR=37;
061 public static final int PIPE=19;
062 public static final int LIST_ITEM_PART=8;
063 public static final int LINK_OPEN=21;
064 public static final int TABLE_OF_CONTENTS_OPEN_MARKUP=41;
065 public static final int T61=61;
066 public static final int T60=60;
067 public static final int BLANKS=31;
068 public static final int FORCED_LINEBREAK=25;
069 public static final int UNORDERED_LIST=12;
070 public static final int POUND=16;
071 public static final int DASH=33;
072 public static final int HEADING_SECTION=5;
073 public static final int NOWIKI_OPEN=23;
074 public static final int HORIZONTAL_SECTION=6;
075 public static final int T49=49;
076 public static final int T48=48;
077 public static final int UNFORMATTED_TEXT=13;
078 public static final int NOWIKI_SECTION=9;
079 public static final int Tokens=80;
080 public static final int ITAL=20;
081 public static final int IMAGE_OPEN=22;
082 public static final int COLON_SLASH=39;
083 public static final int T47=47;
084 public static final int T46=46;
085 public static final int T45=45;
086 public static final int T44=44;
087 public static final int NEWLINE=15;
088 public static final int T50=50;
089 public static final int SCAPE_NODE=10;
090 public static final int IMAGE_CLOSE=30;
091 public static final int TABLE_OF_CONTENTS_CLOSE_MARKUP=42;
092 public static final int T59=59;
093 public static final int LINK_CLOSE=29;
094 public static final int T52=52;
095 public static final int T51=51;
096 public static final int CR=34;
097 public static final int T54=54;
098 public static final int T53=53;
099 public static final int EXTENSION=24;
100 public static final int T56=56;
101 public static final int T55=55;
102 public static final int T58=58;
103 public static final int T57=57;
104 public static final int LF=35;
105 public Creole10Lexer() {;}
106 public Creole10Lexer(CharStream input) {
107 super(input);
108 }
109 public String getGrammarFileName() { return "/home/dougwong/liferay/github/tr-portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g"; }
110
111
112 public final void mT44() throws RecognitionException {
113 try {
114 int _type = T44;
115
116
117 {
118 match(':');
119
120 }
121
122 this.type = _type;
123 }
124 finally {
125 }
126 }
127
128
129
130 public final void mT45() throws RecognitionException {
131 try {
132 int _type = T45;
133
134
135 {
136 match('C');
137
138 }
139
140 this.type = _type;
141 }
142 finally {
143 }
144 }
145
146
147
148 public final void mT46() throws RecognitionException {
149 try {
150 int _type = T46;
151
152
153 {
154 match('2');
155
156 }
157
158 this.type = _type;
159 }
160 finally {
161 }
162 }
163
164
165
166 public final void mT47() throws RecognitionException {
167 try {
168 int _type = T47;
169
170
171 {
172 match('D');
173
174 }
175
176 this.type = _type;
177 }
178 finally {
179 }
180 }
181
182
183
184 public final void mT48() throws RecognitionException {
185 try {
186 int _type = T48;
187
188
189 {
190 match('o');
191
192 }
193
194 this.type = _type;
195 }
196 finally {
197 }
198 }
199
200
201
202 public final void mT49() throws RecognitionException {
203 try {
204 int _type = T49;
205
206
207 {
208 match('k');
209
210 }
211
212 this.type = _type;
213 }
214 finally {
215 }
216 }
217
218
219
220 public final void mT50() throws RecognitionException {
221 try {
222 int _type = T50;
223
224
225 {
226 match('u');
227
228 }
229
230 this.type = _type;
231 }
232 finally {
233 }
234 }
235
236
237
238 public final void mT51() throws RecognitionException {
239 try {
240 int _type = T51;
241
242
243 {
244 match('W');
245
246 }
247
248 this.type = _type;
249 }
250 finally {
251 }
252 }
253
254
255
256 public final void mT52() throws RecognitionException {
257 try {
258 int _type = T52;
259
260
261 {
262 match('i');
263
264 }
265
266 this.type = _type;
267 }
268 finally {
269 }
270 }
271
272
273
274 public final void mT53() throws RecognitionException {
275 try {
276 int _type = T53;
277
278
279 {
280 match('F');
281
282 }
283
284 this.type = _type;
285 }
286 finally {
287 }
288 }
289
290
291
292 public final void mT54() throws RecognitionException {
293 try {
294 int _type = T54;
295
296
297 {
298 match('l');
299
300 }
301
302 this.type = _type;
303 }
304 finally {
305 }
306 }
307
308
309
310 public final void mT55() throws RecognitionException {
311 try {
312 int _type = T55;
313
314
315 {
316 match('c');
317
318 }
319
320 this.type = _type;
321 }
322 finally {
323 }
324 }
325
326
327
328 public final void mT56() throws RecognitionException {
329 try {
330 int _type = T56;
331
332
333 {
334 match('r');
335
336 }
337
338 this.type = _type;
339 }
340 finally {
341 }
342 }
343
344
345
346 public final void mT57() throws RecognitionException {
347 try {
348 int _type = T57;
349
350
351 {
352 match('G');
353
354 }
355
356 this.type = _type;
357 }
358 finally {
359 }
360 }
361
362
363
364 public final void mT58() throws RecognitionException {
365 try {
366 int _type = T58;
367
368
369 {
370 match('g');
371
372 }
373
374 this.type = _type;
375 }
376 finally {
377 }
378 }
379
380
381
382 public final void mT59() throws RecognitionException {
383 try {
384 int _type = T59;
385
386
387 {
388 match('e');
389
390 }
391
392 this.type = _type;
393 }
394 finally {
395 }
396 }
397
398
399
400 public final void mT60() throws RecognitionException {
401 try {
402 int _type = T60;
403
404
405 {
406 match('J');
407
408 }
409
410 this.type = _type;
411 }
412 finally {
413 }
414 }
415
416
417
418 public final void mT61() throws RecognitionException {
419 try {
420 int _type = T61;
421
422
423 {
424 match('S');
425
426 }
427
428 this.type = _type;
429 }
430 finally {
431 }
432 }
433
434
435
436 public final void mT62() throws RecognitionException {
437 try {
438 int _type = T62;
439
440
441 {
442 match('P');
443
444 }
445
446 this.type = _type;
447 }
448 finally {
449 }
450 }
451
452
453
454 public final void mT63() throws RecognitionException {
455 try {
456 int _type = T63;
457
458
459 {
460 match('M');
461
462 }
463
464 this.type = _type;
465 }
466 finally {
467 }
468 }
469
470
471
472 public final void mT64() throws RecognitionException {
473 try {
474 int _type = T64;
475
476
477 {
478 match('a');
479
480 }
481
482 this.type = _type;
483 }
484 finally {
485 }
486 }
487
488
489
490 public final void mT65() throws RecognitionException {
491 try {
492 int _type = T65;
493
494
495 {
496 match('t');
497
498 }
499
500 this.type = _type;
501 }
502 finally {
503 }
504 }
505
506
507
508 public final void mT66() throws RecognitionException {
509 try {
510 int _type = T66;
511
512
513 {
514 match('b');
515
516 }
517
518 this.type = _type;
519 }
520 finally {
521 }
522 }
523
524
525
526 public final void mT67() throws RecognitionException {
527 try {
528 int _type = T67;
529
530
531 {
532 match('d');
533
534 }
535
536 this.type = _type;
537 }
538 finally {
539 }
540 }
541
542
543
544 public final void mT68() throws RecognitionException {
545 try {
546 int _type = T68;
547
548
549 {
550 match('n');
551
552 }
553
554 this.type = _type;
555 }
556 finally {
557 }
558 }
559
560
561
562 public final void mT69() throws RecognitionException {
563 try {
564 int _type = T69;
565
566
567 {
568 match('O');
569
570 }
571
572 this.type = _type;
573 }
574 finally {
575 }
576 }
577
578
579
580 public final void mT70() throws RecognitionException {
581 try {
582 int _type = T70;
583
584
585 {
586 match('m');
587
588 }
589
590 this.type = _type;
591 }
592 finally {
593 }
594 }
595
596
597
598 public final void mT71() throws RecognitionException {
599 try {
600 int _type = T71;
601
602
603 {
604 match('s');
605
606 }
607
608 this.type = _type;
609 }
610 finally {
611 }
612 }
613
614
615
616 public final void mT72() throws RecognitionException {
617 try {
618 int _type = T72;
619
620
621 {
622 match('h');
623
624 }
625
626 this.type = _type;
627 }
628 finally {
629 }
630 }
631
632
633
634 public final void mT73() throws RecognitionException {
635 try {
636 int _type = T73;
637
638
639 {
640 match('p');
641
642 }
643
644 this.type = _type;
645 }
646 finally {
647 }
648 }
649
650
651
652 public final void mT74() throws RecognitionException {
653 try {
654 int _type = T74;
655
656
657 {
658 match('R');
659
660 }
661
662 this.type = _type;
663 }
664 finally {
665 }
666 }
667
668
669
670 public final void mT75() throws RecognitionException {
671 try {
672 int _type = T75;
673
674
675 {
676 match('x');
677
678 }
679
680 this.type = _type;
681 }
682 finally {
683 }
684 }
685
686
687
688 public final void mT76() throws RecognitionException {
689 try {
690 int _type = T76;
691
692
693 {
694 match('T');
695
696 }
697
698 this.type = _type;
699 }
700 finally {
701 }
702 }
703
704
705
706 public final void mT77() throws RecognitionException {
707 try {
708 int _type = T77;
709
710
711 {
712 match('y');
713
714 }
715
716 this.type = _type;
717 }
718 finally {
719 }
720 }
721
722
723
724 public final void mT78() throws RecognitionException {
725 try {
726 int _type = T78;
727
728
729 {
730 match('U');
731
732 }
733
734 this.type = _type;
735 }
736 finally {
737 }
738 }
739
740
741
742 public final void mT79() throws RecognitionException {
743 try {
744 int _type = T79;
745
746
747 {
748 match('X');
749
750 }
751
752 this.type = _type;
753 }
754 finally {
755 }
756 }
757
758
759
760 public final void mESCAPE() throws RecognitionException {
761 try {
762 int _type = ESCAPE;
763
764
765 {
766 match('~');
767
768 }
769
770 this.type = _type;
771 }
772 finally {
773 }
774 }
775
776
777
778 public final void mNOWIKI_BLOCK_CLOSE() throws RecognitionException {
779 try {
780 int _type = NOWIKI_BLOCK_CLOSE;
781
782
783 {
784 mNEWLINE();
785 match("}}}");
786
787
788 }
789
790 this.type = _type;
791 }
792 finally {
793 }
794 }
795
796
797
798 public final void mNEWLINE() throws RecognitionException {
799 try {
800 int _type = NEWLINE;
801
802 int alt2=2;
803 int LA2_0 = input.LA(1);
804
805 if ( (LA2_0=='\r') ) {
806 int LA2_1 = input.LA(2);
807
808 if ( (LA2_1=='\n') ) {
809 alt2=1;
810 }
811 else {
812 alt2=2;}
813 }
814 else if ( (LA2_0=='\n') ) {
815 alt2=1;
816 }
817 else {
818 NoViableAltException nvae =
819 new NoViableAltException("881:1: NEWLINE : ( ( CR )? LF | CR );", 2, 0, input);
820
821 throw nvae;
822 }
823 switch (alt2) {
824 case 1 :
825
826 {
827
828 int alt1=2;
829 int LA1_0 = input.LA(1);
830
831 if ( (LA1_0=='\r') ) {
832 alt1=1;
833 }
834 switch (alt1) {
835 case 1 :
836
837 {
838 mCR();
839
840 }
841 break;
842
843 }
844
845 mLF();
846
847 }
848 break;
849 case 2 :
850
851 {
852 mCR();
853
854 }
855 break;
856
857 }
858 this.type = _type;
859 }
860 finally {
861 }
862 }
863
864
865
866 public final void mCR() throws RecognitionException {
867 try {
868
869
870 {
871 match('\r');
872
873 }
874
875 }
876 finally {
877 }
878 }
879
880
881
882 public final void mLF() throws RecognitionException {
883 try {
884
885
886 {
887 match('\n');
888
889 }
890
891 }
892 finally {
893 }
894 }
895
896
897
898 public final void mBLANKS() throws RecognitionException {
899 try {
900 int _type = BLANKS;
901
902
903 {
904
905 int cnt3=0;
906 loop3:
907 do {
908 int alt3=2;
909 int LA3_0 = input.LA(1);
910
911 if ( (LA3_0=='\t'||LA3_0==' ') ) {
912 alt3=1;
913 }
914
915
916 switch (alt3) {
917 case 1 :
918
919 {
920 if ( input.LA(1)=='\t'||input.LA(1)==' ' ) {
921 input.consume();
922
923 }
924 else {
925 MismatchedSetException mse =
926 new MismatchedSetException(null,input);
927 recover(mse); throw mse;
928 }
929
930
931 }
932 break;
933
934 default :
935 if ( cnt3 >= 1 ) break loop3;
936 EarlyExitException eee =
937 new EarlyExitException(3, input);
938 throw eee;
939 }
940 cnt3++;
941 } while (true);
942
943
944 }
945
946 this.type = _type;
947 }
948 finally {
949 }
950 }
951
952
953
954 public final void mSPACE() throws RecognitionException {
955 try {
956
957
958 {
959 match(' ');
960
961 }
962
963 }
964 finally {
965 }
966 }
967
968
969
970 public final void mTABULATOR() throws RecognitionException {
971 try {
972
973
974 {
975 match('\t');
976
977 }
978
979 }
980 finally {
981 }
982 }
983
984
985
986 public final void mBRACE_CLOSE() throws RecognitionException {
987 try {
988 int _type = BRACE_CLOSE;
989
990
991 {
992 mNEWLINE();
993 match('}');
994
995 }
996
997 this.type = _type;
998 }
999 finally {
1000 }
1001 }
1002
1003
1004
1005 public final void mCOLON_SLASH() throws RecognitionException {
1006 try {
1007 int _type = COLON_SLASH;
1008
1009
1010 {
1011 match(':');
1012 match('/');
1013
1014 }
1015
1016 this.type = _type;
1017 }
1018 finally {
1019 }
1020 }
1021
1022
1023
1024 public final void mITAL() throws RecognitionException {
1025 try {
1026 int _type = ITAL;
1027
1028
1029 {
1030 match("
1031
1032
1033 }
1034
1035 this.type = _type;
1036 }
1037 finally {
1038 }
1039 }
1040
1041
1042
1043 public final void mNOWIKI_OPEN() throws RecognitionException {
1044 try {
1045 int _type = NOWIKI_OPEN;
1046
1047
1048 {
1049 match("{{{");
1050
1051
1052 }
1053
1054 this.type = _type;
1055 }
1056 finally {
1057 }
1058 }
1059
1060
1061
1062 public final void mNOWIKI_CLOSE() throws RecognitionException {
1063 try {
1064 int _type = NOWIKI_CLOSE;
1065
1066
1067 {
1068 match("}}}");
1069
1070
1071 }
1072
1073 this.type = _type;
1074 }
1075 finally {
1076 }
1077 }
1078
1079
1080
1081 public final void mLINK_OPEN() throws RecognitionException {
1082 try {
1083 int _type = LINK_OPEN;
1084
1085
1086 {
1087 match("[[");
1088
1089
1090 }
1091
1092 this.type = _type;
1093 }
1094 finally {
1095 }
1096 }
1097
1098
1099
1100 public final void mLINK_CLOSE() throws RecognitionException {
1101 try {
1102 int _type = LINK_CLOSE;
1103
1104
1105 {
1106 match("]]");
1107
1108
1109 }
1110
1111 this.type = _type;
1112 }
1113 finally {
1114 }
1115 }
1116
1117
1118
1119 public final void mIMAGE_OPEN() throws RecognitionException {
1120 try {
1121 int _type = IMAGE_OPEN;
1122
1123
1124 {
1125 match("{{");
1126
1127
1128 }
1129
1130 this.type = _type;
1131 }
1132 finally {
1133 }
1134 }
1135
1136
1137
1138 public final void mIMAGE_CLOSE() throws RecognitionException {
1139 try {
1140 int _type = IMAGE_CLOSE;
1141
1142
1143 {
1144 match("}}");
1145
1146
1147 }
1148
1149 this.type = _type;
1150 }
1151 finally {
1152 }
1153 }
1154
1155
1156
1157 public final void mFORCED_LINEBREAK() throws RecognitionException {
1158 try {
1159 int _type = FORCED_LINEBREAK;
1160
1161
1162 {
1163 match("\\\\");
1164
1165
1166 }
1167
1168 this.type = _type;
1169 }
1170 finally {
1171 }
1172 }
1173
1174
1175
1176 public final void mEQUAL() throws RecognitionException {
1177 try {
1178 int _type = EQUAL;
1179
1180
1181 {
1182 match('=');
1183
1184 }
1185
1186 this.type = _type;
1187 }
1188 finally {
1189 }
1190 }
1191
1192
1193
1194 public final void mPIPE() throws RecognitionException {
1195 try {
1196 int _type = PIPE;
1197
1198
1199 {
1200 match('|');
1201
1202 }
1203
1204 this.type = _type;
1205 }
1206 finally {
1207 }
1208 }
1209
1210
1211
1212 public final void mPOUND() throws RecognitionException {
1213 try {
1214 int _type = POUND;
1215
1216
1217 {
1218 match('#');
1219
1220 }
1221
1222 this.type = _type;
1223 }
1224 finally {
1225 }
1226 }
1227
1228
1229
1230 public final void mDASH() throws RecognitionException {
1231 try {
1232 int _type = DASH;
1233
1234
1235 {
1236 match('-');
1237
1238 }
1239
1240 this.type = _type;
1241 }
1242 finally {
1243 }
1244 }
1245
1246
1247
1248 public final void mSTAR() throws RecognitionException {
1249 try {
1250 int _type = STAR;
1251
1252
1253 {
1254 match('*');
1255
1256 }
1257
1258 this.type = _type;
1259 }
1260 finally {
1261 }
1262 }
1263
1264
1265
1266 public final void mSLASH() throws RecognitionException {
1267 try {
1268 int _type = SLASH;
1269
1270
1271 {
1272 match('/');
1273
1274 }
1275
1276 this.type = _type;
1277 }
1278 finally {
1279 }
1280 }
1281
1282
1283
1284 public final void mEXTENSION() throws RecognitionException {
1285 try {
1286 int _type = EXTENSION;
1287
1288
1289 {
1290 match("@@");
1291
1292
1293 }
1294
1295 this.type = _type;
1296 }
1297 finally {
1298 }
1299 }
1300
1301
1302
1303 public final void mTABLE_OF_CONTENTS_OPEN_MARKUP() throws RecognitionException {
1304 try {
1305 int _type = TABLE_OF_CONTENTS_OPEN_MARKUP;
1306
1307
1308 {
1309 match("<<");
1310
1311
1312 }
1313
1314 this.type = _type;
1315 }
1316 finally {
1317 }
1318 }
1319
1320
1321
1322 public final void mTABLE_OF_CONTENTS_CLOSE_MARKUP() throws RecognitionException {
1323 try {
1324 int _type = TABLE_OF_CONTENTS_CLOSE_MARKUP;
1325
1326
1327 {
1328 match(">>");
1329
1330
1331 }
1332
1333 this.type = _type;
1334 }
1335 finally {
1336 }
1337 }
1338
1339
1340
1341 public final void mTABLE_OF_CONTENTS_TEXT() throws RecognitionException {
1342 try {
1343 int _type = TABLE_OF_CONTENTS_TEXT;
1344
1345
1346 {
1347 match("<<TableOfContents>>");
1348
1349
1350 }
1351
1352 this.type = _type;
1353 }
1354 finally {
1355 }
1356 }
1357
1358
1359
1360 public final void mINSIGNIFICANT_CHAR() throws RecognitionException {
1361 try {
1362 int _type = INSIGNIFICANT_CHAR;
1363
1364
1365 {
1366 matchAny();
1367
1368 }
1369
1370 this.type = _type;
1371 }
1372 finally {
1373 }
1374 }
1375
1376
1377 public void mTokens() throws RecognitionException {
1378
1379 int alt4=61;
1380 int LA4_0 = input.LA(1);
1381
1382 if ( (LA4_0==':') ) {
1383 int LA4_1 = input.LA(2);
1384
1385 if ( (LA4_1=='/') ) {
1386 alt4=42;
1387 }
1388 else {
1389 alt4=1;}
1390 }
1391 else if ( (LA4_0=='C') ) {
1392 alt4=2;
1393 }
1394 else if ( (LA4_0=='2') ) {
1395 alt4=3;
1396 }
1397 else if ( (LA4_0=='D') ) {
1398 alt4=4;
1399 }
1400 else if ( (LA4_0=='o') ) {
1401 alt4=5;
1402 }
1403 else if ( (LA4_0=='k') ) {
1404 alt4=6;
1405 }
1406 else if ( (LA4_0=='u') ) {
1407 alt4=7;
1408 }
1409 else if ( (LA4_0=='W') ) {
1410 alt4=8;
1411 }
1412 else if ( (LA4_0=='i') ) {
1413 alt4=9;
1414 }
1415 else if ( (LA4_0=='F') ) {
1416 alt4=10;
1417 }
1418 else if ( (LA4_0=='l') ) {
1419 alt4=11;
1420 }
1421 else if ( (LA4_0=='c') ) {
1422 alt4=12;
1423 }
1424 else if ( (LA4_0=='r') ) {
1425 alt4=13;
1426 }
1427 else if ( (LA4_0=='G') ) {
1428 alt4=14;
1429 }
1430 else if ( (LA4_0=='g') ) {
1431 alt4=15;
1432 }
1433 else if ( (LA4_0=='e') ) {
1434 alt4=16;
1435 }
1436 else if ( (LA4_0=='J') ) {
1437 alt4=17;
1438 }
1439 else if ( (LA4_0=='S') ) {
1440 alt4=18;
1441 }
1442 else if ( (LA4_0=='P') ) {
1443 alt4=19;
1444 }
1445 else if ( (LA4_0=='M') ) {
1446 alt4=20;
1447 }
1448 else if ( (LA4_0=='a') ) {
1449 alt4=21;
1450 }
1451 else if ( (LA4_0=='t') ) {
1452 alt4=22;
1453 }
1454 else if ( (LA4_0=='b') ) {
1455 alt4=23;
1456 }
1457 else if ( (LA4_0=='d') ) {
1458 alt4=24;
1459 }
1460 else if ( (LA4_0=='n') ) {
1461 alt4=25;
1462 }
1463 else if ( (LA4_0=='O') ) {
1464 alt4=26;
1465 }
1466 else if ( (LA4_0=='m') ) {
1467 alt4=27;
1468 }
1469 else if ( (LA4_0=='s') ) {
1470 alt4=28;
1471 }
1472 else if ( (LA4_0=='h') ) {
1473 alt4=29;
1474 }
1475 else if ( (LA4_0=='p') ) {
1476 alt4=30;
1477 }
1478 else if ( (LA4_0=='R') ) {
1479 alt4=31;
1480 }
1481 else if ( (LA4_0=='x') ) {
1482 alt4=32;
1483 }
1484 else if ( (LA4_0=='T') ) {
1485 alt4=33;
1486 }
1487 else if ( (LA4_0=='y') ) {
1488 alt4=34;
1489 }
1490 else if ( (LA4_0=='U') ) {
1491 alt4=35;
1492 }
1493 else if ( (LA4_0=='X') ) {
1494 alt4=36;
1495 }
1496 else if ( (LA4_0=='~') ) {
1497 alt4=37;
1498 }
1499 else if ( (LA4_0=='\r') ) {
1500 switch ( input.LA(2) ) {
1501 case '}':
1502 {
1503 int LA4_95 = input.LA(3);
1504
1505 if ( (LA4_95=='}') ) {
1506 alt4=38;
1507 }
1508 else {
1509 alt4=41;}
1510 }
1511 break;
1512 case '\n':
1513 {
1514 int LA4_96 = input.LA(3);
1515
1516 if ( (LA4_96=='}') ) {
1517 int LA4_95 = input.LA(4);
1518
1519 if ( (LA4_95=='}') ) {
1520 alt4=38;
1521 }
1522 else {
1523 alt4=41;}
1524 }
1525 else {
1526 alt4=39;}
1527 }
1528 break;
1529 default:
1530 alt4=39;}
1531
1532 }
1533 else if ( (LA4_0=='\n') ) {
1534 int LA4_39 = input.LA(2);
1535
1536 if ( (LA4_39=='}') ) {
1537 int LA4_95 = input.LA(3);
1538
1539 if ( (LA4_95=='}') ) {
1540 alt4=38;
1541 }
1542 else {
1543 alt4=41;}
1544 }
1545 else {
1546 alt4=39;}
1547 }
1548 else if ( (LA4_0=='\t'||LA4_0==' ') ) {
1549 alt4=40;
1550 }
1551 else if ( (LA4_0=='/') ) {
1552 int LA4_41 = input.LA(2);
1553
1554 if ( (LA4_41=='/') ) {
1555 alt4=43;
1556 }
1557 else {
1558 alt4=56;}
1559 }
1560 else if ( (LA4_0=='{') ) {
1561 int LA4_42 = input.LA(2);
1562
1563 if ( (LA4_42=='{') ) {
1564 int LA4_100 = input.LA(3);
1565
1566 if ( (LA4_100=='{') ) {
1567 alt4=44;
1568 }
1569 else {
1570 alt4=48;}
1571 }
1572 else {
1573 alt4=61;}
1574 }
1575 else if ( (LA4_0=='}') ) {
1576 int LA4_43 = input.LA(2);
1577
1578 if ( (LA4_43=='}') ) {
1579 int LA4_101 = input.LA(3);
1580
1581 if ( (LA4_101=='}') ) {
1582 alt4=45;
1583 }
1584 else {
1585 alt4=49;}
1586 }
1587 else {
1588 alt4=61;}
1589 }
1590 else if ( (LA4_0=='[') ) {
1591 int LA4_44 = input.LA(2);
1592
1593 if ( (LA4_44=='[') ) {
1594 alt4=46;
1595 }
1596 else {
1597 alt4=61;}
1598 }
1599 else if ( (LA4_0==']') ) {
1600 int LA4_45 = input.LA(2);
1601
1602 if ( (LA4_45==']') ) {
1603 alt4=47;
1604 }
1605 else {
1606 alt4=61;}
1607 }
1608 else if ( (LA4_0=='\\') ) {
1609 int LA4_46 = input.LA(2);
1610
1611 if ( (LA4_46=='\\') ) {
1612 alt4=50;
1613 }
1614 else {
1615 alt4=61;}
1616 }
1617 else if ( (LA4_0=='=') ) {
1618 alt4=51;
1619 }
1620 else if ( (LA4_0=='|') ) {
1621 alt4=52;
1622 }
1623 else if ( (LA4_0=='#') ) {
1624 alt4=53;
1625 }
1626 else if ( (LA4_0=='-') ) {
1627 alt4=54;
1628 }
1629 else if ( (LA4_0=='*') ) {
1630 alt4=55;
1631 }
1632 else if ( (LA4_0=='@') ) {
1633 int LA4_52 = input.LA(2);
1634
1635 if ( (LA4_52=='@') ) {
1636 alt4=57;
1637 }
1638 else {
1639 alt4=61;}
1640 }
1641 else if ( (LA4_0=='<') ) {
1642 int LA4_53 = input.LA(2);
1643
1644 if ( (LA4_53=='<') ) {
1645 int LA4_111 = input.LA(3);
1646
1647 if ( (LA4_111=='T') ) {
1648 alt4=60;
1649 }
1650 else {
1651 alt4=58;}
1652 }
1653 else {
1654 alt4=61;}
1655 }
1656 else if ( (LA4_0=='>') ) {
1657 int LA4_54 = input.LA(2);
1658
1659 if ( (LA4_54=='>') ) {
1660 alt4=59;
1661 }
1662 else {
1663 alt4=61;}
1664 }
1665 else if ( ((LA4_0>='\u0000' && LA4_0<='\b')||(LA4_0>='\u000B' && LA4_0<='\f')||(LA4_0>='\u000E' && LA4_0<='\u001F')||(LA4_0>='!' && LA4_0<='\"')||(LA4_0>='$' && LA4_0<=')')||(LA4_0>='+' && LA4_0<=',')||LA4_0=='.'||(LA4_0>='0' && LA4_0<='1')||(LA4_0>='3' && LA4_0<='9')||LA4_0==';'||LA4_0=='?'||(LA4_0>='A' && LA4_0<='B')||LA4_0=='E'||(LA4_0>='H' && LA4_0<='I')||(LA4_0>='K' && LA4_0<='L')||LA4_0=='N'||LA4_0=='Q'||LA4_0=='V'||(LA4_0>='Y' && LA4_0<='Z')||(LA4_0>='^' && LA4_0<='`')||LA4_0=='f'||LA4_0=='j'||LA4_0=='q'||(LA4_0>='v' && LA4_0<='w')||LA4_0=='z'||(LA4_0>='\u007F' && LA4_0<='\uFFFE')) ) {
1666 alt4=61;
1667 }
1668 else {
1669 NoViableAltException nvae =
1670 new NoViableAltException("1:1: Tokens : ( T44 | T45 | T46 | T47 | T48 | T49 | T50 | T51 | T52 | T53 | T54 | T55 | T56 | T57 | T58 | T59 | T60 | T61 | T62 | T63 | T64 | T65 | T66 | T67 | T68 | T69 | T70 | T71 | T72 | T73 | T74 | T75 | T76 | T77 | T78 | T79 | ESCAPE | NOWIKI_BLOCK_CLOSE | NEWLINE | BLANKS | BRACE_CLOSE | COLON_SLASH | ITAL | NOWIKI_OPEN | NOWIKI_CLOSE | LINK_OPEN | LINK_CLOSE | IMAGE_OPEN | IMAGE_CLOSE | FORCED_LINEBREAK | EQUAL | PIPE | POUND | DASH | STAR | SLASH | EXTENSION | TABLE_OF_CONTENTS_OPEN_MARKUP | TABLE_OF_CONTENTS_CLOSE_MARKUP | TABLE_OF_CONTENTS_TEXT | INSIGNIFICANT_CHAR );", 4, 0, input);
1671
1672 throw nvae;
1673 }
1674 switch (alt4) {
1675 case 1 :
1676
1677 {
1678 mT44();
1679
1680 }
1681 break;
1682 case 2 :
1683
1684 {
1685 mT45();
1686
1687 }
1688 break;
1689 case 3 :
1690
1691 {
1692 mT46();
1693
1694 }
1695 break;
1696 case 4 :
1697
1698 {
1699 mT47();
1700
1701 }
1702 break;
1703 case 5 :
1704
1705 {
1706 mT48();
1707
1708 }
1709 break;
1710 case 6 :
1711
1712 {
1713 mT49();
1714
1715 }
1716 break;
1717 case 7 :
1718
1719 {
1720 mT50();
1721
1722 }
1723 break;
1724 case 8 :
1725
1726 {
1727 mT51();
1728
1729 }
1730 break;
1731 case 9 :
1732
1733 {
1734 mT52();
1735
1736 }
1737 break;
1738 case 10 :
1739
1740 {
1741 mT53();
1742
1743 }
1744 break;
1745 case 11 :
1746
1747 {
1748 mT54();
1749
1750 }
1751 break;
1752 case 12 :
1753
1754 {
1755 mT55();
1756
1757 }
1758 break;
1759 case 13 :
1760
1761 {
1762 mT56();
1763
1764 }
1765 break;
1766 case 14 :
1767
1768 {
1769 mT57();
1770
1771 }
1772 break;
1773 case 15 :
1774
1775 {
1776 mT58();
1777
1778 }
1779 break;
1780 case 16 :
1781
1782 {
1783 mT59();
1784
1785 }
1786 break;
1787 case 17 :
1788
1789 {
1790 mT60();
1791
1792 }
1793 break;
1794 case 18 :
1795
1796 {
1797 mT61();
1798
1799 }
1800 break;
1801 case 19 :
1802
1803 {
1804 mT62();
1805
1806 }
1807 break;
1808 case 20 :
1809
1810 {
1811 mT63();
1812
1813 }
1814 break;
1815 case 21 :
1816
1817 {
1818 mT64();
1819
1820 }
1821 break;
1822 case 22 :
1823
1824 {
1825 mT65();
1826
1827 }
1828 break;
1829 case 23 :
1830
1831 {
1832 mT66();
1833
1834 }
1835 break;
1836 case 24 :
1837
1838 {
1839 mT67();
1840
1841 }
1842 break;
1843 case 25 :
1844
1845 {
1846 mT68();
1847
1848 }
1849 break;
1850 case 26 :
1851
1852 {
1853 mT69();
1854
1855 }
1856 break;
1857 case 27 :
1858
1859 {
1860 mT70();
1861
1862 }
1863 break;
1864 case 28 :
1865
1866 {
1867 mT71();
1868
1869 }
1870 break;
1871 case 29 :
1872
1873 {
1874 mT72();
1875
1876 }
1877 break;
1878 case 30 :
1879
1880 {
1881 mT73();
1882
1883 }
1884 break;
1885 case 31 :
1886
1887 {
1888 mT74();
1889
1890 }
1891 break;
1892 case 32 :
1893
1894 {
1895 mT75();
1896
1897 }
1898 break;
1899 case 33 :
1900
1901 {
1902 mT76();
1903
1904 }
1905 break;
1906 case 34 :
1907
1908 {
1909 mT77();
1910
1911 }
1912 break;
1913 case 35 :
1914
1915 {
1916 mT78();
1917
1918 }
1919 break;
1920 case 36 :
1921
1922 {
1923 mT79();
1924
1925 }
1926 break;
1927 case 37 :
1928
1929 {
1930 mESCAPE();
1931
1932 }
1933 break;
1934 case 38 :
1935
1936 {
1937 mNOWIKI_BLOCK_CLOSE();
1938
1939 }
1940 break;
1941 case 39 :
1942
1943 {
1944 mNEWLINE();
1945
1946 }
1947 break;
1948 case 40 :
1949
1950 {
1951 mBLANKS();
1952
1953 }
1954 break;
1955 case 41 :
1956
1957 {
1958 mBRACE_CLOSE();
1959
1960 }
1961 break;
1962 case 42 :
1963
1964 {
1965 mCOLON_SLASH();
1966
1967 }
1968 break;
1969 case 43 :
1970
1971 {
1972 mITAL();
1973
1974 }
1975 break;
1976 case 44 :
1977
1978 {
1979 mNOWIKI_OPEN();
1980
1981 }
1982 break;
1983 case 45 :
1984
1985 {
1986 mNOWIKI_CLOSE();
1987
1988 }
1989 break;
1990 case 46 :
1991
1992 {
1993 mLINK_OPEN();
1994
1995 }
1996 break;
1997 case 47 :
1998
1999 {
2000 mLINK_CLOSE();
2001
2002 }
2003 break;
2004 case 48 :
2005
2006 {
2007 mIMAGE_OPEN();
2008
2009 }
2010 break;
2011 case 49 :
2012
2013 {
2014 mIMAGE_CLOSE();
2015
2016 }
2017 break;
2018 case 50 :
2019
2020 {
2021 mFORCED_LINEBREAK();
2022
2023 }
2024 break;
2025 case 51 :
2026
2027 {
2028 mEQUAL();
2029
2030 }
2031 break;
2032 case 52 :
2033
2034 {
2035 mPIPE();
2036
2037 }
2038 break;
2039 case 53 :
2040
2041 {
2042 mPOUND();
2043
2044 }
2045 break;
2046 case 54 :
2047
2048 {
2049 mDASH();
2050
2051 }
2052 break;
2053 case 55 :
2054
2055 {
2056 mSTAR();
2057
2058 }
2059 break;
2060 case 56 :
2061
2062 {
2063 mSLASH();
2064
2065 }
2066 break;
2067 case 57 :
2068
2069 {
2070 mEXTENSION();
2071
2072 }
2073 break;
2074 case 58 :
2075
2076 {
2077 mTABLE_OF_CONTENTS_OPEN_MARKUP();
2078
2079 }
2080 break;
2081 case 59 :
2082
2083 {
2084 mTABLE_OF_CONTENTS_CLOSE_MARKUP();
2085
2086 }
2087 break;
2088 case 60 :
2089
2090 {
2091 mTABLE_OF_CONTENTS_TEXT();
2092
2093 }
2094 break;
2095 case 61 :
2096
2097 {
2098 mINSIGNIFICANT_CHAR();
2099
2100 }
2101 break;
2102
2103 }
2104
2105 }
2106
2107
2108
2109
2110 }