001    // $ANTLR 3.0.1 /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g 2012-02-15 09:25:40
002    
003    /**
004     * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
005     *
006     * This library is free software; you can redistribute it and/or modify it under
007     * the terms of the GNU Lesser General Public License as published by the Free
008     * Software Foundation; either version 2.1 of the License, or (at your option)
009     * any later version.
010     *
011     * This library is distributed in the hope that it will be useful, but WITHOUT
012     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
013     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
014     * details.
015     */
016     
017    package com.liferay.portal.parsers.creole.parser;
018    
019    import com.liferay.portal.kernel.util.StringBundler;
020    import com.liferay.portal.parsers.creole.ast.ASTNode;
021    import com.liferay.portal.parsers.creole.ast.BoldTextNode;
022    import com.liferay.portal.parsers.creole.ast.CollectionNode;
023    import com.liferay.portal.parsers.creole.ast.extension.TableOfContentsNode;
024    import com.liferay.portal.parsers.creole.ast.ForcedEndOfLineNode;
025    import com.liferay.portal.parsers.creole.ast.FormattedTextNode;
026    import com.liferay.portal.parsers.creole.ast.HeadingNode;
027    import com.liferay.portal.parsers.creole.ast.HorizontalNode;
028    import com.liferay.portal.parsers.creole.ast.ImageNode;
029    import com.liferay.portal.parsers.creole.ast.ItalicTextNode;
030    import com.liferay.portal.parsers.creole.ast.LineNode;
031    import com.liferay.portal.parsers.creole.ast.link.InterwikiLinkNode;
032    import com.liferay.portal.parsers.creole.ast.link.LinkNode;
033    import com.liferay.portal.parsers.creole.ast.NoWikiSectionNode;
034    import com.liferay.portal.parsers.creole.ast.OrderedListItemNode;
035    import com.liferay.portal.parsers.creole.ast.OrderedListNode;
036    import com.liferay.portal.parsers.creole.ast.ParagraphNode;
037    import com.liferay.portal.parsers.creole.ast.ScapedNode;
038    import com.liferay.portal.parsers.creole.ast.table.TableCellNode;
039    import com.liferay.portal.parsers.creole.ast.table.TableDataNode;
040    import com.liferay.portal.parsers.creole.ast.table.TableHeaderNode;
041    import com.liferay.portal.parsers.creole.ast.table.TableNode;
042    import com.liferay.portal.parsers.creole.ast.UnorderedListItemNode;
043    import com.liferay.portal.parsers.creole.ast.UnorderedListNode;
044    import com.liferay.portal.parsers.creole.ast.UnformattedTextNode;
045    import com.liferay.portal.parsers.creole.ast.WikiPageNode;
046    
047    /**
048    * This is a generated file from Creole10.g. DO NOT MODIFY THIS FILE MANUALLY!!
049    * If needed, modify the grammar and rerun the ant generation task 
050    * (ant build-creole-parser)
051    */
052    
053    
054    import org.antlr.runtime.*;
055    import java.util.Stack;
056    import java.util.List;
057    import java.util.ArrayList;
058    import java.util.Map;
059    import java.util.HashMap;
060    @SuppressWarnings("all")
061    public class Creole10Parser extends Parser {
062            public static final String[] tokenNames = new String[] {
063            "<invalid>", "<EOR>", "<DOWN>", "<UP>", "FORCED_END_OF_LINE", "HEADING_SECTION", "HORIZONTAL_SECTION", "LIST_ITEM", "LIST_ITEM_PART", "NOWIKI_SECTION", "SCAPE_NODE", "TEXT_NODE", "UNORDERED_LIST", "UNFORMATTED_TEXT", "WIKI", "NEWLINE", "POUND", "STAR", "EQUAL", "PIPE", "ITAL", "LINK_OPEN", "IMAGE_OPEN", "NOWIKI_OPEN", "EXTENSION", "FORCED_LINEBREAK", "ESCAPE", "NOWIKI_BLOCK_CLOSE", "NOWIKI_CLOSE", "LINK_CLOSE", "IMAGE_CLOSE", "BLANKS", "TABLE_OF_CONTENTS_TEXT", "DASH", "CR", "LF", "SPACE", "TABULATOR", "BRACE_CLOSE", "COLON_SLASH", "SLASH", "TABLE_OF_CONTENTS_OPEN_MARKUP", "TABLE_OF_CONTENTS_CLOSE_MARKUP", "INSIGNIFICANT_CHAR", "':'", "'C'", "'2'", "'D'", "'o'", "'k'", "'u'", "'W'", "'i'", "'F'", "'l'", "'c'", "'r'", "'G'", "'g'", "'e'", "'J'", "'S'", "'P'", "'M'", "'a'", "'t'", "'b'", "'d'", "'n'", "'O'", "'m'", "'s'", "'h'", "'p'", "'R'", "'x'", "'T'", "'y'", "'U'", "'X'"
064            };
065            public static final int INSIGNIFICANT_CHAR=43;
066            public static final int STAR=17;
067            public static final int FORCED_END_OF_LINE=4;
068            public static final int TABLE_OF_CONTENTS_TEXT=32;
069            public static final int NOWIKI_BLOCK_CLOSE=27;
070            public static final int EOF=-1;
071            public static final int NOWIKI_CLOSE=28;
072            public static final int SPACE=36;
073            public static final int LIST_ITEM=7;
074            public static final int TEXT_NODE=11;
075            public static final int WIKI=14;
076            public static final int SLASH=40;
077            public static final int ESCAPE=26;
078            public static final int BRACE_CLOSE=38;
079            public static final int EQUAL=18;
080            public static final int TABULATOR=37;
081            public static final int PIPE=19;
082            public static final int LIST_ITEM_PART=8;
083            public static final int LINK_OPEN=21;
084            public static final int TABLE_OF_CONTENTS_OPEN_MARKUP=41;
085            public static final int BLANKS=31;
086            public static final int FORCED_LINEBREAK=25;
087            public static final int UNORDERED_LIST=12;
088            public static final int POUND=16;
089            public static final int DASH=33;
090            public static final int HEADING_SECTION=5;
091            public static final int NOWIKI_OPEN=23;
092            public static final int HORIZONTAL_SECTION=6;
093            public static final int UNFORMATTED_TEXT=13;
094            public static final int NOWIKI_SECTION=9;
095            public static final int ITAL=20;
096            public static final int IMAGE_OPEN=22;
097            public static final int COLON_SLASH=39;
098            public static final int NEWLINE=15;
099            public static final int SCAPE_NODE=10;
100            public static final int IMAGE_CLOSE=30;
101            public static final int TABLE_OF_CONTENTS_CLOSE_MARKUP=42;
102            public static final int LINK_CLOSE=29;
103            public static final int CR=34;
104            public static final int EXTENSION=24;
105            public static final int LF=35;
106            protected static class CountLevel_scope {
107            int level;
108            String currentMarkup;
109            String groups;
110            }
111            protected Stack CountLevel_stack = new Stack();
112    
113    
114            public Creole10Parser(TokenStream input) {
115                    super(input);
116                    ruleMemo = new HashMap[129+1];
117             }
118            
119    
120            public String[] getTokenNames() { return tokenNames; }
121            public String getGrammarFileName() { return "/home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g"; }
122    
123    
124            protected static final String GROUPING_SEPARATOR = "-";
125    
126            private WikiPageNode _wikipage = null;
127            
128            public WikiPageNode getWikiPageNode() {
129                    if(_wikipage == null)
130                            throw new IllegalStateException("No succesful parsing process");
131                    
132                    return _wikipage;
133            }
134    
135    
136    
137            // $ANTLR start wikipage
138            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:111:1: wikipage : ( whitespaces )? p= paragraphs EOF ;
139            public final void wikipage() throws RecognitionException {
140            CollectionNode p = null;
141    
142    
143            try {
144                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:112:2: ( ( whitespaces )? p= paragraphs EOF )
145                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:112:4: ( whitespaces )? p= paragraphs EOF
146                    {
147                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:112:4: ( whitespaces )?
148                    int alt1=2;
149                    int LA1_0 = input.LA(1);
150    
151                    if ( (LA1_0==NEWLINE||LA1_0==BLANKS) ) {
152                    alt1=1;
153                    }
154                    switch (alt1) {
155                    case 1 :
156                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:112:6: whitespaces
157                            {
158                            pushFollow(FOLLOW_whitespaces_in_wikipage114);
159                            whitespaces();
160                            _fsp--;
161                            if (failed) return ;
162    
163                            }
164                            break;
165    
166                    }
167    
168                    pushFollow(FOLLOW_paragraphs_in_wikipage122);
169                    p=paragraphs();
170                    _fsp--;
171                    if (failed) return ;
172                    if ( backtracking==0 ) {
173                       _wikipage = new WikiPageNode(p); 
174                    }
175                    match(input,EOF,FOLLOW_EOF_in_wikipage127); if (failed) return ;
176    
177                    }
178    
179            }
180            catch (RecognitionException re) {
181                    reportError(re);
182                    recover(input,re);
183            }
184            finally {
185            }
186            return ;
187            }
188            // $ANTLR end wikipage
189    
190    
191            // $ANTLR start paragraphs
192            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:114:1: paragraphs returns [CollectionNode sections = new CollectionNode()] : (p= paragraph )* ;
193            public final CollectionNode paragraphs() throws RecognitionException {
194            CollectionNode sections =  new CollectionNode();
195    
196            ASTNode p = null;
197    
198    
199            try {
200                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:115:2: ( (p= paragraph )* )
201                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:115:4: (p= paragraph )*
202                    {
203                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:115:4: (p= paragraph )*
204                    loop2:
205                    do {
206                    int alt2=2;
207                    int LA2_0 = input.LA(1);
208    
209                    if ( ((LA2_0>=FORCED_END_OF_LINE && LA2_0<=WIKI)||(LA2_0>=POUND && LA2_0<=79)) ) {
210                            alt2=1;
211                    }
212    
213    
214                    switch (alt2) {
215                    case 1 :
216                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:115:5: p= paragraph
217                            {
218                            pushFollow(FOLLOW_paragraph_in_paragraphs145);
219                            p=paragraph();
220                            _fsp--;
221                            if (failed) return sections;
222                            if ( backtracking==0 ) {
223    
224                                            if(p != null){ // at this moment we ignore paragraps with blanks
225                                                    sections.add(p);
226                                            }
227                                            
228                            }
229    
230                            }
231                            break;
232    
233                    default :
234                            break loop2;
235                    }
236                    } while (true);
237    
238    
239                    }
240    
241            }
242            catch (RecognitionException re) {
243                    reportError(re);
244                    recover(input,re);
245            }
246            finally {
247            }
248            return sections;
249            }
250            // $ANTLR end paragraphs
251    
252    
253            // $ANTLR start paragraph
254            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:121:1: paragraph returns [ASTNode node = null] : (n= nowiki_block | blanks paragraph_separator | ( blanks )? (tof= table_of_contents | h= heading | {...}?hn= horizontalrule | lu= list_unord | lo= list_ord | t= table | tp= text_paragraph ) ( paragraph_separator )? );
255            public final ASTNode paragraph() throws RecognitionException {
256            ASTNode node =  null;
257    
258            NoWikiSectionNode n = null;
259    
260            ASTNode tof = null;
261    
262            ASTNode h = null;
263    
264            ASTNode hn = null;
265    
266            UnorderedListNode lu = null;
267    
268            OrderedListNode lo = null;
269    
270            TableNode t = null;
271    
272            ParagraphNode tp = null;
273    
274    
275            try {
276                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:122:2: (n= nowiki_block | blanks paragraph_separator | ( blanks )? (tof= table_of_contents | h= heading | {...}?hn= horizontalrule | lu= list_unord | lo= list_ord | t= table | tp= text_paragraph ) ( paragraph_separator )? )
277                    int alt6=3;
278                    switch ( input.LA(1) ) {
279                    case NOWIKI_OPEN:
280                    {
281                    int LA6_1 = input.LA(2);
282    
283                    if ( (LA6_1==NEWLINE) ) {
284                            alt6=1;
285                    }
286                    else if ( ((LA6_1>=FORCED_END_OF_LINE && LA6_1<=WIKI)||(LA6_1>=POUND && LA6_1<=79)) ) {
287                            alt6=3;
288                    }
289                    else {
290                            if (backtracking>0) {failed=true; return node;}
291                            NoViableAltException nvae =
292                            new NoViableAltException("121:1: paragraph returns [ASTNode node = null] : (n= nowiki_block | blanks paragraph_separator | ( blanks )? (tof= table_of_contents | h= heading | {...}?hn= horizontalrule | lu= list_unord | lo= list_ord | t= table | tp= text_paragraph ) ( paragraph_separator )? );", 6, 1, input);
293    
294                            throw nvae;
295                    }
296                    }
297                    break;
298                    case BLANKS:
299                    {
300                    switch ( input.LA(2) ) {
301                    case FORCED_END_OF_LINE:
302                    case HEADING_SECTION:
303                    case HORIZONTAL_SECTION:
304                    case LIST_ITEM:
305                    case LIST_ITEM_PART:
306                    case NOWIKI_SECTION:
307                    case SCAPE_NODE:
308                    case TEXT_NODE:
309                    case UNORDERED_LIST:
310                    case UNFORMATTED_TEXT:
311                    case WIKI:
312                    case POUND:
313                    case STAR:
314                    case EQUAL:
315                    case PIPE:
316                    case ITAL:
317                    case LINK_OPEN:
318                    case IMAGE_OPEN:
319                    case NOWIKI_OPEN:
320                    case EXTENSION:
321                    case FORCED_LINEBREAK:
322                    case ESCAPE:
323                    case NOWIKI_BLOCK_CLOSE:
324                    case NOWIKI_CLOSE:
325                    case LINK_CLOSE:
326                    case IMAGE_CLOSE:
327                    case BLANKS:
328                    case TABLE_OF_CONTENTS_TEXT:
329                    case DASH:
330                    case CR:
331                    case LF:
332                    case SPACE:
333                    case TABULATOR:
334                    case BRACE_CLOSE:
335                    case COLON_SLASH:
336                    case SLASH:
337                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
338                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
339                    case INSIGNIFICANT_CHAR:
340                    case 44:
341                    case 45:
342                    case 46:
343                    case 47:
344                    case 48:
345                    case 49:
346                    case 50:
347                    case 51:
348                    case 52:
349                    case 53:
350                    case 54:
351                    case 55:
352                    case 56:
353                    case 57:
354                    case 58:
355                    case 59:
356                    case 60:
357                    case 61:
358                    case 62:
359                    case 63:
360                    case 64:
361                    case 65:
362                    case 66:
363                    case 67:
364                    case 68:
365                    case 69:
366                    case 70:
367                    case 71:
368                    case 72:
369                    case 73:
370                    case 74:
371                    case 75:
372                    case 76:
373                    case 77:
374                    case 78:
375                    case 79:
376                            {
377                            alt6=3;
378                            }
379                            break;
380                    case NEWLINE:
381                            {
382                            alt6=2;
383                            }
384                            break;
385                    case EOF:
386                            {
387                            alt6=2;
388                            }
389                            break;
390                    default:
391                            if (backtracking>0) {failed=true; return node;}
392                            NoViableAltException nvae =
393                            new NoViableAltException("121:1: paragraph returns [ASTNode node = null] : (n= nowiki_block | blanks paragraph_separator | ( blanks )? (tof= table_of_contents | h= heading | {...}?hn= horizontalrule | lu= list_unord | lo= list_ord | t= table | tp= text_paragraph ) ( paragraph_separator )? );", 6, 2, input);
394    
395                            throw nvae;
396                    }
397    
398                    }
399                    break;
400                    case FORCED_END_OF_LINE:
401                    case HEADING_SECTION:
402                    case HORIZONTAL_SECTION:
403                    case LIST_ITEM:
404                    case LIST_ITEM_PART:
405                    case NOWIKI_SECTION:
406                    case SCAPE_NODE:
407                    case TEXT_NODE:
408                    case UNORDERED_LIST:
409                    case UNFORMATTED_TEXT:
410                    case WIKI:
411                    case POUND:
412                    case STAR:
413                    case EQUAL:
414                    case PIPE:
415                    case ITAL:
416                    case LINK_OPEN:
417                    case IMAGE_OPEN:
418                    case EXTENSION:
419                    case FORCED_LINEBREAK:
420                    case ESCAPE:
421                    case NOWIKI_BLOCK_CLOSE:
422                    case NOWIKI_CLOSE:
423                    case LINK_CLOSE:
424                    case IMAGE_CLOSE:
425                    case TABLE_OF_CONTENTS_TEXT:
426                    case DASH:
427                    case CR:
428                    case LF:
429                    case SPACE:
430                    case TABULATOR:
431                    case BRACE_CLOSE:
432                    case COLON_SLASH:
433                    case SLASH:
434                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
435                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
436                    case INSIGNIFICANT_CHAR:
437                    case 44:
438                    case 45:
439                    case 46:
440                    case 47:
441                    case 48:
442                    case 49:
443                    case 50:
444                    case 51:
445                    case 52:
446                    case 53:
447                    case 54:
448                    case 55:
449                    case 56:
450                    case 57:
451                    case 58:
452                    case 59:
453                    case 60:
454                    case 61:
455                    case 62:
456                    case 63:
457                    case 64:
458                    case 65:
459                    case 66:
460                    case 67:
461                    case 68:
462                    case 69:
463                    case 70:
464                    case 71:
465                    case 72:
466                    case 73:
467                    case 74:
468                    case 75:
469                    case 76:
470                    case 77:
471                    case 78:
472                    case 79:
473                    {
474                    alt6=3;
475                    }
476                    break;
477                    default:
478                    if (backtracking>0) {failed=true; return node;}
479                    NoViableAltException nvae =
480                            new NoViableAltException("121:1: paragraph returns [ASTNode node = null] : (n= nowiki_block | blanks paragraph_separator | ( blanks )? (tof= table_of_contents | h= heading | {...}?hn= horizontalrule | lu= list_unord | lo= list_ord | t= table | tp= text_paragraph ) ( paragraph_separator )? );", 6, 0, input);
481    
482                    throw nvae;
483                    }
484    
485                    switch (alt6) {
486                    case 1 :
487                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:122:4: n= nowiki_block
488                            {
489                            pushFollow(FOLLOW_nowiki_block_in_paragraph166);
490                            n=nowiki_block();
491                            _fsp--;
492                            if (failed) return node;
493                            if ( backtracking==0 ) {
494                               node = n; 
495                            }
496    
497                            }
498                            break;
499                    case 2 :
500                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:123:4: blanks paragraph_separator
501                            {
502                            pushFollow(FOLLOW_blanks_in_paragraph173);
503                            blanks();
504                            _fsp--;
505                            if (failed) return node;
506                            pushFollow(FOLLOW_paragraph_separator_in_paragraph176);
507                            paragraph_separator();
508                            _fsp--;
509                            if (failed) return node;
510    
511                            }
512                            break;
513                    case 3 :
514                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:124:4: ( blanks )? (tof= table_of_contents | h= heading | {...}?hn= horizontalrule | lu= list_unord | lo= list_ord | t= table | tp= text_paragraph ) ( paragraph_separator )?
515                            {
516                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:124:4: ( blanks )?
517                            int alt3=2;
518                            int LA3_0 = input.LA(1);
519    
520                            if ( (LA3_0==BLANKS) ) {
521                            alt3=1;
522                            }
523                            switch (alt3) {
524                            case 1 :
525                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:124:6: blanks
526                                    {
527                                    pushFollow(FOLLOW_blanks_in_paragraph183);
528                                    blanks();
529                                    _fsp--;
530                                    if (failed) return node;
531    
532                                    }
533                                    break;
534    
535                            }
536    
537                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:125:4: (tof= table_of_contents | h= heading | {...}?hn= horizontalrule | lu= list_unord | lo= list_ord | t= table | tp= text_paragraph )
538                            int alt4=7;
539                            switch ( input.LA(1) ) {
540                            case TABLE_OF_CONTENTS_TEXT:
541                            {
542                            alt4=1;
543                            }
544                            break;
545                            case EQUAL:
546                            {
547                            alt4=2;
548                            }
549                            break;
550                            case DASH:
551                            {
552                            int LA4_3 = input.LA(2);
553    
554                            if ( ( input.LA(1) == DASH && input.LA(2) == DASH &&
555                                                            input.LA(3) == DASH && input.LA(4) == DASH ) ) {
556                                    alt4=3;
557                            }
558                            else if ( (true) ) {
559                                    alt4=7;
560                            }
561                            else {
562                                    if (backtracking>0) {failed=true; return node;}
563                                    NoViableAltException nvae =
564                                    new NoViableAltException("125:4: (tof= table_of_contents | h= heading | {...}?hn= horizontalrule | lu= list_unord | lo= list_ord | t= table | tp= text_paragraph )", 4, 3, input);
565    
566                                    throw nvae;
567                            }
568                            }
569                            break;
570                            case STAR:
571                            {
572                            int LA4_4 = input.LA(2);
573    
574                            if ( (!( input.LA(1) != STAR || (input.LA(1) == STAR && input.LA(2) == STAR) )) ) {
575                                    alt4=4;
576                            }
577                            else if ( ( input.LA(1) != STAR || (input.LA(1) == STAR && input.LA(2) == STAR) ) ) {
578                                    alt4=7;
579                            }
580                            else {
581                                    if (backtracking>0) {failed=true; return node;}
582                                    NoViableAltException nvae =
583                                    new NoViableAltException("125:4: (tof= table_of_contents | h= heading | {...}?hn= horizontalrule | lu= list_unord | lo= list_ord | t= table | tp= text_paragraph )", 4, 4, input);
584    
585                                    throw nvae;
586                            }
587                            }
588                            break;
589                            case POUND:
590                            {
591                            alt4=5;
592                            }
593                            break;
594                            case PIPE:
595                            {
596                            alt4=6;
597                            }
598                            break;
599                            case FORCED_END_OF_LINE:
600                            case HEADING_SECTION:
601                            case HORIZONTAL_SECTION:
602                            case LIST_ITEM:
603                            case LIST_ITEM_PART:
604                            case NOWIKI_SECTION:
605                            case SCAPE_NODE:
606                            case TEXT_NODE:
607                            case UNORDERED_LIST:
608                            case UNFORMATTED_TEXT:
609                            case WIKI:
610                            case ITAL:
611                            case LINK_OPEN:
612                            case IMAGE_OPEN:
613                            case NOWIKI_OPEN:
614                            case EXTENSION:
615                            case FORCED_LINEBREAK:
616                            case ESCAPE:
617                            case NOWIKI_BLOCK_CLOSE:
618                            case NOWIKI_CLOSE:
619                            case LINK_CLOSE:
620                            case IMAGE_CLOSE:
621                            case BLANKS:
622                            case CR:
623                            case LF:
624                            case SPACE:
625                            case TABULATOR:
626                            case BRACE_CLOSE:
627                            case COLON_SLASH:
628                            case SLASH:
629                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
630                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
631                            case INSIGNIFICANT_CHAR:
632                            case 44:
633                            case 45:
634                            case 46:
635                            case 47:
636                            case 48:
637                            case 49:
638                            case 50:
639                            case 51:
640                            case 52:
641                            case 53:
642                            case 54:
643                            case 55:
644                            case 56:
645                            case 57:
646                            case 58:
647                            case 59:
648                            case 60:
649                            case 61:
650                            case 62:
651                            case 63:
652                            case 64:
653                            case 65:
654                            case 66:
655                            case 67:
656                            case 68:
657                            case 69:
658                            case 70:
659                            case 71:
660                            case 72:
661                            case 73:
662                            case 74:
663                            case 75:
664                            case 76:
665                            case 77:
666                            case 78:
667                            case 79:
668                            {
669                            alt4=7;
670                            }
671                            break;
672                            default:
673                            if (backtracking>0) {failed=true; return node;}
674                            NoViableAltException nvae =
675                                    new NoViableAltException("125:4: (tof= table_of_contents | h= heading | {...}?hn= horizontalrule | lu= list_unord | lo= list_ord | t= table | tp= text_paragraph )", 4, 0, input);
676    
677                            throw nvae;
678                            }
679    
680                            switch (alt4) {
681                            case 1 :
682                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:125:6: tof= table_of_contents
683                                    {
684                                    pushFollow(FOLLOW_table_of_contents_in_paragraph197);
685                                    tof=table_of_contents();
686                                    _fsp--;
687                                    if (failed) return node;
688                                    if ( backtracking==0 ) {
689                                      node = tof;
690                                    }
691    
692                                    }
693                                    break;
694                            case 2 :
695                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:126:6: h= heading
696                                    {
697                                    pushFollow(FOLLOW_heading_in_paragraph211);
698                                    h=heading();
699                                    _fsp--;
700                                    if (failed) return node;
701                                    if ( backtracking==0 ) {
702                                       node = h;
703                                    }
704    
705                                    }
706                                    break;
707                            case 3 :
708                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:127:6: {...}?hn= horizontalrule
709                                    {
710                                    if ( !( input.LA(1) == DASH && input.LA(2) == DASH &&
711                                                            input.LA(3) == DASH && input.LA(4) == DASH ) ) {
712                                    if (backtracking>0) {failed=true; return node;}
713                                    throw new FailedPredicateException(input, "paragraph", " input.LA(1) == DASH && input.LA(2) == DASH &&\n\t\t\t\tinput.LA(3) == DASH && input.LA(4) == DASH ");
714                                    }
715                                    pushFollow(FOLLOW_horizontalrule_in_paragraph230);
716                                    hn=horizontalrule();
717                                    _fsp--;
718                                    if (failed) return node;
719                                    if ( backtracking==0 ) {
720                                      node = hn;
721                                    }
722    
723                                    }
724                                    break;
725                            case 4 :
726                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:130:6: lu= list_unord
727                                    {
728                                    pushFollow(FOLLOW_list_unord_in_paragraph242);
729                                    lu=list_unord();
730                                    _fsp--;
731                                    if (failed) return node;
732                                    if ( backtracking==0 ) {
733                                      node = lu;
734                                    }
735    
736                                    }
737                                    break;
738                            case 5 :
739                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:131:6: lo= list_ord
740                                    {
741                                    pushFollow(FOLLOW_list_ord_in_paragraph255);
742                                    lo=list_ord();
743                                    _fsp--;
744                                    if (failed) return node;
745                                    if ( backtracking==0 ) {
746                                      node = lo;
747                                    }
748    
749                                    }
750                                    break;
751                            case 6 :
752                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:132:6: t= table
753                                    {
754                                    pushFollow(FOLLOW_table_in_paragraph268);
755                                    t=table();
756                                    _fsp--;
757                                    if (failed) return node;
758                                    if ( backtracking==0 ) {
759                                       node = t; 
760                                    }
761    
762                                    }
763                                    break;
764                            case 7 :
765                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:133:6: tp= text_paragraph
766                                    {
767                                    pushFollow(FOLLOW_text_paragraph_in_paragraph281);
768                                    tp=text_paragraph();
769                                    _fsp--;
770                                    if (failed) return node;
771                                    if ( backtracking==0 ) {
772                                      node = tp; 
773                                    }
774    
775                                    }
776                                    break;
777    
778                            }
779    
780                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:134:7: ( paragraph_separator )?
781                            int alt5=2;
782                            int LA5_0 = input.LA(1);
783    
784                            if ( (LA5_0==NEWLINE) ) {
785                            alt5=1;
786                            }
787                            else if ( (LA5_0==EOF) ) {
788                            int LA5_2 = input.LA(2);
789    
790                            if ( (LA5_2==EOF) ) {
791                                    int LA5_4 = input.LA(3);
792    
793                                    if ( (LA5_4==EOF) ) {
794                                    alt5=1;
795                                    }
796                            }
797                            else if ( ((LA5_2>=FORCED_END_OF_LINE && LA5_2<=WIKI)||(LA5_2>=POUND && LA5_2<=79)) ) {
798                                    alt5=1;
799                            }
800                            }
801                            switch (alt5) {
802                            case 1 :
803                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:134:9: paragraph_separator
804                                    {
805                                    pushFollow(FOLLOW_paragraph_separator_in_paragraph294);
806                                    paragraph_separator();
807                                    _fsp--;
808                                    if (failed) return node;
809    
810                                    }
811                                    break;
812    
813                            }
814    
815    
816                            }
817                            break;
818    
819                    }
820            }
821            catch (RecognitionException re) {
822                    reportError(re);
823                    recover(input,re);
824            }
825            finally {
826            }
827            return node;
828            }
829            // $ANTLR end paragraph
830    
831    
832            // $ANTLR start text_paragraph
833            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:141:1: text_paragraph returns [ ParagraphNode paragraph = new ParagraphNode() ] : (tl= text_line | ( NOWIKI_OPEN ~ ( NEWLINE ) )=>nw= nowiki_inline (te= text_element )* text_lineseparator )+ ;
834            public final ParagraphNode text_paragraph() throws RecognitionException {
835            ParagraphNode paragraph =  new ParagraphNode();
836    
837            LineNode tl = null;
838    
839            NoWikiSectionNode nw = null;
840    
841            ASTNode te = null;
842    
843    
844            try {
845                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:142:2: ( (tl= text_line | ( NOWIKI_OPEN ~ ( NEWLINE ) )=>nw= nowiki_inline (te= text_element )* text_lineseparator )+ )
846                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:142:4: (tl= text_line | ( NOWIKI_OPEN ~ ( NEWLINE ) )=>nw= nowiki_inline (te= text_element )* text_lineseparator )+
847                    {
848                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:142:4: (tl= text_line | ( NOWIKI_OPEN ~ ( NEWLINE ) )=>nw= nowiki_inline (te= text_element )* text_lineseparator )+
849                    int cnt8=0;
850                    loop8:
851                    do {
852                    int alt8=3;
853                    switch ( input.LA(1) ) {
854                    case NOWIKI_OPEN:
855                            {
856                            int LA8_2 = input.LA(2);
857    
858                            if ( (synpred1()) ) {
859                            alt8=2;
860                            }
861    
862    
863                            }
864                            break;
865                    case BLANKS:
866                            {
867                            alt8=1;
868                            }
869                            break;
870                    case TABLE_OF_CONTENTS_TEXT:
871                            {
872                            alt8=1;
873                            }
874                            break;
875                    case DASH:
876                            {
877                            alt8=1;
878                            }
879                            break;
880                    case STAR:
881                            {
882                            int LA8_6 = input.LA(2);
883    
884                            if ( ( input.LA(1) != STAR || (input.LA(1) == STAR && input.LA(2) == STAR) ) ) {
885                            alt8=1;
886                            }
887    
888    
889                            }
890                            break;
891                    case ITAL:
892                            {
893                            int LA8_7 = input.LA(2);
894    
895                            if ( ( input.LA(1) != STAR || (input.LA(1) == STAR && input.LA(2) == STAR) ) ) {
896                            alt8=1;
897                            }
898    
899    
900                            }
901                            break;
902                    case FORCED_END_OF_LINE:
903                    case HEADING_SECTION:
904                    case HORIZONTAL_SECTION:
905                    case LIST_ITEM:
906                    case LIST_ITEM_PART:
907                    case NOWIKI_SECTION:
908                    case SCAPE_NODE:
909                    case TEXT_NODE:
910                    case UNORDERED_LIST:
911                    case UNFORMATTED_TEXT:
912                    case WIKI:
913                    case NOWIKI_BLOCK_CLOSE:
914                    case NOWIKI_CLOSE:
915                    case LINK_CLOSE:
916                    case IMAGE_CLOSE:
917                    case CR:
918                    case LF:
919                    case SPACE:
920                    case TABULATOR:
921                    case BRACE_CLOSE:
922                    case COLON_SLASH:
923                    case SLASH:
924                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
925                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
926                    case INSIGNIFICANT_CHAR:
927                    case 44:
928                    case 45:
929                    case 46:
930                    case 47:
931                    case 48:
932                    case 49:
933                    case 50:
934                    case 51:
935                    case 52:
936                    case 53:
937                    case 54:
938                    case 55:
939                    case 56:
940                    case 57:
941                    case 58:
942                    case 59:
943                    case 60:
944                    case 61:
945                    case 62:
946                    case 63:
947                    case 64:
948                    case 65:
949                    case 66:
950                    case 67:
951                    case 68:
952                    case 69:
953                    case 70:
954                    case 71:
955                    case 72:
956                    case 73:
957                    case 74:
958                    case 75:
959                    case 76:
960                    case 77:
961                    case 78:
962                    case 79:
963                            {
964                            alt8=1;
965                            }
966                            break;
967                    case FORCED_LINEBREAK:
968                            {
969                            alt8=1;
970                            }
971                            break;
972                    case ESCAPE:
973                            {
974                            alt8=1;
975                            }
976                            break;
977                    case LINK_OPEN:
978                            {
979                            alt8=1;
980                            }
981                            break;
982                    case IMAGE_OPEN:
983                            {
984                            alt8=1;
985                            }
986                            break;
987                    case EXTENSION:
988                            {
989                            alt8=1;
990                            }
991                            break;
992    
993                    }
994    
995                    switch (alt8) {
996                    case 1 :
997                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:142:6: tl= text_line
998                            {
999                            pushFollow(FOLLOW_text_line_in_text_paragraph322);
1000                            tl=text_line();
1001                            _fsp--;
1002                            if (failed) return paragraph;
1003                            if ( backtracking==0 ) {
1004                            paragraph.addChildASTNode(tl);  
1005                            }
1006    
1007                            }
1008                            break;
1009                    case 2 :
1010                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:143:5: ( NOWIKI_OPEN ~ ( NEWLINE ) )=>nw= nowiki_inline (te= text_element )* text_lineseparator
1011                            {
1012                            pushFollow(FOLLOW_nowiki_inline_in_text_paragraph354);
1013                            nw=nowiki_inline();
1014                            _fsp--;
1015                            if (failed) return paragraph;
1016                            if ( backtracking==0 ) {
1017                              paragraph.addChildASTNode(nw);
1018                            }
1019                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:144:66: (te= text_element )*
1020                            loop7:
1021                            do {
1022                            int alt7=2;
1023                            int LA7_0 = input.LA(1);
1024    
1025                            if ( ((LA7_0>=FORCED_END_OF_LINE && LA7_0<=WIKI)||(LA7_0>=POUND && LA7_0<=79)) ) {
1026                                    alt7=1;
1027                            }
1028    
1029    
1030                            switch (alt7) {
1031                            case 1 :
1032                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:144:68: te= text_element
1033                                    {
1034                                    pushFollow(FOLLOW_text_element_in_text_paragraph365);
1035                                    te=text_element();
1036                                    _fsp--;
1037                                    if (failed) return paragraph;
1038                                    if ( backtracking==0 ) {
1039                                      paragraph.addChildASTNode(te);
1040                                    }
1041    
1042                                    }
1043                                    break;
1044    
1045                            default :
1046                                    break loop7;
1047                            }
1048                            } while (true);
1049    
1050                            pushFollow(FOLLOW_text_lineseparator_in_text_paragraph374);
1051                            text_lineseparator();
1052                            _fsp--;
1053                            if (failed) return paragraph;
1054    
1055                            }
1056                            break;
1057    
1058                    default :
1059                            if ( cnt8 >= 1 ) break loop8;
1060                            if (backtracking>0) {failed=true; return paragraph;}
1061                            EarlyExitException eee =
1062                                    new EarlyExitException(8, input);
1063                            throw eee;
1064                    }
1065                    cnt8++;
1066                    } while (true);
1067    
1068    
1069                    }
1070    
1071            }
1072            catch (RecognitionException re) {
1073                    reportError(re);
1074                    recover(input,re);
1075            }
1076            finally {
1077            }
1078            return paragraph;
1079            }
1080            // $ANTLR end text_paragraph
1081    
1082    
1083            // $ANTLR start text_line
1084            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:147:1: text_line returns [LineNode line = new LineNode()] : first= text_firstelement (element= text_element )* text_lineseparator ;
1085            public final LineNode text_line() throws RecognitionException {
1086            LineNode line =  new LineNode();
1087    
1088            ASTNode first = null;
1089    
1090            ASTNode element = null;
1091    
1092    
1093            try {
1094                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:148:2: (first= text_firstelement (element= text_element )* text_lineseparator )
1095                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:148:4: first= text_firstelement (element= text_element )* text_lineseparator
1096                    {
1097                    pushFollow(FOLLOW_text_firstelement_in_text_line397);
1098                    first=text_firstelement();
1099                    _fsp--;
1100                    if (failed) return line;
1101                    if ( backtracking==0 ) {
1102    
1103                                                                                            if (first != null) { // recovering from errors
1104                                                                                                    line.addChildASTNode(first);
1105                                                                                            }
1106                                                                                    
1107                    }
1108                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:153:9: (element= text_element )*
1109                    loop9:
1110                    do {
1111                    int alt9=2;
1112                    int LA9_0 = input.LA(1);
1113    
1114                    if ( ((LA9_0>=FORCED_END_OF_LINE && LA9_0<=WIKI)||(LA9_0>=POUND && LA9_0<=79)) ) {
1115                            alt9=1;
1116                    }
1117    
1118    
1119                    switch (alt9) {
1120                    case 1 :
1121                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:153:11: element= text_element
1122                            {
1123                            pushFollow(FOLLOW_text_element_in_text_line416);
1124                            element=text_element();
1125                            _fsp--;
1126                            if (failed) return line;
1127                            if ( backtracking==0 ) {
1128    
1129                                                                                    if(element != null) // recovering from errors
1130                                                                                            line.addChildASTNode(element);
1131                                                                            
1132                            }
1133    
1134                            }
1135                            break;
1136    
1137                    default :
1138                            break loop9;
1139                    }
1140                    } while (true);
1141    
1142                    pushFollow(FOLLOW_text_lineseparator_in_text_line431);
1143                    text_lineseparator();
1144                    _fsp--;
1145                    if (failed) return line;
1146    
1147                    }
1148    
1149            }
1150            catch (RecognitionException re) {
1151                    reportError(re);
1152                    recover(input,re);
1153            }
1154            finally {
1155            }
1156            return line;
1157            }
1158            // $ANTLR end text_line
1159    
1160    
1161            // $ANTLR start text_firstelement
1162            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:159:1: text_firstelement returns [ASTNode item = null] : ({...}?tf= text_formattedelement | tu= text_first_unformattedelement );
1163            public final ASTNode text_firstelement() throws RecognitionException {
1164            ASTNode item =  null;
1165    
1166            FormattedTextNode tf = null;
1167    
1168            ASTNode tu = null;
1169    
1170    
1171            try {
1172                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:160:2: ({...}?tf= text_formattedelement | tu= text_first_unformattedelement )
1173                    int alt10=2;
1174                    int LA10_0 = input.LA(1);
1175    
1176                    if ( (LA10_0==STAR||LA10_0==ITAL) ) {
1177                    alt10=1;
1178                    }
1179                    else if ( ((LA10_0>=FORCED_END_OF_LINE && LA10_0<=WIKI)||(LA10_0>=LINK_OPEN && LA10_0<=IMAGE_OPEN)||(LA10_0>=EXTENSION && LA10_0<=79)) ) {
1180                    alt10=2;
1181                    }
1182                    else {
1183                    if (backtracking>0) {failed=true; return item;}
1184                    NoViableAltException nvae =
1185                            new NoViableAltException("159:1: text_firstelement returns [ASTNode item = null] : ({...}?tf= text_formattedelement | tu= text_first_unformattedelement );", 10, 0, input);
1186    
1187                    throw nvae;
1188                    }
1189                    switch (alt10) {
1190                    case 1 :
1191                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:160:4: {...}?tf= text_formattedelement
1192                            {
1193                            if ( !( input.LA(1) != STAR || (input.LA(1) == STAR && input.LA(2) == STAR) ) ) {
1194                            if (backtracking>0) {failed=true; return item;}
1195                            throw new FailedPredicateException(input, "text_firstelement", " input.LA(1) != STAR || (input.LA(1) == STAR && input.LA(2) == STAR) ");
1196                            }
1197                            pushFollow(FOLLOW_text_formattedelement_in_text_firstelement453);
1198                            tf=text_formattedelement();
1199                            _fsp--;
1200                            if (failed) return item;
1201                            if ( backtracking==0 ) {
1202                               item = tf; 
1203                            }
1204    
1205                            }
1206                            break;
1207                    case 2 :
1208                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:162:4: tu= text_first_unformattedelement
1209                            {
1210                            pushFollow(FOLLOW_text_first_unformattedelement_in_text_firstelement464);
1211                            tu=text_first_unformattedelement();
1212                            _fsp--;
1213                            if (failed) return item;
1214                            if ( backtracking==0 ) {
1215                               item = tu; 
1216                            }
1217    
1218                            }
1219                            break;
1220    
1221                    }
1222            }
1223            catch (RecognitionException re) {
1224                    reportError(re);
1225                    recover(input,re);
1226            }
1227            finally {
1228            }
1229            return item;
1230            }
1231            // $ANTLR end text_firstelement
1232    
1233    
1234            // $ANTLR start text_formattedelement
1235            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:164:1: text_formattedelement returns [FormattedTextNode item = null] : ( ital_markup ic= text_italcontent ( ( NEWLINE )? ital_markup )? | bold_markup bc= text_boldcontent ( ( NEWLINE )? bold_markup )? );
1236            public final FormattedTextNode text_formattedelement() throws RecognitionException {
1237            FormattedTextNode item =  null;
1238    
1239            CollectionNode ic = null;
1240    
1241            CollectionNode bc = null;
1242    
1243    
1244            try {
1245                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:165:2: ( ital_markup ic= text_italcontent ( ( NEWLINE )? ital_markup )? | bold_markup bc= text_boldcontent ( ( NEWLINE )? bold_markup )? )
1246                    int alt15=2;
1247                    int LA15_0 = input.LA(1);
1248    
1249                    if ( (LA15_0==ITAL) ) {
1250                    alt15=1;
1251                    }
1252                    else if ( (LA15_0==STAR) ) {
1253                    alt15=2;
1254                    }
1255                    else {
1256                    if (backtracking>0) {failed=true; return item;}
1257                    NoViableAltException nvae =
1258                            new NoViableAltException("164:1: text_formattedelement returns [FormattedTextNode item = null] : ( ital_markup ic= text_italcontent ( ( NEWLINE )? ital_markup )? | bold_markup bc= text_boldcontent ( ( NEWLINE )? bold_markup )? );", 15, 0, input);
1259    
1260                    throw nvae;
1261                    }
1262                    switch (alt15) {
1263                    case 1 :
1264                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:165:4: ital_markup ic= text_italcontent ( ( NEWLINE )? ital_markup )?
1265                            {
1266                            pushFollow(FOLLOW_ital_markup_in_text_formattedelement480);
1267                            ital_markup();
1268                            _fsp--;
1269                            if (failed) return item;
1270                            pushFollow(FOLLOW_text_italcontent_in_text_formattedelement486);
1271                            ic=text_italcontent();
1272                            _fsp--;
1273                            if (failed) return item;
1274                            if ( backtracking==0 ) {
1275                               item = new ItalicTextNode(ic); 
1276                            }
1277                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:165:81: ( ( NEWLINE )? ital_markup )?
1278                            int alt12=2;
1279                            int LA12_0 = input.LA(1);
1280    
1281                            if ( (LA12_0==NEWLINE) ) {
1282                            int LA12_1 = input.LA(2);
1283    
1284                            if ( (LA12_1==ITAL) ) {
1285                                    alt12=1;
1286                            }
1287                            }
1288                            else if ( (LA12_0==ITAL) ) {
1289                            alt12=1;
1290                            }
1291                            switch (alt12) {
1292                            case 1 :
1293                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:165:83: ( NEWLINE )? ital_markup
1294                                    {
1295                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:165:83: ( NEWLINE )?
1296                                    int alt11=2;
1297                                    int LA11_0 = input.LA(1);
1298    
1299                                    if ( (LA11_0==NEWLINE) ) {
1300                                    alt11=1;
1301                                    }
1302                                    switch (alt11) {
1303                                    case 1 :
1304                                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:165:85: NEWLINE
1305                                            {
1306                                            match(input,NEWLINE,FOLLOW_NEWLINE_in_text_formattedelement495); if (failed) return item;
1307    
1308                                            }
1309                                            break;
1310    
1311                                    }
1312    
1313                                    pushFollow(FOLLOW_ital_markup_in_text_formattedelement501);
1314                                    ital_markup();
1315                                    _fsp--;
1316                                    if (failed) return item;
1317    
1318                                    }
1319                                    break;
1320    
1321                            }
1322    
1323    
1324                            }
1325                            break;
1326                    case 2 :
1327                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:166:4: bold_markup bc= text_boldcontent ( ( NEWLINE )? bold_markup )?
1328                            {
1329                            pushFollow(FOLLOW_bold_markup_in_text_formattedelement509);
1330                            bold_markup();
1331                            _fsp--;
1332                            if (failed) return item;
1333                            pushFollow(FOLLOW_text_boldcontent_in_text_formattedelement516);
1334                            bc=text_boldcontent();
1335                            _fsp--;
1336                            if (failed) return item;
1337                            if ( backtracking==0 ) {
1338                              item = new BoldTextNode(bc); 
1339                            }
1340                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:166:79: ( ( NEWLINE )? bold_markup )?
1341                            int alt14=2;
1342                            int LA14_0 = input.LA(1);
1343    
1344                            if ( (LA14_0==NEWLINE) ) {
1345                            int LA14_1 = input.LA(2);
1346    
1347                            if ( (LA14_1==STAR) ) {
1348                                    int LA14_4 = input.LA(3);
1349    
1350                                    if ( (LA14_4==STAR) ) {
1351                                    alt14=1;
1352                                    }
1353                            }
1354                            }
1355                            else if ( (LA14_0==STAR) ) {
1356                            int LA14_2 = input.LA(2);
1357    
1358                            if ( (LA14_2==STAR) ) {
1359                                    alt14=1;
1360                            }
1361                            }
1362                            switch (alt14) {
1363                            case 1 :
1364                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:166:81: ( NEWLINE )? bold_markup
1365                                    {
1366                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:166:81: ( NEWLINE )?
1367                                    int alt13=2;
1368                                    int LA13_0 = input.LA(1);
1369    
1370                                    if ( (LA13_0==NEWLINE) ) {
1371                                    alt13=1;
1372                                    }
1373                                    switch (alt13) {
1374                                    case 1 :
1375                                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:166:83: NEWLINE
1376                                            {
1377                                            match(input,NEWLINE,FOLLOW_NEWLINE_in_text_formattedelement525); if (failed) return item;
1378    
1379                                            }
1380                                            break;
1381    
1382                                    }
1383    
1384                                    pushFollow(FOLLOW_bold_markup_in_text_formattedelement531);
1385                                    bold_markup();
1386                                    _fsp--;
1387                                    if (failed) return item;
1388    
1389                                    }
1390                                    break;
1391    
1392                            }
1393    
1394    
1395                            }
1396                            break;
1397    
1398                    }
1399            }
1400            catch (RecognitionException re) {
1401                    reportError(re);
1402                    recover(input,re);
1403            }
1404            finally {
1405            }
1406            return item;
1407            }
1408            // $ANTLR end text_formattedelement
1409    
1410    
1411            // $ANTLR start text_boldcontent
1412            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:168:1: text_boldcontent returns [ CollectionNode text = new CollectionNode() ] : ( ( NEWLINE )? (p= text_boldcontentpart )* | EOF );
1413            public final CollectionNode text_boldcontent() throws RecognitionException {
1414            CollectionNode text =  new CollectionNode();
1415    
1416            FormattedTextNode p = null;
1417    
1418    
1419            try {
1420                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:169:2: ( ( NEWLINE )? (p= text_boldcontentpart )* | EOF )
1421                    int alt18=2;
1422                    int LA18_0 = input.LA(1);
1423    
1424                    if ( ((LA18_0>=FORCED_END_OF_LINE && LA18_0<=79)) ) {
1425                    alt18=1;
1426                    }
1427                    else if ( (LA18_0==EOF) ) {
1428                    alt18=1;
1429                    }
1430                    else {
1431                    if (backtracking>0) {failed=true; return text;}
1432                    NoViableAltException nvae =
1433                            new NoViableAltException("168:1: text_boldcontent returns [ CollectionNode text = new CollectionNode() ] : ( ( NEWLINE )? (p= text_boldcontentpart )* | EOF );", 18, 0, input);
1434    
1435                    throw nvae;
1436                    }
1437                    switch (alt18) {
1438                    case 1 :
1439                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:169:4: ( NEWLINE )? (p= text_boldcontentpart )*
1440                            {
1441                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:169:4: ( NEWLINE )?
1442                            int alt16=2;
1443                            int LA16_0 = input.LA(1);
1444    
1445                            if ( (LA16_0==NEWLINE) ) {
1446                            alt16=1;
1447                            }
1448                            switch (alt16) {
1449                            case 1 :
1450                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:169:6: NEWLINE
1451                                    {
1452                                    match(input,NEWLINE,FOLLOW_NEWLINE_in_text_boldcontent550); if (failed) return text;
1453    
1454                                    }
1455                                    break;
1456    
1457                            }
1458    
1459                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:169:18: (p= text_boldcontentpart )*
1460                            loop17:
1461                            do {
1462                            int alt17=2;
1463                            switch ( input.LA(1) ) {
1464                            case STAR:
1465                                    {
1466                                    int LA17_2 = input.LA(2);
1467    
1468                                    if ( ( input.LA(2) != STAR ) ) {
1469                                    alt17=1;
1470                                    }
1471    
1472    
1473                                    }
1474                                    break;
1475                            case FORCED_END_OF_LINE:
1476                            case HEADING_SECTION:
1477                            case HORIZONTAL_SECTION:
1478                            case LIST_ITEM:
1479                            case LIST_ITEM_PART:
1480                            case NOWIKI_SECTION:
1481                            case SCAPE_NODE:
1482                            case TEXT_NODE:
1483                            case UNORDERED_LIST:
1484                            case UNFORMATTED_TEXT:
1485                            case WIKI:
1486                            case POUND:
1487                            case EQUAL:
1488                            case PIPE:
1489                            case NOWIKI_BLOCK_CLOSE:
1490                            case NOWIKI_CLOSE:
1491                            case LINK_CLOSE:
1492                            case IMAGE_CLOSE:
1493                            case BLANKS:
1494                            case TABLE_OF_CONTENTS_TEXT:
1495                            case DASH:
1496                            case CR:
1497                            case LF:
1498                            case SPACE:
1499                            case TABULATOR:
1500                            case BRACE_CLOSE:
1501                            case COLON_SLASH:
1502                            case SLASH:
1503                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
1504                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
1505                            case INSIGNIFICANT_CHAR:
1506                            case 44:
1507                            case 45:
1508                            case 46:
1509                            case 47:
1510                            case 48:
1511                            case 49:
1512                            case 50:
1513                            case 51:
1514                            case 52:
1515                            case 53:
1516                            case 54:
1517                            case 55:
1518                            case 56:
1519                            case 57:
1520                            case 58:
1521                            case 59:
1522                            case 60:
1523                            case 61:
1524                            case 62:
1525                            case 63:
1526                            case 64:
1527                            case 65:
1528                            case 66:
1529                            case 67:
1530                            case 68:
1531                            case 69:
1532                            case 70:
1533                            case 71:
1534                            case 72:
1535                            case 73:
1536                            case 74:
1537                            case 75:
1538                            case 76:
1539                            case 77:
1540                            case 78:
1541                            case 79:
1542                                    {
1543                                    alt17=1;
1544                                    }
1545                                    break;
1546                            case FORCED_LINEBREAK:
1547                                    {
1548                                    alt17=1;
1549                                    }
1550                                    break;
1551                            case ESCAPE:
1552                                    {
1553                                    alt17=1;
1554                                    }
1555                                    break;
1556                            case LINK_OPEN:
1557                                    {
1558                                    alt17=1;
1559                                    }
1560                                    break;
1561                            case IMAGE_OPEN:
1562                                    {
1563                                    alt17=1;
1564                                    }
1565                                    break;
1566                            case EXTENSION:
1567                                    {
1568                                    alt17=1;
1569                                    }
1570                                    break;
1571                            case NOWIKI_OPEN:
1572                                    {
1573                                    alt17=1;
1574                                    }
1575                                    break;
1576                            case ITAL:
1577                                    {
1578                                    alt17=1;
1579                                    }
1580                                    break;
1581    
1582                            }
1583    
1584                            switch (alt17) {
1585                            case 1 :
1586                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:169:20: p= text_boldcontentpart
1587                                    {
1588                                    pushFollow(FOLLOW_text_boldcontentpart_in_text_boldcontent562);
1589                                    p=text_boldcontentpart();
1590                                    _fsp--;
1591                                    if (failed) return text;
1592                                    if ( backtracking==0 ) {
1593                                       text.add(p); 
1594                                    }
1595    
1596                                    }
1597                                    break;
1598    
1599                            default :
1600                                    break loop17;
1601                            }
1602                            } while (true);
1603    
1604    
1605                            }
1606                            break;
1607                    case 2 :
1608                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:170:4: EOF
1609                            {
1610                            match(input,EOF,FOLLOW_EOF_in_text_boldcontent573); if (failed) return text;
1611    
1612                            }
1613                            break;
1614    
1615                    }
1616            }
1617            catch (RecognitionException re) {
1618                    reportError(re);
1619                    recover(input,re);
1620            }
1621            finally {
1622            }
1623            return text;
1624            }
1625            // $ANTLR end text_boldcontent
1626    
1627    
1628            // $ANTLR start text_italcontent
1629            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:172:1: text_italcontent returns [ CollectionNode text = new CollectionNode() ] : ( ( NEWLINE )? (p= text_italcontentpart )* | EOF );
1630            public final CollectionNode text_italcontent() throws RecognitionException {
1631            CollectionNode text =  new CollectionNode();
1632    
1633            FormattedTextNode p = null;
1634    
1635    
1636            try {
1637                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:173:2: ( ( NEWLINE )? (p= text_italcontentpart )* | EOF )
1638                    int alt21=2;
1639                    int LA21_0 = input.LA(1);
1640    
1641                    if ( ((LA21_0>=FORCED_END_OF_LINE && LA21_0<=79)) ) {
1642                    alt21=1;
1643                    }
1644                    else if ( (LA21_0==EOF) ) {
1645                    alt21=1;
1646                    }
1647                    else {
1648                    if (backtracking>0) {failed=true; return text;}
1649                    NoViableAltException nvae =
1650                            new NoViableAltException("172:1: text_italcontent returns [ CollectionNode text = new CollectionNode() ] : ( ( NEWLINE )? (p= text_italcontentpart )* | EOF );", 21, 0, input);
1651    
1652                    throw nvae;
1653                    }
1654                    switch (alt21) {
1655                    case 1 :
1656                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:173:4: ( NEWLINE )? (p= text_italcontentpart )*
1657                            {
1658                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:173:4: ( NEWLINE )?
1659                            int alt19=2;
1660                            int LA19_0 = input.LA(1);
1661    
1662                            if ( (LA19_0==NEWLINE) ) {
1663                            alt19=1;
1664                            }
1665                            switch (alt19) {
1666                            case 1 :
1667                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:173:6: NEWLINE
1668                                    {
1669                                    match(input,NEWLINE,FOLLOW_NEWLINE_in_text_italcontent589); if (failed) return text;
1670    
1671                                    }
1672                                    break;
1673    
1674                            }
1675    
1676                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:173:18: (p= text_italcontentpart )*
1677                            loop20:
1678                            do {
1679                            int alt20=2;
1680                            switch ( input.LA(1) ) {
1681                            case STAR:
1682                                    {
1683                                    alt20=1;
1684                                    }
1685                                    break;
1686                            case FORCED_END_OF_LINE:
1687                            case HEADING_SECTION:
1688                            case HORIZONTAL_SECTION:
1689                            case LIST_ITEM:
1690                            case LIST_ITEM_PART:
1691                            case NOWIKI_SECTION:
1692                            case SCAPE_NODE:
1693                            case TEXT_NODE:
1694                            case UNORDERED_LIST:
1695                            case UNFORMATTED_TEXT:
1696                            case WIKI:
1697                            case POUND:
1698                            case EQUAL:
1699                            case PIPE:
1700                            case NOWIKI_BLOCK_CLOSE:
1701                            case NOWIKI_CLOSE:
1702                            case LINK_CLOSE:
1703                            case IMAGE_CLOSE:
1704                            case BLANKS:
1705                            case TABLE_OF_CONTENTS_TEXT:
1706                            case DASH:
1707                            case CR:
1708                            case LF:
1709                            case SPACE:
1710                            case TABULATOR:
1711                            case BRACE_CLOSE:
1712                            case COLON_SLASH:
1713                            case SLASH:
1714                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
1715                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
1716                            case INSIGNIFICANT_CHAR:
1717                            case 44:
1718                            case 45:
1719                            case 46:
1720                            case 47:
1721                            case 48:
1722                            case 49:
1723                            case 50:
1724                            case 51:
1725                            case 52:
1726                            case 53:
1727                            case 54:
1728                            case 55:
1729                            case 56:
1730                            case 57:
1731                            case 58:
1732                            case 59:
1733                            case 60:
1734                            case 61:
1735                            case 62:
1736                            case 63:
1737                            case 64:
1738                            case 65:
1739                            case 66:
1740                            case 67:
1741                            case 68:
1742                            case 69:
1743                            case 70:
1744                            case 71:
1745                            case 72:
1746                            case 73:
1747                            case 74:
1748                            case 75:
1749                            case 76:
1750                            case 77:
1751                            case 78:
1752                            case 79:
1753                                    {
1754                                    alt20=1;
1755                                    }
1756                                    break;
1757                            case FORCED_LINEBREAK:
1758                                    {
1759                                    alt20=1;
1760                                    }
1761                                    break;
1762                            case ESCAPE:
1763                                    {
1764                                    alt20=1;
1765                                    }
1766                                    break;
1767                            case LINK_OPEN:
1768                                    {
1769                                    alt20=1;
1770                                    }
1771                                    break;
1772                            case IMAGE_OPEN:
1773                                    {
1774                                    alt20=1;
1775                                    }
1776                                    break;
1777                            case EXTENSION:
1778                                    {
1779                                    alt20=1;
1780                                    }
1781                                    break;
1782                            case NOWIKI_OPEN:
1783                                    {
1784                                    alt20=1;
1785                                    }
1786                                    break;
1787    
1788                            }
1789    
1790                            switch (alt20) {
1791                            case 1 :
1792                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:173:20: p= text_italcontentpart
1793                                    {
1794                                    pushFollow(FOLLOW_text_italcontentpart_in_text_italcontent601);
1795                                    p=text_italcontentpart();
1796                                    _fsp--;
1797                                    if (failed) return text;
1798                                    if ( backtracking==0 ) {
1799                                       text.add(p); 
1800                                    }
1801    
1802                                    }
1803                                    break;
1804    
1805                            default :
1806                                    break loop20;
1807                            }
1808                            } while (true);
1809    
1810    
1811                            }
1812                            break;
1813                    case 2 :
1814                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:174:4: EOF
1815                            {
1816                            match(input,EOF,FOLLOW_EOF_in_text_italcontent612); if (failed) return text;
1817    
1818                            }
1819                            break;
1820    
1821                    }
1822            }
1823            catch (RecognitionException re) {
1824                    reportError(re);
1825                    recover(input,re);
1826            }
1827            finally {
1828            }
1829            return text;
1830            }
1831            // $ANTLR end text_italcontent
1832    
1833    
1834            // $ANTLR start text_element
1835            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:176:1: text_element returns [ASTNode item = null] : ( onestar tu1= text_unformattedelement | tu2= text_unformattedelement onestar | tf= text_formattedelement );
1836            public final ASTNode text_element() throws RecognitionException {
1837            ASTNode item =  null;
1838    
1839            ASTNode tu1 = null;
1840    
1841            ASTNode tu2 = null;
1842    
1843            FormattedTextNode tf = null;
1844    
1845    
1846            try {
1847                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:177:2: ( onestar tu1= text_unformattedelement | tu2= text_unformattedelement onestar | tf= text_formattedelement )
1848                    int alt22=3;
1849                    switch ( input.LA(1) ) {
1850                    case STAR:
1851                    {
1852                    int LA22_1 = input.LA(2);
1853    
1854                    if ( ( input.LA(2) != STAR ) ) {
1855                            alt22=1;
1856                    }
1857                    else if ( (true) ) {
1858                            alt22=3;
1859                    }
1860                    else {
1861                            if (backtracking>0) {failed=true; return item;}
1862                            NoViableAltException nvae =
1863                            new NoViableAltException("176:1: text_element returns [ASTNode item = null] : ( onestar tu1= text_unformattedelement | tu2= text_unformattedelement onestar | tf= text_formattedelement );", 22, 1, input);
1864    
1865                            throw nvae;
1866                    }
1867                    }
1868                    break;
1869                    case FORCED_END_OF_LINE:
1870                    case HEADING_SECTION:
1871                    case HORIZONTAL_SECTION:
1872                    case LIST_ITEM:
1873                    case LIST_ITEM_PART:
1874                    case NOWIKI_SECTION:
1875                    case SCAPE_NODE:
1876                    case TEXT_NODE:
1877                    case UNORDERED_LIST:
1878                    case UNFORMATTED_TEXT:
1879                    case WIKI:
1880                    case POUND:
1881                    case EQUAL:
1882                    case PIPE:
1883                    case NOWIKI_BLOCK_CLOSE:
1884                    case NOWIKI_CLOSE:
1885                    case LINK_CLOSE:
1886                    case IMAGE_CLOSE:
1887                    case BLANKS:
1888                    case TABLE_OF_CONTENTS_TEXT:
1889                    case DASH:
1890                    case CR:
1891                    case LF:
1892                    case SPACE:
1893                    case TABULATOR:
1894                    case BRACE_CLOSE:
1895                    case COLON_SLASH:
1896                    case SLASH:
1897                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
1898                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
1899                    case INSIGNIFICANT_CHAR:
1900                    case 44:
1901                    case 45:
1902                    case 46:
1903                    case 47:
1904                    case 48:
1905                    case 49:
1906                    case 50:
1907                    case 51:
1908                    case 52:
1909                    case 53:
1910                    case 54:
1911                    case 55:
1912                    case 56:
1913                    case 57:
1914                    case 58:
1915                    case 59:
1916                    case 60:
1917                    case 61:
1918                    case 62:
1919                    case 63:
1920                    case 64:
1921                    case 65:
1922                    case 66:
1923                    case 67:
1924                    case 68:
1925                    case 69:
1926                    case 70:
1927                    case 71:
1928                    case 72:
1929                    case 73:
1930                    case 74:
1931                    case 75:
1932                    case 76:
1933                    case 77:
1934                    case 78:
1935                    case 79:
1936                    {
1937                    alt22=1;
1938                    }
1939                    break;
1940                    case FORCED_LINEBREAK:
1941                    {
1942                    alt22=1;
1943                    }
1944                    break;
1945                    case ESCAPE:
1946                    {
1947                    alt22=1;
1948                    }
1949                    break;
1950                    case LINK_OPEN:
1951                    {
1952                    alt22=1;
1953                    }
1954                    break;
1955                    case IMAGE_OPEN:
1956                    {
1957                    alt22=1;
1958                    }
1959                    break;
1960                    case EXTENSION:
1961                    {
1962                    alt22=1;
1963                    }
1964                    break;
1965                    case NOWIKI_OPEN:
1966                    {
1967                    alt22=1;
1968                    }
1969                    break;
1970                    case ITAL:
1971                    {
1972                    alt22=3;
1973                    }
1974                    break;
1975                    default:
1976                    if (backtracking>0) {failed=true; return item;}
1977                    NoViableAltException nvae =
1978                            new NoViableAltException("176:1: text_element returns [ASTNode item = null] : ( onestar tu1= text_unformattedelement | tu2= text_unformattedelement onestar | tf= text_formattedelement );", 22, 0, input);
1979    
1980                    throw nvae;
1981                    }
1982    
1983                    switch (alt22) {
1984                    case 1 :
1985                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:177:4: onestar tu1= text_unformattedelement
1986                            {
1987                            pushFollow(FOLLOW_onestar_in_text_element627);
1988                            onestar();
1989                            _fsp--;
1990                            if (failed) return item;
1991                            pushFollow(FOLLOW_text_unformattedelement_in_text_element634);
1992                            tu1=text_unformattedelement();
1993                            _fsp--;
1994                            if (failed) return item;
1995                            if ( backtracking==0 ) {
1996                               item = tu1; 
1997                            }
1998    
1999                            }
2000                            break;
2001                    case 2 :
2002                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:178:4: tu2= text_unformattedelement onestar
2003                            {
2004                            pushFollow(FOLLOW_text_unformattedelement_in_text_element645);
2005                            tu2=text_unformattedelement();
2006                            _fsp--;
2007                            if (failed) return item;
2008                            pushFollow(FOLLOW_onestar_in_text_element648);
2009                            onestar();
2010                            _fsp--;
2011                            if (failed) return item;
2012                            if ( backtracking==0 ) {
2013                               item = tu2; 
2014                            }
2015    
2016                            }
2017                            break;
2018                    case 3 :
2019                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:179:4: tf= text_formattedelement
2020                            {
2021                            pushFollow(FOLLOW_text_formattedelement_in_text_element659);
2022                            tf=text_formattedelement();
2023                            _fsp--;
2024                            if (failed) return item;
2025                            if ( backtracking==0 ) {
2026                               item = tf; 
2027                            }
2028    
2029                            }
2030                            break;
2031    
2032                    }
2033            }
2034            catch (RecognitionException re) {
2035                    reportError(re);
2036                    recover(input,re);
2037            }
2038            finally {
2039            }
2040            return item;
2041            }
2042            // $ANTLR end text_element
2043    
2044    
2045            // $ANTLR start text_boldcontentpart
2046            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:182:1: text_boldcontentpart returns [FormattedTextNode node = null] : ( ital_markup t= text_bolditalcontent ( ital_markup )? | tf= text_formattedcontent );
2047            public final FormattedTextNode text_boldcontentpart() throws RecognitionException {
2048            FormattedTextNode node =  null;
2049    
2050            ASTNode t = null;
2051    
2052            CollectionNode tf = null;
2053    
2054    
2055            try {
2056                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:183:2: ( ital_markup t= text_bolditalcontent ( ital_markup )? | tf= text_formattedcontent )
2057                    int alt24=2;
2058                    int LA24_0 = input.LA(1);
2059    
2060                    if ( (LA24_0==ITAL) ) {
2061                    alt24=1;
2062                    }
2063                    else if ( ((LA24_0>=FORCED_END_OF_LINE && LA24_0<=WIKI)||(LA24_0>=POUND && LA24_0<=PIPE)||(LA24_0>=LINK_OPEN && LA24_0<=79)) ) {
2064                    alt24=2;
2065                    }
2066                    else {
2067                    if (backtracking>0) {failed=true; return node;}
2068                    NoViableAltException nvae =
2069                            new NoViableAltException("182:1: text_boldcontentpart returns [FormattedTextNode node = null] : ( ital_markup t= text_bolditalcontent ( ital_markup )? | tf= text_formattedcontent );", 24, 0, input);
2070    
2071                    throw nvae;
2072                    }
2073                    switch (alt24) {
2074                    case 1 :
2075                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:183:4: ital_markup t= text_bolditalcontent ( ital_markup )?
2076                            {
2077                            pushFollow(FOLLOW_ital_markup_in_text_boldcontentpart676);
2078                            ital_markup();
2079                            _fsp--;
2080                            if (failed) return node;
2081                            pushFollow(FOLLOW_text_bolditalcontent_in_text_boldcontentpart683);
2082                            t=text_bolditalcontent();
2083                            _fsp--;
2084                            if (failed) return node;
2085                            if ( backtracking==0 ) {
2086                              node = new ItalicTextNode(t); 
2087                            }
2088                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:183:84: ( ital_markup )?
2089                            int alt23=2;
2090                            int LA23_0 = input.LA(1);
2091    
2092                            if ( (LA23_0==ITAL) ) {
2093                            alt23=1;
2094                            }
2095                            switch (alt23) {
2096                            case 1 :
2097                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:183:86: ital_markup
2098                                    {
2099                                    pushFollow(FOLLOW_ital_markup_in_text_boldcontentpart690);
2100                                    ital_markup();
2101                                    _fsp--;
2102                                    if (failed) return node;
2103    
2104                                    }
2105                                    break;
2106    
2107                            }
2108    
2109    
2110                            }
2111                            break;
2112                    case 2 :
2113                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:184:4: tf= text_formattedcontent
2114                            {
2115                            pushFollow(FOLLOW_text_formattedcontent_in_text_boldcontentpart702);
2116                            tf=text_formattedcontent();
2117                            _fsp--;
2118                            if (failed) return node;
2119                            if ( backtracking==0 ) {
2120                              node = new FormattedTextNode(tf); 
2121                            }
2122    
2123                            }
2124                            break;
2125    
2126                    }
2127            }
2128            catch (RecognitionException re) {
2129                    reportError(re);
2130                    recover(input,re);
2131            }
2132            finally {
2133            }
2134            return node;
2135            }
2136            // $ANTLR end text_boldcontentpart
2137    
2138    
2139            // $ANTLR start text_italcontentpart
2140            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:186:1: text_italcontentpart returns [FormattedTextNode node = null] : ( bold_markup t= text_bolditalcontent ( bold_markup )? | tf= text_formattedcontent );
2141            public final FormattedTextNode text_italcontentpart() throws RecognitionException {
2142            FormattedTextNode node =  null;
2143    
2144            ASTNode t = null;
2145    
2146            CollectionNode tf = null;
2147    
2148    
2149            try {
2150                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:187:2: ( bold_markup t= text_bolditalcontent ( bold_markup )? | tf= text_formattedcontent )
2151                    int alt26=2;
2152                    int LA26_0 = input.LA(1);
2153    
2154                    if ( (LA26_0==STAR) ) {
2155                    int LA26_1 = input.LA(2);
2156    
2157                    if ( (LA26_1==STAR) ) {
2158                            alt26=1;
2159                    }
2160                    else if ( ((LA26_1>=FORCED_END_OF_LINE && LA26_1<=WIKI)||LA26_1==POUND||(LA26_1>=EQUAL && LA26_1<=PIPE)||(LA26_1>=LINK_OPEN && LA26_1<=79)) ) {
2161                            alt26=2;
2162                    }
2163                    else {
2164                            if (backtracking>0) {failed=true; return node;}
2165                            NoViableAltException nvae =
2166                            new NoViableAltException("186:1: text_italcontentpart returns [FormattedTextNode node = null] : ( bold_markup t= text_bolditalcontent ( bold_markup )? | tf= text_formattedcontent );", 26, 1, input);
2167    
2168                            throw nvae;
2169                    }
2170                    }
2171                    else if ( ((LA26_0>=FORCED_END_OF_LINE && LA26_0<=WIKI)||LA26_0==POUND||(LA26_0>=EQUAL && LA26_0<=PIPE)||(LA26_0>=LINK_OPEN && LA26_0<=79)) ) {
2172                    alt26=2;
2173                    }
2174                    else {
2175                    if (backtracking>0) {failed=true; return node;}
2176                    NoViableAltException nvae =
2177                            new NoViableAltException("186:1: text_italcontentpart returns [FormattedTextNode node = null] : ( bold_markup t= text_bolditalcontent ( bold_markup )? | tf= text_formattedcontent );", 26, 0, input);
2178    
2179                    throw nvae;
2180                    }
2181                    switch (alt26) {
2182                    case 1 :
2183                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:187:4: bold_markup t= text_bolditalcontent ( bold_markup )?
2184                            {
2185                            pushFollow(FOLLOW_bold_markup_in_text_italcontentpart718);
2186                            bold_markup();
2187                            _fsp--;
2188                            if (failed) return node;
2189                            pushFollow(FOLLOW_text_bolditalcontent_in_text_italcontentpart725);
2190                            t=text_bolditalcontent();
2191                            _fsp--;
2192                            if (failed) return node;
2193                            if ( backtracking==0 ) {
2194                               node = new BoldTextNode(t); 
2195                            }
2196                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:187:82: ( bold_markup )?
2197                            int alt25=2;
2198                            int LA25_0 = input.LA(1);
2199    
2200                            if ( (LA25_0==STAR) ) {
2201                            int LA25_1 = input.LA(2);
2202    
2203                            if ( (LA25_1==STAR) ) {
2204                                    alt25=1;
2205                            }
2206                            }
2207                            switch (alt25) {
2208                            case 1 :
2209                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:187:84: bold_markup
2210                                    {
2211                                    pushFollow(FOLLOW_bold_markup_in_text_italcontentpart731);
2212                                    bold_markup();
2213                                    _fsp--;
2214                                    if (failed) return node;
2215    
2216                                    }
2217                                    break;
2218    
2219                            }
2220    
2221    
2222                            }
2223                            break;
2224                    case 2 :
2225                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:188:4: tf= text_formattedcontent
2226                            {
2227                            pushFollow(FOLLOW_text_formattedcontent_in_text_italcontentpart743);
2228                            tf=text_formattedcontent();
2229                            _fsp--;
2230                            if (failed) return node;
2231                            if ( backtracking==0 ) {
2232                              node = new FormattedTextNode(tf); 
2233                            }
2234    
2235                            }
2236                            break;
2237    
2238                    }
2239            }
2240            catch (RecognitionException re) {
2241                    reportError(re);
2242                    recover(input,re);
2243            }
2244            finally {
2245            }
2246            return node;
2247            }
2248            // $ANTLR end text_italcontentpart
2249    
2250    
2251            // $ANTLR start text_bolditalcontent
2252            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:190:1: text_bolditalcontent returns [ASTNode items = null] : ( ( NEWLINE )? (tf= text_formattedcontent )? | EOF );
2253            public final ASTNode text_bolditalcontent() throws RecognitionException {
2254            ASTNode items =  null;
2255    
2256            CollectionNode tf = null;
2257    
2258    
2259            try {
2260                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:191:2: ( ( NEWLINE )? (tf= text_formattedcontent )? | EOF )
2261                    int alt29=2;
2262                    int LA29_0 = input.LA(1);
2263    
2264                    if ( ((LA29_0>=FORCED_END_OF_LINE && LA29_0<=79)) ) {
2265                    alt29=1;
2266                    }
2267                    else if ( (LA29_0==EOF) ) {
2268                    alt29=1;
2269                    }
2270                    else {
2271                    if (backtracking>0) {failed=true; return items;}
2272                    NoViableAltException nvae =
2273                            new NoViableAltException("190:1: text_bolditalcontent returns [ASTNode items = null] : ( ( NEWLINE )? (tf= text_formattedcontent )? | EOF );", 29, 0, input);
2274    
2275                    throw nvae;
2276                    }
2277                    switch (alt29) {
2278                    case 1 :
2279                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:191:4: ( NEWLINE )? (tf= text_formattedcontent )?
2280                            {
2281                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:191:4: ( NEWLINE )?
2282                            int alt27=2;
2283                            int LA27_0 = input.LA(1);
2284    
2285                            if ( (LA27_0==NEWLINE) ) {
2286                            alt27=1;
2287                            }
2288                            switch (alt27) {
2289                            case 1 :
2290                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:191:6: NEWLINE
2291                                    {
2292                                    match(input,NEWLINE,FOLLOW_NEWLINE_in_text_bolditalcontent761); if (failed) return items;
2293    
2294                                    }
2295                                    break;
2296    
2297                            }
2298    
2299                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:191:18: (tf= text_formattedcontent )?
2300                            int alt28=2;
2301                            switch ( input.LA(1) ) {
2302                            case STAR:
2303                                    {
2304                                    int LA28_1 = input.LA(2);
2305    
2306                                    if ( ( input.LA(2) != STAR ) ) {
2307                                    alt28=1;
2308                                    }
2309                                    }
2310                                    break;
2311                            case FORCED_END_OF_LINE:
2312                            case HEADING_SECTION:
2313                            case HORIZONTAL_SECTION:
2314                            case LIST_ITEM:
2315                            case LIST_ITEM_PART:
2316                            case NOWIKI_SECTION:
2317                            case SCAPE_NODE:
2318                            case TEXT_NODE:
2319                            case UNORDERED_LIST:
2320                            case UNFORMATTED_TEXT:
2321                            case WIKI:
2322                            case POUND:
2323                            case EQUAL:
2324                            case PIPE:
2325                            case NOWIKI_BLOCK_CLOSE:
2326                            case NOWIKI_CLOSE:
2327                            case LINK_CLOSE:
2328                            case IMAGE_CLOSE:
2329                            case BLANKS:
2330                            case TABLE_OF_CONTENTS_TEXT:
2331                            case DASH:
2332                            case CR:
2333                            case LF:
2334                            case SPACE:
2335                            case TABULATOR:
2336                            case BRACE_CLOSE:
2337                            case COLON_SLASH:
2338                            case SLASH:
2339                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
2340                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
2341                            case INSIGNIFICANT_CHAR:
2342                            case 44:
2343                            case 45:
2344                            case 46:
2345                            case 47:
2346                            case 48:
2347                            case 49:
2348                            case 50:
2349                            case 51:
2350                            case 52:
2351                            case 53:
2352                            case 54:
2353                            case 55:
2354                            case 56:
2355                            case 57:
2356                            case 58:
2357                            case 59:
2358                            case 60:
2359                            case 61:
2360                            case 62:
2361                            case 63:
2362                            case 64:
2363                            case 65:
2364                            case 66:
2365                            case 67:
2366                            case 68:
2367                            case 69:
2368                            case 70:
2369                            case 71:
2370                            case 72:
2371                            case 73:
2372                            case 74:
2373                            case 75:
2374                            case 76:
2375                            case 77:
2376                            case 78:
2377                            case 79:
2378                                    {
2379                                    alt28=1;
2380                                    }
2381                                    break;
2382                            case FORCED_LINEBREAK:
2383                                    {
2384                                    alt28=1;
2385                                    }
2386                                    break;
2387                            case ESCAPE:
2388                                    {
2389                                    alt28=1;
2390                                    }
2391                                    break;
2392                            case LINK_OPEN:
2393                                    {
2394                                    alt28=1;
2395                                    }
2396                                    break;
2397                            case IMAGE_OPEN:
2398                                    {
2399                                    alt28=1;
2400                                    }
2401                                    break;
2402                            case EXTENSION:
2403                                    {
2404                                    alt28=1;
2405                                    }
2406                                    break;
2407                            case NOWIKI_OPEN:
2408                                    {
2409                                    alt28=1;
2410                                    }
2411                                    break;
2412                            }
2413    
2414                            switch (alt28) {
2415                            case 1 :
2416                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:191:20: tf= text_formattedcontent
2417                                    {
2418                                    pushFollow(FOLLOW_text_formattedcontent_in_text_bolditalcontent772);
2419                                    tf=text_formattedcontent();
2420                                    _fsp--;
2421                                    if (failed) return items;
2422                                    if ( backtracking==0 ) {
2423                                      items = tf; 
2424                                    }
2425    
2426                                    }
2427                                    break;
2428    
2429                            }
2430    
2431    
2432                            }
2433                            break;
2434                    case 2 :
2435                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:192:4: EOF
2436                            {
2437                            match(input,EOF,FOLLOW_EOF_in_text_bolditalcontent782); if (failed) return items;
2438    
2439                            }
2440                            break;
2441    
2442                    }
2443            }
2444            catch (RecognitionException re) {
2445                    reportError(re);
2446                    recover(input,re);
2447            }
2448            finally {
2449            }
2450            return items;
2451            }
2452            // $ANTLR end text_bolditalcontent
2453    
2454    
2455            // $ANTLR start text_formattedcontent
2456            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:194:1: text_formattedcontent returns [CollectionNode items = new CollectionNode ()] : onestar (t= text_unformattedelement onestar ( text_linebreak )? )+ ;
2457            public final CollectionNode text_formattedcontent() throws RecognitionException {
2458            CollectionNode items =  new CollectionNode ();
2459    
2460            ASTNode t = null;
2461    
2462    
2463            try {
2464                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:195:2: ( onestar (t= text_unformattedelement onestar ( text_linebreak )? )+ )
2465                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:195:4: onestar (t= text_unformattedelement onestar ( text_linebreak )? )+
2466                    {
2467                    pushFollow(FOLLOW_onestar_in_text_formattedcontent796);
2468                    onestar();
2469                    _fsp--;
2470                    if (failed) return items;
2471                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:195:13: (t= text_unformattedelement onestar ( text_linebreak )? )+
2472                    int cnt31=0;
2473                    loop31:
2474                    do {
2475                    int alt31=2;
2476                    switch ( input.LA(1) ) {
2477                    case FORCED_END_OF_LINE:
2478                    case HEADING_SECTION:
2479                    case HORIZONTAL_SECTION:
2480                    case LIST_ITEM:
2481                    case LIST_ITEM_PART:
2482                    case NOWIKI_SECTION:
2483                    case SCAPE_NODE:
2484                    case TEXT_NODE:
2485                    case UNORDERED_LIST:
2486                    case UNFORMATTED_TEXT:
2487                    case WIKI:
2488                    case POUND:
2489                    case EQUAL:
2490                    case PIPE:
2491                    case NOWIKI_BLOCK_CLOSE:
2492                    case NOWIKI_CLOSE:
2493                    case LINK_CLOSE:
2494                    case IMAGE_CLOSE:
2495                    case BLANKS:
2496                    case TABLE_OF_CONTENTS_TEXT:
2497                    case DASH:
2498                    case CR:
2499                    case LF:
2500                    case SPACE:
2501                    case TABULATOR:
2502                    case BRACE_CLOSE:
2503                    case COLON_SLASH:
2504                    case SLASH:
2505                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
2506                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
2507                    case INSIGNIFICANT_CHAR:
2508                    case 44:
2509                    case 45:
2510                    case 46:
2511                    case 47:
2512                    case 48:
2513                    case 49:
2514                    case 50:
2515                    case 51:
2516                    case 52:
2517                    case 53:
2518                    case 54:
2519                    case 55:
2520                    case 56:
2521                    case 57:
2522                    case 58:
2523                    case 59:
2524                    case 60:
2525                    case 61:
2526                    case 62:
2527                    case 63:
2528                    case 64:
2529                    case 65:
2530                    case 66:
2531                    case 67:
2532                    case 68:
2533                    case 69:
2534                    case 70:
2535                    case 71:
2536                    case 72:
2537                    case 73:
2538                    case 74:
2539                    case 75:
2540                    case 76:
2541                    case 77:
2542                    case 78:
2543                    case 79:
2544                            {
2545                            alt31=1;
2546                            }
2547                            break;
2548                    case FORCED_LINEBREAK:
2549                            {
2550                            alt31=1;
2551                            }
2552                            break;
2553                    case ESCAPE:
2554                            {
2555                            alt31=1;
2556                            }
2557                            break;
2558                    case LINK_OPEN:
2559                            {
2560                            alt31=1;
2561                            }
2562                            break;
2563                    case IMAGE_OPEN:
2564                            {
2565                            alt31=1;
2566                            }
2567                            break;
2568                    case EXTENSION:
2569                            {
2570                            alt31=1;
2571                            }
2572                            break;
2573                    case NOWIKI_OPEN:
2574                            {
2575                            alt31=1;
2576                            }
2577                            break;
2578    
2579                    }
2580    
2581                    switch (alt31) {
2582                    case 1 :
2583                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:195:15: t= text_unformattedelement onestar ( text_linebreak )?
2584                            {
2585                            pushFollow(FOLLOW_text_unformattedelement_in_text_formattedcontent805);
2586                            t=text_unformattedelement();
2587                            _fsp--;
2588                            if (failed) return items;
2589                            if ( backtracking==0 ) {
2590                              items.add(t); 
2591                            }
2592                            pushFollow(FOLLOW_onestar_in_text_formattedcontent810);
2593                            onestar();
2594                            _fsp--;
2595                            if (failed) return items;
2596                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:195:81: ( text_linebreak )?
2597                            int alt30=2;
2598                            int LA30_0 = input.LA(1);
2599    
2600                            if ( (LA30_0==NEWLINE) ) {
2601                            int LA30_1 = input.LA(2);
2602    
2603                            if ( ( input.LA(2) != DASH && input.LA(2) != POUND && 
2604                                            input.LA(2) != EQUAL && input.LA(2) != NEWLINE ) ) {
2605                                    alt30=1;
2606                            }
2607                            }
2608                            else if ( (LA30_0==EOF) ) {
2609                            int LA30_2 = input.LA(2);
2610    
2611                            if ( ( input.LA(2) != DASH && input.LA(2) != POUND && 
2612                                            input.LA(2) != EQUAL && input.LA(2) != NEWLINE ) ) {
2613                                    alt30=1;
2614                            }
2615                            }
2616                            switch (alt30) {
2617                            case 1 :
2618                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:195:83: text_linebreak
2619                                    {
2620                                    pushFollow(FOLLOW_text_linebreak_in_text_formattedcontent815);
2621                                    text_linebreak();
2622                                    _fsp--;
2623                                    if (failed) return items;
2624    
2625                                    }
2626                                    break;
2627    
2628                            }
2629    
2630    
2631                            }
2632                            break;
2633    
2634                    default :
2635                            if ( cnt31 >= 1 ) break loop31;
2636                            if (backtracking>0) {failed=true; return items;}
2637                            EarlyExitException eee =
2638                                    new EarlyExitException(31, input);
2639                            throw eee;
2640                    }
2641                    cnt31++;
2642                    } while (true);
2643    
2644    
2645                    }
2646    
2647            }
2648            catch (RecognitionException re) {
2649                    reportError(re);
2650                    recover(input,re);
2651            }
2652            finally {
2653            }
2654            return items;
2655            }
2656            // $ANTLR end text_formattedcontent
2657    
2658    
2659            // $ANTLR start text_linebreak
2660            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:197:1: text_linebreak : {...}? text_lineseparator ;
2661            public final void text_linebreak() throws RecognitionException {
2662            try {
2663                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:198:2: ({...}? text_lineseparator )
2664                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:198:4: {...}? text_lineseparator
2665                    {
2666                    if ( !( input.LA(2) != DASH && input.LA(2) != POUND && 
2667                            input.LA(2) != EQUAL && input.LA(2) != NEWLINE ) ) {
2668                    if (backtracking>0) {failed=true; return ;}
2669                    throw new FailedPredicateException(input, "text_linebreak", " input.LA(2) != DASH && input.LA(2) != POUND && \n\t\tinput.LA(2) != EQUAL && input.LA(2) != NEWLINE ");
2670                    }
2671                    pushFollow(FOLLOW_text_lineseparator_in_text_linebreak835);
2672                    text_lineseparator();
2673                    _fsp--;
2674                    if (failed) return ;
2675    
2676                    }
2677    
2678            }
2679            catch (RecognitionException re) {
2680                    reportError(re);
2681                    recover(input,re);
2682            }
2683            finally {
2684            }
2685            return ;
2686            }
2687            // $ANTLR end text_linebreak
2688    
2689    
2690            // $ANTLR start text_inlineelement
2691            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:202:1: text_inlineelement returns [ASTNode element = null ] : (tf= text_first_inlineelement | nwi= nowiki_inline );
2692            public final ASTNode text_inlineelement() throws RecognitionException {
2693            ASTNode element =  null;
2694    
2695            ASTNode tf = null;
2696    
2697            NoWikiSectionNode nwi = null;
2698    
2699    
2700            try {
2701                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:203:2: (tf= text_first_inlineelement | nwi= nowiki_inline )
2702                    int alt32=2;
2703                    int LA32_0 = input.LA(1);
2704    
2705                    if ( ((LA32_0>=LINK_OPEN && LA32_0<=IMAGE_OPEN)||LA32_0==EXTENSION) ) {
2706                    alt32=1;
2707                    }
2708                    else if ( (LA32_0==NOWIKI_OPEN) ) {
2709                    alt32=2;
2710                    }
2711                    else {
2712                    if (backtracking>0) {failed=true; return element;}
2713                    NoViableAltException nvae =
2714                            new NoViableAltException("202:1: text_inlineelement returns [ASTNode element = null ] : (tf= text_first_inlineelement | nwi= nowiki_inline );", 32, 0, input);
2715    
2716                    throw nvae;
2717                    }
2718                    switch (alt32) {
2719                    case 1 :
2720                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:203:4: tf= text_first_inlineelement
2721                            {
2722                            pushFollow(FOLLOW_text_first_inlineelement_in_text_inlineelement853);
2723                            tf=text_first_inlineelement();
2724                            _fsp--;
2725                            if (failed) return element;
2726                            if ( backtracking==0 ) {
2727                              element = tf; 
2728                            }
2729    
2730                            }
2731                            break;
2732                    case 2 :
2733                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:204:4: nwi= nowiki_inline
2734                            {
2735                            pushFollow(FOLLOW_nowiki_inline_in_text_inlineelement864);
2736                            nwi=nowiki_inline();
2737                            _fsp--;
2738                            if (failed) return element;
2739                            if ( backtracking==0 ) {
2740                              element = nwi; 
2741                            }
2742    
2743                            }
2744                            break;
2745    
2746                    }
2747            }
2748            catch (RecognitionException re) {
2749                    reportError(re);
2750                    recover(input,re);
2751            }
2752            finally {
2753            }
2754            return element;
2755            }
2756            // $ANTLR end text_inlineelement
2757    
2758    
2759            // $ANTLR start text_first_inlineelement
2760            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:206:1: text_first_inlineelement returns [ASTNode element = null] : (l= link | i= image | e= extension );
2761            public final ASTNode text_first_inlineelement() throws RecognitionException {
2762            ASTNode element =  null;
2763    
2764            LinkNode l = null;
2765    
2766            ImageNode i = null;
2767    
2768            ASTNode e = null;
2769    
2770    
2771            try {
2772                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:207:2: (l= link | i= image | e= extension )
2773                    int alt33=3;
2774                    switch ( input.LA(1) ) {
2775                    case LINK_OPEN:
2776                    {
2777                    alt33=1;
2778                    }
2779                    break;
2780                    case IMAGE_OPEN:
2781                    {
2782                    alt33=2;
2783                    }
2784                    break;
2785                    case EXTENSION:
2786                    {
2787                    alt33=3;
2788                    }
2789                    break;
2790                    default:
2791                    if (backtracking>0) {failed=true; return element;}
2792                    NoViableAltException nvae =
2793                            new NoViableAltException("206:1: text_first_inlineelement returns [ASTNode element = null] : (l= link | i= image | e= extension );", 33, 0, input);
2794    
2795                    throw nvae;
2796                    }
2797    
2798                    switch (alt33) {
2799                    case 1 :
2800                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:208:3: l= link
2801                            {
2802                            pushFollow(FOLLOW_link_in_text_first_inlineelement887);
2803                            l=link();
2804                            _fsp--;
2805                            if (failed) return element;
2806                            if ( backtracking==0 ) {
2807                              element = l;
2808                            }
2809    
2810                            }
2811                            break;
2812                    case 2 :
2813                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:209:4: i= image
2814                            {
2815                            pushFollow(FOLLOW_image_in_text_first_inlineelement898);
2816                            i=image();
2817                            _fsp--;
2818                            if (failed) return element;
2819                            if ( backtracking==0 ) {
2820                              element = i;
2821                            }
2822    
2823                            }
2824                            break;
2825                    case 3 :
2826                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:210:4: e= extension
2827                            {
2828                            pushFollow(FOLLOW_extension_in_text_first_inlineelement908);
2829                            e=extension();
2830                            _fsp--;
2831                            if (failed) return element;
2832                            if ( backtracking==0 ) {
2833                              element = e;
2834                            }
2835    
2836                            }
2837                            break;
2838    
2839                    }
2840            }
2841            catch (RecognitionException re) {
2842                    reportError(re);
2843                    recover(input,re);
2844            }
2845            finally {
2846            }
2847            return element;
2848            }
2849            // $ANTLR end text_first_inlineelement
2850    
2851    
2852            // $ANTLR start text_first_unformattedelement
2853            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:212:1: text_first_unformattedelement returns [ASTNode item = null] : (tfu= text_first_unformatted | tfi= text_first_inlineelement );
2854            public final ASTNode text_first_unformattedelement() throws RecognitionException {
2855            ASTNode item =  null;
2856    
2857            CollectionNode tfu = null;
2858    
2859            ASTNode tfi = null;
2860    
2861    
2862            try {
2863                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:213:2: (tfu= text_first_unformatted | tfi= text_first_inlineelement )
2864                    int alt34=2;
2865                    int LA34_0 = input.LA(1);
2866    
2867                    if ( ((LA34_0>=FORCED_END_OF_LINE && LA34_0<=WIKI)||(LA34_0>=FORCED_LINEBREAK && LA34_0<=79)) ) {
2868                    alt34=1;
2869                    }
2870                    else if ( ((LA34_0>=LINK_OPEN && LA34_0<=IMAGE_OPEN)||LA34_0==EXTENSION) ) {
2871                    alt34=2;
2872                    }
2873                    else {
2874                    if (backtracking>0) {failed=true; return item;}
2875                    NoViableAltException nvae =
2876                            new NoViableAltException("212:1: text_first_unformattedelement returns [ASTNode item = null] : (tfu= text_first_unformatted | tfi= text_first_inlineelement );", 34, 0, input);
2877    
2878                    throw nvae;
2879                    }
2880                    switch (alt34) {
2881                    case 1 :
2882                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:213:4: tfu= text_first_unformatted
2883                            {
2884                            pushFollow(FOLLOW_text_first_unformatted_in_text_first_unformattedelement928);
2885                            tfu=text_first_unformatted();
2886                            _fsp--;
2887                            if (failed) return item;
2888                            if ( backtracking==0 ) {
2889                              item = new UnformattedTextNode(tfu);
2890                            }
2891    
2892                            }
2893                            break;
2894                    case 2 :
2895                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:214:4: tfi= text_first_inlineelement
2896                            {
2897                            pushFollow(FOLLOW_text_first_inlineelement_in_text_first_unformattedelement939);
2898                            tfi=text_first_inlineelement();
2899                            _fsp--;
2900                            if (failed) return item;
2901                            if ( backtracking==0 ) {
2902                               item = tfi; 
2903                            }
2904    
2905                            }
2906                            break;
2907    
2908                    }
2909            }
2910            catch (RecognitionException re) {
2911                    reportError(re);
2912                    recover(input,re);
2913            }
2914            finally {
2915            }
2916            return item;
2917            }
2918            // $ANTLR end text_first_unformattedelement
2919    
2920    
2921            // $ANTLR start text_first_unformatted
2922            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:216:1: text_first_unformatted returns [CollectionNode items = new CollectionNode()] : (t= text_first_unformmatted_text | ( forced_linebreak | e= escaped )+ );
2923            public final CollectionNode text_first_unformatted() throws RecognitionException {
2924            CollectionNode items =  new CollectionNode();
2925    
2926            StringBundler t = null;
2927    
2928            ScapedNode e = null;
2929    
2930    
2931            try {
2932                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:217:2: (t= text_first_unformmatted_text | ( forced_linebreak | e= escaped )+ )
2933                    int alt36=2;
2934                    int LA36_0 = input.LA(1);
2935    
2936                    if ( ((LA36_0>=FORCED_END_OF_LINE && LA36_0<=WIKI)||(LA36_0>=NOWIKI_BLOCK_CLOSE && LA36_0<=79)) ) {
2937                    alt36=1;
2938                    }
2939                    else if ( ((LA36_0>=FORCED_LINEBREAK && LA36_0<=ESCAPE)) ) {
2940                    alt36=2;
2941                    }
2942                    else {
2943                    if (backtracking>0) {failed=true; return items;}
2944                    NoViableAltException nvae =
2945                            new NoViableAltException("216:1: text_first_unformatted returns [CollectionNode items = new CollectionNode()] : (t= text_first_unformmatted_text | ( forced_linebreak | e= escaped )+ );", 36, 0, input);
2946    
2947                    throw nvae;
2948                    }
2949                    switch (alt36) {
2950                    case 1 :
2951                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:217:6: t= text_first_unformmatted_text
2952                            {
2953                            pushFollow(FOLLOW_text_first_unformmatted_text_in_text_first_unformatted961);
2954                            t=text_first_unformmatted_text();
2955                            _fsp--;
2956                            if (failed) return items;
2957                            if ( backtracking==0 ) {
2958                              items.add(new UnformattedTextNode(t.toString()));
2959                            }
2960    
2961                            }
2962                            break;
2963                    case 2 :
2964                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:218:5: ( forced_linebreak | e= escaped )+
2965                            {
2966                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:218:5: ( forced_linebreak | e= escaped )+
2967                            int cnt35=0;
2968                            loop35:
2969                            do {
2970                            int alt35=3;
2971                            int LA35_0 = input.LA(1);
2972    
2973                            if ( (LA35_0==FORCED_LINEBREAK) ) {
2974                                    alt35=1;
2975                            }
2976                            else if ( (LA35_0==ESCAPE) ) {
2977                                    int LA35_3 = input.LA(2);
2978    
2979                                    if ( ((LA35_3>=FORCED_END_OF_LINE && LA35_3<=79)) ) {
2980                                    alt35=2;
2981                                    }
2982    
2983    
2984                            }
2985    
2986    
2987                            switch (alt35) {
2988                            case 1 :
2989                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:218:6: forced_linebreak
2990                                    {
2991                                    pushFollow(FOLLOW_forced_linebreak_in_text_first_unformatted970);
2992                                    forced_linebreak();
2993                                    _fsp--;
2994                                    if (failed) return items;
2995                                    if ( backtracking==0 ) {
2996                                       items.add(new ForcedEndOfLineNode()); 
2997                                    }
2998    
2999                                    }
3000                                    break;
3001                            case 2 :
3002                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:219:5: e= escaped
3003                                    {
3004                                    pushFollow(FOLLOW_escaped_in_text_first_unformatted982);
3005                                    e=escaped();
3006                                    _fsp--;
3007                                    if (failed) return items;
3008                                    if ( backtracking==0 ) {
3009                                      items.add(e);
3010                                    }
3011    
3012                                    }
3013                                    break;
3014    
3015                            default :
3016                                    if ( cnt35 >= 1 ) break loop35;
3017                                    if (backtracking>0) {failed=true; return items;}
3018                                    EarlyExitException eee =
3019                                            new EarlyExitException(35, input);
3020                                    throw eee;
3021                            }
3022                            cnt35++;
3023                            } while (true);
3024    
3025    
3026                            }
3027                            break;
3028    
3029                    }
3030            }
3031            catch (RecognitionException re) {
3032                    reportError(re);
3033                    recover(input,re);
3034            }
3035            finally {
3036            }
3037            return items;
3038            }
3039            // $ANTLR end text_first_unformatted
3040    
3041    
3042            // $ANTLR start text_first_unformmatted_text
3043            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:222:1: text_first_unformmatted_text returns [StringBundler text = new StringBundler()] : (c=~ ( POUND | STAR | EQUAL | PIPE | ITAL | LINK_OPEN | IMAGE_OPEN | NOWIKI_OPEN | EXTENSION | FORCED_LINEBREAK | ESCAPE | NEWLINE | EOF ) )+ ;
3044            public final StringBundler text_first_unformmatted_text() throws RecognitionException {
3045            StringBundler text =  new StringBundler();
3046    
3047            Token c=null;
3048    
3049            try {
3050                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:223:2: ( (c=~ ( POUND | STAR | EQUAL | PIPE | ITAL | LINK_OPEN | IMAGE_OPEN | NOWIKI_OPEN | EXTENSION | FORCED_LINEBREAK | ESCAPE | NEWLINE | EOF ) )+ )
3051                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:224:3: (c=~ ( POUND | STAR | EQUAL | PIPE | ITAL | LINK_OPEN | IMAGE_OPEN | NOWIKI_OPEN | EXTENSION | FORCED_LINEBREAK | ESCAPE | NEWLINE | EOF ) )+
3052                    {
3053                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:224:3: (c=~ ( POUND | STAR | EQUAL | PIPE | ITAL | LINK_OPEN | IMAGE_OPEN | NOWIKI_OPEN | EXTENSION | FORCED_LINEBREAK | ESCAPE | NEWLINE | EOF ) )+
3054                    int cnt37=0;
3055                    loop37:
3056                    do {
3057                    int alt37=2;
3058                    int LA37_0 = input.LA(1);
3059    
3060                    if ( ((LA37_0>=FORCED_END_OF_LINE && LA37_0<=WIKI)||(LA37_0>=NOWIKI_BLOCK_CLOSE && LA37_0<=79)) ) {
3061                            alt37=1;
3062                    }
3063    
3064    
3065                    switch (alt37) {
3066                    case 1 :
3067                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:224:4: c=~ ( POUND | STAR | EQUAL | PIPE | ITAL | LINK_OPEN | IMAGE_OPEN | NOWIKI_OPEN | EXTENSION | FORCED_LINEBREAK | ESCAPE | NEWLINE | EOF )
3068                            {
3069                            c=(Token)input.LT(1);
3070                            if ( (input.LA(1)>=FORCED_END_OF_LINE && input.LA(1)<=WIKI)||(input.LA(1)>=NOWIKI_BLOCK_CLOSE && input.LA(1)<=79) ) {
3071                            input.consume();
3072                            errorRecovery=false;failed=false;
3073                            }
3074                            else {
3075                            if (backtracking>0) {failed=true; return text;}
3076                            MismatchedSetException mse =
3077                                    new MismatchedSetException(null,input);
3078                            recoverFromMismatchedSet(input,mse,FOLLOW_set_in_text_first_unformmatted_text1010);     throw mse;
3079                            }
3080    
3081                            if ( backtracking==0 ) {
3082                              text.append(c.getText()); 
3083                            }
3084    
3085                            }
3086                            break;
3087    
3088                    default :
3089                            if ( cnt37 >= 1 ) break loop37;
3090                            if (backtracking>0) {failed=true; return text;}
3091                            EarlyExitException eee =
3092                                    new EarlyExitException(37, input);
3093                            throw eee;
3094                    }
3095                    cnt37++;
3096                    } while (true);
3097    
3098    
3099                    }
3100    
3101            }
3102            catch (RecognitionException re) {
3103                    reportError(re);
3104                    recover(input,re);
3105            }
3106            finally {
3107            }
3108            return text;
3109            }
3110            // $ANTLR end text_first_unformmatted_text
3111    
3112    
3113            // $ANTLR start text_unformattedelement
3114            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:238:1: text_unformattedelement returns [ASTNode contents = null] : (text= text_unformatted | ti= text_inlineelement );
3115            public final ASTNode text_unformattedelement() throws RecognitionException {
3116            ASTNode contents =  null;
3117    
3118            CollectionNode text = null;
3119    
3120            ASTNode ti = null;
3121    
3122    
3123            try {
3124                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:239:2: (text= text_unformatted | ti= text_inlineelement )
3125                    int alt38=2;
3126                    int LA38_0 = input.LA(1);
3127    
3128                    if ( ((LA38_0>=FORCED_END_OF_LINE && LA38_0<=WIKI)||LA38_0==POUND||(LA38_0>=EQUAL && LA38_0<=PIPE)||(LA38_0>=FORCED_LINEBREAK && LA38_0<=79)) ) {
3129                    alt38=1;
3130                    }
3131                    else if ( ((LA38_0>=LINK_OPEN && LA38_0<=EXTENSION)) ) {
3132                    alt38=2;
3133                    }
3134                    else {
3135                    if (backtracking>0) {failed=true; return contents;}
3136                    NoViableAltException nvae =
3137                            new NoViableAltException("238:1: text_unformattedelement returns [ASTNode contents = null] : (text= text_unformatted | ti= text_inlineelement );", 38, 0, input);
3138    
3139                    throw nvae;
3140                    }
3141                    switch (alt38) {
3142                    case 1 :
3143                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:239:4: text= text_unformatted
3144                            {
3145                            pushFollow(FOLLOW_text_unformatted_in_text_unformattedelement1125);
3146                            text=text_unformatted();
3147                            _fsp--;
3148                            if (failed) return contents;
3149                            if ( backtracking==0 ) {
3150                               contents = text; 
3151                            }
3152    
3153                            }
3154                            break;
3155                    case 2 :
3156                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:240:4: ti= text_inlineelement
3157                            {
3158                            pushFollow(FOLLOW_text_inlineelement_in_text_unformattedelement1136);
3159                            ti=text_inlineelement();
3160                            _fsp--;
3161                            if (failed) return contents;
3162                            if ( backtracking==0 ) {
3163                               contents = ti; 
3164                            }
3165    
3166                            }
3167                            break;
3168    
3169                    }
3170            }
3171            catch (RecognitionException re) {
3172                    reportError(re);
3173                    recover(input,re);
3174            }
3175            finally {
3176            }
3177            return contents;
3178            }
3179            // $ANTLR end text_unformattedelement
3180    
3181    
3182            // $ANTLR start text_unformatted
3183            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:243:1: text_unformatted returns [CollectionNode items = new CollectionNode()] : (contents= text_unformated_text | ( forced_linebreak | e= escaped )+ );
3184            public final CollectionNode text_unformatted() throws RecognitionException {
3185            CollectionNode items =  new CollectionNode();
3186    
3187            StringBundler contents = null;
3188    
3189            ScapedNode e = null;
3190    
3191    
3192            try {
3193                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:244:2: (contents= text_unformated_text | ( forced_linebreak | e= escaped )+ )
3194                    int alt40=2;
3195                    int LA40_0 = input.LA(1);
3196    
3197                    if ( ((LA40_0>=FORCED_END_OF_LINE && LA40_0<=WIKI)||LA40_0==POUND||(LA40_0>=EQUAL && LA40_0<=PIPE)||(LA40_0>=NOWIKI_BLOCK_CLOSE && LA40_0<=79)) ) {
3198                    alt40=1;
3199                    }
3200                    else if ( ((LA40_0>=FORCED_LINEBREAK && LA40_0<=ESCAPE)) ) {
3201                    alt40=2;
3202                    }
3203                    else {
3204                    if (backtracking>0) {failed=true; return items;}
3205                    NoViableAltException nvae =
3206                            new NoViableAltException("243:1: text_unformatted returns [CollectionNode items = new CollectionNode()] : (contents= text_unformated_text | ( forced_linebreak | e= escaped )+ );", 40, 0, input);
3207    
3208                    throw nvae;
3209                    }
3210                    switch (alt40) {
3211                    case 1 :
3212                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:244:5: contents= text_unformated_text
3213                            {
3214                            pushFollow(FOLLOW_text_unformated_text_in_text_unformatted1158);
3215                            contents=text_unformated_text();
3216                            _fsp--;
3217                            if (failed) return items;
3218                            if ( backtracking==0 ) {
3219                              items.add(new UnformattedTextNode(contents.toString())); 
3220                            }
3221    
3222                            }
3223                            break;
3224                    case 2 :
3225                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:245:5: ( forced_linebreak | e= escaped )+
3226                            {
3227                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:245:5: ( forced_linebreak | e= escaped )+
3228                            int cnt39=0;
3229                            loop39:
3230                            do {
3231                            int alt39=3;
3232                            int LA39_0 = input.LA(1);
3233    
3234                            if ( (LA39_0==FORCED_LINEBREAK) ) {
3235                                    alt39=1;
3236                            }
3237                            else if ( (LA39_0==ESCAPE) ) {
3238                                    alt39=2;
3239                            }
3240    
3241    
3242                            switch (alt39) {
3243                            case 1 :
3244                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:245:6: forced_linebreak
3245                                    {
3246                                    pushFollow(FOLLOW_forced_linebreak_in_text_unformatted1167);
3247                                    forced_linebreak();
3248                                    _fsp--;
3249                                    if (failed) return items;
3250                                    if ( backtracking==0 ) {
3251                                       items.add(new ForcedEndOfLineNode()); 
3252                                    }
3253    
3254                                    }
3255                                    break;
3256                            case 2 :
3257                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:246:5: e= escaped
3258                                    {
3259                                    pushFollow(FOLLOW_escaped_in_text_unformatted1179);
3260                                    e=escaped();
3261                                    _fsp--;
3262                                    if (failed) return items;
3263                                    if ( backtracking==0 ) {
3264                                      items.add(e);
3265                                    }
3266    
3267                                    }
3268                                    break;
3269    
3270                            default :
3271                                    if ( cnt39 >= 1 ) break loop39;
3272                                    if (backtracking>0) {failed=true; return items;}
3273                                    EarlyExitException eee =
3274                                            new EarlyExitException(39, input);
3275                                    throw eee;
3276                            }
3277                            cnt39++;
3278                            } while (true);
3279    
3280    
3281                            }
3282                            break;
3283    
3284                    }
3285            }
3286            catch (RecognitionException re) {
3287                    reportError(re);
3288                    recover(input,re);
3289            }
3290            finally {
3291            }
3292            return items;
3293            }
3294            // $ANTLR end text_unformatted
3295    
3296    
3297            // $ANTLR start text_unformated_text
3298            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:249:1: text_unformated_text returns [StringBundler text = new StringBundler()] : (c=~ ( ITAL | STAR | LINK_OPEN | IMAGE_OPEN | NOWIKI_OPEN | EXTENSION | FORCED_LINEBREAK | ESCAPE | NEWLINE | EOF ) )+ ;
3299            public final StringBundler text_unformated_text() throws RecognitionException {
3300            StringBundler text =  new StringBundler();
3301    
3302            Token c=null;
3303    
3304            try {
3305                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:250:1: ( (c=~ ( ITAL | STAR | LINK_OPEN | IMAGE_OPEN | NOWIKI_OPEN | EXTENSION | FORCED_LINEBREAK | ESCAPE | NEWLINE | EOF ) )+ )
3306                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:251:2: (c=~ ( ITAL | STAR | LINK_OPEN | IMAGE_OPEN | NOWIKI_OPEN | EXTENSION | FORCED_LINEBREAK | ESCAPE | NEWLINE | EOF ) )+
3307                    {
3308                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:251:2: (c=~ ( ITAL | STAR | LINK_OPEN | IMAGE_OPEN | NOWIKI_OPEN | EXTENSION | FORCED_LINEBREAK | ESCAPE | NEWLINE | EOF ) )+
3309                    int cnt41=0;
3310                    loop41:
3311                    do {
3312                    int alt41=2;
3313                    int LA41_0 = input.LA(1);
3314    
3315                    if ( ((LA41_0>=FORCED_END_OF_LINE && LA41_0<=WIKI)||LA41_0==POUND||(LA41_0>=EQUAL && LA41_0<=PIPE)||(LA41_0>=NOWIKI_BLOCK_CLOSE && LA41_0<=79)) ) {
3316                            alt41=1;
3317                    }
3318    
3319    
3320                    switch (alt41) {
3321                    case 1 :
3322                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:251:3: c=~ ( ITAL | STAR | LINK_OPEN | IMAGE_OPEN | NOWIKI_OPEN | EXTENSION | FORCED_LINEBREAK | ESCAPE | NEWLINE | EOF )
3323                            {
3324                            c=(Token)input.LT(1);
3325                            if ( (input.LA(1)>=FORCED_END_OF_LINE && input.LA(1)<=WIKI)||input.LA(1)==POUND||(input.LA(1)>=EQUAL && input.LA(1)<=PIPE)||(input.LA(1)>=NOWIKI_BLOCK_CLOSE && input.LA(1)<=79) ) {
3326                            input.consume();
3327                            errorRecovery=false;failed=false;
3328                            }
3329                            else {
3330                            if (backtracking>0) {failed=true; return text;}
3331                            MismatchedSetException mse =
3332                                    new MismatchedSetException(null,input);
3333                            recoverFromMismatchedSet(input,mse,FOLLOW_set_in_text_unformated_text1206);     throw mse;
3334                            }
3335    
3336                            if ( backtracking==0 ) {
3337                               text.append(c.getText());
3338                            }
3339    
3340                            }
3341                            break;
3342    
3343                    default :
3344                            if ( cnt41 >= 1 ) break loop41;
3345                            if (backtracking>0) {failed=true; return text;}
3346                            EarlyExitException eee =
3347                                    new EarlyExitException(41, input);
3348                            throw eee;
3349                    }
3350                    cnt41++;
3351                    } while (true);
3352    
3353    
3354                    }
3355    
3356            }
3357            catch (RecognitionException re) {
3358                    reportError(re);
3359                    recover(input,re);
3360            }
3361            finally {
3362            }
3363            return text;
3364            }
3365            // $ANTLR end text_unformated_text
3366    
3367            protected static class heading_scope {
3368            CollectionNode items;
3369            int nestedLevel;
3370            String text;
3371            }
3372            protected Stack heading_stack = new Stack();
3373    
3374    
3375            // $ANTLR start heading
3376            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:265:1: heading returns [ASTNode header] : heading_markup heading_content ( heading_markup )? ( blanks )? paragraph_separator ;
3377            public final ASTNode heading() throws RecognitionException {
3378            heading_stack.push(new heading_scope());
3379            ASTNode header = null;
3380    
3381    
3382                            ((heading_scope)heading_stack.peek()).items = new CollectionNode();
3383                            ((heading_scope)heading_stack.peek()).text = new String();
3384                    
3385            try {
3386                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:275:2: ( heading_markup heading_content ( heading_markup )? ( blanks )? paragraph_separator )
3387                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:275:4: heading_markup heading_content ( heading_markup )? ( blanks )? paragraph_separator
3388                    {
3389                    pushFollow(FOLLOW_heading_markup_in_heading1309);
3390                    heading_markup();
3391                    _fsp--;
3392                    if (failed) return header;
3393                    if ( backtracking==0 ) {
3394                      ((heading_scope)heading_stack.peek()).nestedLevel++;
3395                    }
3396                    pushFollow(FOLLOW_heading_content_in_heading1314);
3397                    heading_content();
3398                    _fsp--;
3399                    if (failed) return header;
3400                    if ( backtracking==0 ) {
3401                       header = new HeadingNode(((heading_scope)heading_stack.peek()).items,((heading_scope)heading_stack.peek()).nestedLevel); 
3402                    }
3403                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:275:134: ( heading_markup )?
3404                    int alt42=2;
3405                    int LA42_0 = input.LA(1);
3406    
3407                    if ( (LA42_0==EQUAL) ) {
3408                    alt42=1;
3409                    }
3410                    switch (alt42) {
3411                    case 1 :
3412                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:275:136: heading_markup
3413                            {
3414                            pushFollow(FOLLOW_heading_markup_in_heading1321);
3415                            heading_markup();
3416                            _fsp--;
3417                            if (failed) return header;
3418    
3419                            }
3420                            break;
3421    
3422                    }
3423    
3424                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:275:155: ( blanks )?
3425                    int alt43=2;
3426                    int LA43_0 = input.LA(1);
3427    
3428                    if ( (LA43_0==BLANKS) ) {
3429                    alt43=1;
3430                    }
3431                    switch (alt43) {
3432                    case 1 :
3433                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:275:157: blanks
3434                            {
3435                            pushFollow(FOLLOW_blanks_in_heading1329);
3436                            blanks();
3437                            _fsp--;
3438                            if (failed) return header;
3439    
3440                            }
3441                            break;
3442    
3443                    }
3444    
3445                    pushFollow(FOLLOW_paragraph_separator_in_heading1336);
3446                    paragraph_separator();
3447                    _fsp--;
3448                    if (failed) return header;
3449    
3450                    }
3451    
3452            }
3453            catch (RecognitionException re) {
3454                    reportError(re);
3455                    recover(input,re);
3456            }
3457            finally {
3458                    heading_stack.pop();
3459            }
3460            return header;
3461            }
3462            // $ANTLR end heading
3463    
3464    
3465            // $ANTLR start heading_content
3466            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:278:1: heading_content : ( heading_markup heading_content ( heading_markup )? | ht= heading_text );
3467            public final void heading_content() throws RecognitionException {
3468            CollectionNode ht = null;
3469    
3470    
3471            try {
3472                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:279:2: ( heading_markup heading_content ( heading_markup )? | ht= heading_text )
3473                    int alt45=2;
3474                    int LA45_0 = input.LA(1);
3475    
3476                    if ( (LA45_0==EQUAL) ) {
3477                    alt45=1;
3478                    }
3479                    else if ( (LA45_0==EOF||(LA45_0>=FORCED_END_OF_LINE && LA45_0<=STAR)||(LA45_0>=PIPE && LA45_0<=FORCED_LINEBREAK)||(LA45_0>=NOWIKI_BLOCK_CLOSE && LA45_0<=79)) ) {
3480                    alt45=2;
3481                    }
3482                    else {
3483                    if (backtracking>0) {failed=true; return ;}
3484                    NoViableAltException nvae =
3485                            new NoViableAltException("278:1: heading_content : ( heading_markup heading_content ( heading_markup )? | ht= heading_text );", 45, 0, input);
3486    
3487                    throw nvae;
3488                    }
3489                    switch (alt45) {
3490                    case 1 :
3491                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:279:4: heading_markup heading_content ( heading_markup )?
3492                            {
3493                            pushFollow(FOLLOW_heading_markup_in_heading_content1346);
3494                            heading_markup();
3495                            _fsp--;
3496                            if (failed) return ;
3497                            if ( backtracking==0 ) {
3498                              ((heading_scope)heading_stack.peek()).nestedLevel++;
3499                            }
3500                            pushFollow(FOLLOW_heading_content_in_heading_content1351);
3501                            heading_content();
3502                            _fsp--;
3503                            if (failed) return ;
3504                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:279:64: ( heading_markup )?
3505                            int alt44=2;
3506                            int LA44_0 = input.LA(1);
3507    
3508                            if ( (LA44_0==EQUAL) ) {
3509                            alt44=1;
3510                            }
3511                            switch (alt44) {
3512                            case 1 :
3513                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:279:66: heading_markup
3514                                    {
3515                                    pushFollow(FOLLOW_heading_markup_in_heading_content1356);
3516                                    heading_markup();
3517                                    _fsp--;
3518                                    if (failed) return ;
3519    
3520                                    }
3521                                    break;
3522    
3523                            }
3524    
3525    
3526                            }
3527                            break;
3528                    case 2 :
3529                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:280:4: ht= heading_text
3530                            {
3531                            pushFollow(FOLLOW_heading_text_in_heading_content1368);
3532                            ht=heading_text();
3533                            _fsp--;
3534                            if (failed) return ;
3535                            if ( backtracking==0 ) {
3536                              ((heading_scope)heading_stack.peek()).items = ht;
3537                            }
3538    
3539                            }
3540                            break;
3541    
3542                    }
3543            }
3544            catch (RecognitionException re) {
3545                    reportError(re);
3546                    recover(input,re);
3547            }
3548            finally {
3549            }
3550            return ;
3551            }
3552            // $ANTLR end heading_content
3553    
3554    
3555            // $ANTLR start heading_text
3556            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:283:1: heading_text returns [CollectionNode items = null] : te= heading_cellcontent ;
3557            public final CollectionNode heading_text() throws RecognitionException {
3558            CollectionNode items =  null;
3559    
3560            CollectionNode te = null;
3561    
3562    
3563            try {
3564                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:284:2: (te= heading_cellcontent )
3565                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:284:4: te= heading_cellcontent
3566                    {
3567                    pushFollow(FOLLOW_heading_cellcontent_in_heading_text1389);
3568                    te=heading_cellcontent();
3569                    _fsp--;
3570                    if (failed) return items;
3571                    if ( backtracking==0 ) {
3572                      items = te;
3573                    }
3574    
3575                    }
3576    
3577            }
3578            catch (RecognitionException re) {
3579                    reportError(re);
3580                    recover(input,re);
3581            }
3582            finally {
3583            }
3584            return items;
3585            }
3586            // $ANTLR end heading_text
3587    
3588    
3589            // $ANTLR start heading_cellcontent
3590            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:287:1: heading_cellcontent returns [CollectionNode items = new CollectionNode()] : onestar (tcp= heading_cellcontentpart onestar )* ;
3591            public final CollectionNode heading_cellcontent() throws RecognitionException {
3592            CollectionNode items =  new CollectionNode();
3593    
3594            ASTNode tcp = null;
3595    
3596    
3597            try {
3598                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:288:2: ( onestar (tcp= heading_cellcontentpart onestar )* )
3599                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:288:4: onestar (tcp= heading_cellcontentpart onestar )*
3600                    {
3601                    pushFollow(FOLLOW_onestar_in_heading_cellcontent1406);
3602                    onestar();
3603                    _fsp--;
3604                    if (failed) return items;
3605                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:288:13: (tcp= heading_cellcontentpart onestar )*
3606                    loop46:
3607                    do {
3608                    int alt46=2;
3609                    int LA46_0 = input.LA(1);
3610    
3611                    if ( ((LA46_0>=FORCED_END_OF_LINE && LA46_0<=WIKI)||(LA46_0>=POUND && LA46_0<=STAR)||(LA46_0>=PIPE && LA46_0<=FORCED_LINEBREAK)||(LA46_0>=NOWIKI_BLOCK_CLOSE && LA46_0<=79)) ) {
3612                            alt46=1;
3613                    }
3614    
3615    
3616                    switch (alt46) {
3617                    case 1 :
3618                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:288:15: tcp= heading_cellcontentpart onestar
3619                            {
3620                            pushFollow(FOLLOW_heading_cellcontentpart_in_heading_cellcontent1415);
3621                            tcp=heading_cellcontentpart();
3622                            _fsp--;
3623                            if (failed) return items;
3624                            if ( backtracking==0 ) {
3625    
3626                                                                            
3627                                                                            if(tcp != null) { // some AST Node could be NULL if bad CREOLE syntax is wrotten
3628                                                                                    items.add(tcp); 
3629                                                                            }
3630                                                                            
3631                                                                            
3632                            }
3633                            pushFollow(FOLLOW_onestar_in_heading_cellcontent1427);
3634                            onestar();
3635                            _fsp--;
3636                            if (failed) return items;
3637    
3638                            }
3639                            break;
3640    
3641                    default :
3642                            break loop46;
3643                    }
3644                    } while (true);
3645    
3646    
3647                    }
3648    
3649            }
3650            catch (RecognitionException re) {
3651                    reportError(re);
3652                    recover(input,re);
3653            }
3654            finally {
3655            }
3656            return items;
3657            }
3658            // $ANTLR end heading_cellcontent
3659    
3660    
3661            // $ANTLR start heading_cellcontentpart
3662            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:297:1: heading_cellcontentpart returns [ASTNode node = null] : (tf= heading_formattedelement | tu= heading_unformattedelement );
3663            public final ASTNode heading_cellcontentpart() throws RecognitionException {
3664            ASTNode node =  null;
3665    
3666            ASTNode tf = null;
3667    
3668            ASTNode tu = null;
3669    
3670    
3671            try {
3672                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:298:2: (tf= heading_formattedelement | tu= heading_unformattedelement )
3673                    int alt47=2;
3674                    switch ( input.LA(1) ) {
3675                    case ITAL:
3676                    {
3677                    alt47=1;
3678                    }
3679                    break;
3680                    case STAR:
3681                    {
3682                    int LA47_2 = input.LA(2);
3683    
3684                    if ( (LA47_2==STAR) ) {
3685                            alt47=1;
3686                    }
3687                    else if ( (LA47_2==EOF||(LA47_2>=FORCED_END_OF_LINE && LA47_2<=POUND)||(LA47_2>=EQUAL && LA47_2<=FORCED_LINEBREAK)||(LA47_2>=NOWIKI_BLOCK_CLOSE && LA47_2<=79)) ) {
3688                            alt47=2;
3689                    }
3690                    else {
3691                            if (backtracking>0) {failed=true; return node;}
3692                            NoViableAltException nvae =
3693                            new NoViableAltException("297:1: heading_cellcontentpart returns [ASTNode node = null] : (tf= heading_formattedelement | tu= heading_unformattedelement );", 47, 2, input);
3694    
3695                            throw nvae;
3696                    }
3697                    }
3698                    break;
3699                    case FORCED_END_OF_LINE:
3700                    case HEADING_SECTION:
3701                    case HORIZONTAL_SECTION:
3702                    case LIST_ITEM:
3703                    case LIST_ITEM_PART:
3704                    case NOWIKI_SECTION:
3705                    case SCAPE_NODE:
3706                    case TEXT_NODE:
3707                    case UNORDERED_LIST:
3708                    case UNFORMATTED_TEXT:
3709                    case WIKI:
3710                    case POUND:
3711                    case PIPE:
3712                    case LINK_OPEN:
3713                    case IMAGE_OPEN:
3714                    case NOWIKI_OPEN:
3715                    case EXTENSION:
3716                    case FORCED_LINEBREAK:
3717                    case NOWIKI_BLOCK_CLOSE:
3718                    case NOWIKI_CLOSE:
3719                    case LINK_CLOSE:
3720                    case IMAGE_CLOSE:
3721                    case BLANKS:
3722                    case TABLE_OF_CONTENTS_TEXT:
3723                    case DASH:
3724                    case CR:
3725                    case LF:
3726                    case SPACE:
3727                    case TABULATOR:
3728                    case BRACE_CLOSE:
3729                    case COLON_SLASH:
3730                    case SLASH:
3731                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
3732                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
3733                    case INSIGNIFICANT_CHAR:
3734                    case 44:
3735                    case 45:
3736                    case 46:
3737                    case 47:
3738                    case 48:
3739                    case 49:
3740                    case 50:
3741                    case 51:
3742                    case 52:
3743                    case 53:
3744                    case 54:
3745                    case 55:
3746                    case 56:
3747                    case 57:
3748                    case 58:
3749                    case 59:
3750                    case 60:
3751                    case 61:
3752                    case 62:
3753                    case 63:
3754                    case 64:
3755                    case 65:
3756                    case 66:
3757                    case 67:
3758                    case 68:
3759                    case 69:
3760                    case 70:
3761                    case 71:
3762                    case 72:
3763                    case 73:
3764                    case 74:
3765                    case 75:
3766                    case 76:
3767                    case 77:
3768                    case 78:
3769                    case 79:
3770                    {
3771                    alt47=2;
3772                    }
3773                    break;
3774                    default:
3775                    if (backtracking>0) {failed=true; return node;}
3776                    NoViableAltException nvae =
3777                            new NoViableAltException("297:1: heading_cellcontentpart returns [ASTNode node = null] : (tf= heading_formattedelement | tu= heading_unformattedelement );", 47, 0, input);
3778    
3779                    throw nvae;
3780                    }
3781    
3782                    switch (alt47) {
3783                    case 1 :
3784                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:298:4: tf= heading_formattedelement
3785                            {
3786                            pushFollow(FOLLOW_heading_formattedelement_in_heading_cellcontentpart1448);
3787                            tf=heading_formattedelement();
3788                            _fsp--;
3789                            if (failed) return node;
3790                            if ( backtracking==0 ) {
3791                              node =tf;
3792                            }
3793    
3794                            }
3795                            break;
3796                    case 2 :
3797                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:299:4: tu= heading_unformattedelement
3798                            {
3799                            pushFollow(FOLLOW_heading_unformattedelement_in_heading_cellcontentpart1459);
3800                            tu=heading_unformattedelement();
3801                            _fsp--;
3802                            if (failed) return node;
3803                            if ( backtracking==0 ) {
3804                              node =tu;
3805                            }
3806    
3807                            }
3808                            break;
3809    
3810                    }
3811            }
3812            catch (RecognitionException re) {
3813                    reportError(re);
3814                    recover(input,re);
3815            }
3816            finally {
3817            }
3818            return node;
3819            }
3820            // $ANTLR end heading_cellcontentpart
3821    
3822    
3823            // $ANTLR start heading_formattedelement
3824            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:301:1: heading_formattedelement returns [ASTNode content = null] : ( ital_markup (tic= heading_italcontent )? ( ital_markup )? | bold_markup (tbc= heading_boldcontent )? ( bold_markup )? );
3825            public final ASTNode heading_formattedelement() throws RecognitionException {
3826            ASTNode content =  null;
3827    
3828            CollectionNode tic = null;
3829    
3830            CollectionNode tbc = null;
3831    
3832    
3833            try {
3834                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:302:2: ( ital_markup (tic= heading_italcontent )? ( ital_markup )? | bold_markup (tbc= heading_boldcontent )? ( bold_markup )? )
3835                    int alt52=2;
3836                    int LA52_0 = input.LA(1);
3837    
3838                    if ( (LA52_0==ITAL) ) {
3839                    alt52=1;
3840                    }
3841                    else if ( (LA52_0==STAR) ) {
3842                    alt52=2;
3843                    }
3844                    else {
3845                    if (backtracking>0) {failed=true; return content;}
3846                    NoViableAltException nvae =
3847                            new NoViableAltException("301:1: heading_formattedelement returns [ASTNode content = null] : ( ital_markup (tic= heading_italcontent )? ( ital_markup )? | bold_markup (tbc= heading_boldcontent )? ( bold_markup )? );", 52, 0, input);
3848    
3849                    throw nvae;
3850                    }
3851                    switch (alt52) {
3852                    case 1 :
3853                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:302:4: ital_markup (tic= heading_italcontent )? ( ital_markup )?
3854                            {
3855                            pushFollow(FOLLOW_ital_markup_in_heading_formattedelement1475);
3856                            ital_markup();
3857                            _fsp--;
3858                            if (failed) return content;
3859                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:302:18: (tic= heading_italcontent )?
3860                            int alt48=2;
3861                            switch ( input.LA(1) ) {
3862                            case STAR:
3863                                    {
3864                                    alt48=1;
3865                                    }
3866                                    break;
3867                            case ITAL:
3868                                    {
3869                                    alt48=1;
3870                                    }
3871                                    break;
3872                            case LINK_OPEN:
3873                                    {
3874                                    alt48=1;
3875                                    }
3876                                    break;
3877                            case IMAGE_OPEN:
3878                                    {
3879                                    alt48=1;
3880                                    }
3881                                    break;
3882                            case NOWIKI_OPEN:
3883                                    {
3884                                    alt48=1;
3885                                    }
3886                                    break;
3887                            case EOF:
3888                                    {
3889                                    alt48=1;
3890                                    }
3891                                    break;
3892                            case BLANKS:
3893                                    {
3894                                    alt48=1;
3895                                    }
3896                                    break;
3897                            case FORCED_END_OF_LINE:
3898                            case HEADING_SECTION:
3899                            case HORIZONTAL_SECTION:
3900                            case LIST_ITEM:
3901                            case LIST_ITEM_PART:
3902                            case NOWIKI_SECTION:
3903                            case SCAPE_NODE:
3904                            case TEXT_NODE:
3905                            case UNORDERED_LIST:
3906                            case UNFORMATTED_TEXT:
3907                            case WIKI:
3908                            case POUND:
3909                            case PIPE:
3910                            case EXTENSION:
3911                            case FORCED_LINEBREAK:
3912                            case NOWIKI_BLOCK_CLOSE:
3913                            case NOWIKI_CLOSE:
3914                            case LINK_CLOSE:
3915                            case IMAGE_CLOSE:
3916                            case TABLE_OF_CONTENTS_TEXT:
3917                            case DASH:
3918                            case CR:
3919                            case LF:
3920                            case SPACE:
3921                            case TABULATOR:
3922                            case BRACE_CLOSE:
3923                            case COLON_SLASH:
3924                            case SLASH:
3925                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
3926                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
3927                            case INSIGNIFICANT_CHAR:
3928                            case 44:
3929                            case 45:
3930                            case 46:
3931                            case 47:
3932                            case 48:
3933                            case 49:
3934                            case 50:
3935                            case 51:
3936                            case 52:
3937                            case 53:
3938                            case 54:
3939                            case 55:
3940                            case 56:
3941                            case 57:
3942                            case 58:
3943                            case 59:
3944                            case 60:
3945                            case 61:
3946                            case 62:
3947                            case 63:
3948                            case 64:
3949                            case 65:
3950                            case 66:
3951                            case 67:
3952                            case 68:
3953                            case 69:
3954                            case 70:
3955                            case 71:
3956                            case 72:
3957                            case 73:
3958                            case 74:
3959                            case 75:
3960                            case 76:
3961                            case 77:
3962                            case 78:
3963                            case 79:
3964                                    {
3965                                    alt48=1;
3966                                    }
3967                                    break;
3968                            }
3969    
3970                            switch (alt48) {
3971                            case 1 :
3972                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:302:20: tic= heading_italcontent
3973                                    {
3974                                    pushFollow(FOLLOW_heading_italcontent_in_heading_formattedelement1485);
3975                                    tic=heading_italcontent();
3976                                    _fsp--;
3977                                    if (failed) return content;
3978                                    if ( backtracking==0 ) {
3979                                       content = new ItalicTextNode(tic); 
3980                                    }
3981    
3982                                    }
3983                                    break;
3984    
3985                            }
3986    
3987                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:302:96: ( ital_markup )?
3988                            int alt49=2;
3989                            int LA49_0 = input.LA(1);
3990    
3991                            if ( (LA49_0==ITAL) ) {
3992                            alt49=1;
3993                            }
3994                            switch (alt49) {
3995                            case 1 :
3996                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:302:98: ital_markup
3997                                    {
3998                                    pushFollow(FOLLOW_ital_markup_in_heading_formattedelement1494);
3999                                    ital_markup();
4000                                    _fsp--;
4001                                    if (failed) return content;
4002    
4003                                    }
4004                                    break;
4005    
4006                            }
4007    
4008    
4009                            }
4010                            break;
4011                    case 2 :
4012                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:303:4: bold_markup (tbc= heading_boldcontent )? ( bold_markup )?
4013                            {
4014                            pushFollow(FOLLOW_bold_markup_in_heading_formattedelement1502);
4015                            bold_markup();
4016                            _fsp--;
4017                            if (failed) return content;
4018                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:303:16: (tbc= heading_boldcontent )?
4019                            int alt50=2;
4020                            switch ( input.LA(1) ) {
4021                            case STAR:
4022                                    {
4023                                    alt50=1;
4024                                    }
4025                                    break;
4026                            case ITAL:
4027                                    {
4028                                    alt50=1;
4029                                    }
4030                                    break;
4031                            case LINK_OPEN:
4032                                    {
4033                                    alt50=1;
4034                                    }
4035                                    break;
4036                            case IMAGE_OPEN:
4037                                    {
4038                                    alt50=1;
4039                                    }
4040                                    break;
4041                            case NOWIKI_OPEN:
4042                                    {
4043                                    alt50=1;
4044                                    }
4045                                    break;
4046                            case BLANKS:
4047                                    {
4048                                    alt50=1;
4049                                    }
4050                                    break;
4051                            case EOF:
4052                                    {
4053                                    alt50=1;
4054                                    }
4055                                    break;
4056                            case FORCED_END_OF_LINE:
4057                            case HEADING_SECTION:
4058                            case HORIZONTAL_SECTION:
4059                            case LIST_ITEM:
4060                            case LIST_ITEM_PART:
4061                            case NOWIKI_SECTION:
4062                            case SCAPE_NODE:
4063                            case TEXT_NODE:
4064                            case UNORDERED_LIST:
4065                            case UNFORMATTED_TEXT:
4066                            case WIKI:
4067                            case POUND:
4068                            case PIPE:
4069                            case EXTENSION:
4070                            case FORCED_LINEBREAK:
4071                            case NOWIKI_BLOCK_CLOSE:
4072                            case NOWIKI_CLOSE:
4073                            case LINK_CLOSE:
4074                            case IMAGE_CLOSE:
4075                            case TABLE_OF_CONTENTS_TEXT:
4076                            case DASH:
4077                            case CR:
4078                            case LF:
4079                            case SPACE:
4080                            case TABULATOR:
4081                            case BRACE_CLOSE:
4082                            case COLON_SLASH:
4083                            case SLASH:
4084                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
4085                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
4086                            case INSIGNIFICANT_CHAR:
4087                            case 44:
4088                            case 45:
4089                            case 46:
4090                            case 47:
4091                            case 48:
4092                            case 49:
4093                            case 50:
4094                            case 51:
4095                            case 52:
4096                            case 53:
4097                            case 54:
4098                            case 55:
4099                            case 56:
4100                            case 57:
4101                            case 58:
4102                            case 59:
4103                            case 60:
4104                            case 61:
4105                            case 62:
4106                            case 63:
4107                            case 64:
4108                            case 65:
4109                            case 66:
4110                            case 67:
4111                            case 68:
4112                            case 69:
4113                            case 70:
4114                            case 71:
4115                            case 72:
4116                            case 73:
4117                            case 74:
4118                            case 75:
4119                            case 76:
4120                            case 77:
4121                            case 78:
4122                            case 79:
4123                                    {
4124                                    alt50=1;
4125                                    }
4126                                    break;
4127                            }
4128    
4129                            switch (alt50) {
4130                            case 1 :
4131                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:303:18: tbc= heading_boldcontent
4132                                    {
4133                                    pushFollow(FOLLOW_heading_boldcontent_in_heading_formattedelement1509);
4134                                    tbc=heading_boldcontent();
4135                                    _fsp--;
4136                                    if (failed) return content;
4137                                    if ( backtracking==0 ) {
4138                                      content = new BoldTextNode(tbc);
4139                                    }
4140    
4141                                    }
4142                                    break;
4143    
4144                            }
4145    
4146                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:303:90: ( bold_markup )?
4147                            int alt51=2;
4148                            int LA51_0 = input.LA(1);
4149    
4150                            if ( (LA51_0==STAR) ) {
4151                            int LA51_1 = input.LA(2);
4152    
4153                            if ( (LA51_1==STAR) ) {
4154                                    alt51=1;
4155                            }
4156                            }
4157                            switch (alt51) {
4158                            case 1 :
4159                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:303:92: bold_markup
4160                                    {
4161                                    pushFollow(FOLLOW_bold_markup_in_heading_formattedelement1519);
4162                                    bold_markup();
4163                                    _fsp--;
4164                                    if (failed) return content;
4165    
4166                                    }
4167                                    break;
4168    
4169                            }
4170    
4171    
4172                            }
4173                            break;
4174    
4175                    }
4176            }
4177            catch (RecognitionException re) {
4178                    reportError(re);
4179                    recover(input,re);
4180            }
4181            finally {
4182            }
4183            return content;
4184            }
4185            // $ANTLR end heading_formattedelement
4186    
4187    
4188            // $ANTLR start heading_boldcontent
4189            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:305:1: heading_boldcontent returns [CollectionNode items = new CollectionNode()] : ( onestar (tb= heading_boldcontentpart onestar )+ | EOF );
4190            public final CollectionNode heading_boldcontent() throws RecognitionException {
4191            CollectionNode items =  new CollectionNode();
4192    
4193            ASTNode tb = null;
4194    
4195    
4196            try {
4197                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:306:2: ( onestar (tb= heading_boldcontentpart onestar )+ | EOF )
4198                    int alt54=2;
4199                    int LA54_0 = input.LA(1);
4200    
4201                    if ( ((LA54_0>=FORCED_END_OF_LINE && LA54_0<=WIKI)||(LA54_0>=POUND && LA54_0<=STAR)||(LA54_0>=PIPE && LA54_0<=FORCED_LINEBREAK)||(LA54_0>=NOWIKI_BLOCK_CLOSE && LA54_0<=79)) ) {
4202                    alt54=1;
4203                    }
4204                    else if ( (LA54_0==EOF) ) {
4205                    alt54=2;
4206                    }
4207                    else {
4208                    if (backtracking>0) {failed=true; return items;}
4209                    NoViableAltException nvae =
4210                            new NoViableAltException("305:1: heading_boldcontent returns [CollectionNode items = new CollectionNode()] : ( onestar (tb= heading_boldcontentpart onestar )+ | EOF );", 54, 0, input);
4211    
4212                    throw nvae;
4213                    }
4214                    switch (alt54) {
4215                    case 1 :
4216                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:306:4: onestar (tb= heading_boldcontentpart onestar )+
4217                            {
4218                            pushFollow(FOLLOW_onestar_in_heading_boldcontent1536);
4219                            onestar();
4220                            _fsp--;
4221                            if (failed) return items;
4222                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:306:13: (tb= heading_boldcontentpart onestar )+
4223                            int cnt53=0;
4224                            loop53:
4225                            do {
4226                            int alt53=2;
4227                            switch ( input.LA(1) ) {
4228                            case STAR:
4229                                    {
4230                                    alt53=1;
4231                                    }
4232                                    break;
4233                            case BLANKS:
4234                                    {
4235                                    alt53=1;
4236                                    }
4237                                    break;
4238                            case ITAL:
4239                                    {
4240                                    alt53=1;
4241                                    }
4242                                    break;
4243                            case FORCED_END_OF_LINE:
4244                            case HEADING_SECTION:
4245                            case HORIZONTAL_SECTION:
4246                            case LIST_ITEM:
4247                            case LIST_ITEM_PART:
4248                            case NOWIKI_SECTION:
4249                            case SCAPE_NODE:
4250                            case TEXT_NODE:
4251                            case UNORDERED_LIST:
4252                            case UNFORMATTED_TEXT:
4253                            case WIKI:
4254                            case POUND:
4255                            case PIPE:
4256                            case EXTENSION:
4257                            case FORCED_LINEBREAK:
4258                            case NOWIKI_BLOCK_CLOSE:
4259                            case NOWIKI_CLOSE:
4260                            case LINK_CLOSE:
4261                            case IMAGE_CLOSE:
4262                            case TABLE_OF_CONTENTS_TEXT:
4263                            case DASH:
4264                            case CR:
4265                            case LF:
4266                            case SPACE:
4267                            case TABULATOR:
4268                            case BRACE_CLOSE:
4269                            case COLON_SLASH:
4270                            case SLASH:
4271                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
4272                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
4273                            case INSIGNIFICANT_CHAR:
4274                            case 44:
4275                            case 45:
4276                            case 46:
4277                            case 47:
4278                            case 48:
4279                            case 49:
4280                            case 50:
4281                            case 51:
4282                            case 52:
4283                            case 53:
4284                            case 54:
4285                            case 55:
4286                            case 56:
4287                            case 57:
4288                            case 58:
4289                            case 59:
4290                            case 60:
4291                            case 61:
4292                            case 62:
4293                            case 63:
4294                            case 64:
4295                            case 65:
4296                            case 66:
4297                            case 67:
4298                            case 68:
4299                            case 69:
4300                            case 70:
4301                            case 71:
4302                            case 72:
4303                            case 73:
4304                            case 74:
4305                            case 75:
4306                            case 76:
4307                            case 77:
4308                            case 78:
4309                            case 79:
4310                                    {
4311                                    alt53=1;
4312                                    }
4313                                    break;
4314                            case LINK_OPEN:
4315                                    {
4316                                    alt53=1;
4317                                    }
4318                                    break;
4319                            case IMAGE_OPEN:
4320                                    {
4321                                    alt53=1;
4322                                    }
4323                                    break;
4324                            case NOWIKI_OPEN:
4325                                    {
4326                                    alt53=1;
4327                                    }
4328                                    break;
4329    
4330                            }
4331    
4332                            switch (alt53) {
4333                            case 1 :
4334                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:306:15: tb= heading_boldcontentpart onestar
4335                                    {
4336                                    pushFollow(FOLLOW_heading_boldcontentpart_in_heading_boldcontent1545);
4337                                    tb=heading_boldcontentpart();
4338                                    _fsp--;
4339                                    if (failed) return items;
4340                                    if ( backtracking==0 ) {
4341                                       items.add(tb); 
4342                                    }
4343                                    pushFollow(FOLLOW_onestar_in_heading_boldcontent1550);
4344                                    onestar();
4345                                    _fsp--;
4346                                    if (failed) return items;
4347    
4348                                    }
4349                                    break;
4350    
4351                            default :
4352                                    if ( cnt53 >= 1 ) break loop53;
4353                                    if (backtracking>0) {failed=true; return items;}
4354                                    EarlyExitException eee =
4355                                            new EarlyExitException(53, input);
4356                                    throw eee;
4357                            }
4358                            cnt53++;
4359                            } while (true);
4360    
4361    
4362                            }
4363                            break;
4364                    case 2 :
4365                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:307:4: EOF
4366                            {
4367                            match(input,EOF,FOLLOW_EOF_in_heading_boldcontent1558); if (failed) return items;
4368    
4369                            }
4370                            break;
4371    
4372                    }
4373            }
4374            catch (RecognitionException re) {
4375                    reportError(re);
4376                    recover(input,re);
4377            }
4378            finally {
4379            }
4380            return items;
4381            }
4382            // $ANTLR end heading_boldcontent
4383    
4384    
4385            // $ANTLR start heading_italcontent
4386            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:309:1: heading_italcontent returns [CollectionNode items = new CollectionNode()] : ( onestar (ti= heading_italcontentpart onestar )+ | EOF );
4387            public final CollectionNode heading_italcontent() throws RecognitionException {
4388            CollectionNode items =  new CollectionNode();
4389    
4390            ASTNode ti = null;
4391    
4392    
4393            try {
4394                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:310:2: ( onestar (ti= heading_italcontentpart onestar )+ | EOF )
4395                    int alt56=2;
4396                    int LA56_0 = input.LA(1);
4397    
4398                    if ( ((LA56_0>=FORCED_END_OF_LINE && LA56_0<=WIKI)||(LA56_0>=POUND && LA56_0<=STAR)||(LA56_0>=PIPE && LA56_0<=FORCED_LINEBREAK)||(LA56_0>=NOWIKI_BLOCK_CLOSE && LA56_0<=79)) ) {
4399                    alt56=1;
4400                    }
4401                    else if ( (LA56_0==EOF) ) {
4402                    alt56=2;
4403                    }
4404                    else {
4405                    if (backtracking>0) {failed=true; return items;}
4406                    NoViableAltException nvae =
4407                            new NoViableAltException("309:1: heading_italcontent returns [CollectionNode items = new CollectionNode()] : ( onestar (ti= heading_italcontentpart onestar )+ | EOF );", 56, 0, input);
4408    
4409                    throw nvae;
4410                    }
4411                    switch (alt56) {
4412                    case 1 :
4413                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:310:4: onestar (ti= heading_italcontentpart onestar )+
4414                            {
4415                            pushFollow(FOLLOW_onestar_in_heading_italcontent1572);
4416                            onestar();
4417                            _fsp--;
4418                            if (failed) return items;
4419                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:310:13: (ti= heading_italcontentpart onestar )+
4420                            int cnt55=0;
4421                            loop55:
4422                            do {
4423                            int alt55=2;
4424                            switch ( input.LA(1) ) {
4425                            case ITAL:
4426                                    {
4427                                    alt55=1;
4428                                    }
4429                                    break;
4430                            case STAR:
4431                                    {
4432                                    alt55=1;
4433                                    }
4434                                    break;
4435                            case BLANKS:
4436                                    {
4437                                    alt55=1;
4438                                    }
4439                                    break;
4440                            case FORCED_END_OF_LINE:
4441                            case HEADING_SECTION:
4442                            case HORIZONTAL_SECTION:
4443                            case LIST_ITEM:
4444                            case LIST_ITEM_PART:
4445                            case NOWIKI_SECTION:
4446                            case SCAPE_NODE:
4447                            case TEXT_NODE:
4448                            case UNORDERED_LIST:
4449                            case UNFORMATTED_TEXT:
4450                            case WIKI:
4451                            case POUND:
4452                            case PIPE:
4453                            case EXTENSION:
4454                            case FORCED_LINEBREAK:
4455                            case NOWIKI_BLOCK_CLOSE:
4456                            case NOWIKI_CLOSE:
4457                            case LINK_CLOSE:
4458                            case IMAGE_CLOSE:
4459                            case TABLE_OF_CONTENTS_TEXT:
4460                            case DASH:
4461                            case CR:
4462                            case LF:
4463                            case SPACE:
4464                            case TABULATOR:
4465                            case BRACE_CLOSE:
4466                            case COLON_SLASH:
4467                            case SLASH:
4468                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
4469                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
4470                            case INSIGNIFICANT_CHAR:
4471                            case 44:
4472                            case 45:
4473                            case 46:
4474                            case 47:
4475                            case 48:
4476                            case 49:
4477                            case 50:
4478                            case 51:
4479                            case 52:
4480                            case 53:
4481                            case 54:
4482                            case 55:
4483                            case 56:
4484                            case 57:
4485                            case 58:
4486                            case 59:
4487                            case 60:
4488                            case 61:
4489                            case 62:
4490                            case 63:
4491                            case 64:
4492                            case 65:
4493                            case 66:
4494                            case 67:
4495                            case 68:
4496                            case 69:
4497                            case 70:
4498                            case 71:
4499                            case 72:
4500                            case 73:
4501                            case 74:
4502                            case 75:
4503                            case 76:
4504                            case 77:
4505                            case 78:
4506                            case 79:
4507                                    {
4508                                    alt55=1;
4509                                    }
4510                                    break;
4511                            case LINK_OPEN:
4512                                    {
4513                                    alt55=1;
4514                                    }
4515                                    break;
4516                            case IMAGE_OPEN:
4517                                    {
4518                                    alt55=1;
4519                                    }
4520                                    break;
4521                            case NOWIKI_OPEN:
4522                                    {
4523                                    alt55=1;
4524                                    }
4525                                    break;
4526    
4527                            }
4528    
4529                            switch (alt55) {
4530                            case 1 :
4531                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:310:15: ti= heading_italcontentpart onestar
4532                                    {
4533                                    pushFollow(FOLLOW_heading_italcontentpart_in_heading_italcontent1581);
4534                                    ti=heading_italcontentpart();
4535                                    _fsp--;
4536                                    if (failed) return items;
4537                                    if ( backtracking==0 ) {
4538                                       items.add(ti); 
4539                                    }
4540                                    pushFollow(FOLLOW_onestar_in_heading_italcontent1586);
4541                                    onestar();
4542                                    _fsp--;
4543                                    if (failed) return items;
4544    
4545                                    }
4546                                    break;
4547    
4548                            default :
4549                                    if ( cnt55 >= 1 ) break loop55;
4550                                    if (backtracking>0) {failed=true; return items;}
4551                                    EarlyExitException eee =
4552                                            new EarlyExitException(55, input);
4553                                    throw eee;
4554                            }
4555                            cnt55++;
4556                            } while (true);
4557    
4558    
4559                            }
4560                            break;
4561                    case 2 :
4562                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:311:4: EOF
4563                            {
4564                            match(input,EOF,FOLLOW_EOF_in_heading_italcontent1594); if (failed) return items;
4565    
4566                            }
4567                            break;
4568    
4569                    }
4570            }
4571            catch (RecognitionException re) {
4572                    reportError(re);
4573                    recover(input,re);
4574            }
4575            finally {
4576            }
4577            return items;
4578            }
4579            // $ANTLR end heading_italcontent
4580    
4581    
4582            // $ANTLR start heading_boldcontentpart
4583            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:313:1: heading_boldcontentpart returns [ASTNode node = null] : (tf= heading_formattedcontent | ital_markup tb= heading_bolditalcontent ( ital_markup )? );
4584            public final ASTNode heading_boldcontentpart() throws RecognitionException {
4585            ASTNode node =  null;
4586    
4587            CollectionNode tf = null;
4588    
4589            CollectionNode tb = null;
4590    
4591    
4592            try {
4593                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:314:2: (tf= heading_formattedcontent | ital_markup tb= heading_bolditalcontent ( ital_markup )? )
4594                    int alt58=2;
4595                    int LA58_0 = input.LA(1);
4596    
4597                    if ( ((LA58_0>=FORCED_END_OF_LINE && LA58_0<=WIKI)||(LA58_0>=POUND && LA58_0<=STAR)||(LA58_0>=PIPE && LA58_0<=FORCED_LINEBREAK)||(LA58_0>=NOWIKI_BLOCK_CLOSE && LA58_0<=79)) ) {
4598                    alt58=1;
4599                    }
4600                    else {
4601                    if (backtracking>0) {failed=true; return node;}
4602                    NoViableAltException nvae =
4603                            new NoViableAltException("313:1: heading_boldcontentpart returns [ASTNode node = null] : (tf= heading_formattedcontent | ital_markup tb= heading_bolditalcontent ( ital_markup )? );", 58, 0, input);
4604    
4605                    throw nvae;
4606                    }
4607                    switch (alt58) {
4608                    case 1 :
4609                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:314:4: tf= heading_formattedcontent
4610                            {
4611                            pushFollow(FOLLOW_heading_formattedcontent_in_heading_boldcontentpart1612);
4612                            tf=heading_formattedcontent();
4613                            _fsp--;
4614                            if (failed) return node;
4615                            if ( backtracking==0 ) {
4616                              node = tf; 
4617                            }
4618    
4619                            }
4620                            break;
4621                    case 2 :
4622                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:315:4: ital_markup tb= heading_bolditalcontent ( ital_markup )?
4623                            {
4624                            pushFollow(FOLLOW_ital_markup_in_heading_boldcontentpart1619);
4625                            ital_markup();
4626                            _fsp--;
4627                            if (failed) return node;
4628                            pushFollow(FOLLOW_heading_bolditalcontent_in_heading_boldcontentpart1626);
4629                            tb=heading_bolditalcontent();
4630                            _fsp--;
4631                            if (failed) return node;
4632                            if ( backtracking==0 ) {
4633                               node = new ItalicTextNode(tb);  
4634                            }
4635                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:315:94: ( ital_markup )?
4636                            int alt57=2;
4637                            int LA57_0 = input.LA(1);
4638    
4639                            if ( (LA57_0==ITAL) ) {
4640                            alt57=1;
4641                            }
4642                            switch (alt57) {
4643                            case 1 :
4644                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:315:96: ital_markup
4645                                    {
4646                                    pushFollow(FOLLOW_ital_markup_in_heading_boldcontentpart1633);
4647                                    ital_markup();
4648                                    _fsp--;
4649                                    if (failed) return node;
4650    
4651                                    }
4652                                    break;
4653    
4654                            }
4655    
4656    
4657                            }
4658                            break;
4659    
4660                    }
4661            }
4662            catch (RecognitionException re) {
4663                    reportError(re);
4664                    recover(input,re);
4665            }
4666            finally {
4667            }
4668            return node;
4669            }
4670            // $ANTLR end heading_boldcontentpart
4671    
4672    
4673            // $ANTLR start heading_italcontentpart
4674            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:317:1: heading_italcontentpart returns [ASTNode node = null] : ( bold_markup tb= heading_bolditalcontent ( bold_markup )? | tf= heading_formattedcontent );
4675            public final ASTNode heading_italcontentpart() throws RecognitionException {
4676            ASTNode node =  null;
4677    
4678            CollectionNode tb = null;
4679    
4680            CollectionNode tf = null;
4681    
4682    
4683            try {
4684                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:318:2: ( bold_markup tb= heading_bolditalcontent ( bold_markup )? | tf= heading_formattedcontent )
4685                    int alt60=2;
4686                    int LA60_0 = input.LA(1);
4687    
4688                    if ( (LA60_0==STAR) ) {
4689                    int LA60_1 = input.LA(2);
4690    
4691                    if ( (LA60_1==STAR) ) {
4692                            alt60=1;
4693                    }
4694                    else if ( (LA60_1==EOF||(LA60_1>=FORCED_END_OF_LINE && LA60_1<=POUND)||(LA60_1>=EQUAL && LA60_1<=FORCED_LINEBREAK)||(LA60_1>=NOWIKI_BLOCK_CLOSE && LA60_1<=79)) ) {
4695                            alt60=2;
4696                    }
4697                    else {
4698                            if (backtracking>0) {failed=true; return node;}
4699                            NoViableAltException nvae =
4700                            new NoViableAltException("317:1: heading_italcontentpart returns [ASTNode node = null] : ( bold_markup tb= heading_bolditalcontent ( bold_markup )? | tf= heading_formattedcontent );", 60, 1, input);
4701    
4702                            throw nvae;
4703                    }
4704                    }
4705                    else if ( ((LA60_0>=FORCED_END_OF_LINE && LA60_0<=WIKI)||LA60_0==POUND||(LA60_0>=PIPE && LA60_0<=FORCED_LINEBREAK)||(LA60_0>=NOWIKI_BLOCK_CLOSE && LA60_0<=79)) ) {
4706                    alt60=2;
4707                    }
4708                    else {
4709                    if (backtracking>0) {failed=true; return node;}
4710                    NoViableAltException nvae =
4711                            new NoViableAltException("317:1: heading_italcontentpart returns [ASTNode node = null] : ( bold_markup tb= heading_bolditalcontent ( bold_markup )? | tf= heading_formattedcontent );", 60, 0, input);
4712    
4713                    throw nvae;
4714                    }
4715                    switch (alt60) {
4716                    case 1 :
4717                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:318:4: bold_markup tb= heading_bolditalcontent ( bold_markup )?
4718                            {
4719                            pushFollow(FOLLOW_bold_markup_in_heading_italcontentpart1650);
4720                            bold_markup();
4721                            _fsp--;
4722                            if (failed) return node;
4723                            pushFollow(FOLLOW_heading_bolditalcontent_in_heading_italcontentpart1657);
4724                            tb=heading_bolditalcontent();
4725                            _fsp--;
4726                            if (failed) return node;
4727                            if ( backtracking==0 ) {
4728                              node = new BoldTextNode(tb); 
4729                            }
4730                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:318:90: ( bold_markup )?
4731                            int alt59=2;
4732                            int LA59_0 = input.LA(1);
4733    
4734                            if ( (LA59_0==STAR) ) {
4735                            int LA59_1 = input.LA(2);
4736    
4737                            if ( (LA59_1==STAR) ) {
4738                                    alt59=1;
4739                            }
4740                            }
4741                            switch (alt59) {
4742                            case 1 :
4743                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:318:92: bold_markup
4744                                    {
4745                                    pushFollow(FOLLOW_bold_markup_in_heading_italcontentpart1664);
4746                                    bold_markup();
4747                                    _fsp--;
4748                                    if (failed) return node;
4749    
4750                                    }
4751                                    break;
4752    
4753                            }
4754    
4755    
4756                            }
4757                            break;
4758                    case 2 :
4759                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:319:4: tf= heading_formattedcontent
4760                            {
4761                            pushFollow(FOLLOW_heading_formattedcontent_in_heading_italcontentpart1676);
4762                            tf=heading_formattedcontent();
4763                            _fsp--;
4764                            if (failed) return node;
4765                            if ( backtracking==0 ) {
4766                               node = tf; 
4767                            }
4768    
4769                            }
4770                            break;
4771    
4772                    }
4773            }
4774            catch (RecognitionException re) {
4775                    reportError(re);
4776                    recover(input,re);
4777            }
4778            finally {
4779            }
4780            return node;
4781            }
4782            // $ANTLR end heading_italcontentpart
4783    
4784    
4785            // $ANTLR start heading_bolditalcontent
4786            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:321:1: heading_bolditalcontent returns [CollectionNode elements = null] : ( onestar (tfc= heading_formattedcontent onestar )? | EOF );
4787            public final CollectionNode heading_bolditalcontent() throws RecognitionException {
4788            CollectionNode elements =  null;
4789    
4790            CollectionNode tfc = null;
4791    
4792    
4793            try {
4794                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:322:2: ( onestar (tfc= heading_formattedcontent onestar )? | EOF )
4795                    int alt62=2;
4796                    int LA62_0 = input.LA(1);
4797    
4798                    if ( ((LA62_0>=FORCED_END_OF_LINE && LA62_0<=FORCED_LINEBREAK)||(LA62_0>=NOWIKI_BLOCK_CLOSE && LA62_0<=79)) ) {
4799                    alt62=1;
4800                    }
4801                    else if ( (LA62_0==EOF) ) {
4802                    alt62=1;
4803                    }
4804                    else {
4805                    if (backtracking>0) {failed=true; return elements;}
4806                    NoViableAltException nvae =
4807                            new NoViableAltException("321:1: heading_bolditalcontent returns [CollectionNode elements = null] : ( onestar (tfc= heading_formattedcontent onestar )? | EOF );", 62, 0, input);
4808    
4809                    throw nvae;
4810                    }
4811                    switch (alt62) {
4812                    case 1 :
4813                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:322:4: onestar (tfc= heading_formattedcontent onestar )?
4814                            {
4815                            pushFollow(FOLLOW_onestar_in_heading_bolditalcontent1692);
4816                            onestar();
4817                            _fsp--;
4818                            if (failed) return elements;
4819                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:322:13: (tfc= heading_formattedcontent onestar )?
4820                            int alt61=2;
4821                            switch ( input.LA(1) ) {
4822                            case ITAL:
4823                                    {
4824                                    alt61=1;
4825                                    }
4826                                    break;
4827                            case LINK_OPEN:
4828                                    {
4829                                    alt61=1;
4830                                    }
4831                                    break;
4832                            case IMAGE_OPEN:
4833                                    {
4834                                    alt61=1;
4835                                    }
4836                                    break;
4837                            case NOWIKI_OPEN:
4838                                    {
4839                                    alt61=1;
4840                                    }
4841                                    break;
4842                            case STAR:
4843                                    {
4844                                    alt61=1;
4845                                    }
4846                                    break;
4847                            case BLANKS:
4848                                    {
4849                                    alt61=1;
4850                                    }
4851                                    break;
4852                            case FORCED_END_OF_LINE:
4853                            case HEADING_SECTION:
4854                            case HORIZONTAL_SECTION:
4855                            case LIST_ITEM:
4856                            case LIST_ITEM_PART:
4857                            case NOWIKI_SECTION:
4858                            case SCAPE_NODE:
4859                            case TEXT_NODE:
4860                            case UNORDERED_LIST:
4861                            case UNFORMATTED_TEXT:
4862                            case WIKI:
4863                            case POUND:
4864                            case PIPE:
4865                            case EXTENSION:
4866                            case FORCED_LINEBREAK:
4867                            case NOWIKI_BLOCK_CLOSE:
4868                            case NOWIKI_CLOSE:
4869                            case LINK_CLOSE:
4870                            case IMAGE_CLOSE:
4871                            case TABLE_OF_CONTENTS_TEXT:
4872                            case DASH:
4873                            case CR:
4874                            case LF:
4875                            case SPACE:
4876                            case TABULATOR:
4877                            case BRACE_CLOSE:
4878                            case COLON_SLASH:
4879                            case SLASH:
4880                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
4881                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
4882                            case INSIGNIFICANT_CHAR:
4883                            case 44:
4884                            case 45:
4885                            case 46:
4886                            case 47:
4887                            case 48:
4888                            case 49:
4889                            case 50:
4890                            case 51:
4891                            case 52:
4892                            case 53:
4893                            case 54:
4894                            case 55:
4895                            case 56:
4896                            case 57:
4897                            case 58:
4898                            case 59:
4899                            case 60:
4900                            case 61:
4901                            case 62:
4902                            case 63:
4903                            case 64:
4904                            case 65:
4905                            case 66:
4906                            case 67:
4907                            case 68:
4908                            case 69:
4909                            case 70:
4910                            case 71:
4911                            case 72:
4912                            case 73:
4913                            case 74:
4914                            case 75:
4915                            case 76:
4916                            case 77:
4917                            case 78:
4918                            case 79:
4919                                    {
4920                                    alt61=1;
4921                                    }
4922                                    break;
4923                            }
4924    
4925                            switch (alt61) {
4926                            case 1 :
4927                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:322:15: tfc= heading_formattedcontent onestar
4928                                    {
4929                                    pushFollow(FOLLOW_heading_formattedcontent_in_heading_bolditalcontent1701);
4930                                    tfc=heading_formattedcontent();
4931                                    _fsp--;
4932                                    if (failed) return elements;
4933                                    if ( backtracking==0 ) {
4934                                       elements = tfc; 
4935                                    }
4936                                    pushFollow(FOLLOW_onestar_in_heading_bolditalcontent1706);
4937                                    onestar();
4938                                    _fsp--;
4939                                    if (failed) return elements;
4940    
4941                                    }
4942                                    break;
4943    
4944                            }
4945    
4946    
4947                            }
4948                            break;
4949                    case 2 :
4950                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:323:4: EOF
4951                            {
4952                            match(input,EOF,FOLLOW_EOF_in_heading_bolditalcontent1714); if (failed) return elements;
4953    
4954                            }
4955                            break;
4956    
4957                    }
4958            }
4959            catch (RecognitionException re) {
4960                    reportError(re);
4961                    recover(input,re);
4962            }
4963            finally {
4964            }
4965            return elements;
4966            }
4967            // $ANTLR end heading_bolditalcontent
4968    
4969    
4970            // $ANTLR start heading_formattedcontent
4971            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:325:1: heading_formattedcontent returns [CollectionNode elements = new CollectionNode()] : (tu= heading_unformattedelement )+ ;
4972            public final CollectionNode heading_formattedcontent() throws RecognitionException {
4973            CollectionNode elements =  new CollectionNode();
4974    
4975            ASTNode tu = null;
4976    
4977    
4978            try {
4979                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:326:2: ( (tu= heading_unformattedelement )+ )
4980                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:326:4: (tu= heading_unformattedelement )+
4981                    {
4982                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:326:4: (tu= heading_unformattedelement )+
4983                    int cnt63=0;
4984                    loop63:
4985                    do {
4986                    int alt63=2;
4987                    switch ( input.LA(1) ) {
4988                    case STAR:
4989                            {
4990                            alt63=1;
4991                            }
4992                            break;
4993                    case BLANKS:
4994                            {
4995                            alt63=1;
4996                            }
4997                            break;
4998                    case ITAL:
4999                            {
5000                            alt63=1;
5001                            }
5002                            break;
5003                    case FORCED_END_OF_LINE:
5004                    case HEADING_SECTION:
5005                    case HORIZONTAL_SECTION:
5006                    case LIST_ITEM:
5007                    case LIST_ITEM_PART:
5008                    case NOWIKI_SECTION:
5009                    case SCAPE_NODE:
5010                    case TEXT_NODE:
5011                    case UNORDERED_LIST:
5012                    case UNFORMATTED_TEXT:
5013                    case WIKI:
5014                    case POUND:
5015                    case PIPE:
5016                    case EXTENSION:
5017                    case FORCED_LINEBREAK:
5018                    case NOWIKI_BLOCK_CLOSE:
5019                    case NOWIKI_CLOSE:
5020                    case LINK_CLOSE:
5021                    case IMAGE_CLOSE:
5022                    case TABLE_OF_CONTENTS_TEXT:
5023                    case DASH:
5024                    case CR:
5025                    case LF:
5026                    case SPACE:
5027                    case TABULATOR:
5028                    case BRACE_CLOSE:
5029                    case COLON_SLASH:
5030                    case SLASH:
5031                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
5032                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
5033                    case INSIGNIFICANT_CHAR:
5034                    case 44:
5035                    case 45:
5036                    case 46:
5037                    case 47:
5038                    case 48:
5039                    case 49:
5040                    case 50:
5041                    case 51:
5042                    case 52:
5043                    case 53:
5044                    case 54:
5045                    case 55:
5046                    case 56:
5047                    case 57:
5048                    case 58:
5049                    case 59:
5050                    case 60:
5051                    case 61:
5052                    case 62:
5053                    case 63:
5054                    case 64:
5055                    case 65:
5056                    case 66:
5057                    case 67:
5058                    case 68:
5059                    case 69:
5060                    case 70:
5061                    case 71:
5062                    case 72:
5063                    case 73:
5064                    case 74:
5065                    case 75:
5066                    case 76:
5067                    case 77:
5068                    case 78:
5069                    case 79:
5070                            {
5071                            alt63=1;
5072                            }
5073                            break;
5074                    case LINK_OPEN:
5075                            {
5076                            alt63=1;
5077                            }
5078                            break;
5079                    case IMAGE_OPEN:
5080                            {
5081                            alt63=1;
5082                            }
5083                            break;
5084                    case NOWIKI_OPEN:
5085                            {
5086                            alt63=1;
5087                            }
5088                            break;
5089    
5090                    }
5091    
5092                    switch (alt63) {
5093                    case 1 :
5094                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:326:6: tu= heading_unformattedelement
5095                            {
5096                            pushFollow(FOLLOW_heading_unformattedelement_in_heading_formattedcontent1734);
5097                            tu=heading_unformattedelement();
5098                            _fsp--;
5099                            if (failed) return elements;
5100                            if ( backtracking==0 ) {
5101                               elements.add(tu); 
5102                            }
5103    
5104                            }
5105                            break;
5106    
5107                    default :
5108                            if ( cnt63 >= 1 ) break loop63;
5109                            if (backtracking>0) {failed=true; return elements;}
5110                            EarlyExitException eee =
5111                                    new EarlyExitException(63, input);
5112                            throw eee;
5113                    }
5114                    cnt63++;
5115                    } while (true);
5116    
5117    
5118                    }
5119    
5120            }
5121            catch (RecognitionException re) {
5122                    reportError(re);
5123                    recover(input,re);
5124            }
5125            finally {
5126            }
5127            return elements;
5128            }
5129            // $ANTLR end heading_formattedcontent
5130    
5131    
5132            // $ANTLR start heading_unformattedelement
5133            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:328:1: heading_unformattedelement returns [ASTNode content = null] : (tu= heading_unformatted_text | ti= heading_inlineelement );
5134            public final ASTNode heading_unformattedelement() throws RecognitionException {
5135            ASTNode content =  null;
5136    
5137            StringBundler tu = null;
5138    
5139            ASTNode ti = null;
5140    
5141    
5142            try {
5143                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:329:2: (tu= heading_unformatted_text | ti= heading_inlineelement )
5144                    int alt64=2;
5145                    int LA64_0 = input.LA(1);
5146    
5147                    if ( ((LA64_0>=FORCED_END_OF_LINE && LA64_0<=WIKI)||(LA64_0>=POUND && LA64_0<=STAR)||(LA64_0>=PIPE && LA64_0<=ITAL)||(LA64_0>=EXTENSION && LA64_0<=FORCED_LINEBREAK)||(LA64_0>=NOWIKI_BLOCK_CLOSE && LA64_0<=79)) ) {
5148                    alt64=1;
5149                    }
5150                    else if ( ((LA64_0>=LINK_OPEN && LA64_0<=NOWIKI_OPEN)) ) {
5151                    alt64=2;
5152                    }
5153                    else {
5154                    if (backtracking>0) {failed=true; return content;}
5155                    NoViableAltException nvae =
5156                            new NoViableAltException("328:1: heading_unformattedelement returns [ASTNode content = null] : (tu= heading_unformatted_text | ti= heading_inlineelement );", 64, 0, input);
5157    
5158                    throw nvae;
5159                    }
5160                    switch (alt64) {
5161                    case 1 :
5162                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:329:4: tu= heading_unformatted_text
5163                            {
5164                            pushFollow(FOLLOW_heading_unformatted_text_in_heading_unformattedelement1757);
5165                            tu=heading_unformatted_text();
5166                            _fsp--;
5167                            if (failed) return content;
5168                            if ( backtracking==0 ) {
5169                              content = new UnformattedTextNode(tu.toString());
5170                            }
5171    
5172                            }
5173                            break;
5174                    case 2 :
5175                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:330:4: ti= heading_inlineelement
5176                            {
5177                            pushFollow(FOLLOW_heading_inlineelement_in_heading_unformattedelement1769);
5178                            ti=heading_inlineelement();
5179                            _fsp--;
5180                            if (failed) return content;
5181                            if ( backtracking==0 ) {
5182                              content = ti;
5183                            }
5184    
5185                            }
5186                            break;
5187    
5188                    }
5189            }
5190            catch (RecognitionException re) {
5191                    reportError(re);
5192                    recover(input,re);
5193            }
5194            finally {
5195            }
5196            return content;
5197            }
5198            // $ANTLR end heading_unformattedelement
5199    
5200    
5201            // $ANTLR start heading_inlineelement
5202            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:332:1: heading_inlineelement returns [ASTNode element = null] : (l= link | i= image | nwi= nowiki_inline );
5203            public final ASTNode heading_inlineelement() throws RecognitionException {
5204            ASTNode element =  null;
5205    
5206            LinkNode l = null;
5207    
5208            ImageNode i = null;
5209    
5210            NoWikiSectionNode nwi = null;
5211    
5212    
5213            try {
5214                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:333:2: (l= link | i= image | nwi= nowiki_inline )
5215                    int alt65=3;
5216                    switch ( input.LA(1) ) {
5217                    case LINK_OPEN:
5218                    {
5219                    alt65=1;
5220                    }
5221                    break;
5222                    case IMAGE_OPEN:
5223                    {
5224                    alt65=2;
5225                    }
5226                    break;
5227                    case NOWIKI_OPEN:
5228                    {
5229                    alt65=3;
5230                    }
5231                    break;
5232                    default:
5233                    if (backtracking>0) {failed=true; return element;}
5234                    NoViableAltException nvae =
5235                            new NoViableAltException("332:1: heading_inlineelement returns [ASTNode element = null] : (l= link | i= image | nwi= nowiki_inline );", 65, 0, input);
5236    
5237                    throw nvae;
5238                    }
5239    
5240                    switch (alt65) {
5241                    case 1 :
5242                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:333:4: l= link
5243                            {
5244                            pushFollow(FOLLOW_link_in_heading_inlineelement1790);
5245                            l=link();
5246                            _fsp--;
5247                            if (failed) return element;
5248                            if ( backtracking==0 ) {
5249                              element = l; 
5250                            }
5251    
5252                            }
5253                            break;
5254                    case 2 :
5255                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:334:4: i= image
5256                            {
5257                            pushFollow(FOLLOW_image_in_heading_inlineelement1800);
5258                            i=image();
5259                            _fsp--;
5260                            if (failed) return element;
5261                            if ( backtracking==0 ) {
5262                              element = i; 
5263                            }
5264    
5265                            }
5266                            break;
5267                    case 3 :
5268                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:335:4: nwi= nowiki_inline
5269                            {
5270                            pushFollow(FOLLOW_nowiki_inline_in_heading_inlineelement1811);
5271                            nwi=nowiki_inline();
5272                            _fsp--;
5273                            if (failed) return element;
5274                            if ( backtracking==0 ) {
5275                              element = nwi; 
5276                            }
5277    
5278                            }
5279                            break;
5280    
5281                    }
5282            }
5283            catch (RecognitionException re) {
5284                    reportError(re);
5285                    recover(input,re);
5286            }
5287            finally {
5288            }
5289            return element;
5290            }
5291            // $ANTLR end heading_inlineelement
5292    
5293    
5294            // $ANTLR start heading_unformatted_text
5295            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:338:1: heading_unformatted_text returns [StringBundler text = new StringBundler()] : (c=~ ( LINK_OPEN | IMAGE_OPEN | NOWIKI_OPEN | EQUAL | ESCAPE | NEWLINE | EOF ) )+ ;
5296            public final StringBundler heading_unformatted_text() throws RecognitionException {
5297            StringBundler text =  new StringBundler();
5298    
5299            Token c=null;
5300    
5301            try {
5302                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:339:2: ( (c=~ ( LINK_OPEN | IMAGE_OPEN | NOWIKI_OPEN | EQUAL | ESCAPE | NEWLINE | EOF ) )+ )
5303                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:339:4: (c=~ ( LINK_OPEN | IMAGE_OPEN | NOWIKI_OPEN | EQUAL | ESCAPE | NEWLINE | EOF ) )+
5304                    {
5305                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:339:4: (c=~ ( LINK_OPEN | IMAGE_OPEN | NOWIKI_OPEN | EQUAL | ESCAPE | NEWLINE | EOF ) )+
5306                    int cnt66=0;
5307                    loop66:
5308                    do {
5309                    int alt66=2;
5310                    switch ( input.LA(1) ) {
5311                    case STAR:
5312                            {
5313                            alt66=1;
5314                            }
5315                            break;
5316                    case BLANKS:
5317                            {
5318                            alt66=1;
5319                            }
5320                            break;
5321                    case ITAL:
5322                            {
5323                            alt66=1;
5324                            }
5325                            break;
5326                    case FORCED_END_OF_LINE:
5327                    case HEADING_SECTION:
5328                    case HORIZONTAL_SECTION:
5329                    case LIST_ITEM:
5330                    case LIST_ITEM_PART:
5331                    case NOWIKI_SECTION:
5332                    case SCAPE_NODE:
5333                    case TEXT_NODE:
5334                    case UNORDERED_LIST:
5335                    case UNFORMATTED_TEXT:
5336                    case WIKI:
5337                    case POUND:
5338                    case PIPE:
5339                    case EXTENSION:
5340                    case FORCED_LINEBREAK:
5341                    case NOWIKI_BLOCK_CLOSE:
5342                    case NOWIKI_CLOSE:
5343                    case LINK_CLOSE:
5344                    case IMAGE_CLOSE:
5345                    case TABLE_OF_CONTENTS_TEXT:
5346                    case DASH:
5347                    case CR:
5348                    case LF:
5349                    case SPACE:
5350                    case TABULATOR:
5351                    case BRACE_CLOSE:
5352                    case COLON_SLASH:
5353                    case SLASH:
5354                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
5355                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
5356                    case INSIGNIFICANT_CHAR:
5357                    case 44:
5358                    case 45:
5359                    case 46:
5360                    case 47:
5361                    case 48:
5362                    case 49:
5363                    case 50:
5364                    case 51:
5365                    case 52:
5366                    case 53:
5367                    case 54:
5368                    case 55:
5369                    case 56:
5370                    case 57:
5371                    case 58:
5372                    case 59:
5373                    case 60:
5374                    case 61:
5375                    case 62:
5376                    case 63:
5377                    case 64:
5378                    case 65:
5379                    case 66:
5380                    case 67:
5381                    case 68:
5382                    case 69:
5383                    case 70:
5384                    case 71:
5385                    case 72:
5386                    case 73:
5387                    case 74:
5388                    case 75:
5389                    case 76:
5390                    case 77:
5391                    case 78:
5392                    case 79:
5393                            {
5394                            alt66=1;
5395                            }
5396                            break;
5397    
5398                    }
5399    
5400                    switch (alt66) {
5401                    case 1 :
5402                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:339:6: c=~ ( LINK_OPEN | IMAGE_OPEN | NOWIKI_OPEN | EQUAL | ESCAPE | NEWLINE | EOF )
5403                            {
5404                            c=(Token)input.LT(1);
5405                            if ( (input.LA(1)>=FORCED_END_OF_LINE && input.LA(1)<=WIKI)||(input.LA(1)>=POUND && input.LA(1)<=STAR)||(input.LA(1)>=PIPE && input.LA(1)<=ITAL)||(input.LA(1)>=EXTENSION && input.LA(1)<=FORCED_LINEBREAK)||(input.LA(1)>=NOWIKI_BLOCK_CLOSE && input.LA(1)<=79) ) {
5406                            input.consume();
5407                            errorRecovery=false;failed=false;
5408                            }
5409                            else {
5410                            if (backtracking>0) {failed=true; return text;}
5411                            MismatchedSetException mse =
5412                                    new MismatchedSetException(null,input);
5413                            recoverFromMismatchedSet(input,mse,FOLLOW_set_in_heading_unformatted_text1836); throw mse;
5414                            }
5415    
5416                            if ( backtracking==0 ) {
5417                              text.append(c.getText());
5418                            }
5419    
5420                            }
5421                            break;
5422    
5423                    default :
5424                            if ( cnt66 >= 1 ) break loop66;
5425                            if (backtracking>0) {failed=true; return text;}
5426                            EarlyExitException eee =
5427                                    new EarlyExitException(66, input);
5428                            throw eee;
5429                    }
5430                    cnt66++;
5431                    } while (true);
5432    
5433    
5434                    }
5435    
5436            }
5437            catch (RecognitionException re) {
5438                    reportError(re);
5439                    recover(input,re);
5440            }
5441            finally {
5442            }
5443            return text;
5444            }
5445            // $ANTLR end heading_unformatted_text
5446    
5447    
5448            // $ANTLR start list_ord
5449            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:345:1: list_ord returns [OrderedListNode orderedList = new OrderedListNode()] : (elem= list_ordelem )+ ( end_of_list )? ;
5450            public final OrderedListNode list_ord() throws RecognitionException {
5451            OrderedListNode orderedList =  new OrderedListNode();
5452    
5453            ASTNode elem = null;
5454    
5455    
5456            try {
5457                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:346:2: ( (elem= list_ordelem )+ ( end_of_list )? )
5458                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:346:4: (elem= list_ordelem )+ ( end_of_list )?
5459                    {
5460                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:346:4: (elem= list_ordelem )+
5461                    int cnt67=0;
5462                    loop67:
5463                    do {
5464                    int alt67=2;
5465                    int LA67_0 = input.LA(1);
5466    
5467                    if ( (LA67_0==POUND) ) {
5468                            alt67=1;
5469                    }
5470    
5471    
5472                    switch (alt67) {
5473                    case 1 :
5474                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:346:6: elem= list_ordelem
5475                            {
5476                            pushFollow(FOLLOW_list_ordelem_in_list_ord1895);
5477                            elem=list_ordelem();
5478                            _fsp--;
5479                            if (failed) return orderedList;
5480                            if ( backtracking==0 ) {
5481                               orderedList.addChildASTNode(elem);  
5482                            }
5483    
5484                            }
5485                            break;
5486    
5487                    default :
5488                            if ( cnt67 >= 1 ) break loop67;
5489                            if (backtracking>0) {failed=true; return orderedList;}
5490                            EarlyExitException eee =
5491                                    new EarlyExitException(67, input);
5492                            throw eee;
5493                    }
5494                    cnt67++;
5495                    } while (true);
5496    
5497                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:346:77: ( end_of_list )?
5498                    int alt68=2;
5499                    int LA68_0 = input.LA(1);
5500    
5501                    if ( (LA68_0==NEWLINE) ) {
5502                    alt68=1;
5503                    }
5504                    else if ( (LA68_0==EOF) ) {
5505                    alt68=1;
5506                    }
5507                    switch (alt68) {
5508                    case 1 :
5509                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:346:79: end_of_list
5510                            {
5511                            pushFollow(FOLLOW_end_of_list_in_list_ord1905);
5512                            end_of_list();
5513                            _fsp--;
5514                            if (failed) return orderedList;
5515    
5516                            }
5517                            break;
5518    
5519                    }
5520    
5521    
5522                    }
5523    
5524            }
5525            catch (RecognitionException re) {
5526                    reportError(re);
5527                    recover(input,re);
5528            }
5529            finally {
5530            }
5531            return orderedList;
5532            }
5533            // $ANTLR end list_ord
5534    
5535    
5536            // $ANTLR start list_ordelem
5537            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:348:1: list_ordelem returns [ASTNode item = null] : om= list_ordelem_markup elem= list_elem ;
5538            public final ASTNode list_ordelem() throws RecognitionException {
5539            CountLevel_stack.push(new CountLevel_scope());
5540    
5541            ASTNode item =  null;
5542    
5543            list_ordelem_markup_return om = null;
5544    
5545            CollectionNode elem = null;
5546    
5547    
5548    
5549                            ((CountLevel_scope)CountLevel_stack.peek()).level = 0;
5550                            ((CountLevel_scope)CountLevel_stack.peek()).groups = new String();
5551                    
5552            try {
5553                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:354:2: (om= list_ordelem_markup elem= list_elem )
5554                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:354:4: om= list_ordelem_markup elem= list_elem
5555                    {
5556                    pushFollow(FOLLOW_list_ordelem_markup_in_list_ordelem1938);
5557                    om=list_ordelem_markup();
5558                    _fsp--;
5559                    if (failed) return item;
5560                    if ( backtracking==0 ) {
5561                      ++((CountLevel_scope)CountLevel_stack.peek()).level; ((CountLevel_scope)CountLevel_stack.peek()).currentMarkup = input.toString(om.start,om.stop); ((CountLevel_scope)CountLevel_stack.peek()).groups += input.toString(om.start,om.stop);
5562                    }
5563                    pushFollow(FOLLOW_list_elem_in_list_ordelem1946);
5564                    elem=list_elem();
5565                    _fsp--;
5566                    if (failed) return item;
5567                    if ( backtracking==0 ) {
5568                       item = new OrderedListItemNode(((CountLevel_scope)CountLevel_stack.peek()).level, elem);
5569                    }
5570    
5571                    }
5572    
5573            }
5574            catch (RecognitionException re) {
5575                    reportError(re);
5576                    recover(input,re);
5577            }
5578            finally {
5579                    CountLevel_stack.pop();
5580    
5581            }
5582            return item;
5583            }
5584            // $ANTLR end list_ordelem
5585    
5586    
5587            // $ANTLR start list_unord
5588            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:357:1: list_unord returns [UnorderedListNode unorderedList = new UnorderedListNode()] : (elem= list_unordelem )+ ( end_of_list )? ;
5589            public final UnorderedListNode list_unord() throws RecognitionException {
5590            UnorderedListNode unorderedList =  new UnorderedListNode();
5591    
5592            UnorderedListItemNode elem = null;
5593    
5594    
5595            try {
5596                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:358:2: ( (elem= list_unordelem )+ ( end_of_list )? )
5597                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:358:4: (elem= list_unordelem )+ ( end_of_list )?
5598                    {
5599                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:358:4: (elem= list_unordelem )+
5600                    int cnt69=0;
5601                    loop69:
5602                    do {
5603                    int alt69=2;
5604                    int LA69_0 = input.LA(1);
5605    
5606                    if ( (LA69_0==STAR) ) {
5607                            alt69=1;
5608                    }
5609    
5610    
5611                    switch (alt69) {
5612                    case 1 :
5613                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:358:6: elem= list_unordelem
5614                            {
5615                            pushFollow(FOLLOW_list_unordelem_in_list_unord1969);
5616                            elem=list_unordelem();
5617                            _fsp--;
5618                            if (failed) return unorderedList;
5619                            if ( backtracking==0 ) {
5620                               unorderedList.addChildASTNode(elem); 
5621                            }
5622    
5623                            }
5624                            break;
5625    
5626                    default :
5627                            if ( cnt69 >= 1 ) break loop69;
5628                            if (backtracking>0) {failed=true; return unorderedList;}
5629                            EarlyExitException eee =
5630                                    new EarlyExitException(69, input);
5631                            throw eee;
5632                    }
5633                    cnt69++;
5634                    } while (true);
5635    
5636                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:358:80: ( end_of_list )?
5637                    int alt70=2;
5638                    int LA70_0 = input.LA(1);
5639    
5640                    if ( (LA70_0==NEWLINE) ) {
5641                    alt70=1;
5642                    }
5643                    else if ( (LA70_0==EOF) ) {
5644                    alt70=1;
5645                    }
5646                    switch (alt70) {
5647                    case 1 :
5648                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:358:82: end_of_list
5649                            {
5650                            pushFollow(FOLLOW_end_of_list_in_list_unord1979);
5651                            end_of_list();
5652                            _fsp--;
5653                            if (failed) return unorderedList;
5654    
5655                            }
5656                            break;
5657    
5658                    }
5659    
5660    
5661                    }
5662    
5663            }
5664            catch (RecognitionException re) {
5665                    reportError(re);
5666                    recover(input,re);
5667            }
5668            finally {
5669            }
5670            return unorderedList;
5671            }
5672            // $ANTLR end list_unord
5673    
5674    
5675            // $ANTLR start list_unordelem
5676            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:360:1: list_unordelem returns [UnorderedListItemNode item = null] : um= list_unordelem_markup elem= list_elem ;
5677            public final UnorderedListItemNode list_unordelem() throws RecognitionException {
5678            CountLevel_stack.push(new CountLevel_scope());
5679    
5680            UnorderedListItemNode item =  null;
5681    
5682            list_unordelem_markup_return um = null;
5683    
5684            CollectionNode elem = null;
5685    
5686    
5687    
5688                            ((CountLevel_scope)CountLevel_stack.peek()).level = 0;
5689                    
5690            try {
5691                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:365:2: (um= list_unordelem_markup elem= list_elem )
5692                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:365:4: um= list_unordelem_markup elem= list_elem
5693                    {
5694                    pushFollow(FOLLOW_list_unordelem_markup_in_list_unordelem2012);
5695                    um=list_unordelem_markup();
5696                    _fsp--;
5697                    if (failed) return item;
5698                    if ( backtracking==0 ) {
5699                      ++((CountLevel_scope)CountLevel_stack.peek()).level; ((CountLevel_scope)CountLevel_stack.peek()).currentMarkup = input.toString(um.start,um.stop);((CountLevel_scope)CountLevel_stack.peek()).groups += input.toString(um.start,um.stop);
5700                    }
5701                    pushFollow(FOLLOW_list_elem_in_list_unordelem2019);
5702                    elem=list_elem();
5703                    _fsp--;
5704                    if (failed) return item;
5705                    if ( backtracking==0 ) {
5706                       item = new UnorderedListItemNode(((CountLevel_scope)CountLevel_stack.peek()).level, elem);
5707                    }
5708    
5709                    }
5710    
5711            }
5712            catch (RecognitionException re) {
5713                    reportError(re);
5714                    recover(input,re);
5715            }
5716            finally {
5717                    CountLevel_stack.pop();
5718    
5719            }
5720            return item;
5721            }
5722            // $ANTLR end list_unordelem
5723    
5724    
5725            // $ANTLR start list_elem
5726            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:367:1: list_elem returns [CollectionNode items = null] : (m= list_elem_markup )* c= list_elemcontent list_elemseparator ;
5727            public final CollectionNode list_elem() throws RecognitionException {
5728            CollectionNode items =  null;
5729    
5730            list_elem_markup_return m = null;
5731    
5732            CollectionNode c = null;
5733    
5734    
5735            try {
5736                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:368:2: ( (m= list_elem_markup )* c= list_elemcontent list_elemseparator )
5737                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:368:4: (m= list_elem_markup )* c= list_elemcontent list_elemseparator
5738                    {
5739                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:368:4: (m= list_elem_markup )*
5740                    loop71:
5741                    do {
5742                    int alt71=2;
5743                    int LA71_0 = input.LA(1);
5744    
5745                    if ( (LA71_0==STAR) ) {
5746                            alt71=1;
5747                    }
5748                    else if ( (LA71_0==POUND) ) {
5749                            alt71=1;
5750                    }
5751    
5752    
5753                    switch (alt71) {
5754                    case 1 :
5755                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:368:6: m= list_elem_markup
5756                            {
5757                            pushFollow(FOLLOW_list_elem_markup_in_list_elem2042);
5758                            m=list_elem_markup();
5759                            _fsp--;
5760                            if (failed) return items;
5761                            if ( backtracking==0 ) {
5762    
5763                                                             ++((CountLevel_scope)CountLevel_stack.peek()).level;
5764                                                             if(!input.toString(m.start,m.stop).equals(((CountLevel_scope)CountLevel_stack.peek()).currentMarkup)) {
5765                                                    ((CountLevel_scope)CountLevel_stack.peek()).groups+= GROUPING_SEPARATOR;
5766                                                             }
5767                                                             ((CountLevel_scope)CountLevel_stack.peek()).groups+= input.toString(m.start,m.stop);
5768                                                             ((CountLevel_scope)CountLevel_stack.peek()).currentMarkup = input.toString(m.start,m.stop);
5769                                                      
5770                            }
5771    
5772                            }
5773                            break;
5774    
5775                    default :
5776                            break loop71;
5777                    }
5778                    } while (true);
5779    
5780                    pushFollow(FOLLOW_list_elemcontent_in_list_elem2053);
5781                    c=list_elemcontent();
5782                    _fsp--;
5783                    if (failed) return items;
5784                    if ( backtracking==0 ) {
5785                      items = c; 
5786                    }
5787                    pushFollow(FOLLOW_list_elemseparator_in_list_elem2058);
5788                    list_elemseparator();
5789                    _fsp--;
5790                    if (failed) return items;
5791    
5792                    }
5793    
5794            }
5795            catch (RecognitionException re) {
5796                    reportError(re);
5797                    recover(input,re);
5798            }
5799            finally {
5800            }
5801            return items;
5802            }
5803            // $ANTLR end list_elem
5804    
5805            public static class list_elem_markup_return extends ParserRuleReturnScope {
5806            };
5807    
5808            // $ANTLR start list_elem_markup
5809            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:377:1: list_elem_markup : ( list_ordelem_markup | list_unordelem_markup );
5810            public final list_elem_markup_return list_elem_markup() throws RecognitionException {
5811            list_elem_markup_return retval = new list_elem_markup_return();
5812            retval.start = input.LT(1);
5813    
5814            try {
5815                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:378:2: ( list_ordelem_markup | list_unordelem_markup )
5816                    int alt72=2;
5817                    int LA72_0 = input.LA(1);
5818    
5819                    if ( (LA72_0==POUND) ) {
5820                    alt72=1;
5821                    }
5822                    else if ( (LA72_0==STAR) ) {
5823                    alt72=2;
5824                    }
5825                    else {
5826                    if (backtracking>0) {failed=true; return retval;}
5827                    NoViableAltException nvae =
5828                            new NoViableAltException("377:1: list_elem_markup : ( list_ordelem_markup | list_unordelem_markup );", 72, 0, input);
5829    
5830                    throw nvae;
5831                    }
5832                    switch (alt72) {
5833                    case 1 :
5834                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:378:4: list_ordelem_markup
5835                            {
5836                            pushFollow(FOLLOW_list_ordelem_markup_in_list_elem_markup2068);
5837                            list_ordelem_markup();
5838                            _fsp--;
5839                            if (failed) return retval;
5840    
5841                            }
5842                            break;
5843                    case 2 :
5844                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:379:4: list_unordelem_markup
5845                            {
5846                            pushFollow(FOLLOW_list_unordelem_markup_in_list_elem_markup2073);
5847                            list_unordelem_markup();
5848                            _fsp--;
5849                            if (failed) return retval;
5850    
5851                            }
5852                            break;
5853    
5854                    }
5855                    retval.stop = input.LT(-1);
5856    
5857            }
5858            catch (RecognitionException re) {
5859                    reportError(re);
5860                    recover(input,re);
5861            }
5862            finally {
5863            }
5864            return retval;
5865            }
5866            // $ANTLR end list_elem_markup
5867    
5868    
5869            // $ANTLR start list_elemcontent
5870            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:381:1: list_elemcontent returns [CollectionNode items = new CollectionNode()] : onestar (part= list_elemcontentpart onestar )* ;
5871            public final CollectionNode list_elemcontent() throws RecognitionException {
5872            CollectionNode items =  new CollectionNode();
5873    
5874            ASTNode part = null;
5875    
5876    
5877            try {
5878                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:382:2: ( onestar (part= list_elemcontentpart onestar )* )
5879                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:382:4: onestar (part= list_elemcontentpart onestar )*
5880                    {
5881                    pushFollow(FOLLOW_onestar_in_list_elemcontent2087);
5882                    onestar();
5883                    _fsp--;
5884                    if (failed) return items;
5885                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:382:13: (part= list_elemcontentpart onestar )*
5886                    loop73:
5887                    do {
5888                    int alt73=2;
5889                    int LA73_0 = input.LA(1);
5890    
5891                    if ( ((LA73_0>=FORCED_END_OF_LINE && LA73_0<=WIKI)||(LA73_0>=POUND && LA73_0<=79)) ) {
5892                            alt73=1;
5893                    }
5894    
5895    
5896                    switch (alt73) {
5897                    case 1 :
5898                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:382:15: part= list_elemcontentpart onestar
5899                            {
5900                            pushFollow(FOLLOW_list_elemcontentpart_in_list_elemcontent2096);
5901                            part=list_elemcontentpart();
5902                            _fsp--;
5903                            if (failed) return items;
5904                            if ( backtracking==0 ) {
5905                               items.add(part); 
5906                            }
5907                            pushFollow(FOLLOW_onestar_in_list_elemcontent2101);
5908                            onestar();
5909                            _fsp--;
5910                            if (failed) return items;
5911    
5912                            }
5913                            break;
5914    
5915                    default :
5916                            break loop73;
5917                    }
5918                    } while (true);
5919    
5920    
5921                    }
5922    
5923            }
5924            catch (RecognitionException re) {
5925                    reportError(re);
5926                    recover(input,re);
5927            }
5928            finally {
5929            }
5930            return items;
5931            }
5932            // $ANTLR end list_elemcontent
5933    
5934    
5935            // $ANTLR start list_elemcontentpart
5936            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:384:1: list_elemcontentpart returns [ASTNode node = null] : (tuf= text_unformattedelement | tf= list_formatted_elem );
5937            public final ASTNode list_elemcontentpart() throws RecognitionException {
5938            ASTNode node =  null;
5939    
5940            ASTNode tuf = null;
5941    
5942            CollectionNode tf = null;
5943    
5944    
5945            try {
5946                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:385:2: (tuf= text_unformattedelement | tf= list_formatted_elem )
5947                    int alt74=2;
5948                    int LA74_0 = input.LA(1);
5949    
5950                    if ( ((LA74_0>=FORCED_END_OF_LINE && LA74_0<=WIKI)||LA74_0==POUND||(LA74_0>=EQUAL && LA74_0<=PIPE)||(LA74_0>=LINK_OPEN && LA74_0<=79)) ) {
5951                    alt74=1;
5952                    }
5953                    else if ( (LA74_0==STAR||LA74_0==ITAL) ) {
5954                    alt74=2;
5955                    }
5956                    else {
5957                    if (backtracking>0) {failed=true; return node;}
5958                    NoViableAltException nvae =
5959                            new NoViableAltException("384:1: list_elemcontentpart returns [ASTNode node = null] : (tuf= text_unformattedelement | tf= list_formatted_elem );", 74, 0, input);
5960    
5961                    throw nvae;
5962                    }
5963                    switch (alt74) {
5964                    case 1 :
5965                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:385:4: tuf= text_unformattedelement
5966                            {
5967                            pushFollow(FOLLOW_text_unformattedelement_in_list_elemcontentpart2122);
5968                            tuf=text_unformattedelement();
5969                            _fsp--;
5970                            if (failed) return node;
5971                            if ( backtracking==0 ) {
5972                               
5973                                                    if(tuf instanceof CollectionNode)
5974                                                            node = new UnformattedTextNode(tuf);
5975                                                    else
5976                                                            node = tuf;
5977                                                    
5978                            }
5979    
5980                            }
5981                            break;
5982                    case 2 :
5983                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:391:4: tf= list_formatted_elem
5984                            {
5985                            pushFollow(FOLLOW_list_formatted_elem_in_list_elemcontentpart2133);
5986                            tf=list_formatted_elem();
5987                            _fsp--;
5988                            if (failed) return node;
5989                            if ( backtracking==0 ) {
5990                               node = new FormattedTextNode(tf);
5991                            }
5992    
5993                            }
5994                            break;
5995    
5996                    }
5997            }
5998            catch (RecognitionException re) {
5999                    reportError(re);
6000                    recover(input,re);
6001            }
6002            finally {
6003            }
6004            return node;
6005            }
6006            // $ANTLR end list_elemcontentpart
6007    
6008    
6009            // $ANTLR start list_formatted_elem
6010            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:393:1: list_formatted_elem returns [CollectionNode contents = new CollectionNode()] : ( bold_markup onestar (boldContents= list_boldcontentpart onestar )* ( bold_markup )? | ital_markup onestar (italContents= list_italcontentpart onestar )* ( ital_markup )? );
6011            public final CollectionNode list_formatted_elem() throws RecognitionException {
6012            CollectionNode contents =  new CollectionNode();
6013    
6014            ASTNode boldContents = null;
6015    
6016            ASTNode italContents = null;
6017    
6018    
6019            try {
6020                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:394:2: ( bold_markup onestar (boldContents= list_boldcontentpart onestar )* ( bold_markup )? | ital_markup onestar (italContents= list_italcontentpart onestar )* ( ital_markup )? )
6021                    int alt79=2;
6022                    int LA79_0 = input.LA(1);
6023    
6024                    if ( (LA79_0==STAR) ) {
6025                    alt79=1;
6026                    }
6027                    else if ( (LA79_0==ITAL) ) {
6028                    alt79=2;
6029                    }
6030                    else {
6031                    if (backtracking>0) {failed=true; return contents;}
6032                    NoViableAltException nvae =
6033                            new NoViableAltException("393:1: list_formatted_elem returns [CollectionNode contents = new CollectionNode()] : ( bold_markup onestar (boldContents= list_boldcontentpart onestar )* ( bold_markup )? | ital_markup onestar (italContents= list_italcontentpart onestar )* ( ital_markup )? );", 79, 0, input);
6034    
6035                    throw nvae;
6036                    }
6037                    switch (alt79) {
6038                    case 1 :
6039                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:394:4: bold_markup onestar (boldContents= list_boldcontentpart onestar )* ( bold_markup )?
6040                            {
6041                            pushFollow(FOLLOW_bold_markup_in_list_formatted_elem2150);
6042                            bold_markup();
6043                            _fsp--;
6044                            if (failed) return contents;
6045                            pushFollow(FOLLOW_onestar_in_list_formatted_elem2153);
6046                            onestar();
6047                            _fsp--;
6048                            if (failed) return contents;
6049                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:394:26: (boldContents= list_boldcontentpart onestar )*
6050                            loop75:
6051                            do {
6052                            int alt75=2;
6053                            switch ( input.LA(1) ) {
6054                            case FORCED_END_OF_LINE:
6055                            case HEADING_SECTION:
6056                            case HORIZONTAL_SECTION:
6057                            case LIST_ITEM:
6058                            case LIST_ITEM_PART:
6059                            case NOWIKI_SECTION:
6060                            case SCAPE_NODE:
6061                            case TEXT_NODE:
6062                            case UNORDERED_LIST:
6063                            case UNFORMATTED_TEXT:
6064                            case WIKI:
6065                            case POUND:
6066                            case EQUAL:
6067                            case PIPE:
6068                            case NOWIKI_BLOCK_CLOSE:
6069                            case NOWIKI_CLOSE:
6070                            case LINK_CLOSE:
6071                            case IMAGE_CLOSE:
6072                            case BLANKS:
6073                            case TABLE_OF_CONTENTS_TEXT:
6074                            case DASH:
6075                            case CR:
6076                            case LF:
6077                            case SPACE:
6078                            case TABULATOR:
6079                            case BRACE_CLOSE:
6080                            case COLON_SLASH:
6081                            case SLASH:
6082                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
6083                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
6084                            case INSIGNIFICANT_CHAR:
6085                            case 44:
6086                            case 45:
6087                            case 46:
6088                            case 47:
6089                            case 48:
6090                            case 49:
6091                            case 50:
6092                            case 51:
6093                            case 52:
6094                            case 53:
6095                            case 54:
6096                            case 55:
6097                            case 56:
6098                            case 57:
6099                            case 58:
6100                            case 59:
6101                            case 60:
6102                            case 61:
6103                            case 62:
6104                            case 63:
6105                            case 64:
6106                            case 65:
6107                            case 66:
6108                            case 67:
6109                            case 68:
6110                            case 69:
6111                            case 70:
6112                            case 71:
6113                            case 72:
6114                            case 73:
6115                            case 74:
6116                            case 75:
6117                            case 76:
6118                            case 77:
6119                            case 78:
6120                            case 79:
6121                                    {
6122                                    alt75=1;
6123                                    }
6124                                    break;
6125                            case FORCED_LINEBREAK:
6126                                    {
6127                                    alt75=1;
6128                                    }
6129                                    break;
6130                            case ESCAPE:
6131                                    {
6132                                    alt75=1;
6133                                    }
6134                                    break;
6135                            case LINK_OPEN:
6136                                    {
6137                                    alt75=1;
6138                                    }
6139                                    break;
6140                            case IMAGE_OPEN:
6141                                    {
6142                                    alt75=1;
6143                                    }
6144                                    break;
6145                            case EXTENSION:
6146                                    {
6147                                    alt75=1;
6148                                    }
6149                                    break;
6150                            case NOWIKI_OPEN:
6151                                    {
6152                                    alt75=1;
6153                                    }
6154                                    break;
6155                            case ITAL:
6156                                    {
6157                                    alt75=1;
6158                                    }
6159                                    break;
6160    
6161                            }
6162    
6163                            switch (alt75) {
6164                            case 1 :
6165                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:394:28: boldContents= list_boldcontentpart onestar
6166                                    {
6167                                    pushFollow(FOLLOW_list_boldcontentpart_in_list_formatted_elem2162);
6168                                    boldContents=list_boldcontentpart();
6169                                    _fsp--;
6170                                    if (failed) return contents;
6171                                    if ( backtracking==0 ) {
6172                                       
6173                                                                            BoldTextNode add = null;
6174                                                                            if(boldContents instanceof CollectionNode){
6175                                                                                     add = new BoldTextNode(boldContents);
6176                                                                            }else{
6177                                                                                    CollectionNode c = new CollectionNode();
6178                                                                                    c.add(boldContents);
6179                                                                                    add = new BoldTextNode(c);
6180                                                                            }
6181                                                                            contents.add(add);
6182                                                                            
6183                                    }
6184                                    pushFollow(FOLLOW_onestar_in_list_formatted_elem2172);
6185                                    onestar();
6186                                    _fsp--;
6187                                    if (failed) return contents;
6188    
6189                                    }
6190                                    break;
6191    
6192                            default :
6193                                    break loop75;
6194                            }
6195                            } while (true);
6196    
6197                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:406:3: ( bold_markup )?
6198                            int alt76=2;
6199                            int LA76_0 = input.LA(1);
6200    
6201                            if ( (LA76_0==STAR) ) {
6202                            int LA76_1 = input.LA(2);
6203    
6204                            if ( (LA76_1==STAR) ) {
6205                                    alt76=1;
6206                            }
6207                            }
6208                            switch (alt76) {
6209                            case 1 :
6210                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:406:5: bold_markup
6211                                    {
6212                                    pushFollow(FOLLOW_bold_markup_in_list_formatted_elem2181);
6213                                    bold_markup();
6214                                    _fsp--;
6215                                    if (failed) return contents;
6216    
6217                                    }
6218                                    break;
6219    
6220                            }
6221    
6222    
6223                            }
6224                            break;
6225                    case 2 :
6226                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:407:4: ital_markup onestar (italContents= list_italcontentpart onestar )* ( ital_markup )?
6227                            {
6228                            pushFollow(FOLLOW_ital_markup_in_list_formatted_elem2189);
6229                            ital_markup();
6230                            _fsp--;
6231                            if (failed) return contents;
6232                            pushFollow(FOLLOW_onestar_in_list_formatted_elem2194);
6233                            onestar();
6234                            _fsp--;
6235                            if (failed) return contents;
6236                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:407:28: (italContents= list_italcontentpart onestar )*
6237                            loop77:
6238                            do {
6239                            int alt77=2;
6240                            switch ( input.LA(1) ) {
6241                            case STAR:
6242                                    {
6243                                    alt77=1;
6244                                    }
6245                                    break;
6246                            case FORCED_END_OF_LINE:
6247                            case HEADING_SECTION:
6248                            case HORIZONTAL_SECTION:
6249                            case LIST_ITEM:
6250                            case LIST_ITEM_PART:
6251                            case NOWIKI_SECTION:
6252                            case SCAPE_NODE:
6253                            case TEXT_NODE:
6254                            case UNORDERED_LIST:
6255                            case UNFORMATTED_TEXT:
6256                            case WIKI:
6257                            case POUND:
6258                            case EQUAL:
6259                            case PIPE:
6260                            case NOWIKI_BLOCK_CLOSE:
6261                            case NOWIKI_CLOSE:
6262                            case LINK_CLOSE:
6263                            case IMAGE_CLOSE:
6264                            case BLANKS:
6265                            case TABLE_OF_CONTENTS_TEXT:
6266                            case DASH:
6267                            case CR:
6268                            case LF:
6269                            case SPACE:
6270                            case TABULATOR:
6271                            case BRACE_CLOSE:
6272                            case COLON_SLASH:
6273                            case SLASH:
6274                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
6275                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
6276                            case INSIGNIFICANT_CHAR:
6277                            case 44:
6278                            case 45:
6279                            case 46:
6280                            case 47:
6281                            case 48:
6282                            case 49:
6283                            case 50:
6284                            case 51:
6285                            case 52:
6286                            case 53:
6287                            case 54:
6288                            case 55:
6289                            case 56:
6290                            case 57:
6291                            case 58:
6292                            case 59:
6293                            case 60:
6294                            case 61:
6295                            case 62:
6296                            case 63:
6297                            case 64:
6298                            case 65:
6299                            case 66:
6300                            case 67:
6301                            case 68:
6302                            case 69:
6303                            case 70:
6304                            case 71:
6305                            case 72:
6306                            case 73:
6307                            case 74:
6308                            case 75:
6309                            case 76:
6310                            case 77:
6311                            case 78:
6312                            case 79:
6313                                    {
6314                                    alt77=1;
6315                                    }
6316                                    break;
6317                            case FORCED_LINEBREAK:
6318                                    {
6319                                    alt77=1;
6320                                    }
6321                                    break;
6322                            case ESCAPE:
6323                                    {
6324                                    alt77=1;
6325                                    }
6326                                    break;
6327                            case LINK_OPEN:
6328                                    {
6329                                    alt77=1;
6330                                    }
6331                                    break;
6332                            case IMAGE_OPEN:
6333                                    {
6334                                    alt77=1;
6335                                    }
6336                                    break;
6337                            case EXTENSION:
6338                                    {
6339                                    alt77=1;
6340                                    }
6341                                    break;
6342                            case NOWIKI_OPEN:
6343                                    {
6344                                    alt77=1;
6345                                    }
6346                                    break;
6347    
6348                            }
6349    
6350                            switch (alt77) {
6351                            case 1 :
6352                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:407:30: italContents= list_italcontentpart onestar
6353                                    {
6354                                    pushFollow(FOLLOW_list_italcontentpart_in_list_formatted_elem2203);
6355                                    italContents=list_italcontentpart();
6356                                    _fsp--;
6357                                    if (failed) return contents;
6358                                    if ( backtracking==0 ) {
6359    
6360                                                                            ItalicTextNode add = null;
6361                                                                            if(italContents instanceof CollectionNode){
6362                                                                                    add = new ItalicTextNode(italContents);
6363                                                                            }else{
6364                                                                                      CollectionNode c = new CollectionNode();
6365                                                                                      c.add(italContents);
6366                                                                                      add = new ItalicTextNode(c);
6367                                                                            }
6368                                                                            contents.add(add); 
6369                                                                            
6370                                    }
6371                                    pushFollow(FOLLOW_onestar_in_list_formatted_elem2212);
6372                                    onestar();
6373                                    _fsp--;
6374                                    if (failed) return contents;
6375    
6376                                    }
6377                                    break;
6378    
6379                            default :
6380                                    break loop77;
6381                            }
6382                            } while (true);
6383    
6384                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:418:3: ( ital_markup )?
6385                            int alt78=2;
6386                            int LA78_0 = input.LA(1);
6387    
6388                            if ( (LA78_0==ITAL) ) {
6389                            alt78=1;
6390                            }
6391                            switch (alt78) {
6392                            case 1 :
6393                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:418:5: ital_markup
6394                                    {
6395                                    pushFollow(FOLLOW_ital_markup_in_list_formatted_elem2221);
6396                                    ital_markup();
6397                                    _fsp--;
6398                                    if (failed) return contents;
6399    
6400                                    }
6401                                    break;
6402    
6403                            }
6404    
6405    
6406                            }
6407                            break;
6408    
6409                    }
6410            }
6411            catch (RecognitionException re) {
6412                    reportError(re);
6413                    recover(input,re);
6414            }
6415            finally {
6416            }
6417            return contents;
6418            }
6419            // $ANTLR end list_formatted_elem
6420    
6421            protected static class list_boldcontentpart_scope {
6422            List<ASTNode> elements;
6423            }
6424            protected Stack list_boldcontentpart_stack = new Stack();
6425    
6426    
6427            // $ANTLR start list_boldcontentpart
6428            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:421:1: list_boldcontentpart returns [ASTNode contents = null] : ( ital_markup c= list_bolditalcontent ( ital_markup )? | (t= text_unformattedelement )+ );
6429            public final ASTNode list_boldcontentpart() throws RecognitionException {
6430            list_boldcontentpart_stack.push(new list_boldcontentpart_scope());
6431            ASTNode contents =  null;
6432    
6433            ASTNode c = null;
6434    
6435            ASTNode t = null;
6436    
6437    
6438    
6439                    ((list_boldcontentpart_scope)list_boldcontentpart_stack.peek()).elements = new ArrayList<ASTNode>();
6440    
6441            try {
6442                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:428:2: ( ital_markup c= list_bolditalcontent ( ital_markup )? | (t= text_unformattedelement )+ )
6443                    int alt82=2;
6444                    int LA82_0 = input.LA(1);
6445    
6446                    if ( (LA82_0==ITAL) ) {
6447                    alt82=1;
6448                    }
6449                    else if ( ((LA82_0>=FORCED_END_OF_LINE && LA82_0<=WIKI)||LA82_0==POUND||(LA82_0>=EQUAL && LA82_0<=PIPE)||(LA82_0>=LINK_OPEN && LA82_0<=79)) ) {
6450                    alt82=2;
6451                    }
6452                    else {
6453                    if (backtracking>0) {failed=true; return contents;}
6454                    NoViableAltException nvae =
6455                            new NoViableAltException("421:1: list_boldcontentpart returns [ASTNode contents = null] : ( ital_markup c= list_bolditalcontent ( ital_markup )? | (t= text_unformattedelement )+ );", 82, 0, input);
6456    
6457                    throw nvae;
6458                    }
6459                    switch (alt82) {
6460                    case 1 :
6461                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:428:4: ital_markup c= list_bolditalcontent ( ital_markup )?
6462                            {
6463                            pushFollow(FOLLOW_ital_markup_in_list_boldcontentpart2247);
6464                            ital_markup();
6465                            _fsp--;
6466                            if (failed) return contents;
6467                            pushFollow(FOLLOW_list_bolditalcontent_in_list_boldcontentpart2254);
6468                            c=list_bolditalcontent();
6469                            _fsp--;
6470                            if (failed) return contents;
6471                            if ( backtracking==0 ) {
6472                              contents = new ItalicTextNode(c);
6473                            }
6474                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:428:86: ( ital_markup )?
6475                            int alt80=2;
6476                            int LA80_0 = input.LA(1);
6477    
6478                            if ( (LA80_0==ITAL) ) {
6479                            alt80=1;
6480                            }
6481                            switch (alt80) {
6482                            case 1 :
6483                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:428:88: ital_markup
6484                                    {
6485                                    pushFollow(FOLLOW_ital_markup_in_list_boldcontentpart2261);
6486                                    ital_markup();
6487                                    _fsp--;
6488                                    if (failed) return contents;
6489    
6490                                    }
6491                                    break;
6492    
6493                            }
6494    
6495    
6496                            }
6497                            break;
6498                    case 2 :
6499                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:429:4: (t= text_unformattedelement )+
6500                            {
6501                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:429:4: (t= text_unformattedelement )+
6502                            int cnt81=0;
6503                            loop81:
6504                            do {
6505                            int alt81=2;
6506                            switch ( input.LA(1) ) {
6507                            case FORCED_END_OF_LINE:
6508                            case HEADING_SECTION:
6509                            case HORIZONTAL_SECTION:
6510                            case LIST_ITEM:
6511                            case LIST_ITEM_PART:
6512                            case NOWIKI_SECTION:
6513                            case SCAPE_NODE:
6514                            case TEXT_NODE:
6515                            case UNORDERED_LIST:
6516                            case UNFORMATTED_TEXT:
6517                            case WIKI:
6518                            case POUND:
6519                            case EQUAL:
6520                            case PIPE:
6521                            case NOWIKI_BLOCK_CLOSE:
6522                            case NOWIKI_CLOSE:
6523                            case LINK_CLOSE:
6524                            case IMAGE_CLOSE:
6525                            case BLANKS:
6526                            case TABLE_OF_CONTENTS_TEXT:
6527                            case DASH:
6528                            case CR:
6529                            case LF:
6530                            case SPACE:
6531                            case TABULATOR:
6532                            case BRACE_CLOSE:
6533                            case COLON_SLASH:
6534                            case SLASH:
6535                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
6536                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
6537                            case INSIGNIFICANT_CHAR:
6538                            case 44:
6539                            case 45:
6540                            case 46:
6541                            case 47:
6542                            case 48:
6543                            case 49:
6544                            case 50:
6545                            case 51:
6546                            case 52:
6547                            case 53:
6548                            case 54:
6549                            case 55:
6550                            case 56:
6551                            case 57:
6552                            case 58:
6553                            case 59:
6554                            case 60:
6555                            case 61:
6556                            case 62:
6557                            case 63:
6558                            case 64:
6559                            case 65:
6560                            case 66:
6561                            case 67:
6562                            case 68:
6563                            case 69:
6564                            case 70:
6565                            case 71:
6566                            case 72:
6567                            case 73:
6568                            case 74:
6569                            case 75:
6570                            case 76:
6571                            case 77:
6572                            case 78:
6573                            case 79:
6574                                    {
6575                                    alt81=1;
6576                                    }
6577                                    break;
6578                            case FORCED_LINEBREAK:
6579                                    {
6580                                    alt81=1;
6581                                    }
6582                                    break;
6583                            case ESCAPE:
6584                                    {
6585                                    alt81=1;
6586                                    }
6587                                    break;
6588                            case LINK_OPEN:
6589                                    {
6590                                    alt81=1;
6591                                    }
6592                                    break;
6593                            case IMAGE_OPEN:
6594                                    {
6595                                    alt81=1;
6596                                    }
6597                                    break;
6598                            case EXTENSION:
6599                                    {
6600                                    alt81=1;
6601                                    }
6602                                    break;
6603                            case NOWIKI_OPEN:
6604                                    {
6605                                    alt81=1;
6606                                    }
6607                                    break;
6608    
6609                            }
6610    
6611                            switch (alt81) {
6612                            case 1 :
6613                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:429:6: t= text_unformattedelement
6614                                    {
6615                                    pushFollow(FOLLOW_text_unformattedelement_in_list_boldcontentpart2276);
6616                                    t=text_unformattedelement();
6617                                    _fsp--;
6618                                    if (failed) return contents;
6619                                    if ( backtracking==0 ) {
6620                                       ((list_boldcontentpart_scope)list_boldcontentpart_stack.peek()).elements.add(t); 
6621                                    }
6622    
6623                                    }
6624                                    break;
6625    
6626                            default :
6627                                    if ( cnt81 >= 1 ) break loop81;
6628                                    if (backtracking>0) {failed=true; return contents;}
6629                                    EarlyExitException eee =
6630                                            new EarlyExitException(81, input);
6631                                    throw eee;
6632                            }
6633                            cnt81++;
6634                            } while (true);
6635    
6636                            if ( backtracking==0 ) {
6637                              contents = new CollectionNode(((list_boldcontentpart_scope)list_boldcontentpart_stack.peek()).elements); 
6638                            }
6639    
6640                            }
6641                            break;
6642    
6643                    }
6644            }
6645            catch (RecognitionException re) {
6646                    reportError(re);
6647                    recover(input,re);
6648            }
6649            finally {
6650                    list_boldcontentpart_stack.pop();
6651            }
6652            return contents;
6653            }
6654            // $ANTLR end list_boldcontentpart
6655    
6656    
6657            // $ANTLR start list_bolditalcontent
6658            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:433:1: list_bolditalcontent returns [ASTNode text = null] : (t= text_unformattedelement )+ ;
6659            public final ASTNode list_bolditalcontent() throws RecognitionException {
6660            ASTNode text =  null;
6661    
6662            ASTNode t = null;
6663    
6664    
6665            try {
6666                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:434:2: ( (t= text_unformattedelement )+ )
6667                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:434:4: (t= text_unformattedelement )+
6668                    {
6669                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:434:4: (t= text_unformattedelement )+
6670                    int cnt83=0;
6671                    loop83:
6672                    do {
6673                    int alt83=2;
6674                    switch ( input.LA(1) ) {
6675                    case FORCED_END_OF_LINE:
6676                    case HEADING_SECTION:
6677                    case HORIZONTAL_SECTION:
6678                    case LIST_ITEM:
6679                    case LIST_ITEM_PART:
6680                    case NOWIKI_SECTION:
6681                    case SCAPE_NODE:
6682                    case TEXT_NODE:
6683                    case UNORDERED_LIST:
6684                    case UNFORMATTED_TEXT:
6685                    case WIKI:
6686                    case POUND:
6687                    case EQUAL:
6688                    case PIPE:
6689                    case NOWIKI_BLOCK_CLOSE:
6690                    case NOWIKI_CLOSE:
6691                    case LINK_CLOSE:
6692                    case IMAGE_CLOSE:
6693                    case BLANKS:
6694                    case TABLE_OF_CONTENTS_TEXT:
6695                    case DASH:
6696                    case CR:
6697                    case LF:
6698                    case SPACE:
6699                    case TABULATOR:
6700                    case BRACE_CLOSE:
6701                    case COLON_SLASH:
6702                    case SLASH:
6703                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
6704                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
6705                    case INSIGNIFICANT_CHAR:
6706                    case 44:
6707                    case 45:
6708                    case 46:
6709                    case 47:
6710                    case 48:
6711                    case 49:
6712                    case 50:
6713                    case 51:
6714                    case 52:
6715                    case 53:
6716                    case 54:
6717                    case 55:
6718                    case 56:
6719                    case 57:
6720                    case 58:
6721                    case 59:
6722                    case 60:
6723                    case 61:
6724                    case 62:
6725                    case 63:
6726                    case 64:
6727                    case 65:
6728                    case 66:
6729                    case 67:
6730                    case 68:
6731                    case 69:
6732                    case 70:
6733                    case 71:
6734                    case 72:
6735                    case 73:
6736                    case 74:
6737                    case 75:
6738                    case 76:
6739                    case 77:
6740                    case 78:
6741                    case 79:
6742                            {
6743                            alt83=1;
6744                            }
6745                            break;
6746                    case FORCED_LINEBREAK:
6747                            {
6748                            alt83=1;
6749                            }
6750                            break;
6751                    case ESCAPE:
6752                            {
6753                            alt83=1;
6754                            }
6755                            break;
6756                    case LINK_OPEN:
6757                            {
6758                            alt83=1;
6759                            }
6760                            break;
6761                    case IMAGE_OPEN:
6762                            {
6763                            alt83=1;
6764                            }
6765                            break;
6766                    case EXTENSION:
6767                            {
6768                            alt83=1;
6769                            }
6770                            break;
6771                    case NOWIKI_OPEN:
6772                            {
6773                            alt83=1;
6774                            }
6775                            break;
6776    
6777                    }
6778    
6779                    switch (alt83) {
6780                    case 1 :
6781                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:434:6: t= text_unformattedelement
6782                            {
6783                            pushFollow(FOLLOW_text_unformattedelement_in_list_bolditalcontent2307);
6784                            t=text_unformattedelement();
6785                            _fsp--;
6786                            if (failed) return text;
6787                            if ( backtracking==0 ) {
6788                               text = t; 
6789                            }
6790    
6791                            }
6792                            break;
6793    
6794                    default :
6795                            if ( cnt83 >= 1 ) break loop83;
6796                            if (backtracking>0) {failed=true; return text;}
6797                            EarlyExitException eee =
6798                                    new EarlyExitException(83, input);
6799                            throw eee;
6800                    }
6801                    cnt83++;
6802                    } while (true);
6803    
6804    
6805                    }
6806    
6807            }
6808            catch (RecognitionException re) {
6809                    reportError(re);
6810                    recover(input,re);
6811            }
6812            finally {
6813            }
6814            return text;
6815            }
6816            // $ANTLR end list_bolditalcontent
6817    
6818            protected static class list_italcontentpart_scope {
6819            List<ASTNode> elements;
6820            }
6821            protected Stack list_italcontentpart_stack = new Stack();
6822    
6823    
6824            // $ANTLR start list_italcontentpart
6825            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:437:1: list_italcontentpart returns [ASTNode contents = null] : ( bold_markup c= list_bolditalcontent ( bold_markup )? | (t= text_unformattedelement )+ );
6826            public final ASTNode list_italcontentpart() throws RecognitionException {
6827            list_italcontentpart_stack.push(new list_italcontentpart_scope());
6828            ASTNode contents =  null;
6829    
6830            ASTNode c = null;
6831    
6832            ASTNode t = null;
6833    
6834    
6835    
6836                    ((list_italcontentpart_scope)list_italcontentpart_stack.peek()).elements = new ArrayList<ASTNode>();
6837    
6838            try {
6839                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:444:2: ( bold_markup c= list_bolditalcontent ( bold_markup )? | (t= text_unformattedelement )+ )
6840                    int alt86=2;
6841                    int LA86_0 = input.LA(1);
6842    
6843                    if ( (LA86_0==STAR) ) {
6844                    alt86=1;
6845                    }
6846                    else if ( ((LA86_0>=FORCED_END_OF_LINE && LA86_0<=WIKI)||LA86_0==POUND||(LA86_0>=EQUAL && LA86_0<=PIPE)||(LA86_0>=LINK_OPEN && LA86_0<=79)) ) {
6847                    alt86=2;
6848                    }
6849                    else {
6850                    if (backtracking>0) {failed=true; return contents;}
6851                    NoViableAltException nvae =
6852                            new NoViableAltException("437:1: list_italcontentpart returns [ASTNode contents = null] : ( bold_markup c= list_bolditalcontent ( bold_markup )? | (t= text_unformattedelement )+ );", 86, 0, input);
6853    
6854                    throw nvae;
6855                    }
6856                    switch (alt86) {
6857                    case 1 :
6858                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:444:4: bold_markup c= list_bolditalcontent ( bold_markup )?
6859                            {
6860                            pushFollow(FOLLOW_bold_markup_in_list_italcontentpart2336);
6861                            bold_markup();
6862                            _fsp--;
6863                            if (failed) return contents;
6864                            pushFollow(FOLLOW_list_bolditalcontent_in_list_italcontentpart2343);
6865                            c=list_bolditalcontent();
6866                            _fsp--;
6867                            if (failed) return contents;
6868                            if ( backtracking==0 ) {
6869                               contents = new BoldTextNode(c); 
6870                            }
6871                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:444:86: ( bold_markup )?
6872                            int alt84=2;
6873                            int LA84_0 = input.LA(1);
6874    
6875                            if ( (LA84_0==STAR) ) {
6876                            int LA84_1 = input.LA(2);
6877    
6878                            if ( (LA84_1==STAR) ) {
6879                                    alt84=1;
6880                            }
6881                            }
6882                            switch (alt84) {
6883                            case 1 :
6884                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:444:88: bold_markup
6885                                    {
6886                                    pushFollow(FOLLOW_bold_markup_in_list_italcontentpart2350);
6887                                    bold_markup();
6888                                    _fsp--;
6889                                    if (failed) return contents;
6890    
6891                                    }
6892                                    break;
6893    
6894                            }
6895    
6896    
6897                            }
6898                            break;
6899                    case 2 :
6900                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:445:4: (t= text_unformattedelement )+
6901                            {
6902                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:445:4: (t= text_unformattedelement )+
6903                            int cnt85=0;
6904                            loop85:
6905                            do {
6906                            int alt85=2;
6907                            switch ( input.LA(1) ) {
6908                            case FORCED_END_OF_LINE:
6909                            case HEADING_SECTION:
6910                            case HORIZONTAL_SECTION:
6911                            case LIST_ITEM:
6912                            case LIST_ITEM_PART:
6913                            case NOWIKI_SECTION:
6914                            case SCAPE_NODE:
6915                            case TEXT_NODE:
6916                            case UNORDERED_LIST:
6917                            case UNFORMATTED_TEXT:
6918                            case WIKI:
6919                            case POUND:
6920                            case EQUAL:
6921                            case PIPE:
6922                            case NOWIKI_BLOCK_CLOSE:
6923                            case NOWIKI_CLOSE:
6924                            case LINK_CLOSE:
6925                            case IMAGE_CLOSE:
6926                            case BLANKS:
6927                            case TABLE_OF_CONTENTS_TEXT:
6928                            case DASH:
6929                            case CR:
6930                            case LF:
6931                            case SPACE:
6932                            case TABULATOR:
6933                            case BRACE_CLOSE:
6934                            case COLON_SLASH:
6935                            case SLASH:
6936                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
6937                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
6938                            case INSIGNIFICANT_CHAR:
6939                            case 44:
6940                            case 45:
6941                            case 46:
6942                            case 47:
6943                            case 48:
6944                            case 49:
6945                            case 50:
6946                            case 51:
6947                            case 52:
6948                            case 53:
6949                            case 54:
6950                            case 55:
6951                            case 56:
6952                            case 57:
6953                            case 58:
6954                            case 59:
6955                            case 60:
6956                            case 61:
6957                            case 62:
6958                            case 63:
6959                            case 64:
6960                            case 65:
6961                            case 66:
6962                            case 67:
6963                            case 68:
6964                            case 69:
6965                            case 70:
6966                            case 71:
6967                            case 72:
6968                            case 73:
6969                            case 74:
6970                            case 75:
6971                            case 76:
6972                            case 77:
6973                            case 78:
6974                            case 79:
6975                                    {
6976                                    alt85=1;
6977                                    }
6978                                    break;
6979                            case FORCED_LINEBREAK:
6980                                    {
6981                                    alt85=1;
6982                                    }
6983                                    break;
6984                            case ESCAPE:
6985                                    {
6986                                    alt85=1;
6987                                    }
6988                                    break;
6989                            case LINK_OPEN:
6990                                    {
6991                                    alt85=1;
6992                                    }
6993                                    break;
6994                            case IMAGE_OPEN:
6995                                    {
6996                                    alt85=1;
6997                                    }
6998                                    break;
6999                            case EXTENSION:
7000                                    {
7001                                    alt85=1;
7002                                    }
7003                                    break;
7004                            case NOWIKI_OPEN:
7005                                    {
7006                                    alt85=1;
7007                                    }
7008                                    break;
7009    
7010                            }
7011    
7012                            switch (alt85) {
7013                            case 1 :
7014                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:445:6: t= text_unformattedelement
7015                                    {
7016                                    pushFollow(FOLLOW_text_unformattedelement_in_list_italcontentpart2364);
7017                                    t=text_unformattedelement();
7018                                    _fsp--;
7019                                    if (failed) return contents;
7020                                    if ( backtracking==0 ) {
7021                                       ((list_italcontentpart_scope)list_italcontentpart_stack.peek()).elements.add(t); 
7022                                    }
7023    
7024                                    }
7025                                    break;
7026    
7027                            default :
7028                                    if ( cnt85 >= 1 ) break loop85;
7029                                    if (backtracking>0) {failed=true; return contents;}
7030                                    EarlyExitException eee =
7031                                            new EarlyExitException(85, input);
7032                                    throw eee;
7033                            }
7034                            cnt85++;
7035                            } while (true);
7036    
7037                            if ( backtracking==0 ) {
7038                               contents = new CollectionNode(((list_italcontentpart_scope)list_italcontentpart_stack.peek()).elements); 
7039                            }
7040    
7041                            }
7042                            break;
7043    
7044                    }
7045            }
7046            catch (RecognitionException re) {
7047                    reportError(re);
7048                    recover(input,re);
7049            }
7050            finally {
7051                    list_italcontentpart_stack.pop();
7052            }
7053            return contents;
7054            }
7055            // $ANTLR end list_italcontentpart
7056    
7057    
7058            // $ANTLR start table
7059            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:449:1: table returns [TableNode table = new TableNode()] : (tr= table_row )+ ;
7060            public final TableNode table() throws RecognitionException {
7061            TableNode table =  new TableNode();
7062    
7063            CollectionNode tr = null;
7064    
7065    
7066            try {
7067                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:450:2: ( (tr= table_row )+ )
7068                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:450:4: (tr= table_row )+
7069                    {
7070                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:450:4: (tr= table_row )+
7071                    int cnt87=0;
7072                    loop87:
7073                    do {
7074                    int alt87=2;
7075                    int LA87_0 = input.LA(1);
7076    
7077                    if ( (LA87_0==PIPE) ) {
7078                            alt87=1;
7079                    }
7080    
7081    
7082                    switch (alt87) {
7083                    case 1 :
7084                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:450:6: tr= table_row
7085                            {
7086                            pushFollow(FOLLOW_table_row_in_table2394);
7087                            tr=table_row();
7088                            _fsp--;
7089                            if (failed) return table;
7090                            if ( backtracking==0 ) {
7091                              table.addChildASTNode(tr);
7092                            }
7093    
7094                            }
7095                            break;
7096    
7097                    default :
7098                            if ( cnt87 >= 1 ) break loop87;
7099                            if (backtracking>0) {failed=true; return table;}
7100                            EarlyExitException eee =
7101                                    new EarlyExitException(87, input);
7102                            throw eee;
7103                    }
7104                    cnt87++;
7105                    } while (true);
7106    
7107    
7108                    }
7109    
7110            }
7111            catch (RecognitionException re) {
7112                    reportError(re);
7113                    recover(input,re);
7114            }
7115            finally {
7116            }
7117            return table;
7118            }
7119            // $ANTLR end table
7120    
7121    
7122            // $ANTLR start table_row
7123            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:452:1: table_row returns [CollectionNode row = new CollectionNode()] : (tc= table_cell )+ table_rowseparator ;
7124            public final CollectionNode table_row() throws RecognitionException {
7125            CollectionNode row =  new CollectionNode();
7126    
7127            TableCellNode tc = null;
7128    
7129    
7130            try {
7131                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:453:2: ( (tc= table_cell )+ table_rowseparator )
7132                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:453:4: (tc= table_cell )+ table_rowseparator
7133                    {
7134                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:453:4: (tc= table_cell )+
7135                    int cnt88=0;
7136                    loop88:
7137                    do {
7138                    int alt88=2;
7139                    int LA88_0 = input.LA(1);
7140    
7141                    if ( (LA88_0==PIPE) ) {
7142                            alt88=1;
7143                    }
7144    
7145    
7146                    switch (alt88) {
7147                    case 1 :
7148                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:453:6: tc= table_cell
7149                            {
7150                            pushFollow(FOLLOW_table_cell_in_table_row2420);
7151                            tc=table_cell();
7152                            _fsp--;
7153                            if (failed) return row;
7154                            if ( backtracking==0 ) {
7155                               row.add(tc); 
7156                            }
7157    
7158                            }
7159                            break;
7160    
7161                    default :
7162                            if ( cnt88 >= 1 ) break loop88;
7163                            if (backtracking>0) {failed=true; return row;}
7164                            EarlyExitException eee =
7165                                    new EarlyExitException(88, input);
7166                            throw eee;
7167                    }
7168                    cnt88++;
7169                    } while (true);
7170    
7171                    pushFollow(FOLLOW_table_rowseparator_in_table_row2428);
7172                    table_rowseparator();
7173                    _fsp--;
7174                    if (failed) return row;
7175    
7176                    }
7177    
7178            }
7179            catch (RecognitionException re) {
7180                    reportError(re);
7181                    recover(input,re);
7182            }
7183            finally {
7184            }
7185            return row;
7186            }
7187            // $ANTLR end table_row
7188    
7189    
7190            // $ANTLR start table_cell
7191            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:455:1: table_cell returns [TableCellNode cell = null] : ({...}?th= table_headercell | tc= table_normalcell );
7192            public final TableCellNode table_cell() throws RecognitionException {
7193            TableCellNode cell =  null;
7194    
7195            TableHeaderNode th = null;
7196    
7197            TableDataNode tc = null;
7198    
7199    
7200            try {
7201                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:456:2: ({...}?th= table_headercell | tc= table_normalcell )
7202                    int alt89=2;
7203                    int LA89_0 = input.LA(1);
7204    
7205                    if ( (LA89_0==PIPE) ) {
7206                    int LA89_1 = input.LA(2);
7207    
7208                    if ( (LA89_1==EQUAL) ) {
7209                            int LA89_2 = input.LA(3);
7210    
7211                            if ( ( input.LA(2) == EQUAL ) ) {
7212                            alt89=1;
7213                            }
7214                            else if ( (true) ) {
7215                            alt89=2;
7216                            }
7217                            else {
7218                            if (backtracking>0) {failed=true; return cell;}
7219                            NoViableAltException nvae =
7220                                    new NoViableAltException("455:1: table_cell returns [TableCellNode cell = null] : ({...}?th= table_headercell | tc= table_normalcell );", 89, 2, input);
7221    
7222                            throw nvae;
7223                            }
7224                    }
7225                    else if ( (LA89_1==EOF||(LA89_1>=FORCED_END_OF_LINE && LA89_1<=STAR)||(LA89_1>=PIPE && LA89_1<=79)) ) {
7226                            alt89=2;
7227                    }
7228                    else {
7229                            if (backtracking>0) {failed=true; return cell;}
7230                            NoViableAltException nvae =
7231                            new NoViableAltException("455:1: table_cell returns [TableCellNode cell = null] : ({...}?th= table_headercell | tc= table_normalcell );", 89, 1, input);
7232    
7233                            throw nvae;
7234                    }
7235                    }
7236                    else {
7237                    if (backtracking>0) {failed=true; return cell;}
7238                    NoViableAltException nvae =
7239                            new NoViableAltException("455:1: table_cell returns [TableCellNode cell = null] : ({...}?th= table_headercell | tc= table_normalcell );", 89, 0, input);
7240    
7241                    throw nvae;
7242                    }
7243                    switch (alt89) {
7244                    case 1 :
7245                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:456:4: {...}?th= table_headercell
7246                            {
7247                            if ( !( input.LA(2) == EQUAL ) ) {
7248                            if (backtracking>0) {failed=true; return cell;}
7249                            throw new FailedPredicateException(input, "table_cell", " input.LA(2) == EQUAL ");
7250                            }
7251                            pushFollow(FOLLOW_table_headercell_in_table_cell2449);
7252                            th=table_headercell();
7253                            _fsp--;
7254                            if (failed) return cell;
7255                            if ( backtracking==0 ) {
7256                              cell = th;
7257                            }
7258    
7259                            }
7260                            break;
7261                    case 2 :
7262                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:457:4: tc= table_normalcell
7263                            {
7264                            pushFollow(FOLLOW_table_normalcell_in_table_cell2460);
7265                            tc=table_normalcell();
7266                            _fsp--;
7267                            if (failed) return cell;
7268                            if ( backtracking==0 ) {
7269                              cell = tc; 
7270                            }
7271    
7272                            }
7273                            break;
7274    
7275                    }
7276            }
7277            catch (RecognitionException re) {
7278                    reportError(re);
7279                    recover(input,re);
7280            }
7281            finally {
7282            }
7283            return cell;
7284            }
7285            // $ANTLR end table_cell
7286    
7287    
7288            // $ANTLR start table_headercell
7289            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:459:1: table_headercell returns [TableHeaderNode header = null] : table_headercell_markup tc= table_cellcontent ;
7290            public final TableHeaderNode table_headercell() throws RecognitionException {
7291            TableHeaderNode header =  null;
7292    
7293            CollectionNode tc = null;
7294    
7295    
7296            try {
7297                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:460:2: ( table_headercell_markup tc= table_cellcontent )
7298                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:460:4: table_headercell_markup tc= table_cellcontent
7299                    {
7300                    pushFollow(FOLLOW_table_headercell_markup_in_table_headercell2476);
7301                    table_headercell_markup();
7302                    _fsp--;
7303                    if (failed) return header;
7304                    pushFollow(FOLLOW_table_cellcontent_in_table_headercell2483);
7305                    tc=table_cellcontent();
7306                    _fsp--;
7307                    if (failed) return header;
7308                    if ( backtracking==0 ) {
7309                      header = new TableHeaderNode(tc);
7310                    }
7311    
7312                    }
7313    
7314            }
7315            catch (RecognitionException re) {
7316                    reportError(re);
7317                    recover(input,re);
7318            }
7319            finally {
7320            }
7321            return header;
7322            }
7323            // $ANTLR end table_headercell
7324    
7325    
7326            // $ANTLR start table_normalcell
7327            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:462:1: table_normalcell returns [TableDataNode cell = null] : table_cell_markup tc= table_cellcontent ;
7328            public final TableDataNode table_normalcell() throws RecognitionException {
7329            TableDataNode cell =  null;
7330    
7331            CollectionNode tc = null;
7332    
7333    
7334            try {
7335                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:463:2: ( table_cell_markup tc= table_cellcontent )
7336                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:463:4: table_cell_markup tc= table_cellcontent
7337                    {
7338                    pushFollow(FOLLOW_table_cell_markup_in_table_normalcell2499);
7339                    table_cell_markup();
7340                    _fsp--;
7341                    if (failed) return cell;
7342                    pushFollow(FOLLOW_table_cellcontent_in_table_normalcell2506);
7343                    tc=table_cellcontent();
7344                    _fsp--;
7345                    if (failed) return cell;
7346                    if ( backtracking==0 ) {
7347                       cell = new TableDataNode(tc); 
7348                    }
7349    
7350                    }
7351    
7352            }
7353            catch (RecognitionException re) {
7354                    reportError(re);
7355                    recover(input,re);
7356            }
7357            finally {
7358            }
7359            return cell;
7360            }
7361            // $ANTLR end table_normalcell
7362    
7363    
7364            // $ANTLR start table_cellcontent
7365            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:465:1: table_cellcontent returns [CollectionNode items = new CollectionNode()] : onestar (tcp= table_cellcontentpart onestar )* ;
7366            public final CollectionNode table_cellcontent() throws RecognitionException {
7367            CollectionNode items =  new CollectionNode();
7368    
7369            ASTNode tcp = null;
7370    
7371    
7372            try {
7373                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:466:2: ( onestar (tcp= table_cellcontentpart onestar )* )
7374                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:466:4: onestar (tcp= table_cellcontentpart onestar )*
7375                    {
7376                    pushFollow(FOLLOW_onestar_in_table_cellcontent2522);
7377                    onestar();
7378                    _fsp--;
7379                    if (failed) return items;
7380                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:466:13: (tcp= table_cellcontentpart onestar )*
7381                    loop90:
7382                    do {
7383                    int alt90=2;
7384                    int LA90_0 = input.LA(1);
7385    
7386                    if ( ((LA90_0>=FORCED_END_OF_LINE && LA90_0<=WIKI)||(LA90_0>=POUND && LA90_0<=EQUAL)||(LA90_0>=ITAL && LA90_0<=79)) ) {
7387                            alt90=1;
7388                    }
7389    
7390    
7391                    switch (alt90) {
7392                    case 1 :
7393                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:466:15: tcp= table_cellcontentpart onestar
7394                            {
7395                            pushFollow(FOLLOW_table_cellcontentpart_in_table_cellcontent2531);
7396                            tcp=table_cellcontentpart();
7397                            _fsp--;
7398                            if (failed) return items;
7399                            if ( backtracking==0 ) {
7400                              items.add(tcp); 
7401                            }
7402                            pushFollow(FOLLOW_onestar_in_table_cellcontent2536);
7403                            onestar();
7404                            _fsp--;
7405                            if (failed) return items;
7406    
7407                            }
7408                            break;
7409    
7410                    default :
7411                            break loop90;
7412                    }
7413                    } while (true);
7414    
7415    
7416                    }
7417    
7418            }
7419            catch (RecognitionException re) {
7420                    reportError(re);
7421                    recover(input,re);
7422            }
7423            finally {
7424            }
7425            return items;
7426            }
7427            // $ANTLR end table_cellcontent
7428    
7429    
7430            // $ANTLR start table_cellcontentpart
7431            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:468:1: table_cellcontentpart returns [ASTNode node = null] : (tf= table_formattedelement | tu= table_unformattedelement );
7432            public final ASTNode table_cellcontentpart() throws RecognitionException {
7433            ASTNode node =  null;
7434    
7435            ASTNode tf = null;
7436    
7437            ASTNode tu = null;
7438    
7439    
7440            try {
7441                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:469:2: (tf= table_formattedelement | tu= table_unformattedelement )
7442                    int alt91=2;
7443                    int LA91_0 = input.LA(1);
7444    
7445                    if ( (LA91_0==STAR||LA91_0==ITAL) ) {
7446                    alt91=1;
7447                    }
7448                    else if ( ((LA91_0>=FORCED_END_OF_LINE && LA91_0<=WIKI)||LA91_0==POUND||LA91_0==EQUAL||(LA91_0>=LINK_OPEN && LA91_0<=79)) ) {
7449                    alt91=2;
7450                    }
7451                    else {
7452                    if (backtracking>0) {failed=true; return node;}
7453                    NoViableAltException nvae =
7454                            new NoViableAltException("468:1: table_cellcontentpart returns [ASTNode node = null] : (tf= table_formattedelement | tu= table_unformattedelement );", 91, 0, input);
7455    
7456                    throw nvae;
7457                    }
7458                    switch (alt91) {
7459                    case 1 :
7460                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:469:4: tf= table_formattedelement
7461                            {
7462                            pushFollow(FOLLOW_table_formattedelement_in_table_cellcontentpart2557);
7463                            tf=table_formattedelement();
7464                            _fsp--;
7465                            if (failed) return node;
7466                            if ( backtracking==0 ) {
7467                              node =tf;
7468                            }
7469    
7470                            }
7471                            break;
7472                    case 2 :
7473                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:470:4: tu= table_unformattedelement
7474                            {
7475                            pushFollow(FOLLOW_table_unformattedelement_in_table_cellcontentpart2568);
7476                            tu=table_unformattedelement();
7477                            _fsp--;
7478                            if (failed) return node;
7479                            if ( backtracking==0 ) {
7480                              node =tu;
7481                            }
7482    
7483                            }
7484                            break;
7485    
7486                    }
7487            }
7488            catch (RecognitionException re) {
7489                    reportError(re);
7490                    recover(input,re);
7491            }
7492            finally {
7493            }
7494            return node;
7495            }
7496            // $ANTLR end table_cellcontentpart
7497    
7498    
7499            // $ANTLR start table_formattedelement
7500            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:472:1: table_formattedelement returns [ASTNode content = null] : ( ital_markup (tic= table_italcontent )? ( ital_markup )? | bold_markup (tbc= table_boldcontent )? ( bold_markup )? );
7501            public final ASTNode table_formattedelement() throws RecognitionException {
7502            ASTNode content =  null;
7503    
7504            CollectionNode tic = null;
7505    
7506            CollectionNode tbc = null;
7507    
7508    
7509            try {
7510                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:473:2: ( ital_markup (tic= table_italcontent )? ( ital_markup )? | bold_markup (tbc= table_boldcontent )? ( bold_markup )? )
7511                    int alt96=2;
7512                    int LA96_0 = input.LA(1);
7513    
7514                    if ( (LA96_0==ITAL) ) {
7515                    alt96=1;
7516                    }
7517                    else if ( (LA96_0==STAR) ) {
7518                    alt96=2;
7519                    }
7520                    else {
7521                    if (backtracking>0) {failed=true; return content;}
7522                    NoViableAltException nvae =
7523                            new NoViableAltException("472:1: table_formattedelement returns [ASTNode content = null] : ( ital_markup (tic= table_italcontent )? ( ital_markup )? | bold_markup (tbc= table_boldcontent )? ( bold_markup )? );", 96, 0, input);
7524    
7525                    throw nvae;
7526                    }
7527                    switch (alt96) {
7528                    case 1 :
7529                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:473:4: ital_markup (tic= table_italcontent )? ( ital_markup )?
7530                            {
7531                            pushFollow(FOLLOW_ital_markup_in_table_formattedelement2584);
7532                            ital_markup();
7533                            _fsp--;
7534                            if (failed) return content;
7535                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:473:18: (tic= table_italcontent )?
7536                            int alt92=2;
7537                            switch ( input.LA(1) ) {
7538                            case STAR:
7539                                    {
7540                                    alt92=1;
7541                                    }
7542                                    break;
7543                            case FORCED_END_OF_LINE:
7544                            case HEADING_SECTION:
7545                            case HORIZONTAL_SECTION:
7546                            case LIST_ITEM:
7547                            case LIST_ITEM_PART:
7548                            case NOWIKI_SECTION:
7549                            case SCAPE_NODE:
7550                            case TEXT_NODE:
7551                            case UNORDERED_LIST:
7552                            case UNFORMATTED_TEXT:
7553                            case WIKI:
7554                            case POUND:
7555                            case EQUAL:
7556                            case NOWIKI_BLOCK_CLOSE:
7557                            case NOWIKI_CLOSE:
7558                            case LINK_CLOSE:
7559                            case IMAGE_CLOSE:
7560                            case BLANKS:
7561                            case TABLE_OF_CONTENTS_TEXT:
7562                            case DASH:
7563                            case CR:
7564                            case LF:
7565                            case SPACE:
7566                            case TABULATOR:
7567                            case BRACE_CLOSE:
7568                            case COLON_SLASH:
7569                            case SLASH:
7570                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
7571                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
7572                            case INSIGNIFICANT_CHAR:
7573                            case 44:
7574                            case 45:
7575                            case 46:
7576                            case 47:
7577                            case 48:
7578                            case 49:
7579                            case 50:
7580                            case 51:
7581                            case 52:
7582                            case 53:
7583                            case 54:
7584                            case 55:
7585                            case 56:
7586                            case 57:
7587                            case 58:
7588                            case 59:
7589                            case 60:
7590                            case 61:
7591                            case 62:
7592                            case 63:
7593                            case 64:
7594                            case 65:
7595                            case 66:
7596                            case 67:
7597                            case 68:
7598                            case 69:
7599                            case 70:
7600                            case 71:
7601                            case 72:
7602                            case 73:
7603                            case 74:
7604                            case 75:
7605                            case 76:
7606                            case 77:
7607                            case 78:
7608                            case 79:
7609                                    {
7610                                    alt92=1;
7611                                    }
7612                                    break;
7613                            case FORCED_LINEBREAK:
7614                                    {
7615                                    alt92=1;
7616                                    }
7617                                    break;
7618                            case ESCAPE:
7619                                    {
7620                                    alt92=1;
7621                                    }
7622                                    break;
7623                            case LINK_OPEN:
7624                                    {
7625                                    alt92=1;
7626                                    }
7627                                    break;
7628                            case IMAGE_OPEN:
7629                                    {
7630                                    alt92=1;
7631                                    }
7632                                    break;
7633                            case EXTENSION:
7634                                    {
7635                                    alt92=1;
7636                                    }
7637                                    break;
7638                            case NOWIKI_OPEN:
7639                                    {
7640                                    alt92=1;
7641                                    }
7642                                    break;
7643                            case EOF:
7644                                    {
7645                                    alt92=1;
7646                                    }
7647                                    break;
7648                            }
7649    
7650                            switch (alt92) {
7651                            case 1 :
7652                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:473:20: tic= table_italcontent
7653                                    {
7654                                    pushFollow(FOLLOW_table_italcontent_in_table_formattedelement2594);
7655                                    tic=table_italcontent();
7656                                    _fsp--;
7657                                    if (failed) return content;
7658                                    if ( backtracking==0 ) {
7659                                       content = new ItalicTextNode(tic); 
7660                                    }
7661    
7662                                    }
7663                                    break;
7664    
7665                            }
7666    
7667                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:473:94: ( ital_markup )?
7668                            int alt93=2;
7669                            int LA93_0 = input.LA(1);
7670    
7671                            if ( (LA93_0==ITAL) ) {
7672                            alt93=1;
7673                            }
7674                            switch (alt93) {
7675                            case 1 :
7676                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:473:96: ital_markup
7677                                    {
7678                                    pushFollow(FOLLOW_ital_markup_in_table_formattedelement2603);
7679                                    ital_markup();
7680                                    _fsp--;
7681                                    if (failed) return content;
7682    
7683                                    }
7684                                    break;
7685    
7686                            }
7687    
7688    
7689                            }
7690                            break;
7691                    case 2 :
7692                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:474:4: bold_markup (tbc= table_boldcontent )? ( bold_markup )?
7693                            {
7694                            pushFollow(FOLLOW_bold_markup_in_table_formattedelement2611);
7695                            bold_markup();
7696                            _fsp--;
7697                            if (failed) return content;
7698                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:474:16: (tbc= table_boldcontent )?
7699                            int alt94=2;
7700                            switch ( input.LA(1) ) {
7701                            case STAR:
7702                                    {
7703                                    int LA94_1 = input.LA(2);
7704    
7705                                    if ( ( input.LA(2) != STAR ) ) {
7706                                    alt94=1;
7707                                    }
7708                                    }
7709                                    break;
7710                            case FORCED_END_OF_LINE:
7711                            case HEADING_SECTION:
7712                            case HORIZONTAL_SECTION:
7713                            case LIST_ITEM:
7714                            case LIST_ITEM_PART:
7715                            case NOWIKI_SECTION:
7716                            case SCAPE_NODE:
7717                            case TEXT_NODE:
7718                            case UNORDERED_LIST:
7719                            case UNFORMATTED_TEXT:
7720                            case WIKI:
7721                            case POUND:
7722                            case EQUAL:
7723                            case NOWIKI_BLOCK_CLOSE:
7724                            case NOWIKI_CLOSE:
7725                            case LINK_CLOSE:
7726                            case IMAGE_CLOSE:
7727                            case BLANKS:
7728                            case TABLE_OF_CONTENTS_TEXT:
7729                            case DASH:
7730                            case CR:
7731                            case LF:
7732                            case SPACE:
7733                            case TABULATOR:
7734                            case BRACE_CLOSE:
7735                            case COLON_SLASH:
7736                            case SLASH:
7737                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
7738                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
7739                            case INSIGNIFICANT_CHAR:
7740                            case 44:
7741                            case 45:
7742                            case 46:
7743                            case 47:
7744                            case 48:
7745                            case 49:
7746                            case 50:
7747                            case 51:
7748                            case 52:
7749                            case 53:
7750                            case 54:
7751                            case 55:
7752                            case 56:
7753                            case 57:
7754                            case 58:
7755                            case 59:
7756                            case 60:
7757                            case 61:
7758                            case 62:
7759                            case 63:
7760                            case 64:
7761                            case 65:
7762                            case 66:
7763                            case 67:
7764                            case 68:
7765                            case 69:
7766                            case 70:
7767                            case 71:
7768                            case 72:
7769                            case 73:
7770                            case 74:
7771                            case 75:
7772                            case 76:
7773                            case 77:
7774                            case 78:
7775                            case 79:
7776                                    {
7777                                    alt94=1;
7778                                    }
7779                                    break;
7780                            case FORCED_LINEBREAK:
7781                                    {
7782                                    alt94=1;
7783                                    }
7784                                    break;
7785                            case ESCAPE:
7786                                    {
7787                                    alt94=1;
7788                                    }
7789                                    break;
7790                            case LINK_OPEN:
7791                                    {
7792                                    alt94=1;
7793                                    }
7794                                    break;
7795                            case IMAGE_OPEN:
7796                                    {
7797                                    alt94=1;
7798                                    }
7799                                    break;
7800                            case EXTENSION:
7801                                    {
7802                                    alt94=1;
7803                                    }
7804                                    break;
7805                            case NOWIKI_OPEN:
7806                                    {
7807                                    alt94=1;
7808                                    }
7809                                    break;
7810                            case ITAL:
7811                                    {
7812                                    alt94=1;
7813                                    }
7814                                    break;
7815                            case EOF:
7816                                    {
7817                                    alt94=1;
7818                                    }
7819                                    break;
7820                            }
7821    
7822                            switch (alt94) {
7823                            case 1 :
7824                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:474:18: tbc= table_boldcontent
7825                                    {
7826                                    pushFollow(FOLLOW_table_boldcontent_in_table_formattedelement2618);
7827                                    tbc=table_boldcontent();
7828                                    _fsp--;
7829                                    if (failed) return content;
7830                                    if ( backtracking==0 ) {
7831                                      content = new BoldTextNode(tbc);
7832                                    }
7833    
7834                                    }
7835                                    break;
7836    
7837                            }
7838    
7839                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:474:88: ( bold_markup )?
7840                            int alt95=2;
7841                            int LA95_0 = input.LA(1);
7842    
7843                            if ( (LA95_0==STAR) ) {
7844                            int LA95_1 = input.LA(2);
7845    
7846                            if ( (LA95_1==STAR) ) {
7847                                    alt95=1;
7848                            }
7849                            }
7850                            switch (alt95) {
7851                            case 1 :
7852                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:474:90: bold_markup
7853                                    {
7854                                    pushFollow(FOLLOW_bold_markup_in_table_formattedelement2628);
7855                                    bold_markup();
7856                                    _fsp--;
7857                                    if (failed) return content;
7858    
7859                                    }
7860                                    break;
7861    
7862                            }
7863    
7864    
7865                            }
7866                            break;
7867    
7868                    }
7869            }
7870            catch (RecognitionException re) {
7871                    reportError(re);
7872                    recover(input,re);
7873            }
7874            finally {
7875            }
7876            return content;
7877            }
7878            // $ANTLR end table_formattedelement
7879    
7880    
7881            // $ANTLR start table_boldcontent
7882            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:476:1: table_boldcontent returns [CollectionNode items = new CollectionNode()] : ( onestar (tb= table_boldcontentpart onestar )+ | EOF );
7883            public final CollectionNode table_boldcontent() throws RecognitionException {
7884            CollectionNode items =  new CollectionNode();
7885    
7886            ASTNode tb = null;
7887    
7888    
7889            try {
7890                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:477:2: ( onestar (tb= table_boldcontentpart onestar )+ | EOF )
7891                    int alt98=2;
7892                    int LA98_0 = input.LA(1);
7893    
7894                    if ( ((LA98_0>=FORCED_END_OF_LINE && LA98_0<=WIKI)||(LA98_0>=POUND && LA98_0<=EQUAL)||(LA98_0>=ITAL && LA98_0<=79)) ) {
7895                    alt98=1;
7896                    }
7897                    else if ( (LA98_0==EOF) ) {
7898                    alt98=2;
7899                    }
7900                    else {
7901                    if (backtracking>0) {failed=true; return items;}
7902                    NoViableAltException nvae =
7903                            new NoViableAltException("476:1: table_boldcontent returns [CollectionNode items = new CollectionNode()] : ( onestar (tb= table_boldcontentpart onestar )+ | EOF );", 98, 0, input);
7904    
7905                    throw nvae;
7906                    }
7907                    switch (alt98) {
7908                    case 1 :
7909                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:477:4: onestar (tb= table_boldcontentpart onestar )+
7910                            {
7911                            pushFollow(FOLLOW_onestar_in_table_boldcontent2645);
7912                            onestar();
7913                            _fsp--;
7914                            if (failed) return items;
7915                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:477:13: (tb= table_boldcontentpart onestar )+
7916                            int cnt97=0;
7917                            loop97:
7918                            do {
7919                            int alt97=2;
7920                            switch ( input.LA(1) ) {
7921                            case ITAL:
7922                                    {
7923                                    alt97=1;
7924                                    }
7925                                    break;
7926                            case FORCED_END_OF_LINE:
7927                            case HEADING_SECTION:
7928                            case HORIZONTAL_SECTION:
7929                            case LIST_ITEM:
7930                            case LIST_ITEM_PART:
7931                            case NOWIKI_SECTION:
7932                            case SCAPE_NODE:
7933                            case TEXT_NODE:
7934                            case UNORDERED_LIST:
7935                            case UNFORMATTED_TEXT:
7936                            case WIKI:
7937                            case POUND:
7938                            case EQUAL:
7939                            case NOWIKI_BLOCK_CLOSE:
7940                            case NOWIKI_CLOSE:
7941                            case LINK_CLOSE:
7942                            case IMAGE_CLOSE:
7943                            case BLANKS:
7944                            case TABLE_OF_CONTENTS_TEXT:
7945                            case DASH:
7946                            case CR:
7947                            case LF:
7948                            case SPACE:
7949                            case TABULATOR:
7950                            case BRACE_CLOSE:
7951                            case COLON_SLASH:
7952                            case SLASH:
7953                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
7954                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
7955                            case INSIGNIFICANT_CHAR:
7956                            case 44:
7957                            case 45:
7958                            case 46:
7959                            case 47:
7960                            case 48:
7961                            case 49:
7962                            case 50:
7963                            case 51:
7964                            case 52:
7965                            case 53:
7966                            case 54:
7967                            case 55:
7968                            case 56:
7969                            case 57:
7970                            case 58:
7971                            case 59:
7972                            case 60:
7973                            case 61:
7974                            case 62:
7975                            case 63:
7976                            case 64:
7977                            case 65:
7978                            case 66:
7979                            case 67:
7980                            case 68:
7981                            case 69:
7982                            case 70:
7983                            case 71:
7984                            case 72:
7985                            case 73:
7986                            case 74:
7987                            case 75:
7988                            case 76:
7989                            case 77:
7990                            case 78:
7991                            case 79:
7992                                    {
7993                                    alt97=1;
7994                                    }
7995                                    break;
7996                            case FORCED_LINEBREAK:
7997                                    {
7998                                    alt97=1;
7999                                    }
8000                                    break;
8001                            case ESCAPE:
8002                                    {
8003                                    alt97=1;
8004                                    }
8005                                    break;
8006                            case LINK_OPEN:
8007                                    {
8008                                    alt97=1;
8009                                    }
8010                                    break;
8011                            case IMAGE_OPEN:
8012                                    {
8013                                    alt97=1;
8014                                    }
8015                                    break;
8016                            case EXTENSION:
8017                                    {
8018                                    alt97=1;
8019                                    }
8020                                    break;
8021                            case NOWIKI_OPEN:
8022                                    {
8023                                    alt97=1;
8024                                    }
8025                                    break;
8026    
8027                            }
8028    
8029                            switch (alt97) {
8030                            case 1 :
8031                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:477:15: tb= table_boldcontentpart onestar
8032                                    {
8033                                    pushFollow(FOLLOW_table_boldcontentpart_in_table_boldcontent2654);
8034                                    tb=table_boldcontentpart();
8035                                    _fsp--;
8036                                    if (failed) return items;
8037                                    if ( backtracking==0 ) {
8038                                       items.add(tb); 
8039                                    }
8040                                    pushFollow(FOLLOW_onestar_in_table_boldcontent2659);
8041                                    onestar();
8042                                    _fsp--;
8043                                    if (failed) return items;
8044    
8045                                    }
8046                                    break;
8047    
8048                            default :
8049                                    if ( cnt97 >= 1 ) break loop97;
8050                                    if (backtracking>0) {failed=true; return items;}
8051                                    EarlyExitException eee =
8052                                            new EarlyExitException(97, input);
8053                                    throw eee;
8054                            }
8055                            cnt97++;
8056                            } while (true);
8057    
8058    
8059                            }
8060                            break;
8061                    case 2 :
8062                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:478:4: EOF
8063                            {
8064                            match(input,EOF,FOLLOW_EOF_in_table_boldcontent2667); if (failed) return items;
8065    
8066                            }
8067                            break;
8068    
8069                    }
8070            }
8071            catch (RecognitionException re) {
8072                    reportError(re);
8073                    recover(input,re);
8074            }
8075            finally {
8076            }
8077            return items;
8078            }
8079            // $ANTLR end table_boldcontent
8080    
8081    
8082            // $ANTLR start table_italcontent
8083            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:480:1: table_italcontent returns [CollectionNode items = new CollectionNode()] : ( onestar (ti= table_italcontentpart onestar )+ | EOF );
8084            public final CollectionNode table_italcontent() throws RecognitionException {
8085            CollectionNode items =  new CollectionNode();
8086    
8087            ASTNode ti = null;
8088    
8089    
8090            try {
8091                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:481:2: ( onestar (ti= table_italcontentpart onestar )+ | EOF )
8092                    int alt100=2;
8093                    int LA100_0 = input.LA(1);
8094    
8095                    if ( ((LA100_0>=FORCED_END_OF_LINE && LA100_0<=WIKI)||(LA100_0>=POUND && LA100_0<=EQUAL)||(LA100_0>=LINK_OPEN && LA100_0<=79)) ) {
8096                    alt100=1;
8097                    }
8098                    else if ( (LA100_0==EOF) ) {
8099                    alt100=2;
8100                    }
8101                    else {
8102                    if (backtracking>0) {failed=true; return items;}
8103                    NoViableAltException nvae =
8104                            new NoViableAltException("480:1: table_italcontent returns [CollectionNode items = new CollectionNode()] : ( onestar (ti= table_italcontentpart onestar )+ | EOF );", 100, 0, input);
8105    
8106                    throw nvae;
8107                    }
8108                    switch (alt100) {
8109                    case 1 :
8110                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:481:4: onestar (ti= table_italcontentpart onestar )+
8111                            {
8112                            pushFollow(FOLLOW_onestar_in_table_italcontent2681);
8113                            onestar();
8114                            _fsp--;
8115                            if (failed) return items;
8116                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:481:13: (ti= table_italcontentpart onestar )+
8117                            int cnt99=0;
8118                            loop99:
8119                            do {
8120                            int alt99=2;
8121                            switch ( input.LA(1) ) {
8122                            case STAR:
8123                                    {
8124                                    alt99=1;
8125                                    }
8126                                    break;
8127                            case FORCED_END_OF_LINE:
8128                            case HEADING_SECTION:
8129                            case HORIZONTAL_SECTION:
8130                            case LIST_ITEM:
8131                            case LIST_ITEM_PART:
8132                            case NOWIKI_SECTION:
8133                            case SCAPE_NODE:
8134                            case TEXT_NODE:
8135                            case UNORDERED_LIST:
8136                            case UNFORMATTED_TEXT:
8137                            case WIKI:
8138                            case POUND:
8139                            case EQUAL:
8140                            case NOWIKI_BLOCK_CLOSE:
8141                            case NOWIKI_CLOSE:
8142                            case LINK_CLOSE:
8143                            case IMAGE_CLOSE:
8144                            case BLANKS:
8145                            case TABLE_OF_CONTENTS_TEXT:
8146                            case DASH:
8147                            case CR:
8148                            case LF:
8149                            case SPACE:
8150                            case TABULATOR:
8151                            case BRACE_CLOSE:
8152                            case COLON_SLASH:
8153                            case SLASH:
8154                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
8155                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
8156                            case INSIGNIFICANT_CHAR:
8157                            case 44:
8158                            case 45:
8159                            case 46:
8160                            case 47:
8161                            case 48:
8162                            case 49:
8163                            case 50:
8164                            case 51:
8165                            case 52:
8166                            case 53:
8167                            case 54:
8168                            case 55:
8169                            case 56:
8170                            case 57:
8171                            case 58:
8172                            case 59:
8173                            case 60:
8174                            case 61:
8175                            case 62:
8176                            case 63:
8177                            case 64:
8178                            case 65:
8179                            case 66:
8180                            case 67:
8181                            case 68:
8182                            case 69:
8183                            case 70:
8184                            case 71:
8185                            case 72:
8186                            case 73:
8187                            case 74:
8188                            case 75:
8189                            case 76:
8190                            case 77:
8191                            case 78:
8192                            case 79:
8193                                    {
8194                                    alt99=1;
8195                                    }
8196                                    break;
8197                            case FORCED_LINEBREAK:
8198                                    {
8199                                    alt99=1;
8200                                    }
8201                                    break;
8202                            case ESCAPE:
8203                                    {
8204                                    alt99=1;
8205                                    }
8206                                    break;
8207                            case LINK_OPEN:
8208                                    {
8209                                    alt99=1;
8210                                    }
8211                                    break;
8212                            case IMAGE_OPEN:
8213                                    {
8214                                    alt99=1;
8215                                    }
8216                                    break;
8217                            case EXTENSION:
8218                                    {
8219                                    alt99=1;
8220                                    }
8221                                    break;
8222                            case NOWIKI_OPEN:
8223                                    {
8224                                    alt99=1;
8225                                    }
8226                                    break;
8227    
8228                            }
8229    
8230                            switch (alt99) {
8231                            case 1 :
8232                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:481:15: ti= table_italcontentpart onestar
8233                                    {
8234                                    pushFollow(FOLLOW_table_italcontentpart_in_table_italcontent2690);
8235                                    ti=table_italcontentpart();
8236                                    _fsp--;
8237                                    if (failed) return items;
8238                                    if ( backtracking==0 ) {
8239                                       items.add(ti); 
8240                                    }
8241                                    pushFollow(FOLLOW_onestar_in_table_italcontent2695);
8242                                    onestar();
8243                                    _fsp--;
8244                                    if (failed) return items;
8245    
8246                                    }
8247                                    break;
8248    
8249                            default :
8250                                    if ( cnt99 >= 1 ) break loop99;
8251                                    if (backtracking>0) {failed=true; return items;}
8252                                    EarlyExitException eee =
8253                                            new EarlyExitException(99, input);
8254                                    throw eee;
8255                            }
8256                            cnt99++;
8257                            } while (true);
8258    
8259    
8260                            }
8261                            break;
8262                    case 2 :
8263                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:482:4: EOF
8264                            {
8265                            match(input,EOF,FOLLOW_EOF_in_table_italcontent2703); if (failed) return items;
8266    
8267                            }
8268                            break;
8269    
8270                    }
8271            }
8272            catch (RecognitionException re) {
8273                    reportError(re);
8274                    recover(input,re);
8275            }
8276            finally {
8277            }
8278            return items;
8279            }
8280            // $ANTLR end table_italcontent
8281    
8282    
8283            // $ANTLR start table_boldcontentpart
8284            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:484:1: table_boldcontentpart returns [ASTNode node = null] : (tf= table_formattedcontent | ital_markup tb= table_bolditalcontent ( ital_markup )? );
8285            public final ASTNode table_boldcontentpart() throws RecognitionException {
8286            ASTNode node =  null;
8287    
8288            CollectionNode tf = null;
8289    
8290            CollectionNode tb = null;
8291    
8292    
8293            try {
8294                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:485:2: (tf= table_formattedcontent | ital_markup tb= table_bolditalcontent ( ital_markup )? )
8295                    int alt102=2;
8296                    int LA102_0 = input.LA(1);
8297    
8298                    if ( ((LA102_0>=FORCED_END_OF_LINE && LA102_0<=WIKI)||LA102_0==POUND||LA102_0==EQUAL||(LA102_0>=LINK_OPEN && LA102_0<=79)) ) {
8299                    alt102=1;
8300                    }
8301                    else if ( (LA102_0==ITAL) ) {
8302                    alt102=2;
8303                    }
8304                    else {
8305                    if (backtracking>0) {failed=true; return node;}
8306                    NoViableAltException nvae =
8307                            new NoViableAltException("484:1: table_boldcontentpart returns [ASTNode node = null] : (tf= table_formattedcontent | ital_markup tb= table_bolditalcontent ( ital_markup )? );", 102, 0, input);
8308    
8309                    throw nvae;
8310                    }
8311                    switch (alt102) {
8312                    case 1 :
8313                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:485:4: tf= table_formattedcontent
8314                            {
8315                            pushFollow(FOLLOW_table_formattedcontent_in_table_boldcontentpart2721);
8316                            tf=table_formattedcontent();
8317                            _fsp--;
8318                            if (failed) return node;
8319                            if ( backtracking==0 ) {
8320                              node = tf; 
8321                            }
8322    
8323                            }
8324                            break;
8325                    case 2 :
8326                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:486:4: ital_markup tb= table_bolditalcontent ( ital_markup )?
8327                            {
8328                            pushFollow(FOLLOW_ital_markup_in_table_boldcontentpart2728);
8329                            ital_markup();
8330                            _fsp--;
8331                            if (failed) return node;
8332                            pushFollow(FOLLOW_table_bolditalcontent_in_table_boldcontentpart2735);
8333                            tb=table_bolditalcontent();
8334                            _fsp--;
8335                            if (failed) return node;
8336                            if ( backtracking==0 ) {
8337                               node = new ItalicTextNode(tb);  
8338                            }
8339                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:486:92: ( ital_markup )?
8340                            int alt101=2;
8341                            int LA101_0 = input.LA(1);
8342    
8343                            if ( (LA101_0==ITAL) ) {
8344                            alt101=1;
8345                            }
8346                            switch (alt101) {
8347                            case 1 :
8348                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:486:94: ital_markup
8349                                    {
8350                                    pushFollow(FOLLOW_ital_markup_in_table_boldcontentpart2742);
8351                                    ital_markup();
8352                                    _fsp--;
8353                                    if (failed) return node;
8354    
8355                                    }
8356                                    break;
8357    
8358                            }
8359    
8360    
8361                            }
8362                            break;
8363    
8364                    }
8365            }
8366            catch (RecognitionException re) {
8367                    reportError(re);
8368                    recover(input,re);
8369            }
8370            finally {
8371            }
8372            return node;
8373            }
8374            // $ANTLR end table_boldcontentpart
8375    
8376    
8377            // $ANTLR start table_italcontentpart
8378            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:488:1: table_italcontentpart returns [ASTNode node = null] : ( bold_markup tb= table_bolditalcontent ( bold_markup )? | tf= table_formattedcontent );
8379            public final ASTNode table_italcontentpart() throws RecognitionException {
8380            ASTNode node =  null;
8381    
8382            CollectionNode tb = null;
8383    
8384            CollectionNode tf = null;
8385    
8386    
8387            try {
8388                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:489:2: ( bold_markup tb= table_bolditalcontent ( bold_markup )? | tf= table_formattedcontent )
8389                    int alt104=2;
8390                    int LA104_0 = input.LA(1);
8391    
8392                    if ( (LA104_0==STAR) ) {
8393                    alt104=1;
8394                    }
8395                    else if ( ((LA104_0>=FORCED_END_OF_LINE && LA104_0<=WIKI)||LA104_0==POUND||LA104_0==EQUAL||(LA104_0>=LINK_OPEN && LA104_0<=79)) ) {
8396                    alt104=2;
8397                    }
8398                    else {
8399                    if (backtracking>0) {failed=true; return node;}
8400                    NoViableAltException nvae =
8401                            new NoViableAltException("488:1: table_italcontentpart returns [ASTNode node = null] : ( bold_markup tb= table_bolditalcontent ( bold_markup )? | tf= table_formattedcontent );", 104, 0, input);
8402    
8403                    throw nvae;
8404                    }
8405                    switch (alt104) {
8406                    case 1 :
8407                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:489:4: bold_markup tb= table_bolditalcontent ( bold_markup )?
8408                            {
8409                            pushFollow(FOLLOW_bold_markup_in_table_italcontentpart2759);
8410                            bold_markup();
8411                            _fsp--;
8412                            if (failed) return node;
8413                            pushFollow(FOLLOW_table_bolditalcontent_in_table_italcontentpart2766);
8414                            tb=table_bolditalcontent();
8415                            _fsp--;
8416                            if (failed) return node;
8417                            if ( backtracking==0 ) {
8418                              node = new BoldTextNode(tb); 
8419                            }
8420                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:489:88: ( bold_markup )?
8421                            int alt103=2;
8422                            int LA103_0 = input.LA(1);
8423    
8424                            if ( (LA103_0==STAR) ) {
8425                            int LA103_1 = input.LA(2);
8426    
8427                            if ( (LA103_1==STAR) ) {
8428                                    alt103=1;
8429                            }
8430                            }
8431                            switch (alt103) {
8432                            case 1 :
8433                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:489:90: bold_markup
8434                                    {
8435                                    pushFollow(FOLLOW_bold_markup_in_table_italcontentpart2773);
8436                                    bold_markup();
8437                                    _fsp--;
8438                                    if (failed) return node;
8439    
8440                                    }
8441                                    break;
8442    
8443                            }
8444    
8445    
8446                            }
8447                            break;
8448                    case 2 :
8449                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:490:4: tf= table_formattedcontent
8450                            {
8451                            pushFollow(FOLLOW_table_formattedcontent_in_table_italcontentpart2785);
8452                            tf=table_formattedcontent();
8453                            _fsp--;
8454                            if (failed) return node;
8455                            if ( backtracking==0 ) {
8456                               node = tf; 
8457                            }
8458    
8459                            }
8460                            break;
8461    
8462                    }
8463            }
8464            catch (RecognitionException re) {
8465                    reportError(re);
8466                    recover(input,re);
8467            }
8468            finally {
8469            }
8470            return node;
8471            }
8472            // $ANTLR end table_italcontentpart
8473    
8474    
8475            // $ANTLR start table_bolditalcontent
8476            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:492:1: table_bolditalcontent returns [CollectionNode elements = null] : ( onestar (tfc= table_formattedcontent onestar )? | EOF );
8477            public final CollectionNode table_bolditalcontent() throws RecognitionException {
8478            CollectionNode elements =  null;
8479    
8480            CollectionNode tfc = null;
8481    
8482    
8483            try {
8484                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:493:2: ( onestar (tfc= table_formattedcontent onestar )? | EOF )
8485                    int alt106=2;
8486                    int LA106_0 = input.LA(1);
8487    
8488                    if ( ((LA106_0>=FORCED_END_OF_LINE && LA106_0<=EQUAL)||(LA106_0>=ITAL && LA106_0<=79)) ) {
8489                    alt106=1;
8490                    }
8491                    else if ( (LA106_0==EOF||LA106_0==PIPE) ) {
8492                    alt106=1;
8493                    }
8494                    else {
8495                    if (backtracking>0) {failed=true; return elements;}
8496                    NoViableAltException nvae =
8497                            new NoViableAltException("492:1: table_bolditalcontent returns [CollectionNode elements = null] : ( onestar (tfc= table_formattedcontent onestar )? | EOF );", 106, 0, input);
8498    
8499                    throw nvae;
8500                    }
8501                    switch (alt106) {
8502                    case 1 :
8503                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:493:4: onestar (tfc= table_formattedcontent onestar )?
8504                            {
8505                            pushFollow(FOLLOW_onestar_in_table_bolditalcontent2801);
8506                            onestar();
8507                            _fsp--;
8508                            if (failed) return elements;
8509                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:493:13: (tfc= table_formattedcontent onestar )?
8510                            int alt105=2;
8511                            switch ( input.LA(1) ) {
8512                            case FORCED_END_OF_LINE:
8513                            case HEADING_SECTION:
8514                            case HORIZONTAL_SECTION:
8515                            case LIST_ITEM:
8516                            case LIST_ITEM_PART:
8517                            case NOWIKI_SECTION:
8518                            case SCAPE_NODE:
8519                            case TEXT_NODE:
8520                            case UNORDERED_LIST:
8521                            case UNFORMATTED_TEXT:
8522                            case WIKI:
8523                            case POUND:
8524                            case EQUAL:
8525                            case NOWIKI_BLOCK_CLOSE:
8526                            case NOWIKI_CLOSE:
8527                            case LINK_CLOSE:
8528                            case IMAGE_CLOSE:
8529                            case BLANKS:
8530                            case TABLE_OF_CONTENTS_TEXT:
8531                            case DASH:
8532                            case CR:
8533                            case LF:
8534                            case SPACE:
8535                            case TABULATOR:
8536                            case BRACE_CLOSE:
8537                            case COLON_SLASH:
8538                            case SLASH:
8539                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
8540                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
8541                            case INSIGNIFICANT_CHAR:
8542                            case 44:
8543                            case 45:
8544                            case 46:
8545                            case 47:
8546                            case 48:
8547                            case 49:
8548                            case 50:
8549                            case 51:
8550                            case 52:
8551                            case 53:
8552                            case 54:
8553                            case 55:
8554                            case 56:
8555                            case 57:
8556                            case 58:
8557                            case 59:
8558                            case 60:
8559                            case 61:
8560                            case 62:
8561                            case 63:
8562                            case 64:
8563                            case 65:
8564                            case 66:
8565                            case 67:
8566                            case 68:
8567                            case 69:
8568                            case 70:
8569                            case 71:
8570                            case 72:
8571                            case 73:
8572                            case 74:
8573                            case 75:
8574                            case 76:
8575                            case 77:
8576                            case 78:
8577                            case 79:
8578                                    {
8579                                    alt105=1;
8580                                    }
8581                                    break;
8582                            case FORCED_LINEBREAK:
8583                                    {
8584                                    alt105=1;
8585                                    }
8586                                    break;
8587                            case ESCAPE:
8588                                    {
8589                                    alt105=1;
8590                                    }
8591                                    break;
8592                            case LINK_OPEN:
8593                                    {
8594                                    alt105=1;
8595                                    }
8596                                    break;
8597                            case IMAGE_OPEN:
8598                                    {
8599                                    alt105=1;
8600                                    }
8601                                    break;
8602                            case EXTENSION:
8603                                    {
8604                                    alt105=1;
8605                                    }
8606                                    break;
8607                            case NOWIKI_OPEN:
8608                                    {
8609                                    alt105=1;
8610                                    }
8611                                    break;
8612                            }
8613    
8614                            switch (alt105) {
8615                            case 1 :
8616                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:493:15: tfc= table_formattedcontent onestar
8617                                    {
8618                                    pushFollow(FOLLOW_table_formattedcontent_in_table_bolditalcontent2810);
8619                                    tfc=table_formattedcontent();
8620                                    _fsp--;
8621                                    if (failed) return elements;
8622                                    if ( backtracking==0 ) {
8623                                       elements = tfc; 
8624                                    }
8625                                    pushFollow(FOLLOW_onestar_in_table_bolditalcontent2815);
8626                                    onestar();
8627                                    _fsp--;
8628                                    if (failed) return elements;
8629    
8630                                    }
8631                                    break;
8632    
8633                            }
8634    
8635    
8636                            }
8637                            break;
8638                    case 2 :
8639                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:494:4: EOF
8640                            {
8641                            match(input,EOF,FOLLOW_EOF_in_table_bolditalcontent2823); if (failed) return elements;
8642    
8643                            }
8644                            break;
8645    
8646                    }
8647            }
8648            catch (RecognitionException re) {
8649                    reportError(re);
8650                    recover(input,re);
8651            }
8652            finally {
8653            }
8654            return elements;
8655            }
8656            // $ANTLR end table_bolditalcontent
8657    
8658    
8659            // $ANTLR start table_formattedcontent
8660            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:496:1: table_formattedcontent returns [CollectionNode elements = new CollectionNode()] : (tu= table_unformattedelement )+ ;
8661            public final CollectionNode table_formattedcontent() throws RecognitionException {
8662            CollectionNode elements =  new CollectionNode();
8663    
8664            ASTNode tu = null;
8665    
8666    
8667            try {
8668                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:497:2: ( (tu= table_unformattedelement )+ )
8669                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:497:4: (tu= table_unformattedelement )+
8670                    {
8671                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:497:4: (tu= table_unformattedelement )+
8672                    int cnt107=0;
8673                    loop107:
8674                    do {
8675                    int alt107=2;
8676                    switch ( input.LA(1) ) {
8677                    case FORCED_END_OF_LINE:
8678                    case HEADING_SECTION:
8679                    case HORIZONTAL_SECTION:
8680                    case LIST_ITEM:
8681                    case LIST_ITEM_PART:
8682                    case NOWIKI_SECTION:
8683                    case SCAPE_NODE:
8684                    case TEXT_NODE:
8685                    case UNORDERED_LIST:
8686                    case UNFORMATTED_TEXT:
8687                    case WIKI:
8688                    case POUND:
8689                    case EQUAL:
8690                    case NOWIKI_BLOCK_CLOSE:
8691                    case NOWIKI_CLOSE:
8692                    case LINK_CLOSE:
8693                    case IMAGE_CLOSE:
8694                    case BLANKS:
8695                    case TABLE_OF_CONTENTS_TEXT:
8696                    case DASH:
8697                    case CR:
8698                    case LF:
8699                    case SPACE:
8700                    case TABULATOR:
8701                    case BRACE_CLOSE:
8702                    case COLON_SLASH:
8703                    case SLASH:
8704                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
8705                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
8706                    case INSIGNIFICANT_CHAR:
8707                    case 44:
8708                    case 45:
8709                    case 46:
8710                    case 47:
8711                    case 48:
8712                    case 49:
8713                    case 50:
8714                    case 51:
8715                    case 52:
8716                    case 53:
8717                    case 54:
8718                    case 55:
8719                    case 56:
8720                    case 57:
8721                    case 58:
8722                    case 59:
8723                    case 60:
8724                    case 61:
8725                    case 62:
8726                    case 63:
8727                    case 64:
8728                    case 65:
8729                    case 66:
8730                    case 67:
8731                    case 68:
8732                    case 69:
8733                    case 70:
8734                    case 71:
8735                    case 72:
8736                    case 73:
8737                    case 74:
8738                    case 75:
8739                    case 76:
8740                    case 77:
8741                    case 78:
8742                    case 79:
8743                            {
8744                            alt107=1;
8745                            }
8746                            break;
8747                    case FORCED_LINEBREAK:
8748                            {
8749                            alt107=1;
8750                            }
8751                            break;
8752                    case ESCAPE:
8753                            {
8754                            alt107=1;
8755                            }
8756                            break;
8757                    case LINK_OPEN:
8758                            {
8759                            alt107=1;
8760                            }
8761                            break;
8762                    case IMAGE_OPEN:
8763                            {
8764                            alt107=1;
8765                            }
8766                            break;
8767                    case EXTENSION:
8768                            {
8769                            alt107=1;
8770                            }
8771                            break;
8772                    case NOWIKI_OPEN:
8773                            {
8774                            alt107=1;
8775                            }
8776                            break;
8777    
8778                    }
8779    
8780                    switch (alt107) {
8781                    case 1 :
8782                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:497:6: tu= table_unformattedelement
8783                            {
8784                            pushFollow(FOLLOW_table_unformattedelement_in_table_formattedcontent2843);
8785                            tu=table_unformattedelement();
8786                            _fsp--;
8787                            if (failed) return elements;
8788                            if ( backtracking==0 ) {
8789                               elements.add(tu); 
8790                            }
8791    
8792                            }
8793                            break;
8794    
8795                    default :
8796                            if ( cnt107 >= 1 ) break loop107;
8797                            if (backtracking>0) {failed=true; return elements;}
8798                            EarlyExitException eee =
8799                                    new EarlyExitException(107, input);
8800                            throw eee;
8801                    }
8802                    cnt107++;
8803                    } while (true);
8804    
8805    
8806                    }
8807    
8808            }
8809            catch (RecognitionException re) {
8810                    reportError(re);
8811                    recover(input,re);
8812            }
8813            finally {
8814            }
8815            return elements;
8816            }
8817            // $ANTLR end table_formattedcontent
8818    
8819    
8820            // $ANTLR start table_unformattedelement
8821            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:499:1: table_unformattedelement returns [ASTNode content = null] : (tu= table_unformatted | ti= table_inlineelement );
8822            public final ASTNode table_unformattedelement() throws RecognitionException {
8823            ASTNode content =  null;
8824    
8825            CollectionNode tu = null;
8826    
8827            ASTNode ti = null;
8828    
8829    
8830            try {
8831                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:500:2: (tu= table_unformatted | ti= table_inlineelement )
8832                    int alt108=2;
8833                    int LA108_0 = input.LA(1);
8834    
8835                    if ( ((LA108_0>=FORCED_END_OF_LINE && LA108_0<=WIKI)||LA108_0==POUND||LA108_0==EQUAL||(LA108_0>=FORCED_LINEBREAK && LA108_0<=79)) ) {
8836                    alt108=1;
8837                    }
8838                    else if ( ((LA108_0>=LINK_OPEN && LA108_0<=EXTENSION)) ) {
8839                    alt108=2;
8840                    }
8841                    else {
8842                    if (backtracking>0) {failed=true; return content;}
8843                    NoViableAltException nvae =
8844                            new NoViableAltException("499:1: table_unformattedelement returns [ASTNode content = null] : (tu= table_unformatted | ti= table_inlineelement );", 108, 0, input);
8845    
8846                    throw nvae;
8847                    }
8848                    switch (alt108) {
8849                    case 1 :
8850                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:500:4: tu= table_unformatted
8851                            {
8852                            pushFollow(FOLLOW_table_unformatted_in_table_unformattedelement2866);
8853                            tu=table_unformatted();
8854                            _fsp--;
8855                            if (failed) return content;
8856                            if ( backtracking==0 ) {
8857                              content = new UnformattedTextNode(tu);
8858                            }
8859    
8860                            }
8861                            break;
8862                    case 2 :
8863                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:501:4: ti= table_inlineelement
8864                            {
8865                            pushFollow(FOLLOW_table_inlineelement_in_table_unformattedelement2878);
8866                            ti=table_inlineelement();
8867                            _fsp--;
8868                            if (failed) return content;
8869                            if ( backtracking==0 ) {
8870                              content = ti;
8871                            }
8872    
8873                            }
8874                            break;
8875    
8876                    }
8877            }
8878            catch (RecognitionException re) {
8879                    reportError(re);
8880                    recover(input,re);
8881            }
8882            finally {
8883            }
8884            return content;
8885            }
8886            // $ANTLR end table_unformattedelement
8887    
8888    
8889            // $ANTLR start table_inlineelement
8890            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:503:1: table_inlineelement returns [ASTNode element = null] : (l= link | i= image | e= extension | nw= nowiki_inline );
8891            public final ASTNode table_inlineelement() throws RecognitionException {
8892            ASTNode element =  null;
8893    
8894            LinkNode l = null;
8895    
8896            ImageNode i = null;
8897    
8898            ASTNode e = null;
8899    
8900            NoWikiSectionNode nw = null;
8901    
8902    
8903            try {
8904                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:504:2: (l= link | i= image | e= extension | nw= nowiki_inline )
8905                    int alt109=4;
8906                    switch ( input.LA(1) ) {
8907                    case LINK_OPEN:
8908                    {
8909                    alt109=1;
8910                    }
8911                    break;
8912                    case IMAGE_OPEN:
8913                    {
8914                    alt109=2;
8915                    }
8916                    break;
8917                    case EXTENSION:
8918                    {
8919                    alt109=3;
8920                    }
8921                    break;
8922                    case NOWIKI_OPEN:
8923                    {
8924                    alt109=4;
8925                    }
8926                    break;
8927                    default:
8928                    if (backtracking>0) {failed=true; return element;}
8929                    NoViableAltException nvae =
8930                            new NoViableAltException("503:1: table_inlineelement returns [ASTNode element = null] : (l= link | i= image | e= extension | nw= nowiki_inline );", 109, 0, input);
8931    
8932                    throw nvae;
8933                    }
8934    
8935                    switch (alt109) {
8936                    case 1 :
8937                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:504:4: l= link
8938                            {
8939                            pushFollow(FOLLOW_link_in_table_inlineelement2899);
8940                            l=link();
8941                            _fsp--;
8942                            if (failed) return element;
8943                            if ( backtracking==0 ) {
8944                              element = l; 
8945                            }
8946    
8947                            }
8948                            break;
8949                    case 2 :
8950                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:505:4: i= image
8951                            {
8952                            pushFollow(FOLLOW_image_in_table_inlineelement2909);
8953                            i=image();
8954                            _fsp--;
8955                            if (failed) return element;
8956                            if ( backtracking==0 ) {
8957                              element = i; 
8958                            }
8959    
8960                            }
8961                            break;
8962                    case 3 :
8963                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:506:4: e= extension
8964                            {
8965                            pushFollow(FOLLOW_extension_in_table_inlineelement2920);
8966                            e=extension();
8967                            _fsp--;
8968                            if (failed) return element;
8969                            if ( backtracking==0 ) {
8970                              element = e; 
8971                            }
8972    
8973                            }
8974                            break;
8975                    case 4 :
8976                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:507:4: nw= nowiki_inline
8977                            {
8978                            pushFollow(FOLLOW_nowiki_inline_in_table_inlineelement2930);
8979                            nw=nowiki_inline();
8980                            _fsp--;
8981                            if (failed) return element;
8982                            if ( backtracking==0 ) {
8983                              element = nw; 
8984                            }
8985    
8986                            }
8987                            break;
8988    
8989                    }
8990            }
8991            catch (RecognitionException re) {
8992                    reportError(re);
8993                    recover(input,re);
8994            }
8995            finally {
8996            }
8997            return element;
8998            }
8999            // $ANTLR end table_inlineelement
9000    
9001    
9002            // $ANTLR start table_unformatted
9003            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:509:1: table_unformatted returns [CollectionNode text = new CollectionNode()] : (t= table_unformatted_text | ( forced_linebreak | e= escaped )+ );
9004            public final CollectionNode table_unformatted() throws RecognitionException {
9005            CollectionNode text =  new CollectionNode();
9006    
9007            StringBundler t = null;
9008    
9009            ScapedNode e = null;
9010    
9011    
9012            try {
9013                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:510:2: (t= table_unformatted_text | ( forced_linebreak | e= escaped )+ )
9014                    int alt111=2;
9015                    int LA111_0 = input.LA(1);
9016    
9017                    if ( ((LA111_0>=FORCED_END_OF_LINE && LA111_0<=WIKI)||LA111_0==POUND||LA111_0==EQUAL||(LA111_0>=NOWIKI_BLOCK_CLOSE && LA111_0<=79)) ) {
9018                    alt111=1;
9019                    }
9020                    else if ( ((LA111_0>=FORCED_LINEBREAK && LA111_0<=ESCAPE)) ) {
9021                    alt111=2;
9022                    }
9023                    else {
9024                    if (backtracking>0) {failed=true; return text;}
9025                    NoViableAltException nvae =
9026                            new NoViableAltException("509:1: table_unformatted returns [CollectionNode text = new CollectionNode()] : (t= table_unformatted_text | ( forced_linebreak | e= escaped )+ );", 111, 0, input);
9027    
9028                    throw nvae;
9029                    }
9030                    switch (alt111) {
9031                    case 1 :
9032                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:510:5: t= table_unformatted_text
9033                            {
9034                            pushFollow(FOLLOW_table_unformatted_text_in_table_unformatted2952);
9035                            t=table_unformatted_text();
9036                            _fsp--;
9037                            if (failed) return text;
9038                            if ( backtracking==0 ) {
9039                               text.add(new UnformattedTextNode(t.toString()));
9040                            }
9041    
9042                            }
9043                            break;
9044                    case 2 :
9045                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:511:5: ( forced_linebreak | e= escaped )+
9046                            {
9047                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:511:5: ( forced_linebreak | e= escaped )+
9048                            int cnt110=0;
9049                            loop110:
9050                            do {
9051                            int alt110=3;
9052                            int LA110_0 = input.LA(1);
9053    
9054                            if ( (LA110_0==FORCED_LINEBREAK) ) {
9055                                    alt110=1;
9056                            }
9057                            else if ( (LA110_0==ESCAPE) ) {
9058                                    alt110=2;
9059                            }
9060    
9061    
9062                            switch (alt110) {
9063                            case 1 :
9064                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:511:6: forced_linebreak
9065                                    {
9066                                    pushFollow(FOLLOW_forced_linebreak_in_table_unformatted2961);
9067                                    forced_linebreak();
9068                                    _fsp--;
9069                                    if (failed) return text;
9070                                    if ( backtracking==0 ) {
9071                                      text.add(new ForcedEndOfLineNode());
9072                                    }
9073    
9074                                    }
9075                                    break;
9076                            case 2 :
9077                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:512:5: e= escaped
9078                                    {
9079                                    pushFollow(FOLLOW_escaped_in_table_unformatted2974);
9080                                    e=escaped();
9081                                    _fsp--;
9082                                    if (failed) return text;
9083                                    if ( backtracking==0 ) {
9084                                      text.add(e);
9085                                    }
9086    
9087                                    }
9088                                    break;
9089    
9090                            default :
9091                                    if ( cnt110 >= 1 ) break loop110;
9092                                    if (backtracking>0) {failed=true; return text;}
9093                                    EarlyExitException eee =
9094                                            new EarlyExitException(110, input);
9095                                    throw eee;
9096                            }
9097                            cnt110++;
9098                            } while (true);
9099    
9100    
9101                            }
9102                            break;
9103    
9104                    }
9105            }
9106            catch (RecognitionException re) {
9107                    reportError(re);
9108                    recover(input,re);
9109            }
9110            finally {
9111            }
9112            return text;
9113            }
9114            // $ANTLR end table_unformatted
9115    
9116    
9117            // $ANTLR start table_unformatted_text
9118            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:515:1: table_unformatted_text returns [StringBundler text = new StringBundler()] : (c=~ ( PIPE | ITAL | STAR | LINK_OPEN | IMAGE_OPEN | NOWIKI_OPEN | EXTENSION | FORCED_LINEBREAK | ESCAPE | NEWLINE | EOF ) )+ ;
9119            public final StringBundler table_unformatted_text() throws RecognitionException {
9120            StringBundler text =  new StringBundler();
9121    
9122            Token c=null;
9123    
9124            try {
9125                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:516:2: ( (c=~ ( PIPE | ITAL | STAR | LINK_OPEN | IMAGE_OPEN | NOWIKI_OPEN | EXTENSION | FORCED_LINEBREAK | ESCAPE | NEWLINE | EOF ) )+ )
9126                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:516:4: (c=~ ( PIPE | ITAL | STAR | LINK_OPEN | IMAGE_OPEN | NOWIKI_OPEN | EXTENSION | FORCED_LINEBREAK | ESCAPE | NEWLINE | EOF ) )+
9127                    {
9128                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:516:4: (c=~ ( PIPE | ITAL | STAR | LINK_OPEN | IMAGE_OPEN | NOWIKI_OPEN | EXTENSION | FORCED_LINEBREAK | ESCAPE | NEWLINE | EOF ) )+
9129                    int cnt112=0;
9130                    loop112:
9131                    do {
9132                    int alt112=2;
9133                    int LA112_0 = input.LA(1);
9134    
9135                    if ( ((LA112_0>=FORCED_END_OF_LINE && LA112_0<=WIKI)||LA112_0==POUND||LA112_0==EQUAL||(LA112_0>=NOWIKI_BLOCK_CLOSE && LA112_0<=79)) ) {
9136                            alt112=1;
9137                    }
9138    
9139    
9140                    switch (alt112) {
9141                    case 1 :
9142                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:516:6: c=~ ( PIPE | ITAL | STAR | LINK_OPEN | IMAGE_OPEN | NOWIKI_OPEN | EXTENSION | FORCED_LINEBREAK | ESCAPE | NEWLINE | EOF )
9143                            {
9144                            c=(Token)input.LT(1);
9145                            if ( (input.LA(1)>=FORCED_END_OF_LINE && input.LA(1)<=WIKI)||input.LA(1)==POUND||input.LA(1)==EQUAL||(input.LA(1)>=NOWIKI_BLOCK_CLOSE && input.LA(1)<=79) ) {
9146                            input.consume();
9147                            errorRecovery=false;failed=false;
9148                            }
9149                            else {
9150                            if (backtracking>0) {failed=true; return text;}
9151                            MismatchedSetException mse =
9152                                    new MismatchedSetException(null,input);
9153                            recoverFromMismatchedSet(input,mse,FOLLOW_set_in_table_unformatted_text3000);    throw mse;
9154                            }
9155    
9156                            if ( backtracking==0 ) {
9157                              text.append(c.getText());
9158                            }
9159    
9160                            }
9161                            break;
9162    
9163                    default :
9164                            if ( cnt112 >= 1 ) break loop112;
9165                            if (backtracking>0) {failed=true; return text;}
9166                            EarlyExitException eee =
9167                                    new EarlyExitException(112, input);
9168                            throw eee;
9169                    }
9170                    cnt112++;
9171                    } while (true);
9172    
9173    
9174                    }
9175    
9176            }
9177            catch (RecognitionException re) {
9178                    reportError(re);
9179                    recover(input,re);
9180            }
9181            finally {
9182            }
9183            return text;
9184            }
9185            // $ANTLR end table_unformatted_text
9186    
9187    
9188            // $ANTLR start nowiki_block
9189            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:530:1: nowiki_block returns [NoWikiSectionNode nowikiNode] : nowikiblock_open_markup contents= nowiki_block_contents nowikiblock_close_markup paragraph_separator ;
9190            public final NoWikiSectionNode nowiki_block() throws RecognitionException {
9191            NoWikiSectionNode nowikiNode = null;
9192    
9193            nowiki_block_contents_return contents = null;
9194    
9195    
9196            try {
9197                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:531:2: ( nowikiblock_open_markup contents= nowiki_block_contents nowikiblock_close_markup paragraph_separator )
9198                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:531:4: nowikiblock_open_markup contents= nowiki_block_contents nowikiblock_close_markup paragraph_separator
9199                    {
9200                    pushFollow(FOLLOW_nowikiblock_open_markup_in_nowiki_block3097);
9201                    nowikiblock_open_markup();
9202                    _fsp--;
9203                    if (failed) return nowikiNode;
9204                    pushFollow(FOLLOW_nowiki_block_contents_in_nowiki_block3104);
9205                    contents=nowiki_block_contents();
9206                    _fsp--;
9207                    if (failed) return nowikiNode;
9208                    if ( backtracking==0 ) {
9209                      nowikiNode = new NoWikiSectionNode(input.toString(contents.start,contents.stop).toString());
9210                    }
9211                    pushFollow(FOLLOW_nowikiblock_close_markup_in_nowiki_block3110);
9212                    nowikiblock_close_markup();
9213                    _fsp--;
9214                    if (failed) return nowikiNode;
9215                    pushFollow(FOLLOW_paragraph_separator_in_nowiki_block3113);
9216                    paragraph_separator();
9217                    _fsp--;
9218                    if (failed) return nowikiNode;
9219    
9220                    }
9221    
9222            }
9223            catch (RecognitionException re) {
9224                    reportError(re);
9225                    recover(input,re);
9226            }
9227            finally {
9228            }
9229            return nowikiNode;
9230            }
9231            // $ANTLR end nowiki_block
9232    
9233    
9234            // $ANTLR start nowikiblock_open_markup
9235            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:535:1: nowikiblock_open_markup : nowiki_open_markup newline ;
9236            public final void nowikiblock_open_markup() throws RecognitionException {
9237            try {
9238                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:536:2: ( nowiki_open_markup newline )
9239                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:536:4: nowiki_open_markup newline
9240                    {
9241                    pushFollow(FOLLOW_nowiki_open_markup_in_nowikiblock_open_markup3125);
9242                    nowiki_open_markup();
9243                    _fsp--;
9244                    if (failed) return ;
9245                    pushFollow(FOLLOW_newline_in_nowikiblock_open_markup3128);
9246                    newline();
9247                    _fsp--;
9248                    if (failed) return ;
9249    
9250                    }
9251    
9252            }
9253            catch (RecognitionException re) {
9254                    reportError(re);
9255                    recover(input,re);
9256            }
9257            finally {
9258            }
9259            return ;
9260            }
9261            // $ANTLR end nowikiblock_open_markup
9262    
9263    
9264            // $ANTLR start nowikiblock_close_markup
9265            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:539:1: nowikiblock_close_markup : NOWIKI_BLOCK_CLOSE ;
9266            public final void nowikiblock_close_markup() throws RecognitionException {
9267            try {
9268                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:540:2: ( NOWIKI_BLOCK_CLOSE )
9269                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:540:4: NOWIKI_BLOCK_CLOSE
9270                    {
9271                    match(input,NOWIKI_BLOCK_CLOSE,FOLLOW_NOWIKI_BLOCK_CLOSE_in_nowikiblock_close_markup3140); if (failed) return ;
9272    
9273                    }
9274    
9275            }
9276            catch (RecognitionException re) {
9277                    reportError(re);
9278                    recover(input,re);
9279            }
9280            finally {
9281            }
9282            return ;
9283            }
9284            // $ANTLR end nowikiblock_close_markup
9285    
9286    
9287            // $ANTLR start nowiki_inline
9288            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:543:1: nowiki_inline returns [NoWikiSectionNode nowiki = null] : nowiki_open_markup t= nowiki_inline_contents nowiki_close_markup ;
9289            public final NoWikiSectionNode nowiki_inline() throws RecognitionException {
9290            NoWikiSectionNode nowiki =  null;
9291    
9292            StringBundler t = null;
9293    
9294    
9295            try {
9296                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:544:2: ( nowiki_open_markup t= nowiki_inline_contents nowiki_close_markup )
9297                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:544:4: nowiki_open_markup t= nowiki_inline_contents nowiki_close_markup
9298                    {
9299                    pushFollow(FOLLOW_nowiki_open_markup_in_nowiki_inline3155);
9300                    nowiki_open_markup();
9301                    _fsp--;
9302                    if (failed) return nowiki;
9303                    pushFollow(FOLLOW_nowiki_inline_contents_in_nowiki_inline3162);
9304                    t=nowiki_inline_contents();
9305                    _fsp--;
9306                    if (failed) return nowiki;
9307                    pushFollow(FOLLOW_nowiki_close_markup_in_nowiki_inline3167);
9308                    nowiki_close_markup();
9309                    _fsp--;
9310                    if (failed) return nowiki;
9311                    if ( backtracking==0 ) {
9312                      nowiki = new NoWikiSectionNode(t.toString());
9313                    }
9314    
9315                    }
9316    
9317            }
9318            catch (RecognitionException re) {
9319                    reportError(re);
9320                    recover(input,re);
9321            }
9322            finally {
9323            }
9324            return nowiki;
9325            }
9326            // $ANTLR end nowiki_inline
9327    
9328            public static class nowiki_block_contents_return extends ParserRuleReturnScope {
9329            public StringBundler contents = new StringBundler();
9330            };
9331    
9332            // $ANTLR start nowiki_block_contents
9333            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:547:1: nowiki_block_contents returns [StringBundler contents = new StringBundler()] : (c=~ ( NOWIKI_BLOCK_CLOSE | EOF ) )* ;
9334            public final nowiki_block_contents_return nowiki_block_contents() throws RecognitionException {
9335            nowiki_block_contents_return retval = new nowiki_block_contents_return();
9336            retval.start = input.LT(1);
9337    
9338            Token c=null;
9339    
9340            try {
9341                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:548:2: ( (c=~ ( NOWIKI_BLOCK_CLOSE | EOF ) )* )
9342                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:548:3: (c=~ ( NOWIKI_BLOCK_CLOSE | EOF ) )*
9343                    {
9344                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:548:3: (c=~ ( NOWIKI_BLOCK_CLOSE | EOF ) )*
9345                    loop113:
9346                    do {
9347                    int alt113=2;
9348                    int LA113_0 = input.LA(1);
9349    
9350                    if ( ((LA113_0>=FORCED_END_OF_LINE && LA113_0<=ESCAPE)||(LA113_0>=NOWIKI_CLOSE && LA113_0<=79)) ) {
9351                            alt113=1;
9352                    }
9353    
9354    
9355                    switch (alt113) {
9356                    case 1 :
9357                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:548:4: c=~ ( NOWIKI_BLOCK_CLOSE | EOF )
9358                            {
9359                            c=(Token)input.LT(1);
9360                            if ( (input.LA(1)>=FORCED_END_OF_LINE && input.LA(1)<=ESCAPE)||(input.LA(1)>=NOWIKI_CLOSE && input.LA(1)<=79) ) {
9361                            input.consume();
9362                            errorRecovery=false;failed=false;
9363                            }
9364                            else {
9365                            if (backtracking>0) {failed=true; return retval;}
9366                            MismatchedSetException mse =
9367                                    new MismatchedSetException(null,input);
9368                            recoverFromMismatchedSet(input,mse,FOLLOW_set_in_nowiki_block_contents3186);    throw mse;
9369                            }
9370    
9371                            if ( backtracking==0 ) {
9372                              retval.contents.append(c.getText());
9373                            }
9374    
9375                            }
9376                            break;
9377    
9378                    default :
9379                            break loop113;
9380                    }
9381                    } while (true);
9382    
9383    
9384                    }
9385    
9386                    retval.stop = input.LT(-1);
9387    
9388            }
9389            catch (RecognitionException re) {
9390                    reportError(re);
9391                    recover(input,re);
9392            }
9393            finally {
9394            }
9395            return retval;
9396            }
9397            // $ANTLR end nowiki_block_contents
9398    
9399    
9400            // $ANTLR start nowiki_inline_contents
9401            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:551:1: nowiki_inline_contents returns [StringBundler text = new StringBundler()] : (c=~ ( NOWIKI_CLOSE | NEWLINE | EOF ) )* ;
9402            public final StringBundler nowiki_inline_contents() throws RecognitionException {
9403            StringBundler text =  new StringBundler();
9404    
9405            Token c=null;
9406    
9407            try {
9408                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:552:2: ( (c=~ ( NOWIKI_CLOSE | NEWLINE | EOF ) )* )
9409                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:552:4: (c=~ ( NOWIKI_CLOSE | NEWLINE | EOF ) )*
9410                    {
9411                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:552:4: (c=~ ( NOWIKI_CLOSE | NEWLINE | EOF ) )*
9412                    loop114:
9413                    do {
9414                    int alt114=2;
9415                    int LA114_0 = input.LA(1);
9416    
9417                    if ( ((LA114_0>=FORCED_END_OF_LINE && LA114_0<=WIKI)||(LA114_0>=POUND && LA114_0<=NOWIKI_BLOCK_CLOSE)||(LA114_0>=LINK_CLOSE && LA114_0<=79)) ) {
9418                            alt114=1;
9419                    }
9420    
9421    
9422                    switch (alt114) {
9423                    case 1 :
9424                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:552:5: c=~ ( NOWIKI_CLOSE | NEWLINE | EOF )
9425                            {
9426                            c=(Token)input.LT(1);
9427                            if ( (input.LA(1)>=FORCED_END_OF_LINE && input.LA(1)<=WIKI)||(input.LA(1)>=POUND && input.LA(1)<=NOWIKI_BLOCK_CLOSE)||(input.LA(1)>=LINK_CLOSE && input.LA(1)<=79) ) {
9428                            input.consume();
9429                            errorRecovery=false;failed=false;
9430                            }
9431                            else {
9432                            if (backtracking>0) {failed=true; return text;}
9433                            MismatchedSetException mse =
9434                                    new MismatchedSetException(null,input);
9435                            recoverFromMismatchedSet(input,mse,FOLLOW_set_in_nowiki_inline_contents3219);    throw mse;
9436                            }
9437    
9438                            if ( backtracking==0 ) {
9439                               text.append(c.getText()); 
9440                            }
9441    
9442                            }
9443                            break;
9444    
9445                    default :
9446                            break loop114;
9447                    }
9448                    } while (true);
9449    
9450    
9451                    }
9452    
9453            }
9454            catch (RecognitionException re) {
9455                    reportError(re);
9456                    recover(input,re);
9457            }
9458            finally {
9459            }
9460            return text;
9461            }
9462            // $ANTLR end nowiki_inline_contents
9463    
9464    
9465            // $ANTLR start horizontalrule
9466            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:559:1: horizontalrule returns [ASTNode horizontal = null] : horizontalrule_markup ( blanks )? paragraph_separator ;
9467            public final ASTNode horizontalrule() throws RecognitionException {
9468            ASTNode horizontal =  null;
9469    
9470            try {
9471                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:560:2: ( horizontalrule_markup ( blanks )? paragraph_separator )
9472                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:560:4: horizontalrule_markup ( blanks )? paragraph_separator
9473                    {
9474                    pushFollow(FOLLOW_horizontalrule_markup_in_horizontalrule3256);
9475                    horizontalrule_markup();
9476                    _fsp--;
9477                    if (failed) return horizontal;
9478                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:560:27: ( blanks )?
9479                    int alt115=2;
9480                    int LA115_0 = input.LA(1);
9481    
9482                    if ( (LA115_0==BLANKS) ) {
9483                    alt115=1;
9484                    }
9485                    switch (alt115) {
9486                    case 1 :
9487                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:560:29: blanks
9488                            {
9489                            pushFollow(FOLLOW_blanks_in_horizontalrule3261);
9490                            blanks();
9491                            _fsp--;
9492                            if (failed) return horizontal;
9493    
9494                            }
9495                            break;
9496    
9497                    }
9498    
9499                    pushFollow(FOLLOW_paragraph_separator_in_horizontalrule3267);
9500                    paragraph_separator();
9501                    _fsp--;
9502                    if (failed) return horizontal;
9503                    if ( backtracking==0 ) {
9504                      horizontal = new HorizontalNode();
9505                    }
9506    
9507                    }
9508    
9509            }
9510            catch (RecognitionException re) {
9511                    reportError(re);
9512                    recover(input,re);
9513            }
9514            finally {
9515            }
9516            return horizontal;
9517            }
9518            // $ANTLR end horizontalrule
9519    
9520    
9521            // $ANTLR start link
9522            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:567:1: link returns [LinkNode link = null] : link_open_markup a= link_address ( link_description_markup d= link_description )? link_close_markup ;
9523            public final LinkNode link() throws RecognitionException {
9524            LinkNode link =  null;
9525    
9526            LinkNode a = null;
9527    
9528            CollectionNode d = null;
9529    
9530    
9531            try {
9532                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:568:2: ( link_open_markup a= link_address ( link_description_markup d= link_description )? link_close_markup )
9533                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:568:4: link_open_markup a= link_address ( link_description_markup d= link_description )? link_close_markup
9534                    {
9535                    pushFollow(FOLLOW_link_open_markup_in_link3289);
9536                    link_open_markup();
9537                    _fsp--;
9538                    if (failed) return link;
9539                    pushFollow(FOLLOW_link_address_in_link3295);
9540                    a=link_address();
9541                    _fsp--;
9542                    if (failed) return link;
9543                    if ( backtracking==0 ) {
9544                      link = a; 
9545                    }
9546                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:568:59: ( link_description_markup d= link_description )?
9547                    int alt116=2;
9548                    int LA116_0 = input.LA(1);
9549    
9550                    if ( (LA116_0==PIPE) ) {
9551                    alt116=1;
9552                    }
9553                    switch (alt116) {
9554                    case 1 :
9555                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:568:60: link_description_markup d= link_description
9556                            {
9557                            pushFollow(FOLLOW_link_description_markup_in_link3301);
9558                            link_description_markup();
9559                            _fsp--;
9560                            if (failed) return link;
9561                            pushFollow(FOLLOW_link_description_in_link3311);
9562                            d=link_description();
9563                            _fsp--;
9564                            if (failed) return link;
9565                            if ( backtracking==0 ) {
9566    
9567                                            if(link == null) { // recover from possible errors
9568                                                    link = new LinkNode();
9569                                            }
9570                                            link.setAltCollectionNode(d); 
9571                                            
9572                                            
9573                            }
9574    
9575                            }
9576                            break;
9577    
9578                    }
9579    
9580                    pushFollow(FOLLOW_link_close_markup_in_link3319);
9581                    link_close_markup();
9582                    _fsp--;
9583                    if (failed) return link;
9584    
9585                    }
9586    
9587            }
9588            catch (RecognitionException re) {
9589                    reportError(re);
9590                    recover(input,re);
9591            }
9592            finally {
9593            }
9594            return link;
9595            }
9596            // $ANTLR end link
9597    
9598    
9599            // $ANTLR start link_address
9600            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );
9601            public final LinkNode link_address() throws RecognitionException {
9602            LinkNode link = null;
9603    
9604            InterwikiLinkNode li = null;
9605    
9606            StringBundler p = null;
9607    
9608            StringBundler lu = null;
9609    
9610    
9611            try {
9612                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:579:2: (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri )
9613                    int alt117=2;
9614                    switch ( input.LA(1) ) {
9615                    case 45:
9616                    {
9617                    int LA117_1 = input.LA(2);
9618    
9619                    if ( (LA117_1==46) ) {
9620                            int LA117_16 = input.LA(3);
9621    
9622                            if ( (LA117_16==44) ) {
9623                            int LA117_34 = input.LA(4);
9624    
9625                            if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
9626                                    alt117=2;
9627                            }
9628                            else if ( ((LA117_34>=FORCED_END_OF_LINE && LA117_34<=WIKI)||(LA117_34>=POUND && LA117_34<=EQUAL)||(LA117_34>=ITAL && LA117_34<=NOWIKI_CLOSE)||(LA117_34>=IMAGE_CLOSE && LA117_34<=79)) ) {
9629                                    alt117=1;
9630                            }
9631                            else {
9632                                    if (backtracking>0) {failed=true; return link;}
9633                                    NoViableAltException nvae =
9634                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
9635    
9636                                    throw nvae;
9637                            }
9638                            }
9639                            else if ( ((LA117_16>=FORCED_END_OF_LINE && LA117_16<=WIKI)||(LA117_16>=POUND && LA117_16<=INSIGNIFICANT_CHAR)||(LA117_16>=45 && LA117_16<=79)) ) {
9640                            alt117=2;
9641                            }
9642                            else {
9643                            if (backtracking>0) {failed=true; return link;}
9644                            NoViableAltException nvae =
9645                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 16, input);
9646    
9647                            throw nvae;
9648                            }
9649                    }
9650                    else if ( ((LA117_1>=FORCED_END_OF_LINE && LA117_1<=WIKI)||(LA117_1>=POUND && LA117_1<=45)||(LA117_1>=47 && LA117_1<=79)) ) {
9651                            alt117=2;
9652                    }
9653                    else {
9654                            if (backtracking>0) {failed=true; return link;}
9655                            NoViableAltException nvae =
9656                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 1, input);
9657    
9658                            throw nvae;
9659                    }
9660                    }
9661                    break;
9662                    case 47:
9663                    {
9664                    int LA117_2 = input.LA(2);
9665    
9666                    if ( (LA117_2==48) ) {
9667                            int LA117_17 = input.LA(3);
9668    
9669                            if ( (LA117_17==49) ) {
9670                            int LA117_35 = input.LA(4);
9671    
9672                            if ( (LA117_35==50) ) {
9673                                    int LA117_55 = input.LA(5);
9674    
9675                                    if ( (LA117_55==51) ) {
9676                                    int LA117_74 = input.LA(6);
9677    
9678                                    if ( (LA117_74==52) ) {
9679                                            int LA117_93 = input.LA(7);
9680    
9681                                            if ( (LA117_93==49) ) {
9682                                            int LA117_109 = input.LA(8);
9683    
9684                                            if ( (LA117_109==52) ) {
9685                                                    int LA117_120 = input.LA(9);
9686    
9687                                                    if ( (LA117_120==44) ) {
9688                                                    int LA117_34 = input.LA(10);
9689    
9690                                                    if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
9691                                                            alt117=2;
9692                                                    }
9693                                                    else if ( ((LA117_34>=FORCED_END_OF_LINE && LA117_34<=WIKI)||(LA117_34>=POUND && LA117_34<=EQUAL)||(LA117_34>=ITAL && LA117_34<=NOWIKI_CLOSE)||(LA117_34>=IMAGE_CLOSE && LA117_34<=79)) ) {
9694                                                            alt117=1;
9695                                                    }
9696                                                    else {
9697                                                            if (backtracking>0) {failed=true; return link;}
9698                                                            NoViableAltException nvae =
9699                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
9700    
9701                                                            throw nvae;
9702                                                    }
9703                                                    }
9704                                                    else if ( ((LA117_120>=FORCED_END_OF_LINE && LA117_120<=WIKI)||(LA117_120>=POUND && LA117_120<=INSIGNIFICANT_CHAR)||(LA117_120>=45 && LA117_120<=79)) ) {
9705                                                    alt117=2;
9706                                                    }
9707                                                    else {
9708                                                    if (backtracking>0) {failed=true; return link;}
9709                                                    NoViableAltException nvae =
9710                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 120, input);
9711    
9712                                                    throw nvae;
9713                                                    }
9714                                            }
9715                                            else if ( ((LA117_109>=FORCED_END_OF_LINE && LA117_109<=WIKI)||(LA117_109>=POUND && LA117_109<=51)||(LA117_109>=53 && LA117_109<=79)) ) {
9716                                                    alt117=2;
9717                                            }
9718                                            else {
9719                                                    if (backtracking>0) {failed=true; return link;}
9720                                                    NoViableAltException nvae =
9721                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 109, input);
9722    
9723                                                    throw nvae;
9724                                            }
9725                                            }
9726                                            else if ( ((LA117_93>=FORCED_END_OF_LINE && LA117_93<=WIKI)||(LA117_93>=POUND && LA117_93<=48)||(LA117_93>=50 && LA117_93<=79)) ) {
9727                                            alt117=2;
9728                                            }
9729                                            else {
9730                                            if (backtracking>0) {failed=true; return link;}
9731                                            NoViableAltException nvae =
9732                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 93, input);
9733    
9734                                            throw nvae;
9735                                            }
9736                                    }
9737                                    else if ( ((LA117_74>=FORCED_END_OF_LINE && LA117_74<=WIKI)||(LA117_74>=POUND && LA117_74<=51)||(LA117_74>=53 && LA117_74<=79)) ) {
9738                                            alt117=2;
9739                                    }
9740                                    else {
9741                                            if (backtracking>0) {failed=true; return link;}
9742                                            NoViableAltException nvae =
9743                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 74, input);
9744    
9745                                            throw nvae;
9746                                    }
9747                                    }
9748                                    else if ( ((LA117_55>=FORCED_END_OF_LINE && LA117_55<=WIKI)||(LA117_55>=POUND && LA117_55<=50)||(LA117_55>=52 && LA117_55<=79)) ) {
9749                                    alt117=2;
9750                                    }
9751                                    else {
9752                                    if (backtracking>0) {failed=true; return link;}
9753                                    NoViableAltException nvae =
9754                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 55, input);
9755    
9756                                    throw nvae;
9757                                    }
9758                            }
9759                            else if ( ((LA117_35>=FORCED_END_OF_LINE && LA117_35<=WIKI)||(LA117_35>=POUND && LA117_35<=49)||(LA117_35>=51 && LA117_35<=79)) ) {
9760                                    alt117=2;
9761                            }
9762                            else {
9763                                    if (backtracking>0) {failed=true; return link;}
9764                                    NoViableAltException nvae =
9765                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 35, input);
9766    
9767                                    throw nvae;
9768                            }
9769                            }
9770                            else if ( ((LA117_17>=FORCED_END_OF_LINE && LA117_17<=WIKI)||(LA117_17>=POUND && LA117_17<=48)||(LA117_17>=50 && LA117_17<=79)) ) {
9771                            alt117=2;
9772                            }
9773                            else {
9774                            if (backtracking>0) {failed=true; return link;}
9775                            NoViableAltException nvae =
9776                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 17, input);
9777    
9778                            throw nvae;
9779                            }
9780                    }
9781                    else if ( ((LA117_2>=FORCED_END_OF_LINE && LA117_2<=WIKI)||(LA117_2>=POUND && LA117_2<=47)||(LA117_2>=49 && LA117_2<=79)) ) {
9782                            alt117=2;
9783                    }
9784                    else {
9785                            if (backtracking>0) {failed=true; return link;}
9786                            NoViableAltException nvae =
9787                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 2, input);
9788    
9789                            throw nvae;
9790                    }
9791                    }
9792                    break;
9793                    case 53:
9794                    {
9795                    int LA117_3 = input.LA(2);
9796    
9797                    if ( (LA117_3==54) ) {
9798                            int LA117_18 = input.LA(3);
9799    
9800                            if ( (LA117_18==52) ) {
9801                            int LA117_36 = input.LA(4);
9802    
9803                            if ( (LA117_36==55) ) {
9804                                    int LA117_56 = input.LA(5);
9805    
9806                                    if ( (LA117_56==49) ) {
9807                                    int LA117_75 = input.LA(6);
9808    
9809                                    if ( (LA117_75==56) ) {
9810                                            int LA117_94 = input.LA(7);
9811    
9812                                            if ( (LA117_94==44) ) {
9813                                            int LA117_34 = input.LA(8);
9814    
9815                                            if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
9816                                                    alt117=2;
9817                                            }
9818                                            else if ( ((LA117_34>=FORCED_END_OF_LINE && LA117_34<=WIKI)||(LA117_34>=POUND && LA117_34<=EQUAL)||(LA117_34>=ITAL && LA117_34<=NOWIKI_CLOSE)||(LA117_34>=IMAGE_CLOSE && LA117_34<=79)) ) {
9819                                                    alt117=1;
9820                                            }
9821                                            else {
9822                                                    if (backtracking>0) {failed=true; return link;}
9823                                                    NoViableAltException nvae =
9824                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
9825    
9826                                                    throw nvae;
9827                                            }
9828                                            }
9829                                            else if ( ((LA117_94>=FORCED_END_OF_LINE && LA117_94<=WIKI)||(LA117_94>=POUND && LA117_94<=INSIGNIFICANT_CHAR)||(LA117_94>=45 && LA117_94<=79)) ) {
9830                                            alt117=2;
9831                                            }
9832                                            else {
9833                                            if (backtracking>0) {failed=true; return link;}
9834                                            NoViableAltException nvae =
9835                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 94, input);
9836    
9837                                            throw nvae;
9838                                            }
9839                                    }
9840                                    else if ( ((LA117_75>=FORCED_END_OF_LINE && LA117_75<=WIKI)||(LA117_75>=POUND && LA117_75<=55)||(LA117_75>=57 && LA117_75<=79)) ) {
9841                                            alt117=2;
9842                                    }
9843                                    else {
9844                                            if (backtracking>0) {failed=true; return link;}
9845                                            NoViableAltException nvae =
9846                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 75, input);
9847    
9848                                            throw nvae;
9849                                    }
9850                                    }
9851                                    else if ( ((LA117_56>=FORCED_END_OF_LINE && LA117_56<=WIKI)||(LA117_56>=POUND && LA117_56<=48)||(LA117_56>=50 && LA117_56<=79)) ) {
9852                                    alt117=2;
9853                                    }
9854                                    else {
9855                                    if (backtracking>0) {failed=true; return link;}
9856                                    NoViableAltException nvae =
9857                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 56, input);
9858    
9859                                    throw nvae;
9860                                    }
9861                            }
9862                            else if ( ((LA117_36>=FORCED_END_OF_LINE && LA117_36<=WIKI)||(LA117_36>=POUND && LA117_36<=54)||(LA117_36>=56 && LA117_36<=79)) ) {
9863                                    alt117=2;
9864                            }
9865                            else {
9866                                    if (backtracking>0) {failed=true; return link;}
9867                                    NoViableAltException nvae =
9868                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 36, input);
9869    
9870                                    throw nvae;
9871                            }
9872                            }
9873                            else if ( ((LA117_18>=FORCED_END_OF_LINE && LA117_18<=WIKI)||(LA117_18>=POUND && LA117_18<=51)||(LA117_18>=53 && LA117_18<=79)) ) {
9874                            alt117=2;
9875                            }
9876                            else {
9877                            if (backtracking>0) {failed=true; return link;}
9878                            NoViableAltException nvae =
9879                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 18, input);
9880    
9881                            throw nvae;
9882                            }
9883                    }
9884                    else if ( ((LA117_3>=FORCED_END_OF_LINE && LA117_3<=WIKI)||(LA117_3>=POUND && LA117_3<=53)||(LA117_3>=55 && LA117_3<=79)) ) {
9885                            alt117=2;
9886                    }
9887                    else {
9888                            if (backtracking>0) {failed=true; return link;}
9889                            NoViableAltException nvae =
9890                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 3, input);
9891    
9892                            throw nvae;
9893                    }
9894                    }
9895                    break;
9896                    case 57:
9897                    {
9898                    int LA117_4 = input.LA(2);
9899    
9900                    if ( (LA117_4==48) ) {
9901                            int LA117_19 = input.LA(3);
9902    
9903                            if ( (LA117_19==48) ) {
9904                            int LA117_37 = input.LA(4);
9905    
9906                            if ( (LA117_37==58) ) {
9907                                    int LA117_57 = input.LA(5);
9908    
9909                                    if ( (LA117_57==54) ) {
9910                                    int LA117_76 = input.LA(6);
9911    
9912                                    if ( (LA117_76==59) ) {
9913                                            int LA117_95 = input.LA(7);
9914    
9915                                            if ( (LA117_95==44) ) {
9916                                            int LA117_34 = input.LA(8);
9917    
9918                                            if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
9919                                                    alt117=2;
9920                                            }
9921                                            else if ( ((LA117_34>=FORCED_END_OF_LINE && LA117_34<=WIKI)||(LA117_34>=POUND && LA117_34<=EQUAL)||(LA117_34>=ITAL && LA117_34<=NOWIKI_CLOSE)||(LA117_34>=IMAGE_CLOSE && LA117_34<=79)) ) {
9922                                                    alt117=1;
9923                                            }
9924                                            else {
9925                                                    if (backtracking>0) {failed=true; return link;}
9926                                                    NoViableAltException nvae =
9927                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
9928    
9929                                                    throw nvae;
9930                                            }
9931                                            }
9932                                            else if ( ((LA117_95>=FORCED_END_OF_LINE && LA117_95<=WIKI)||(LA117_95>=POUND && LA117_95<=INSIGNIFICANT_CHAR)||(LA117_95>=45 && LA117_95<=79)) ) {
9933                                            alt117=2;
9934                                            }
9935                                            else {
9936                                            if (backtracking>0) {failed=true; return link;}
9937                                            NoViableAltException nvae =
9938                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 95, input);
9939    
9940                                            throw nvae;
9941                                            }
9942                                    }
9943                                    else if ( ((LA117_76>=FORCED_END_OF_LINE && LA117_76<=WIKI)||(LA117_76>=POUND && LA117_76<=58)||(LA117_76>=60 && LA117_76<=79)) ) {
9944                                            alt117=2;
9945                                    }
9946                                    else {
9947                                            if (backtracking>0) {failed=true; return link;}
9948                                            NoViableAltException nvae =
9949                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 76, input);
9950    
9951                                            throw nvae;
9952                                    }
9953                                    }
9954                                    else if ( ((LA117_57>=FORCED_END_OF_LINE && LA117_57<=WIKI)||(LA117_57>=POUND && LA117_57<=53)||(LA117_57>=55 && LA117_57<=79)) ) {
9955                                    alt117=2;
9956                                    }
9957                                    else {
9958                                    if (backtracking>0) {failed=true; return link;}
9959                                    NoViableAltException nvae =
9960                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 57, input);
9961    
9962                                    throw nvae;
9963                                    }
9964                            }
9965                            else if ( ((LA117_37>=FORCED_END_OF_LINE && LA117_37<=WIKI)||(LA117_37>=POUND && LA117_37<=57)||(LA117_37>=59 && LA117_37<=79)) ) {
9966                                    alt117=2;
9967                            }
9968                            else {
9969                                    if (backtracking>0) {failed=true; return link;}
9970                                    NoViableAltException nvae =
9971                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 37, input);
9972    
9973                                    throw nvae;
9974                            }
9975                            }
9976                            else if ( ((LA117_19>=FORCED_END_OF_LINE && LA117_19<=WIKI)||(LA117_19>=POUND && LA117_19<=47)||(LA117_19>=49 && LA117_19<=79)) ) {
9977                            alt117=2;
9978                            }
9979                            else {
9980                            if (backtracking>0) {failed=true; return link;}
9981                            NoViableAltException nvae =
9982                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 19, input);
9983    
9984                            throw nvae;
9985                            }
9986                    }
9987                    else if ( ((LA117_4>=FORCED_END_OF_LINE && LA117_4<=WIKI)||(LA117_4>=POUND && LA117_4<=47)||(LA117_4>=49 && LA117_4<=79)) ) {
9988                            alt117=2;
9989                    }
9990                    else {
9991                            if (backtracking>0) {failed=true; return link;}
9992                            NoViableAltException nvae =
9993                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 4, input);
9994    
9995                            throw nvae;
9996                    }
9997                    }
9998                    break;
9999                    case 60:
10000                    {
10001                    int LA117_5 = input.LA(2);
10002    
10003                    if ( (LA117_5==61) ) {
10004                            int LA117_20 = input.LA(3);
10005    
10006                            if ( (LA117_20==62) ) {
10007                            int LA117_38 = input.LA(4);
10008    
10009                            if ( (LA117_38==51) ) {
10010                                    int LA117_58 = input.LA(5);
10011    
10012                                    if ( (LA117_58==52) ) {
10013                                    int LA117_77 = input.LA(6);
10014    
10015                                    if ( (LA117_77==49) ) {
10016                                            int LA117_96 = input.LA(7);
10017    
10018                                            if ( (LA117_96==52) ) {
10019                                            int LA117_110 = input.LA(8);
10020    
10021                                            if ( (LA117_110==44) ) {
10022                                                    int LA117_34 = input.LA(9);
10023    
10024                                                    if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
10025                                                    alt117=2;
10026                                                    }
10027                                                    else if ( ((LA117_34>=FORCED_END_OF_LINE && LA117_34<=WIKI)||(LA117_34>=POUND && LA117_34<=EQUAL)||(LA117_34>=ITAL && LA117_34<=NOWIKI_CLOSE)||(LA117_34>=IMAGE_CLOSE && LA117_34<=79)) ) {
10028                                                    alt117=1;
10029                                                    }
10030                                                    else {
10031                                                    if (backtracking>0) {failed=true; return link;}
10032                                                    NoViableAltException nvae =
10033                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
10034    
10035                                                    throw nvae;
10036                                                    }
10037                                            }
10038                                            else if ( ((LA117_110>=FORCED_END_OF_LINE && LA117_110<=WIKI)||(LA117_110>=POUND && LA117_110<=INSIGNIFICANT_CHAR)||(LA117_110>=45 && LA117_110<=79)) ) {
10039                                                    alt117=2;
10040                                            }
10041                                            else {
10042                                                    if (backtracking>0) {failed=true; return link;}
10043                                                    NoViableAltException nvae =
10044                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 110, input);
10045    
10046                                                    throw nvae;
10047                                            }
10048                                            }
10049                                            else if ( ((LA117_96>=FORCED_END_OF_LINE && LA117_96<=WIKI)||(LA117_96>=POUND && LA117_96<=51)||(LA117_96>=53 && LA117_96<=79)) ) {
10050                                            alt117=2;
10051                                            }
10052                                            else {
10053                                            if (backtracking>0) {failed=true; return link;}
10054                                            NoViableAltException nvae =
10055                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 96, input);
10056    
10057                                            throw nvae;
10058                                            }
10059                                    }
10060                                    else if ( ((LA117_77>=FORCED_END_OF_LINE && LA117_77<=WIKI)||(LA117_77>=POUND && LA117_77<=48)||(LA117_77>=50 && LA117_77<=79)) ) {
10061                                            alt117=2;
10062                                    }
10063                                    else {
10064                                            if (backtracking>0) {failed=true; return link;}
10065                                            NoViableAltException nvae =
10066                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 77, input);
10067    
10068                                            throw nvae;
10069                                    }
10070                                    }
10071                                    else if ( ((LA117_58>=FORCED_END_OF_LINE && LA117_58<=WIKI)||(LA117_58>=POUND && LA117_58<=51)||(LA117_58>=53 && LA117_58<=79)) ) {
10072                                    alt117=2;
10073                                    }
10074                                    else {
10075                                    if (backtracking>0) {failed=true; return link;}
10076                                    NoViableAltException nvae =
10077                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 58, input);
10078    
10079                                    throw nvae;
10080                                    }
10081                            }
10082                            else if ( ((LA117_38>=FORCED_END_OF_LINE && LA117_38<=WIKI)||(LA117_38>=POUND && LA117_38<=50)||(LA117_38>=52 && LA117_38<=79)) ) {
10083                                    alt117=2;
10084                            }
10085                            else {
10086                                    if (backtracking>0) {failed=true; return link;}
10087                                    NoViableAltException nvae =
10088                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 38, input);
10089    
10090                                    throw nvae;
10091                            }
10092                            }
10093                            else if ( ((LA117_20>=FORCED_END_OF_LINE && LA117_20<=WIKI)||(LA117_20>=POUND && LA117_20<=61)||(LA117_20>=63 && LA117_20<=79)) ) {
10094                            alt117=2;
10095                            }
10096                            else {
10097                            if (backtracking>0) {failed=true; return link;}
10098                            NoViableAltException nvae =
10099                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 20, input);
10100    
10101                            throw nvae;
10102                            }
10103                    }
10104                    else if ( ((LA117_5>=FORCED_END_OF_LINE && LA117_5<=WIKI)||(LA117_5>=POUND && LA117_5<=60)||(LA117_5>=62 && LA117_5<=79)) ) {
10105                            alt117=2;
10106                    }
10107                    else {
10108                            if (backtracking>0) {failed=true; return link;}
10109                            NoViableAltException nvae =
10110                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 5, input);
10111    
10112                            throw nvae;
10113                    }
10114                    }
10115                    break;
10116                    case 63:
10117                    {
10118                    switch ( input.LA(2) ) {
10119                    case 59:
10120                            {
10121                            switch ( input.LA(3) ) {
10122                            case 64:
10123                            {
10124                            int LA117_39 = input.LA(4);
10125    
10126                            if ( (LA117_39==65) ) {
10127                                    int LA117_59 = input.LA(5);
10128    
10129                                    if ( (LA117_59==66) ) {
10130                                    int LA117_78 = input.LA(6);
10131    
10132                                    if ( (LA117_78==64) ) {
10133                                            int LA117_97 = input.LA(7);
10134    
10135                                            if ( (LA117_97==54) ) {
10136                                            int LA117_111 = input.LA(8);
10137    
10138                                            if ( (LA117_111==54) ) {
10139                                                    int LA117_121 = input.LA(9);
10140    
10141                                                    if ( (LA117_121==44) ) {
10142                                                    int LA117_34 = input.LA(10);
10143    
10144                                                    if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
10145                                                            alt117=2;
10146                                                    }
10147                                                    else if ( ((LA117_34>=FORCED_END_OF_LINE && LA117_34<=WIKI)||(LA117_34>=POUND && LA117_34<=EQUAL)||(LA117_34>=ITAL && LA117_34<=NOWIKI_CLOSE)||(LA117_34>=IMAGE_CLOSE && LA117_34<=79)) ) {
10148                                                            alt117=1;
10149                                                    }
10150                                                    else {
10151                                                            if (backtracking>0) {failed=true; return link;}
10152                                                            NoViableAltException nvae =
10153                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
10154    
10155                                                            throw nvae;
10156                                                    }
10157                                                    }
10158                                                    else if ( ((LA117_121>=FORCED_END_OF_LINE && LA117_121<=WIKI)||(LA117_121>=POUND && LA117_121<=INSIGNIFICANT_CHAR)||(LA117_121>=45 && LA117_121<=79)) ) {
10159                                                    alt117=2;
10160                                                    }
10161                                                    else {
10162                                                    if (backtracking>0) {failed=true; return link;}
10163                                                    NoViableAltException nvae =
10164                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 121, input);
10165    
10166                                                    throw nvae;
10167                                                    }
10168                                            }
10169                                            else if ( ((LA117_111>=FORCED_END_OF_LINE && LA117_111<=WIKI)||(LA117_111>=POUND && LA117_111<=53)||(LA117_111>=55 && LA117_111<=79)) ) {
10170                                                    alt117=2;
10171                                            }
10172                                            else {
10173                                                    if (backtracking>0) {failed=true; return link;}
10174                                                    NoViableAltException nvae =
10175                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 111, input);
10176    
10177                                                    throw nvae;
10178                                            }
10179                                            }
10180                                            else if ( ((LA117_97>=FORCED_END_OF_LINE && LA117_97<=WIKI)||(LA117_97>=POUND && LA117_97<=53)||(LA117_97>=55 && LA117_97<=79)) ) {
10181                                            alt117=2;
10182                                            }
10183                                            else {
10184                                            if (backtracking>0) {failed=true; return link;}
10185                                            NoViableAltException nvae =
10186                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 97, input);
10187    
10188                                            throw nvae;
10189                                            }
10190                                    }
10191                                    else if ( ((LA117_78>=FORCED_END_OF_LINE && LA117_78<=WIKI)||(LA117_78>=POUND && LA117_78<=63)||(LA117_78>=65 && LA117_78<=79)) ) {
10192                                            alt117=2;
10193                                    }
10194                                    else {
10195                                            if (backtracking>0) {failed=true; return link;}
10196                                            NoViableAltException nvae =
10197                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 78, input);
10198    
10199                                            throw nvae;
10200                                    }
10201                                    }
10202                                    else if ( ((LA117_59>=FORCED_END_OF_LINE && LA117_59<=WIKI)||(LA117_59>=POUND && LA117_59<=65)||(LA117_59>=67 && LA117_59<=79)) ) {
10203                                    alt117=2;
10204                                    }
10205                                    else {
10206                                    if (backtracking>0) {failed=true; return link;}
10207                                    NoViableAltException nvae =
10208                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 59, input);
10209    
10210                                    throw nvae;
10211                                    }
10212                            }
10213                            else if ( ((LA117_39>=FORCED_END_OF_LINE && LA117_39<=WIKI)||(LA117_39>=POUND && LA117_39<=64)||(LA117_39>=66 && LA117_39<=79)) ) {
10214                                    alt117=2;
10215                            }
10216                            else {
10217                                    if (backtracking>0) {failed=true; return link;}
10218                                    NoViableAltException nvae =
10219                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 39, input);
10220    
10221                                    throw nvae;
10222                            }
10223                            }
10224                            break;
10225                            case 67:
10226                            {
10227                            int LA117_40 = input.LA(4);
10228    
10229                            if ( (LA117_40==52) ) {
10230                                    int LA117_60 = input.LA(5);
10231    
10232                                    if ( (LA117_60==64) ) {
10233                                    int LA117_79 = input.LA(6);
10234    
10235                                    if ( (LA117_79==51) ) {
10236                                            int LA117_98 = input.LA(7);
10237    
10238                                            if ( (LA117_98==52) ) {
10239                                            int LA117_112 = input.LA(8);
10240    
10241                                            if ( (LA117_112==49) ) {
10242                                                    int LA117_122 = input.LA(9);
10243    
10244                                                    if ( (LA117_122==52) ) {
10245                                                    int LA117_129 = input.LA(10);
10246    
10247                                                    if ( (LA117_129==44) ) {
10248                                                            int LA117_34 = input.LA(11);
10249    
10250                                                            if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
10251                                                            alt117=2;
10252                                                            }
10253                                                            else if ( ((LA117_34>=FORCED_END_OF_LINE && LA117_34<=WIKI)||(LA117_34>=POUND && LA117_34<=EQUAL)||(LA117_34>=ITAL && LA117_34<=NOWIKI_CLOSE)||(LA117_34>=IMAGE_CLOSE && LA117_34<=79)) ) {
10254                                                            alt117=1;
10255                                                            }
10256                                                            else {
10257                                                            if (backtracking>0) {failed=true; return link;}
10258                                                            NoViableAltException nvae =
10259                                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
10260    
10261                                                            throw nvae;
10262                                                            }
10263                                                    }
10264                                                    else if ( ((LA117_129>=FORCED_END_OF_LINE && LA117_129<=WIKI)||(LA117_129>=POUND && LA117_129<=INSIGNIFICANT_CHAR)||(LA117_129>=45 && LA117_129<=79)) ) {
10265                                                            alt117=2;
10266                                                    }
10267                                                    else {
10268                                                            if (backtracking>0) {failed=true; return link;}
10269                                                            NoViableAltException nvae =
10270                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 129, input);
10271    
10272                                                            throw nvae;
10273                                                    }
10274                                                    }
10275                                                    else if ( ((LA117_122>=FORCED_END_OF_LINE && LA117_122<=WIKI)||(LA117_122>=POUND && LA117_122<=51)||(LA117_122>=53 && LA117_122<=79)) ) {
10276                                                    alt117=2;
10277                                                    }
10278                                                    else {
10279                                                    if (backtracking>0) {failed=true; return link;}
10280                                                    NoViableAltException nvae =
10281                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 122, input);
10282    
10283                                                    throw nvae;
10284                                                    }
10285                                            }
10286                                            else if ( ((LA117_112>=FORCED_END_OF_LINE && LA117_112<=WIKI)||(LA117_112>=POUND && LA117_112<=48)||(LA117_112>=50 && LA117_112<=79)) ) {
10287                                                    alt117=2;
10288                                            }
10289                                            else {
10290                                                    if (backtracking>0) {failed=true; return link;}
10291                                                    NoViableAltException nvae =
10292                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 112, input);
10293    
10294                                                    throw nvae;
10295                                            }
10296                                            }
10297                                            else if ( ((LA117_98>=FORCED_END_OF_LINE && LA117_98<=WIKI)||(LA117_98>=POUND && LA117_98<=51)||(LA117_98>=53 && LA117_98<=79)) ) {
10298                                            alt117=2;
10299                                            }
10300                                            else {
10301                                            if (backtracking>0) {failed=true; return link;}
10302                                            NoViableAltException nvae =
10303                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 98, input);
10304    
10305                                            throw nvae;
10306                                            }
10307                                    }
10308                                    else if ( ((LA117_79>=FORCED_END_OF_LINE && LA117_79<=WIKI)||(LA117_79>=POUND && LA117_79<=50)||(LA117_79>=52 && LA117_79<=79)) ) {
10309                                            alt117=2;
10310                                    }
10311                                    else {
10312                                            if (backtracking>0) {failed=true; return link;}
10313                                            NoViableAltException nvae =
10314                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 79, input);
10315    
10316                                            throw nvae;
10317                                    }
10318                                    }
10319                                    else if ( ((LA117_60>=FORCED_END_OF_LINE && LA117_60<=WIKI)||(LA117_60>=POUND && LA117_60<=63)||(LA117_60>=65 && LA117_60<=79)) ) {
10320                                    alt117=2;
10321                                    }
10322                                    else {
10323                                    if (backtracking>0) {failed=true; return link;}
10324                                    NoViableAltException nvae =
10325                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 60, input);
10326    
10327                                    throw nvae;
10328                                    }
10329                            }
10330                            else if ( ((LA117_40>=FORCED_END_OF_LINE && LA117_40<=WIKI)||(LA117_40>=POUND && LA117_40<=51)||(LA117_40>=53 && LA117_40<=79)) ) {
10331                                    alt117=2;
10332                            }
10333                            else {
10334                                    if (backtracking>0) {failed=true; return link;}
10335                                    NoViableAltException nvae =
10336                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 40, input);
10337    
10338                                    throw nvae;
10339                            }
10340                            }
10341                            break;
10342                            case FORCED_END_OF_LINE:
10343                            case HEADING_SECTION:
10344                            case HORIZONTAL_SECTION:
10345                            case LIST_ITEM:
10346                            case LIST_ITEM_PART:
10347                            case NOWIKI_SECTION:
10348                            case SCAPE_NODE:
10349                            case TEXT_NODE:
10350                            case UNORDERED_LIST:
10351                            case UNFORMATTED_TEXT:
10352                            case WIKI:
10353                            case POUND:
10354                            case STAR:
10355                            case EQUAL:
10356                            case PIPE:
10357                            case ITAL:
10358                            case LINK_OPEN:
10359                            case IMAGE_OPEN:
10360                            case NOWIKI_OPEN:
10361                            case EXTENSION:
10362                            case FORCED_LINEBREAK:
10363                            case ESCAPE:
10364                            case NOWIKI_BLOCK_CLOSE:
10365                            case NOWIKI_CLOSE:
10366                            case LINK_CLOSE:
10367                            case IMAGE_CLOSE:
10368                            case BLANKS:
10369                            case TABLE_OF_CONTENTS_TEXT:
10370                            case DASH:
10371                            case CR:
10372                            case LF:
10373                            case SPACE:
10374                            case TABULATOR:
10375                            case BRACE_CLOSE:
10376                            case COLON_SLASH:
10377                            case SLASH:
10378                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
10379                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
10380                            case INSIGNIFICANT_CHAR:
10381                            case 44:
10382                            case 45:
10383                            case 46:
10384                            case 47:
10385                            case 48:
10386                            case 49:
10387                            case 50:
10388                            case 51:
10389                            case 52:
10390                            case 53:
10391                            case 54:
10392                            case 55:
10393                            case 56:
10394                            case 57:
10395                            case 58:
10396                            case 59:
10397                            case 60:
10398                            case 61:
10399                            case 62:
10400                            case 63:
10401                            case 65:
10402                            case 66:
10403                            case 68:
10404                            case 69:
10405                            case 70:
10406                            case 71:
10407                            case 72:
10408                            case 73:
10409                            case 74:
10410                            case 75:
10411                            case 76:
10412                            case 77:
10413                            case 78:
10414                            case 79:
10415                            {
10416                            alt117=2;
10417                            }
10418                            break;
10419                            default:
10420                            if (backtracking>0) {failed=true; return link;}
10421                            NoViableAltException nvae =
10422                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 21, input);
10423    
10424                            throw nvae;
10425                            }
10426    
10427                            }
10428                            break;
10429                    case 48:
10430                            {
10431                            int LA117_22 = input.LA(3);
10432    
10433                            if ( (LA117_22==52) ) {
10434                            int LA117_41 = input.LA(4);
10435    
10436                            if ( (LA117_41==68) ) {
10437                                    int LA117_61 = input.LA(5);
10438    
10439                                    if ( (LA117_61==63) ) {
10440                                    int LA117_80 = input.LA(6);
10441    
10442                                    if ( (LA117_80==48) ) {
10443                                            int LA117_99 = input.LA(7);
10444    
10445                                            if ( (LA117_99==52) ) {
10446                                            int LA117_113 = input.LA(8);
10447    
10448                                            if ( (LA117_113==68) ) {
10449                                                    int LA117_123 = input.LA(9);
10450    
10451                                                    if ( (LA117_123==44) ) {
10452                                                    int LA117_34 = input.LA(10);
10453    
10454                                                    if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
10455                                                            alt117=2;
10456                                                    }
10457                                                    else if ( ((LA117_34>=FORCED_END_OF_LINE && LA117_34<=WIKI)||(LA117_34>=POUND && LA117_34<=EQUAL)||(LA117_34>=ITAL && LA117_34<=NOWIKI_CLOSE)||(LA117_34>=IMAGE_CLOSE && LA117_34<=79)) ) {
10458                                                            alt117=1;
10459                                                    }
10460                                                    else {
10461                                                            if (backtracking>0) {failed=true; return link;}
10462                                                            NoViableAltException nvae =
10463                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
10464    
10465                                                            throw nvae;
10466                                                    }
10467                                                    }
10468                                                    else if ( ((LA117_123>=FORCED_END_OF_LINE && LA117_123<=WIKI)||(LA117_123>=POUND && LA117_123<=INSIGNIFICANT_CHAR)||(LA117_123>=45 && LA117_123<=79)) ) {
10469                                                    alt117=2;
10470                                                    }
10471                                                    else {
10472                                                    if (backtracking>0) {failed=true; return link;}
10473                                                    NoViableAltException nvae =
10474                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 123, input);
10475    
10476                                                    throw nvae;
10477                                                    }
10478                                            }
10479                                            else if ( ((LA117_113>=FORCED_END_OF_LINE && LA117_113<=WIKI)||(LA117_113>=POUND && LA117_113<=67)||(LA117_113>=69 && LA117_113<=79)) ) {
10480                                                    alt117=2;
10481                                            }
10482                                            else {
10483                                                    if (backtracking>0) {failed=true; return link;}
10484                                                    NoViableAltException nvae =
10485                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 113, input);
10486    
10487                                                    throw nvae;
10488                                            }
10489                                            }
10490                                            else if ( ((LA117_99>=FORCED_END_OF_LINE && LA117_99<=WIKI)||(LA117_99>=POUND && LA117_99<=51)||(LA117_99>=53 && LA117_99<=79)) ) {
10491                                            alt117=2;
10492                                            }
10493                                            else {
10494                                            if (backtracking>0) {failed=true; return link;}
10495                                            NoViableAltException nvae =
10496                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 99, input);
10497    
10498                                            throw nvae;
10499                                            }
10500                                    }
10501                                    else if ( ((LA117_80>=FORCED_END_OF_LINE && LA117_80<=WIKI)||(LA117_80>=POUND && LA117_80<=47)||(LA117_80>=49 && LA117_80<=79)) ) {
10502                                            alt117=2;
10503                                    }
10504                                    else {
10505                                            if (backtracking>0) {failed=true; return link;}
10506                                            NoViableAltException nvae =
10507                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 80, input);
10508    
10509                                            throw nvae;
10510                                    }
10511                                    }
10512                                    else if ( ((LA117_61>=FORCED_END_OF_LINE && LA117_61<=WIKI)||(LA117_61>=POUND && LA117_61<=62)||(LA117_61>=64 && LA117_61<=79)) ) {
10513                                    alt117=2;
10514                                    }
10515                                    else {
10516                                    if (backtracking>0) {failed=true; return link;}
10517                                    NoViableAltException nvae =
10518                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 61, input);
10519    
10520                                    throw nvae;
10521                                    }
10522                            }
10523                            else if ( ((LA117_41>=FORCED_END_OF_LINE && LA117_41<=WIKI)||(LA117_41>=POUND && LA117_41<=67)||(LA117_41>=69 && LA117_41<=79)) ) {
10524                                    alt117=2;
10525                            }
10526                            else {
10527                                    if (backtracking>0) {failed=true; return link;}
10528                                    NoViableAltException nvae =
10529                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 41, input);
10530    
10531                                    throw nvae;
10532                            }
10533                            }
10534                            else if ( ((LA117_22>=FORCED_END_OF_LINE && LA117_22<=WIKI)||(LA117_22>=POUND && LA117_22<=51)||(LA117_22>=53 && LA117_22<=79)) ) {
10535                            alt117=2;
10536                            }
10537                            else {
10538                            if (backtracking>0) {failed=true; return link;}
10539                            NoViableAltException nvae =
10540                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 22, input);
10541    
10542                            throw nvae;
10543                            }
10544                            }
10545                            break;
10546                    case FORCED_END_OF_LINE:
10547                    case HEADING_SECTION:
10548                    case HORIZONTAL_SECTION:
10549                    case LIST_ITEM:
10550                    case LIST_ITEM_PART:
10551                    case NOWIKI_SECTION:
10552                    case SCAPE_NODE:
10553                    case TEXT_NODE:
10554                    case UNORDERED_LIST:
10555                    case UNFORMATTED_TEXT:
10556                    case WIKI:
10557                    case POUND:
10558                    case STAR:
10559                    case EQUAL:
10560                    case PIPE:
10561                    case ITAL:
10562                    case LINK_OPEN:
10563                    case IMAGE_OPEN:
10564                    case NOWIKI_OPEN:
10565                    case EXTENSION:
10566                    case FORCED_LINEBREAK:
10567                    case ESCAPE:
10568                    case NOWIKI_BLOCK_CLOSE:
10569                    case NOWIKI_CLOSE:
10570                    case LINK_CLOSE:
10571                    case IMAGE_CLOSE:
10572                    case BLANKS:
10573                    case TABLE_OF_CONTENTS_TEXT:
10574                    case DASH:
10575                    case CR:
10576                    case LF:
10577                    case SPACE:
10578                    case TABULATOR:
10579                    case BRACE_CLOSE:
10580                    case COLON_SLASH:
10581                    case SLASH:
10582                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
10583                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
10584                    case INSIGNIFICANT_CHAR:
10585                    case 44:
10586                    case 45:
10587                    case 46:
10588                    case 47:
10589                    case 49:
10590                    case 50:
10591                    case 51:
10592                    case 52:
10593                    case 53:
10594                    case 54:
10595                    case 55:
10596                    case 56:
10597                    case 57:
10598                    case 58:
10599                    case 60:
10600                    case 61:
10601                    case 62:
10602                    case 63:
10603                    case 64:
10604                    case 65:
10605                    case 66:
10606                    case 67:
10607                    case 68:
10608                    case 69:
10609                    case 70:
10610                    case 71:
10611                    case 72:
10612                    case 73:
10613                    case 74:
10614                    case 75:
10615                    case 76:
10616                    case 77:
10617                    case 78:
10618                    case 79:
10619                            {
10620                            alt117=2;
10621                            }
10622                            break;
10623                    default:
10624                            if (backtracking>0) {failed=true; return link;}
10625                            NoViableAltException nvae =
10626                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 6, input);
10627    
10628                            throw nvae;
10629                    }
10630    
10631                    }
10632                    break;
10633                    case 69:
10634                    {
10635                    switch ( input.LA(2) ) {
10636                    case 72:
10637                            {
10638                            int LA117_23 = input.LA(3);
10639    
10640                            if ( (LA117_23==64) ) {
10641                            int LA117_42 = input.LA(4);
10642    
10643                            if ( (LA117_42==68) ) {
10644                                    int LA117_62 = input.LA(5);
10645    
10646                                    if ( (LA117_62==64) ) {
10647                                    int LA117_81 = input.LA(6);
10648    
10649                                    if ( (LA117_81==44) ) {
10650                                            int LA117_34 = input.LA(7);
10651    
10652                                            if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
10653                                            alt117=2;
10654                                            }
10655                                            else if ( ((LA117_34>=FORCED_END_OF_LINE && LA117_34<=WIKI)||(LA117_34>=POUND && LA117_34<=EQUAL)||(LA117_34>=ITAL && LA117_34<=NOWIKI_CLOSE)||(LA117_34>=IMAGE_CLOSE && LA117_34<=79)) ) {
10656                                            alt117=1;
10657                                            }
10658                                            else {
10659                                            if (backtracking>0) {failed=true; return link;}
10660                                            NoViableAltException nvae =
10661                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
10662    
10663                                            throw nvae;
10664                                            }
10665                                    }
10666                                    else if ( ((LA117_81>=FORCED_END_OF_LINE && LA117_81<=WIKI)||(LA117_81>=POUND && LA117_81<=INSIGNIFICANT_CHAR)||(LA117_81>=45 && LA117_81<=79)) ) {
10667                                            alt117=2;
10668                                    }
10669                                    else {
10670                                            if (backtracking>0) {failed=true; return link;}
10671                                            NoViableAltException nvae =
10672                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 81, input);
10673    
10674                                            throw nvae;
10675                                    }
10676                                    }
10677                                    else if ( ((LA117_62>=FORCED_END_OF_LINE && LA117_62<=WIKI)||(LA117_62>=POUND && LA117_62<=63)||(LA117_62>=65 && LA117_62<=79)) ) {
10678                                    alt117=2;
10679                                    }
10680                                    else {
10681                                    if (backtracking>0) {failed=true; return link;}
10682                                    NoViableAltException nvae =
10683                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 62, input);
10684    
10685                                    throw nvae;
10686                                    }
10687                            }
10688                            else if ( ((LA117_42>=FORCED_END_OF_LINE && LA117_42<=WIKI)||(LA117_42>=POUND && LA117_42<=67)||(LA117_42>=69 && LA117_42<=79)) ) {
10689                                    alt117=2;
10690                            }
10691                            else {
10692                                    if (backtracking>0) {failed=true; return link;}
10693                                    NoViableAltException nvae =
10694                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 42, input);
10695    
10696                                    throw nvae;
10697                            }
10698                            }
10699                            else if ( ((LA117_23>=FORCED_END_OF_LINE && LA117_23<=WIKI)||(LA117_23>=POUND && LA117_23<=63)||(LA117_23>=65 && LA117_23<=79)) ) {
10700                            alt117=2;
10701                            }
10702                            else {
10703                            if (backtracking>0) {failed=true; return link;}
10704                            NoViableAltException nvae =
10705                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 23, input);
10706    
10707                            throw nvae;
10708                            }
10709                            }
10710                            break;
10711                    case 67:
10712                            {
10713                            int LA117_24 = input.LA(3);
10714    
10715                            if ( (LA117_24==67) ) {
10716                            int LA117_43 = input.LA(4);
10717    
10718                            if ( (LA117_43==70) ) {
10719                                    int LA117_63 = input.LA(5);
10720    
10721                                    if ( (LA117_63==50) ) {
10722                                    int LA117_82 = input.LA(6);
10723    
10724                                    if ( (LA117_82==71) ) {
10725                                            int LA117_100 = input.LA(7);
10726    
10727                                            if ( (LA117_100==59) ) {
10728                                            int LA117_114 = input.LA(8);
10729    
10730                                            if ( ((LA117_114>=FORCED_END_OF_LINE && LA117_114<=WIKI)||(LA117_114>=POUND && LA117_114<=INSIGNIFICANT_CHAR)||(LA117_114>=45 && LA117_114<=79)) ) {
10731                                                    alt117=2;
10732                                            }
10733                                            else if ( (LA117_114==44) ) {
10734                                                    int LA117_34 = input.LA(9);
10735    
10736                                                    if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
10737                                                    alt117=2;
10738                                                    }
10739                                                    else if ( ((LA117_34>=FORCED_END_OF_LINE && LA117_34<=WIKI)||(LA117_34>=POUND && LA117_34<=EQUAL)||(LA117_34>=ITAL && LA117_34<=NOWIKI_CLOSE)||(LA117_34>=IMAGE_CLOSE && LA117_34<=79)) ) {
10740                                                    alt117=1;
10741                                                    }
10742                                                    else {
10743                                                    if (backtracking>0) {failed=true; return link;}
10744                                                    NoViableAltException nvae =
10745                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
10746    
10747                                                    throw nvae;
10748                                                    }
10749                                            }
10750                                            else {
10751                                                    if (backtracking>0) {failed=true; return link;}
10752                                                    NoViableAltException nvae =
10753                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 114, input);
10754    
10755                                                    throw nvae;
10756                                            }
10757                                            }
10758                                            else if ( ((LA117_100>=FORCED_END_OF_LINE && LA117_100<=WIKI)||(LA117_100>=POUND && LA117_100<=58)||(LA117_100>=60 && LA117_100<=79)) ) {
10759                                            alt117=2;
10760                                            }
10761                                            else {
10762                                            if (backtracking>0) {failed=true; return link;}
10763                                            NoViableAltException nvae =
10764                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 100, input);
10765    
10766                                            throw nvae;
10767                                            }
10768                                    }
10769                                    else if ( ((LA117_82>=FORCED_END_OF_LINE && LA117_82<=WIKI)||(LA117_82>=POUND && LA117_82<=70)||(LA117_82>=72 && LA117_82<=79)) ) {
10770                                            alt117=2;
10771                                    }
10772                                    else {
10773                                            if (backtracking>0) {failed=true; return link;}
10774                                            NoViableAltException nvae =
10775                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 82, input);
10776    
10777                                            throw nvae;
10778                                    }
10779                                    }
10780                                    else if ( ((LA117_63>=FORCED_END_OF_LINE && LA117_63<=WIKI)||(LA117_63>=POUND && LA117_63<=49)||(LA117_63>=51 && LA117_63<=79)) ) {
10781                                    alt117=2;
10782                                    }
10783                                    else {
10784                                    if (backtracking>0) {failed=true; return link;}
10785                                    NoViableAltException nvae =
10786                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 63, input);
10787    
10788                                    throw nvae;
10789                                    }
10790                            }
10791                            else if ( ((LA117_43>=FORCED_END_OF_LINE && LA117_43<=WIKI)||(LA117_43>=POUND && LA117_43<=69)||(LA117_43>=71 && LA117_43<=79)) ) {
10792                                    alt117=2;
10793                            }
10794                            else {
10795                                    if (backtracking>0) {failed=true; return link;}
10796                                    NoViableAltException nvae =
10797                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 43, input);
10798    
10799                                    throw nvae;
10800                            }
10801                            }
10802                            else if ( ((LA117_24>=FORCED_END_OF_LINE && LA117_24<=WIKI)||(LA117_24>=POUND && LA117_24<=66)||(LA117_24>=68 && LA117_24<=79)) ) {
10803                            alt117=2;
10804                            }
10805                            else {
10806                            if (backtracking>0) {failed=true; return link;}
10807                            NoViableAltException nvae =
10808                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 24, input);
10809    
10810                            throw nvae;
10811                            }
10812                            }
10813                            break;
10814                    case FORCED_END_OF_LINE:
10815                    case HEADING_SECTION:
10816                    case HORIZONTAL_SECTION:
10817                    case LIST_ITEM:
10818                    case LIST_ITEM_PART:
10819                    case NOWIKI_SECTION:
10820                    case SCAPE_NODE:
10821                    case TEXT_NODE:
10822                    case UNORDERED_LIST:
10823                    case UNFORMATTED_TEXT:
10824                    case WIKI:
10825                    case POUND:
10826                    case STAR:
10827                    case EQUAL:
10828                    case PIPE:
10829                    case ITAL:
10830                    case LINK_OPEN:
10831                    case IMAGE_OPEN:
10832                    case NOWIKI_OPEN:
10833                    case EXTENSION:
10834                    case FORCED_LINEBREAK:
10835                    case ESCAPE:
10836                    case NOWIKI_BLOCK_CLOSE:
10837                    case NOWIKI_CLOSE:
10838                    case LINK_CLOSE:
10839                    case IMAGE_CLOSE:
10840                    case BLANKS:
10841                    case TABLE_OF_CONTENTS_TEXT:
10842                    case DASH:
10843                    case CR:
10844                    case LF:
10845                    case SPACE:
10846                    case TABULATOR:
10847                    case BRACE_CLOSE:
10848                    case COLON_SLASH:
10849                    case SLASH:
10850                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
10851                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
10852                    case INSIGNIFICANT_CHAR:
10853                    case 44:
10854                    case 45:
10855                    case 46:
10856                    case 47:
10857                    case 48:
10858                    case 49:
10859                    case 50:
10860                    case 51:
10861                    case 52:
10862                    case 53:
10863                    case 54:
10864                    case 55:
10865                    case 56:
10866                    case 57:
10867                    case 58:
10868                    case 59:
10869                    case 60:
10870                    case 61:
10871                    case 62:
10872                    case 63:
10873                    case 64:
10874                    case 65:
10875                    case 66:
10876                    case 68:
10877                    case 69:
10878                    case 70:
10879                    case 71:
10880                    case 73:
10881                    case 74:
10882                    case 75:
10883                    case 76:
10884                    case 77:
10885                    case 78:
10886                    case 79:
10887                            {
10888                            alt117=2;
10889                            }
10890                            break;
10891                    default:
10892                            if (backtracking>0) {failed=true; return link;}
10893                            NoViableAltException nvae =
10894                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 7, input);
10895    
10896                            throw nvae;
10897                    }
10898    
10899                    }
10900                    break;
10901                    case 62:
10902                    {
10903                    switch ( input.LA(2) ) {
10904                    case 70:
10905                            {
10906                            int LA117_25 = input.LA(3);
10907    
10908                            if ( (LA117_25==51) ) {
10909                            int LA117_44 = input.LA(4);
10910    
10911                            if ( (LA117_44==52) ) {
10912                                    int LA117_64 = input.LA(5);
10913    
10914                                    if ( (LA117_64==49) ) {
10915                                    int LA117_83 = input.LA(6);
10916    
10917                                    if ( (LA117_83==52) ) {
10918                                            int LA117_101 = input.LA(7);
10919    
10920                                            if ( (LA117_101==44) ) {
10921                                            int LA117_34 = input.LA(8);
10922    
10923                                            if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
10924                                                    alt117=2;
10925                                            }
10926                                            else if ( ((LA117_34>=FORCED_END_OF_LINE && LA117_34<=WIKI)||(LA117_34>=POUND && LA117_34<=EQUAL)||(LA117_34>=ITAL && LA117_34<=NOWIKI_CLOSE)||(LA117_34>=IMAGE_CLOSE && LA117_34<=79)) ) {
10927                                                    alt117=1;
10928                                            }
10929                                            else {
10930                                                    if (backtracking>0) {failed=true; return link;}
10931                                                    NoViableAltException nvae =
10932                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
10933    
10934                                                    throw nvae;
10935                                            }
10936                                            }
10937                                            else if ( ((LA117_101>=FORCED_END_OF_LINE && LA117_101<=WIKI)||(LA117_101>=POUND && LA117_101<=INSIGNIFICANT_CHAR)||(LA117_101>=45 && LA117_101<=79)) ) {
10938                                            alt117=2;
10939                                            }
10940                                            else {
10941                                            if (backtracking>0) {failed=true; return link;}
10942                                            NoViableAltException nvae =
10943                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 101, input);
10944    
10945                                            throw nvae;
10946                                            }
10947                                    }
10948                                    else if ( ((LA117_83>=FORCED_END_OF_LINE && LA117_83<=WIKI)||(LA117_83>=POUND && LA117_83<=51)||(LA117_83>=53 && LA117_83<=79)) ) {
10949                                            alt117=2;
10950                                    }
10951                                    else {
10952                                            if (backtracking>0) {failed=true; return link;}
10953                                            NoViableAltException nvae =
10954                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 83, input);
10955    
10956                                            throw nvae;
10957                                    }
10958                                    }
10959                                    else if ( ((LA117_64>=FORCED_END_OF_LINE && LA117_64<=WIKI)||(LA117_64>=POUND && LA117_64<=48)||(LA117_64>=50 && LA117_64<=79)) ) {
10960                                    alt117=2;
10961                                    }
10962                                    else {
10963                                    if (backtracking>0) {failed=true; return link;}
10964                                    NoViableAltException nvae =
10965                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 64, input);
10966    
10967                                    throw nvae;
10968                                    }
10969                            }
10970                            else if ( ((LA117_44>=FORCED_END_OF_LINE && LA117_44<=WIKI)||(LA117_44>=POUND && LA117_44<=51)||(LA117_44>=53 && LA117_44<=79)) ) {
10971                                    alt117=2;
10972                            }
10973                            else {
10974                                    if (backtracking>0) {failed=true; return link;}
10975                                    NoViableAltException nvae =
10976                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 44, input);
10977    
10978                                    throw nvae;
10979                            }
10980                            }
10981                            else if ( ((LA117_25>=FORCED_END_OF_LINE && LA117_25<=WIKI)||(LA117_25>=POUND && LA117_25<=50)||(LA117_25>=52 && LA117_25<=79)) ) {
10982                            alt117=2;
10983                            }
10984                            else {
10985                            if (backtracking>0) {failed=true; return link;}
10986                            NoViableAltException nvae =
10987                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 25, input);
10988    
10989                            throw nvae;
10990                            }
10991                            }
10992                            break;
10993                    case 50:
10994                            {
10995                            switch ( input.LA(3) ) {
10996                            case 56:
10997                            {
10998                            int LA117_45 = input.LA(4);
10999    
11000                            if ( (LA117_45==73) ) {
11001                                    int LA117_65 = input.LA(5);
11002    
11003                                    if ( (LA117_65==54) ) {
11004                                    int LA117_84 = input.LA(6);
11005    
11006                                    if ( (LA117_84==59) ) {
11007                                            int LA117_102 = input.LA(7);
11008    
11009                                            if ( (LA117_102==51) ) {
11010                                            int LA117_115 = input.LA(8);
11011    
11012                                            if ( (LA117_115==52) ) {
11013                                                    int LA117_124 = input.LA(9);
11014    
11015                                                    if ( (LA117_124==49) ) {
11016                                                    int LA117_130 = input.LA(10);
11017    
11018                                                    if ( (LA117_130==52) ) {
11019                                                            int LA117_133 = input.LA(11);
11020    
11021                                                            if ( (LA117_133==44) ) {
11022                                                            int LA117_34 = input.LA(12);
11023    
11024                                                            if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
11025                                                                    alt117=2;
11026                                                            }
11027                                                            else if ( ((LA117_34>=FORCED_END_OF_LINE && LA117_34<=WIKI)||(LA117_34>=POUND && LA117_34<=EQUAL)||(LA117_34>=ITAL && LA117_34<=NOWIKI_CLOSE)||(LA117_34>=IMAGE_CLOSE && LA117_34<=79)) ) {
11028                                                                    alt117=1;
11029                                                            }
11030                                                            else {
11031                                                                    if (backtracking>0) {failed=true; return link;}
11032                                                                    NoViableAltException nvae =
11033                                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
11034    
11035                                                                    throw nvae;
11036                                                            }
11037                                                            }
11038                                                            else if ( ((LA117_133>=FORCED_END_OF_LINE && LA117_133<=WIKI)||(LA117_133>=POUND && LA117_133<=INSIGNIFICANT_CHAR)||(LA117_133>=45 && LA117_133<=79)) ) {
11039                                                            alt117=2;
11040                                                            }
11041                                                            else {
11042                                                            if (backtracking>0) {failed=true; return link;}
11043                                                            NoViableAltException nvae =
11044                                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 133, input);
11045    
11046                                                            throw nvae;
11047                                                            }
11048                                                    }
11049                                                    else if ( ((LA117_130>=FORCED_END_OF_LINE && LA117_130<=WIKI)||(LA117_130>=POUND && LA117_130<=51)||(LA117_130>=53 && LA117_130<=79)) ) {
11050                                                            alt117=2;
11051                                                    }
11052                                                    else {
11053                                                            if (backtracking>0) {failed=true; return link;}
11054                                                            NoViableAltException nvae =
11055                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 130, input);
11056    
11057                                                            throw nvae;
11058                                                    }
11059                                                    }
11060                                                    else if ( ((LA117_124>=FORCED_END_OF_LINE && LA117_124<=WIKI)||(LA117_124>=POUND && LA117_124<=48)||(LA117_124>=50 && LA117_124<=79)) ) {
11061                                                    alt117=2;
11062                                                    }
11063                                                    else {
11064                                                    if (backtracking>0) {failed=true; return link;}
11065                                                    NoViableAltException nvae =
11066                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 124, input);
11067    
11068                                                    throw nvae;
11069                                                    }
11070                                            }
11071                                            else if ( ((LA117_115>=FORCED_END_OF_LINE && LA117_115<=WIKI)||(LA117_115>=POUND && LA117_115<=51)||(LA117_115>=53 && LA117_115<=79)) ) {
11072                                                    alt117=2;
11073                                            }
11074                                            else {
11075                                                    if (backtracking>0) {failed=true; return link;}
11076                                                    NoViableAltException nvae =
11077                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 115, input);
11078    
11079                                                    throw nvae;
11080                                            }
11081                                            }
11082                                            else if ( ((LA117_102>=FORCED_END_OF_LINE && LA117_102<=WIKI)||(LA117_102>=POUND && LA117_102<=50)||(LA117_102>=52 && LA117_102<=79)) ) {
11083                                            alt117=2;
11084                                            }
11085                                            else {
11086                                            if (backtracking>0) {failed=true; return link;}
11087                                            NoViableAltException nvae =
11088                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 102, input);
11089    
11090                                            throw nvae;
11091                                            }
11092                                    }
11093                                    else if ( ((LA117_84>=FORCED_END_OF_LINE && LA117_84<=WIKI)||(LA117_84>=POUND && LA117_84<=58)||(LA117_84>=60 && LA117_84<=79)) ) {
11094                                            alt117=2;
11095                                    }
11096                                    else {
11097                                            if (backtracking>0) {failed=true; return link;}
11098                                            NoViableAltException nvae =
11099                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 84, input);
11100    
11101                                            throw nvae;
11102                                    }
11103                                    }
11104                                    else if ( ((LA117_65>=FORCED_END_OF_LINE && LA117_65<=WIKI)||(LA117_65>=POUND && LA117_65<=53)||(LA117_65>=55 && LA117_65<=79)) ) {
11105                                    alt117=2;
11106                                    }
11107                                    else {
11108                                    if (backtracking>0) {failed=true; return link;}
11109                                    NoViableAltException nvae =
11110                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 65, input);
11111    
11112                                    throw nvae;
11113                                    }
11114                            }
11115                            else if ( ((LA117_45>=FORCED_END_OF_LINE && LA117_45<=WIKI)||(LA117_45>=POUND && LA117_45<=72)||(LA117_45>=74 && LA117_45<=79)) ) {
11116                                    alt117=2;
11117                            }
11118                            else {
11119                                    if (backtracking>0) {failed=true; return link;}
11120                                    NoViableAltException nvae =
11121                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 45, input);
11122    
11123                                    throw nvae;
11124                            }
11125                            }
11126                            break;
11127                            case 49:
11128                            {
11129                            int LA117_46 = input.LA(4);
11130    
11131                            if ( (LA117_46==52) ) {
11132                                    int LA117_66 = input.LA(5);
11133    
11134                                    if ( (LA117_66==51) ) {
11135                                    int LA117_85 = input.LA(6);
11136    
11137                                    if ( (LA117_85==52) ) {
11138                                            int LA117_103 = input.LA(7);
11139    
11140                                            if ( (LA117_103==49) ) {
11141                                            int LA117_116 = input.LA(8);
11142    
11143                                            if ( (LA117_116==52) ) {
11144                                                    int LA117_125 = input.LA(9);
11145    
11146                                                    if ( (LA117_125==44) ) {
11147                                                    int LA117_34 = input.LA(10);
11148    
11149                                                    if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
11150                                                            alt117=2;
11151                                                    }
11152                                                    else if ( ((LA117_34>=FORCED_END_OF_LINE && LA117_34<=WIKI)||(LA117_34>=POUND && LA117_34<=EQUAL)||(LA117_34>=ITAL && LA117_34<=NOWIKI_CLOSE)||(LA117_34>=IMAGE_CLOSE && LA117_34<=79)) ) {
11153                                                            alt117=1;
11154                                                    }
11155                                                    else {
11156                                                            if (backtracking>0) {failed=true; return link;}
11157                                                            NoViableAltException nvae =
11158                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
11159    
11160                                                            throw nvae;
11161                                                    }
11162                                                    }
11163                                                    else if ( ((LA117_125>=FORCED_END_OF_LINE && LA117_125<=WIKI)||(LA117_125>=POUND && LA117_125<=INSIGNIFICANT_CHAR)||(LA117_125>=45 && LA117_125<=79)) ) {
11164                                                    alt117=2;
11165                                                    }
11166                                                    else {
11167                                                    if (backtracking>0) {failed=true; return link;}
11168                                                    NoViableAltException nvae =
11169                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 125, input);
11170    
11171                                                    throw nvae;
11172                                                    }
11173                                            }
11174                                            else if ( ((LA117_116>=FORCED_END_OF_LINE && LA117_116<=WIKI)||(LA117_116>=POUND && LA117_116<=51)||(LA117_116>=53 && LA117_116<=79)) ) {
11175                                                    alt117=2;
11176                                            }
11177                                            else {
11178                                                    if (backtracking>0) {failed=true; return link;}
11179                                                    NoViableAltException nvae =
11180                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 116, input);
11181    
11182                                                    throw nvae;
11183                                            }
11184                                            }
11185                                            else if ( ((LA117_103>=FORCED_END_OF_LINE && LA117_103<=WIKI)||(LA117_103>=POUND && LA117_103<=48)||(LA117_103>=50 && LA117_103<=79)) ) {
11186                                            alt117=2;
11187                                            }
11188                                            else {
11189                                            if (backtracking>0) {failed=true; return link;}
11190                                            NoViableAltException nvae =
11191                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 103, input);
11192    
11193                                            throw nvae;
11194                                            }
11195                                    }
11196                                    else if ( ((LA117_85>=FORCED_END_OF_LINE && LA117_85<=WIKI)||(LA117_85>=POUND && LA117_85<=51)||(LA117_85>=53 && LA117_85<=79)) ) {
11197                                            alt117=2;
11198                                    }
11199                                    else {
11200                                            if (backtracking>0) {failed=true; return link;}
11201                                            NoViableAltException nvae =
11202                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 85, input);
11203    
11204                                            throw nvae;
11205                                    }
11206                                    }
11207                                    else if ( ((LA117_66>=FORCED_END_OF_LINE && LA117_66<=WIKI)||(LA117_66>=POUND && LA117_66<=50)||(LA117_66>=52 && LA117_66<=79)) ) {
11208                                    alt117=2;
11209                                    }
11210                                    else {
11211                                    if (backtracking>0) {failed=true; return link;}
11212                                    NoViableAltException nvae =
11213                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 66, input);
11214    
11215                                    throw nvae;
11216                                    }
11217                            }
11218                            else if ( ((LA117_46>=FORCED_END_OF_LINE && LA117_46<=WIKI)||(LA117_46>=POUND && LA117_46<=51)||(LA117_46>=53 && LA117_46<=79)) ) {
11219                                    alt117=2;
11220                            }
11221                            else {
11222                                    if (backtracking>0) {failed=true; return link;}
11223                                    NoViableAltException nvae =
11224                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 46, input);
11225    
11226                                    throw nvae;
11227                            }
11228                            }
11229                            break;
11230                            case FORCED_END_OF_LINE:
11231                            case HEADING_SECTION:
11232                            case HORIZONTAL_SECTION:
11233                            case LIST_ITEM:
11234                            case LIST_ITEM_PART:
11235                            case NOWIKI_SECTION:
11236                            case SCAPE_NODE:
11237                            case TEXT_NODE:
11238                            case UNORDERED_LIST:
11239                            case UNFORMATTED_TEXT:
11240                            case WIKI:
11241                            case POUND:
11242                            case STAR:
11243                            case EQUAL:
11244                            case PIPE:
11245                            case ITAL:
11246                            case LINK_OPEN:
11247                            case IMAGE_OPEN:
11248                            case NOWIKI_OPEN:
11249                            case EXTENSION:
11250                            case FORCED_LINEBREAK:
11251                            case ESCAPE:
11252                            case NOWIKI_BLOCK_CLOSE:
11253                            case NOWIKI_CLOSE:
11254                            case LINK_CLOSE:
11255                            case IMAGE_CLOSE:
11256                            case BLANKS:
11257                            case TABLE_OF_CONTENTS_TEXT:
11258                            case DASH:
11259                            case CR:
11260                            case LF:
11261                            case SPACE:
11262                            case TABULATOR:
11263                            case BRACE_CLOSE:
11264                            case COLON_SLASH:
11265                            case SLASH:
11266                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
11267                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
11268                            case INSIGNIFICANT_CHAR:
11269                            case 44:
11270                            case 45:
11271                            case 46:
11272                            case 47:
11273                            case 48:
11274                            case 50:
11275                            case 51:
11276                            case 52:
11277                            case 53:
11278                            case 54:
11279                            case 55:
11280                            case 57:
11281                            case 58:
11282                            case 59:
11283                            case 60:
11284                            case 61:
11285                            case 62:
11286                            case 63:
11287                            case 64:
11288                            case 65:
11289                            case 66:
11290                            case 67:
11291                            case 68:
11292                            case 69:
11293                            case 70:
11294                            case 71:
11295                            case 72:
11296                            case 73:
11297                            case 74:
11298                            case 75:
11299                            case 76:
11300                            case 77:
11301                            case 78:
11302                            case 79:
11303                            {
11304                            alt117=2;
11305                            }
11306                            break;
11307                            default:
11308                            if (backtracking>0) {failed=true; return link;}
11309                            NoViableAltException nvae =
11310                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 26, input);
11311    
11312                            throw nvae;
11313                            }
11314    
11315                            }
11316                            break;
11317                    case FORCED_END_OF_LINE:
11318                    case HEADING_SECTION:
11319                    case HORIZONTAL_SECTION:
11320                    case LIST_ITEM:
11321                    case LIST_ITEM_PART:
11322                    case NOWIKI_SECTION:
11323                    case SCAPE_NODE:
11324                    case TEXT_NODE:
11325                    case UNORDERED_LIST:
11326                    case UNFORMATTED_TEXT:
11327                    case WIKI:
11328                    case POUND:
11329                    case STAR:
11330                    case EQUAL:
11331                    case PIPE:
11332                    case ITAL:
11333                    case LINK_OPEN:
11334                    case IMAGE_OPEN:
11335                    case NOWIKI_OPEN:
11336                    case EXTENSION:
11337                    case FORCED_LINEBREAK:
11338                    case ESCAPE:
11339                    case NOWIKI_BLOCK_CLOSE:
11340                    case NOWIKI_CLOSE:
11341                    case LINK_CLOSE:
11342                    case IMAGE_CLOSE:
11343                    case BLANKS:
11344                    case TABLE_OF_CONTENTS_TEXT:
11345                    case DASH:
11346                    case CR:
11347                    case LF:
11348                    case SPACE:
11349                    case TABULATOR:
11350                    case BRACE_CLOSE:
11351                    case COLON_SLASH:
11352                    case SLASH:
11353                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
11354                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
11355                    case INSIGNIFICANT_CHAR:
11356                    case 44:
11357                    case 45:
11358                    case 46:
11359                    case 47:
11360                    case 48:
11361                    case 49:
11362                    case 51:
11363                    case 52:
11364                    case 53:
11365                    case 54:
11366                    case 55:
11367                    case 56:
11368                    case 57:
11369                    case 58:
11370                    case 59:
11371                    case 60:
11372                    case 61:
11373                    case 62:
11374                    case 63:
11375                    case 64:
11376                    case 65:
11377                    case 66:
11378                    case 67:
11379                    case 68:
11380                    case 69:
11381                    case 71:
11382                    case 72:
11383                    case 73:
11384                    case 74:
11385                    case 75:
11386                    case 76:
11387                    case 77:
11388                    case 78:
11389                    case 79:
11390                            {
11391                            alt117=2;
11392                            }
11393                            break;
11394                    default:
11395                            if (backtracking>0) {failed=true; return link;}
11396                            NoViableAltException nvae =
11397                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 8, input);
11398    
11399                            throw nvae;
11400                    }
11401    
11402                    }
11403                    break;
11404                    case 74:
11405                    {
11406                    int LA117_9 = input.LA(2);
11407    
11408                    if ( (LA117_9==64) ) {
11409                            int LA117_27 = input.LA(3);
11410    
11411                            if ( (LA117_27==67) ) {
11412                            int LA117_47 = input.LA(4);
11413    
11414                            if ( (LA117_47==59) ) {
11415                                    int LA117_67 = input.LA(5);
11416    
11417                                    if ( (LA117_67==48) ) {
11418                                    int LA117_86 = input.LA(6);
11419    
11420                                    if ( (LA117_86==75) ) {
11421                                            int LA117_104 = input.LA(7);
11422    
11423                                            if ( (LA117_104==44) ) {
11424                                            int LA117_34 = input.LA(8);
11425    
11426                                            if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
11427                                                    alt117=2;
11428                                            }
11429                                            else if ( ((LA117_34>=FORCED_END_OF_LINE && LA117_34<=WIKI)||(LA117_34>=POUND && LA117_34<=EQUAL)||(LA117_34>=ITAL && LA117_34<=NOWIKI_CLOSE)||(LA117_34>=IMAGE_CLOSE && LA117_34<=79)) ) {
11430                                                    alt117=1;
11431                                            }
11432                                            else {
11433                                                    if (backtracking>0) {failed=true; return link;}
11434                                                    NoViableAltException nvae =
11435                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
11436    
11437                                                    throw nvae;
11438                                            }
11439                                            }
11440                                            else if ( ((LA117_104>=FORCED_END_OF_LINE && LA117_104<=WIKI)||(LA117_104>=POUND && LA117_104<=INSIGNIFICANT_CHAR)||(LA117_104>=45 && LA117_104<=79)) ) {
11441                                            alt117=2;
11442                                            }
11443                                            else {
11444                                            if (backtracking>0) {failed=true; return link;}
11445                                            NoViableAltException nvae =
11446                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 104, input);
11447    
11448                                            throw nvae;
11449                                            }
11450                                    }
11451                                    else if ( ((LA117_86>=FORCED_END_OF_LINE && LA117_86<=WIKI)||(LA117_86>=POUND && LA117_86<=74)||(LA117_86>=76 && LA117_86<=79)) ) {
11452                                            alt117=2;
11453                                    }
11454                                    else {
11455                                            if (backtracking>0) {failed=true; return link;}
11456                                            NoViableAltException nvae =
11457                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 86, input);
11458    
11459                                            throw nvae;
11460                                    }
11461                                    }
11462                                    else if ( ((LA117_67>=FORCED_END_OF_LINE && LA117_67<=WIKI)||(LA117_67>=POUND && LA117_67<=47)||(LA117_67>=49 && LA117_67<=79)) ) {
11463                                    alt117=2;
11464                                    }
11465                                    else {
11466                                    if (backtracking>0) {failed=true; return link;}
11467                                    NoViableAltException nvae =
11468                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 67, input);
11469    
11470                                    throw nvae;
11471                                    }
11472                            }
11473                            else if ( ((LA117_47>=FORCED_END_OF_LINE && LA117_47<=WIKI)||(LA117_47>=POUND && LA117_47<=58)||(LA117_47>=60 && LA117_47<=79)) ) {
11474                                    alt117=2;
11475                            }
11476                            else {
11477                                    if (backtracking>0) {failed=true; return link;}
11478                                    NoViableAltException nvae =
11479                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 47, input);
11480    
11481                                    throw nvae;
11482                            }
11483                            }
11484                            else if ( ((LA117_27>=FORCED_END_OF_LINE && LA117_27<=WIKI)||(LA117_27>=POUND && LA117_27<=66)||(LA117_27>=68 && LA117_27<=79)) ) {
11485                            alt117=2;
11486                            }
11487                            else {
11488                            if (backtracking>0) {failed=true; return link;}
11489                            NoViableAltException nvae =
11490                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 27, input);
11491    
11492                            throw nvae;
11493                            }
11494                    }
11495                    else if ( ((LA117_9>=FORCED_END_OF_LINE && LA117_9<=WIKI)||(LA117_9>=POUND && LA117_9<=63)||(LA117_9>=65 && LA117_9<=79)) ) {
11496                            alt117=2;
11497                    }
11498                    else {
11499                            if (backtracking>0) {failed=true; return link;}
11500                            NoViableAltException nvae =
11501                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 9, input);
11502    
11503                            throw nvae;
11504                    }
11505                    }
11506                    break;
11507                    case 61:
11508                    {
11509                    int LA117_10 = input.LA(2);
11510    
11511                    if ( (LA117_10==68) ) {
11512                            int LA117_28 = input.LA(3);
11513    
11514                            if ( (LA117_28==52) ) {
11515                            int LA117_48 = input.LA(4);
11516    
11517                            if ( (LA117_48==73) ) {
11518                                    int LA117_68 = input.LA(5);
11519    
11520                                    if ( (LA117_68==61) ) {
11521                                    int LA117_87 = input.LA(6);
11522    
11523                                    if ( (LA117_87==68) ) {
11524                                            int LA117_105 = input.LA(7);
11525    
11526                                            if ( (LA117_105==64) ) {
11527                                            int LA117_117 = input.LA(8);
11528    
11529                                            if ( (LA117_117==73) ) {
11530                                                    int LA117_126 = input.LA(9);
11531    
11532                                                    if ( (LA117_126==44) ) {
11533                                                    int LA117_34 = input.LA(10);
11534    
11535                                                    if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
11536                                                            alt117=2;
11537                                                    }
11538                                                    else if ( ((LA117_34>=FORCED_END_OF_LINE && LA117_34<=WIKI)||(LA117_34>=POUND && LA117_34<=EQUAL)||(LA117_34>=ITAL && LA117_34<=NOWIKI_CLOSE)||(LA117_34>=IMAGE_CLOSE && LA117_34<=79)) ) {
11539                                                            alt117=1;
11540                                                    }
11541                                                    else {
11542                                                            if (backtracking>0) {failed=true; return link;}
11543                                                            NoViableAltException nvae =
11544                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
11545    
11546                                                            throw nvae;
11547                                                    }
11548                                                    }
11549                                                    else if ( ((LA117_126>=FORCED_END_OF_LINE && LA117_126<=WIKI)||(LA117_126>=POUND && LA117_126<=INSIGNIFICANT_CHAR)||(LA117_126>=45 && LA117_126<=79)) ) {
11550                                                    alt117=2;
11551                                                    }
11552                                                    else {
11553                                                    if (backtracking>0) {failed=true; return link;}
11554                                                    NoViableAltException nvae =
11555                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 126, input);
11556    
11557                                                    throw nvae;
11558                                                    }
11559                                            }
11560                                            else if ( ((LA117_117>=FORCED_END_OF_LINE && LA117_117<=WIKI)||(LA117_117>=POUND && LA117_117<=72)||(LA117_117>=74 && LA117_117<=79)) ) {
11561                                                    alt117=2;
11562                                            }
11563                                            else {
11564                                                    if (backtracking>0) {failed=true; return link;}
11565                                                    NoViableAltException nvae =
11566                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 117, input);
11567    
11568                                                    throw nvae;
11569                                            }
11570                                            }
11571                                            else if ( ((LA117_105>=FORCED_END_OF_LINE && LA117_105<=WIKI)||(LA117_105>=POUND && LA117_105<=63)||(LA117_105>=65 && LA117_105<=79)) ) {
11572                                            alt117=2;
11573                                            }
11574                                            else {
11575                                            if (backtracking>0) {failed=true; return link;}
11576                                            NoViableAltException nvae =
11577                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 105, input);
11578    
11579                                            throw nvae;
11580                                            }
11581                                    }
11582                                    else if ( ((LA117_87>=FORCED_END_OF_LINE && LA117_87<=WIKI)||(LA117_87>=POUND && LA117_87<=67)||(LA117_87>=69 && LA117_87<=79)) ) {
11583                                            alt117=2;
11584                                    }
11585                                    else {
11586                                            if (backtracking>0) {failed=true; return link;}
11587                                            NoViableAltException nvae =
11588                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 87, input);
11589    
11590                                            throw nvae;
11591                                    }
11592                                    }
11593                                    else if ( ((LA117_68>=FORCED_END_OF_LINE && LA117_68<=WIKI)||(LA117_68>=POUND && LA117_68<=60)||(LA117_68>=62 && LA117_68<=79)) ) {
11594                                    alt117=2;
11595                                    }
11596                                    else {
11597                                    if (backtracking>0) {failed=true; return link;}
11598                                    NoViableAltException nvae =
11599                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 68, input);
11600    
11601                                    throw nvae;
11602                                    }
11603                            }
11604                            else if ( ((LA117_48>=FORCED_END_OF_LINE && LA117_48<=WIKI)||(LA117_48>=POUND && LA117_48<=72)||(LA117_48>=74 && LA117_48<=79)) ) {
11605                                    alt117=2;
11606                            }
11607                            else {
11608                                    if (backtracking>0) {failed=true; return link;}
11609                                    NoViableAltException nvae =
11610                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 48, input);
11611    
11612                                    throw nvae;
11613                            }
11614                            }
11615                            else if ( ((LA117_28>=FORCED_END_OF_LINE && LA117_28<=WIKI)||(LA117_28>=POUND && LA117_28<=51)||(LA117_28>=53 && LA117_28<=79)) ) {
11616                            alt117=2;
11617                            }
11618                            else {
11619                            if (backtracking>0) {failed=true; return link;}
11620                            NoViableAltException nvae =
11621                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 28, input);
11622    
11623                            throw nvae;
11624                            }
11625                    }
11626                    else if ( ((LA117_10>=FORCED_END_OF_LINE && LA117_10<=WIKI)||(LA117_10>=POUND && LA117_10<=67)||(LA117_10>=69 && LA117_10<=79)) ) {
11627                            alt117=2;
11628                    }
11629                    else {
11630                            if (backtracking>0) {failed=true; return link;}
11631                            NoViableAltException nvae =
11632                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 10, input);
11633    
11634                            throw nvae;
11635                    }
11636                    }
11637                    break;
11638                    case 76:
11639                    {
11640                    switch ( input.LA(2) ) {
11641                    case 51:
11642                            {
11643                            int LA117_29 = input.LA(3);
11644    
11645                            if ( (LA117_29==52) ) {
11646                            int LA117_49 = input.LA(4);
11647    
11648                            if ( (LA117_49==49) ) {
11649                                    int LA117_69 = input.LA(5);
11650    
11651                                    if ( (LA117_69==52) ) {
11652                                    int LA117_88 = input.LA(6);
11653    
11654                                    if ( (LA117_88==44) ) {
11655                                            int LA117_34 = input.LA(7);
11656    
11657                                            if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
11658                                            alt117=2;
11659                                            }
11660                                            else if ( ((LA117_34>=FORCED_END_OF_LINE && LA117_34<=WIKI)||(LA117_34>=POUND && LA117_34<=EQUAL)||(LA117_34>=ITAL && LA117_34<=NOWIKI_CLOSE)||(LA117_34>=IMAGE_CLOSE && LA117_34<=79)) ) {
11661                                            alt117=1;
11662                                            }
11663                                            else {
11664                                            if (backtracking>0) {failed=true; return link;}
11665                                            NoViableAltException nvae =
11666                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
11667    
11668                                            throw nvae;
11669                                            }
11670                                    }
11671                                    else if ( ((LA117_88>=FORCED_END_OF_LINE && LA117_88<=WIKI)||(LA117_88>=POUND && LA117_88<=INSIGNIFICANT_CHAR)||(LA117_88>=45 && LA117_88<=79)) ) {
11672                                            alt117=2;
11673                                    }
11674                                    else {
11675                                            if (backtracking>0) {failed=true; return link;}
11676                                            NoViableAltException nvae =
11677                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 88, input);
11678    
11679                                            throw nvae;
11680                                    }
11681                                    }
11682                                    else if ( ((LA117_69>=FORCED_END_OF_LINE && LA117_69<=WIKI)||(LA117_69>=POUND && LA117_69<=51)||(LA117_69>=53 && LA117_69<=79)) ) {
11683                                    alt117=2;
11684                                    }
11685                                    else {
11686                                    if (backtracking>0) {failed=true; return link;}
11687                                    NoViableAltException nvae =
11688                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 69, input);
11689    
11690                                    throw nvae;
11691                                    }
11692                            }
11693                            else if ( ((LA117_49>=FORCED_END_OF_LINE && LA117_49<=WIKI)||(LA117_49>=POUND && LA117_49<=48)||(LA117_49>=50 && LA117_49<=79)) ) {
11694                                    alt117=2;
11695                            }
11696                            else {
11697                                    if (backtracking>0) {failed=true; return link;}
11698                                    NoViableAltException nvae =
11699                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 49, input);
11700    
11701                                    throw nvae;
11702                            }
11703                            }
11704                            else if ( ((LA117_29>=FORCED_END_OF_LINE && LA117_29<=WIKI)||(LA117_29>=POUND && LA117_29<=51)||(LA117_29>=53 && LA117_29<=79)) ) {
11705                            alt117=2;
11706                            }
11707                            else {
11708                            if (backtracking>0) {failed=true; return link;}
11709                            NoViableAltException nvae =
11710                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 29, input);
11711    
11712                            throw nvae;
11713                            }
11714                            }
11715                            break;
11716                    case 52:
11717                            {
11718                            int LA117_30 = input.LA(3);
11719    
11720                            if ( (LA117_30==67) ) {
11721                            int LA117_50 = input.LA(4);
11722    
11723                            if ( (LA117_50==67) ) {
11724                                    int LA117_70 = input.LA(5);
11725    
11726                                    if ( (LA117_70==54) ) {
11727                                    int LA117_89 = input.LA(6);
11728    
11729                                    if ( (LA117_89==77) ) {
11730                                            int LA117_106 = input.LA(7);
11731    
11732                                            if ( (LA117_106==51) ) {
11733                                            int LA117_118 = input.LA(8);
11734    
11735                                            if ( (LA117_118==52) ) {
11736                                                    int LA117_127 = input.LA(9);
11737    
11738                                                    if ( (LA117_127==49) ) {
11739                                                    int LA117_131 = input.LA(10);
11740    
11741                                                    if ( (LA117_131==52) ) {
11742                                                            int LA117_134 = input.LA(11);
11743    
11744                                                            if ( (LA117_134==44) ) {
11745                                                            int LA117_34 = input.LA(12);
11746    
11747                                                            if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
11748                                                                    alt117=2;
11749                                                            }
11750                                                            else if ( ((LA117_34>=FORCED_END_OF_LINE && LA117_34<=WIKI)||(LA117_34>=POUND && LA117_34<=EQUAL)||(LA117_34>=ITAL && LA117_34<=NOWIKI_CLOSE)||(LA117_34>=IMAGE_CLOSE && LA117_34<=79)) ) {
11751                                                                    alt117=1;
11752                                                            }
11753                                                            else {
11754                                                                    if (backtracking>0) {failed=true; return link;}
11755                                                                    NoViableAltException nvae =
11756                                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
11757    
11758                                                                    throw nvae;
11759                                                            }
11760                                                            }
11761                                                            else if ( ((LA117_134>=FORCED_END_OF_LINE && LA117_134<=WIKI)||(LA117_134>=POUND && LA117_134<=INSIGNIFICANT_CHAR)||(LA117_134>=45 && LA117_134<=79)) ) {
11762                                                            alt117=2;
11763                                                            }
11764                                                            else {
11765                                                            if (backtracking>0) {failed=true; return link;}
11766                                                            NoViableAltException nvae =
11767                                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 134, input);
11768    
11769                                                            throw nvae;
11770                                                            }
11771                                                    }
11772                                                    else if ( ((LA117_131>=FORCED_END_OF_LINE && LA117_131<=WIKI)||(LA117_131>=POUND && LA117_131<=51)||(LA117_131>=53 && LA117_131<=79)) ) {
11773                                                            alt117=2;
11774                                                    }
11775                                                    else {
11776                                                            if (backtracking>0) {failed=true; return link;}
11777                                                            NoViableAltException nvae =
11778                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 131, input);
11779    
11780                                                            throw nvae;
11781                                                    }
11782                                                    }
11783                                                    else if ( ((LA117_127>=FORCED_END_OF_LINE && LA117_127<=WIKI)||(LA117_127>=POUND && LA117_127<=48)||(LA117_127>=50 && LA117_127<=79)) ) {
11784                                                    alt117=2;
11785                                                    }
11786                                                    else {
11787                                                    if (backtracking>0) {failed=true; return link;}
11788                                                    NoViableAltException nvae =
11789                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 127, input);
11790    
11791                                                    throw nvae;
11792                                                    }
11793                                            }
11794                                            else if ( ((LA117_118>=FORCED_END_OF_LINE && LA117_118<=WIKI)||(LA117_118>=POUND && LA117_118<=51)||(LA117_118>=53 && LA117_118<=79)) ) {
11795                                                    alt117=2;
11796                                            }
11797                                            else {
11798                                                    if (backtracking>0) {failed=true; return link;}
11799                                                    NoViableAltException nvae =
11800                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 118, input);
11801    
11802                                                    throw nvae;
11803                                            }
11804                                            }
11805                                            else if ( ((LA117_106>=FORCED_END_OF_LINE && LA117_106<=WIKI)||(LA117_106>=POUND && LA117_106<=50)||(LA117_106>=52 && LA117_106<=79)) ) {
11806                                            alt117=2;
11807                                            }
11808                                            else {
11809                                            if (backtracking>0) {failed=true; return link;}
11810                                            NoViableAltException nvae =
11811                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 106, input);
11812    
11813                                            throw nvae;
11814                                            }
11815                                    }
11816                                    else if ( ((LA117_89>=FORCED_END_OF_LINE && LA117_89<=WIKI)||(LA117_89>=POUND && LA117_89<=76)||(LA117_89>=78 && LA117_89<=79)) ) {
11817                                            alt117=2;
11818                                    }
11819                                    else {
11820                                            if (backtracking>0) {failed=true; return link;}
11821                                            NoViableAltException nvae =
11822                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 89, input);
11823    
11824                                            throw nvae;
11825                                    }
11826                                    }
11827                                    else if ( ((LA117_70>=FORCED_END_OF_LINE && LA117_70<=WIKI)||(LA117_70>=POUND && LA117_70<=53)||(LA117_70>=55 && LA117_70<=79)) ) {
11828                                    alt117=2;
11829                                    }
11830                                    else {
11831                                    if (backtracking>0) {failed=true; return link;}
11832                                    NoViableAltException nvae =
11833                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 70, input);
11834    
11835                                    throw nvae;
11836                                    }
11837                            }
11838                            else if ( ((LA117_50>=FORCED_END_OF_LINE && LA117_50<=WIKI)||(LA117_50>=POUND && LA117_50<=66)||(LA117_50>=68 && LA117_50<=79)) ) {
11839                                    alt117=2;
11840                            }
11841                            else {
11842                                    if (backtracking>0) {failed=true; return link;}
11843                                    NoViableAltException nvae =
11844                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 50, input);
11845    
11846                                    throw nvae;
11847                            }
11848                            }
11849                            else if ( ((LA117_30>=FORCED_END_OF_LINE && LA117_30<=WIKI)||(LA117_30>=POUND && LA117_30<=66)||(LA117_30>=68 && LA117_30<=79)) ) {
11850                            alt117=2;
11851                            }
11852                            else {
11853                            if (backtracking>0) {failed=true; return link;}
11854                            NoViableAltException nvae =
11855                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 30, input);
11856    
11857                            throw nvae;
11858                            }
11859                            }
11860                            break;
11861                    case FORCED_END_OF_LINE:
11862                    case HEADING_SECTION:
11863                    case HORIZONTAL_SECTION:
11864                    case LIST_ITEM:
11865                    case LIST_ITEM_PART:
11866                    case NOWIKI_SECTION:
11867                    case SCAPE_NODE:
11868                    case TEXT_NODE:
11869                    case UNORDERED_LIST:
11870                    case UNFORMATTED_TEXT:
11871                    case WIKI:
11872                    case POUND:
11873                    case STAR:
11874                    case EQUAL:
11875                    case PIPE:
11876                    case ITAL:
11877                    case LINK_OPEN:
11878                    case IMAGE_OPEN:
11879                    case NOWIKI_OPEN:
11880                    case EXTENSION:
11881                    case FORCED_LINEBREAK:
11882                    case ESCAPE:
11883                    case NOWIKI_BLOCK_CLOSE:
11884                    case NOWIKI_CLOSE:
11885                    case LINK_CLOSE:
11886                    case IMAGE_CLOSE:
11887                    case BLANKS:
11888                    case TABLE_OF_CONTENTS_TEXT:
11889                    case DASH:
11890                    case CR:
11891                    case LF:
11892                    case SPACE:
11893                    case TABULATOR:
11894                    case BRACE_CLOSE:
11895                    case COLON_SLASH:
11896                    case SLASH:
11897                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
11898                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
11899                    case INSIGNIFICANT_CHAR:
11900                    case 44:
11901                    case 45:
11902                    case 46:
11903                    case 47:
11904                    case 48:
11905                    case 49:
11906                    case 50:
11907                    case 53:
11908                    case 54:
11909                    case 55:
11910                    case 56:
11911                    case 57:
11912                    case 58:
11913                    case 59:
11914                    case 60:
11915                    case 61:
11916                    case 62:
11917                    case 63:
11918                    case 64:
11919                    case 65:
11920                    case 66:
11921                    case 67:
11922                    case 68:
11923                    case 69:
11924                    case 70:
11925                    case 71:
11926                    case 72:
11927                    case 73:
11928                    case 74:
11929                    case 75:
11930                    case 76:
11931                    case 77:
11932                    case 78:
11933                    case 79:
11934                            {
11935                            alt117=2;
11936                            }
11937                            break;
11938                    default:
11939                            if (backtracking>0) {failed=true; return link;}
11940                            NoViableAltException nvae =
11941                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 11, input);
11942    
11943                            throw nvae;
11944                    }
11945    
11946                    }
11947                    break;
11948                    case 78:
11949                    {
11950                    int LA117_12 = input.LA(2);
11951    
11952                    if ( (LA117_12==71) ) {
11953                            int LA117_31 = input.LA(3);
11954    
11955                            if ( (LA117_31==59) ) {
11956                            int LA117_51 = input.LA(4);
11957    
11958                            if ( (LA117_51==70) ) {
11959                                    int LA117_71 = input.LA(5);
11960    
11961                                    if ( (LA117_71==48) ) {
11962                                    int LA117_90 = input.LA(6);
11963    
11964                                    if ( (LA117_90==67) ) {
11965                                            int LA117_107 = input.LA(7);
11966    
11967                                            if ( (LA117_107==44) ) {
11968                                            int LA117_34 = input.LA(8);
11969    
11970                                            if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
11971                                                    alt117=2;
11972                                            }
11973                                            else if ( ((LA117_34>=FORCED_END_OF_LINE && LA117_34<=WIKI)||(LA117_34>=POUND && LA117_34<=EQUAL)||(LA117_34>=ITAL && LA117_34<=NOWIKI_CLOSE)||(LA117_34>=IMAGE_CLOSE && LA117_34<=79)) ) {
11974                                                    alt117=1;
11975                                            }
11976                                            else {
11977                                                    if (backtracking>0) {failed=true; return link;}
11978                                                    NoViableAltException nvae =
11979                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
11980    
11981                                                    throw nvae;
11982                                            }
11983                                            }
11984                                            else if ( ((LA117_107>=FORCED_END_OF_LINE && LA117_107<=WIKI)||(LA117_107>=POUND && LA117_107<=INSIGNIFICANT_CHAR)||(LA117_107>=45 && LA117_107<=79)) ) {
11985                                            alt117=2;
11986                                            }
11987                                            else {
11988                                            if (backtracking>0) {failed=true; return link;}
11989                                            NoViableAltException nvae =
11990                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 107, input);
11991    
11992                                            throw nvae;
11993                                            }
11994                                    }
11995                                    else if ( ((LA117_90>=FORCED_END_OF_LINE && LA117_90<=WIKI)||(LA117_90>=POUND && LA117_90<=66)||(LA117_90>=68 && LA117_90<=79)) ) {
11996                                            alt117=2;
11997                                    }
11998                                    else {
11999                                            if (backtracking>0) {failed=true; return link;}
12000                                            NoViableAltException nvae =
12001                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 90, input);
12002    
12003                                            throw nvae;
12004                                    }
12005                                    }
12006                                    else if ( ((LA117_71>=FORCED_END_OF_LINE && LA117_71<=WIKI)||(LA117_71>=POUND && LA117_71<=47)||(LA117_71>=49 && LA117_71<=79)) ) {
12007                                    alt117=2;
12008                                    }
12009                                    else {
12010                                    if (backtracking>0) {failed=true; return link;}
12011                                    NoViableAltException nvae =
12012                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 71, input);
12013    
12014                                    throw nvae;
12015                                    }
12016                            }
12017                            else if ( ((LA117_51>=FORCED_END_OF_LINE && LA117_51<=WIKI)||(LA117_51>=POUND && LA117_51<=69)||(LA117_51>=71 && LA117_51<=79)) ) {
12018                                    alt117=2;
12019                            }
12020                            else {
12021                                    if (backtracking>0) {failed=true; return link;}
12022                                    NoViableAltException nvae =
12023                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 51, input);
12024    
12025                                    throw nvae;
12026                            }
12027                            }
12028                            else if ( ((LA117_31>=FORCED_END_OF_LINE && LA117_31<=WIKI)||(LA117_31>=POUND && LA117_31<=58)||(LA117_31>=60 && LA117_31<=79)) ) {
12029                            alt117=2;
12030                            }
12031                            else {
12032                            if (backtracking>0) {failed=true; return link;}
12033                            NoViableAltException nvae =
12034                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 31, input);
12035    
12036                            throw nvae;
12037                            }
12038                    }
12039                    else if ( ((LA117_12>=FORCED_END_OF_LINE && LA117_12<=WIKI)||(LA117_12>=POUND && LA117_12<=70)||(LA117_12>=72 && LA117_12<=79)) ) {
12040                            alt117=2;
12041                    }
12042                    else {
12043                            if (backtracking>0) {failed=true; return link;}
12044                            NoViableAltException nvae =
12045                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 12, input);
12046    
12047                            throw nvae;
12048                    }
12049                    }
12050                    break;
12051                    case 51:
12052                    {
12053                    int LA117_13 = input.LA(2);
12054    
12055                    if ( (LA117_13==52) ) {
12056                            int LA117_32 = input.LA(3);
12057    
12058                            if ( (LA117_32==49) ) {
12059                            int LA117_52 = input.LA(4);
12060    
12061                            if ( (LA117_52==52) ) {
12062                                    int LA117_72 = input.LA(5);
12063    
12064                                    if ( (LA117_72==73) ) {
12065                                    int LA117_91 = input.LA(6);
12066    
12067                                    if ( (LA117_91==59) ) {
12068                                            int LA117_108 = input.LA(7);
12069    
12070                                            if ( (LA117_108==67) ) {
12071                                            int LA117_119 = input.LA(8);
12072    
12073                                            if ( (LA117_119==52) ) {
12074                                                    int LA117_128 = input.LA(9);
12075    
12076                                                    if ( (LA117_128==64) ) {
12077                                                    int LA117_132 = input.LA(10);
12078    
12079                                                    if ( (LA117_132==44) ) {
12080                                                            int LA117_34 = input.LA(11);
12081    
12082                                                            if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
12083                                                            alt117=2;
12084                                                            }
12085                                                            else if ( ((LA117_34>=FORCED_END_OF_LINE && LA117_34<=WIKI)||(LA117_34>=POUND && LA117_34<=EQUAL)||(LA117_34>=ITAL && LA117_34<=NOWIKI_CLOSE)||(LA117_34>=IMAGE_CLOSE && LA117_34<=79)) ) {
12086                                                            alt117=1;
12087                                                            }
12088                                                            else {
12089                                                            if (backtracking>0) {failed=true; return link;}
12090                                                            NoViableAltException nvae =
12091                                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
12092    
12093                                                            throw nvae;
12094                                                            }
12095                                                    }
12096                                                    else if ( ((LA117_132>=FORCED_END_OF_LINE && LA117_132<=WIKI)||(LA117_132>=POUND && LA117_132<=INSIGNIFICANT_CHAR)||(LA117_132>=45 && LA117_132<=79)) ) {
12097                                                            alt117=2;
12098                                                    }
12099                                                    else {
12100                                                            if (backtracking>0) {failed=true; return link;}
12101                                                            NoViableAltException nvae =
12102                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 132, input);
12103    
12104                                                            throw nvae;
12105                                                    }
12106                                                    }
12107                                                    else if ( ((LA117_128>=FORCED_END_OF_LINE && LA117_128<=WIKI)||(LA117_128>=POUND && LA117_128<=63)||(LA117_128>=65 && LA117_128<=79)) ) {
12108                                                    alt117=2;
12109                                                    }
12110                                                    else {
12111                                                    if (backtracking>0) {failed=true; return link;}
12112                                                    NoViableAltException nvae =
12113                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 128, input);
12114    
12115                                                    throw nvae;
12116                                                    }
12117                                            }
12118                                            else if ( ((LA117_119>=FORCED_END_OF_LINE && LA117_119<=WIKI)||(LA117_119>=POUND && LA117_119<=51)||(LA117_119>=53 && LA117_119<=79)) ) {
12119                                                    alt117=2;
12120                                            }
12121                                            else {
12122                                                    if (backtracking>0) {failed=true; return link;}
12123                                                    NoViableAltException nvae =
12124                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 119, input);
12125    
12126                                                    throw nvae;
12127                                            }
12128                                            }
12129                                            else if ( ((LA117_108>=FORCED_END_OF_LINE && LA117_108<=WIKI)||(LA117_108>=POUND && LA117_108<=66)||(LA117_108>=68 && LA117_108<=79)) ) {
12130                                            alt117=2;
12131                                            }
12132                                            else {
12133                                            if (backtracking>0) {failed=true; return link;}
12134                                            NoViableAltException nvae =
12135                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 108, input);
12136    
12137                                            throw nvae;
12138                                            }
12139                                    }
12140                                    else if ( ((LA117_91>=FORCED_END_OF_LINE && LA117_91<=WIKI)||(LA117_91>=POUND && LA117_91<=58)||(LA117_91>=60 && LA117_91<=79)) ) {
12141                                            alt117=2;
12142                                    }
12143                                    else {
12144                                            if (backtracking>0) {failed=true; return link;}
12145                                            NoViableAltException nvae =
12146                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 91, input);
12147    
12148                                            throw nvae;
12149                                    }
12150                                    }
12151                                    else if ( ((LA117_72>=FORCED_END_OF_LINE && LA117_72<=WIKI)||(LA117_72>=POUND && LA117_72<=72)||(LA117_72>=74 && LA117_72<=79)) ) {
12152                                    alt117=2;
12153                                    }
12154                                    else {
12155                                    if (backtracking>0) {failed=true; return link;}
12156                                    NoViableAltException nvae =
12157                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 72, input);
12158    
12159                                    throw nvae;
12160                                    }
12161                            }
12162                            else if ( ((LA117_52>=FORCED_END_OF_LINE && LA117_52<=WIKI)||(LA117_52>=POUND && LA117_52<=51)||(LA117_52>=53 && LA117_52<=79)) ) {
12163                                    alt117=2;
12164                            }
12165                            else {
12166                                    if (backtracking>0) {failed=true; return link;}
12167                                    NoViableAltException nvae =
12168                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 52, input);
12169    
12170                                    throw nvae;
12171                            }
12172                            }
12173                            else if ( ((LA117_32>=FORCED_END_OF_LINE && LA117_32<=WIKI)||(LA117_32>=POUND && LA117_32<=48)||(LA117_32>=50 && LA117_32<=79)) ) {
12174                            alt117=2;
12175                            }
12176                            else {
12177                            if (backtracking>0) {failed=true; return link;}
12178                            NoViableAltException nvae =
12179                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 32, input);
12180    
12181                            throw nvae;
12182                            }
12183                    }
12184                    else if ( ((LA117_13>=FORCED_END_OF_LINE && LA117_13<=WIKI)||(LA117_13>=POUND && LA117_13<=51)||(LA117_13>=53 && LA117_13<=79)) ) {
12185                            alt117=2;
12186                    }
12187                    else {
12188                            if (backtracking>0) {failed=true; return link;}
12189                            NoViableAltException nvae =
12190                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 13, input);
12191    
12192                            throw nvae;
12193                    }
12194                    }
12195                    break;
12196                    case 79:
12197                    {
12198                    int LA117_14 = input.LA(2);
12199    
12200                    if ( (LA117_14==51) ) {
12201                            int LA117_33 = input.LA(3);
12202    
12203                            if ( (LA117_33==52) ) {
12204                            int LA117_53 = input.LA(4);
12205    
12206                            if ( (LA117_53==49) ) {
12207                                    int LA117_73 = input.LA(5);
12208    
12209                                    if ( (LA117_73==52) ) {
12210                                    int LA117_92 = input.LA(6);
12211    
12212                                    if ( (LA117_92==44) ) {
12213                                            int LA117_34 = input.LA(7);
12214    
12215                                            if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
12216                                            alt117=2;
12217                                            }
12218                                            else if ( ((LA117_34>=FORCED_END_OF_LINE && LA117_34<=WIKI)||(LA117_34>=POUND && LA117_34<=EQUAL)||(LA117_34>=ITAL && LA117_34<=NOWIKI_CLOSE)||(LA117_34>=IMAGE_CLOSE && LA117_34<=79)) ) {
12219                                            alt117=1;
12220                                            }
12221                                            else {
12222                                            if (backtracking>0) {failed=true; return link;}
12223                                            NoViableAltException nvae =
12224                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
12225    
12226                                            throw nvae;
12227                                            }
12228                                    }
12229                                    else if ( ((LA117_92>=FORCED_END_OF_LINE && LA117_92<=WIKI)||(LA117_92>=POUND && LA117_92<=INSIGNIFICANT_CHAR)||(LA117_92>=45 && LA117_92<=79)) ) {
12230                                            alt117=2;
12231                                    }
12232                                    else {
12233                                            if (backtracking>0) {failed=true; return link;}
12234                                            NoViableAltException nvae =
12235                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 92, input);
12236    
12237                                            throw nvae;
12238                                    }
12239                                    }
12240                                    else if ( ((LA117_73>=FORCED_END_OF_LINE && LA117_73<=WIKI)||(LA117_73>=POUND && LA117_73<=51)||(LA117_73>=53 && LA117_73<=79)) ) {
12241                                    alt117=2;
12242                                    }
12243                                    else {
12244                                    if (backtracking>0) {failed=true; return link;}
12245                                    NoViableAltException nvae =
12246                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 73, input);
12247    
12248                                    throw nvae;
12249                                    }
12250                            }
12251                            else if ( ((LA117_53>=FORCED_END_OF_LINE && LA117_53<=WIKI)||(LA117_53>=POUND && LA117_53<=48)||(LA117_53>=50 && LA117_53<=79)) ) {
12252                                    alt117=2;
12253                            }
12254                            else {
12255                                    if (backtracking>0) {failed=true; return link;}
12256                                    NoViableAltException nvae =
12257                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 53, input);
12258    
12259                                    throw nvae;
12260                            }
12261                            }
12262                            else if ( ((LA117_33>=FORCED_END_OF_LINE && LA117_33<=WIKI)||(LA117_33>=POUND && LA117_33<=51)||(LA117_33>=53 && LA117_33<=79)) ) {
12263                            alt117=2;
12264                            }
12265                            else {
12266                            if (backtracking>0) {failed=true; return link;}
12267                            NoViableAltException nvae =
12268                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 33, input);
12269    
12270                            throw nvae;
12271                            }
12272                    }
12273                    else if ( ((LA117_14>=FORCED_END_OF_LINE && LA117_14<=WIKI)||(LA117_14>=POUND && LA117_14<=50)||(LA117_14>=52 && LA117_14<=79)) ) {
12274                            alt117=2;
12275                    }
12276                    else {
12277                            if (backtracking>0) {failed=true; return link;}
12278                            NoViableAltException nvae =
12279                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 14, input);
12280    
12281                            throw nvae;
12282                    }
12283                    }
12284                    break;
12285                    case FORCED_END_OF_LINE:
12286                    case HEADING_SECTION:
12287                    case HORIZONTAL_SECTION:
12288                    case LIST_ITEM:
12289                    case LIST_ITEM_PART:
12290                    case NOWIKI_SECTION:
12291                    case SCAPE_NODE:
12292                    case TEXT_NODE:
12293                    case UNORDERED_LIST:
12294                    case UNFORMATTED_TEXT:
12295                    case WIKI:
12296                    case POUND:
12297                    case STAR:
12298                    case EQUAL:
12299                    case ITAL:
12300                    case LINK_OPEN:
12301                    case IMAGE_OPEN:
12302                    case NOWIKI_OPEN:
12303                    case EXTENSION:
12304                    case FORCED_LINEBREAK:
12305                    case ESCAPE:
12306                    case NOWIKI_BLOCK_CLOSE:
12307                    case NOWIKI_CLOSE:
12308                    case IMAGE_CLOSE:
12309                    case BLANKS:
12310                    case TABLE_OF_CONTENTS_TEXT:
12311                    case DASH:
12312                    case CR:
12313                    case LF:
12314                    case SPACE:
12315                    case TABULATOR:
12316                    case BRACE_CLOSE:
12317                    case COLON_SLASH:
12318                    case SLASH:
12319                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
12320                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
12321                    case INSIGNIFICANT_CHAR:
12322                    case 44:
12323                    case 46:
12324                    case 48:
12325                    case 49:
12326                    case 50:
12327                    case 52:
12328                    case 54:
12329                    case 55:
12330                    case 56:
12331                    case 58:
12332                    case 59:
12333                    case 64:
12334                    case 65:
12335                    case 66:
12336                    case 67:
12337                    case 68:
12338                    case 70:
12339                    case 71:
12340                    case 72:
12341                    case 73:
12342                    case 75:
12343                    case 77:
12344                    {
12345                    alt117=2;
12346                    }
12347                    break;
12348                    default:
12349                    if (backtracking>0) {failed=true; return link;}
12350                    NoViableAltException nvae =
12351                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 0, input);
12352    
12353                    throw nvae;
12354                    }
12355    
12356                    switch (alt117) {
12357                    case 1 :
12358                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:579:4: li= link_interwiki_uri ':' p= link_interwiki_pagename
12359                            {
12360                            pushFollow(FOLLOW_link_interwiki_uri_in_link_address3338);
12361                            li=link_interwiki_uri();
12362                            _fsp--;
12363                            if (failed) return link;
12364                            match(input,44,FOLLOW_44_in_link_address3341); if (failed) return link;
12365                            pushFollow(FOLLOW_link_interwiki_pagename_in_link_address3348);
12366                            p=link_interwiki_pagename();
12367                            _fsp--;
12368                            if (failed) return link;
12369                            if ( backtracking==0 ) {
12370                               
12371                                                                    li.setUri(p.toString());
12372                                                                    link = li;
12373                                                            
12374                            }
12375    
12376                            }
12377                            break;
12378                    case 2 :
12379                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:583:4: lu= link_uri
12380                            {
12381                            pushFollow(FOLLOW_link_uri_in_link_address3359);
12382                            lu=link_uri();
12383                            _fsp--;
12384                            if (failed) return link;
12385                            if ( backtracking==0 ) {
12386                              link = new LinkNode(lu.toString()); 
12387                            }
12388    
12389                            }
12390                            break;
12391    
12392                    }
12393            }
12394            catch (RecognitionException re) {
12395                    reportError(re);
12396                    recover(input,re);
12397            }
12398            finally {
12399            }
12400            return link;
12401            }
12402            // $ANTLR end link_address
12403    
12404    
12405            // $ANTLR start link_interwiki_uri
12406            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:585:1: link_interwiki_uri returns [InterwikiLinkNode interwiki = null] : ( 'C' '2' | 'D' 'o' 'k' 'u' 'W' 'i' 'k' 'i' | 'F' 'l' 'i' 'c' 'k' 'r' | 'G' 'o' 'o' 'g' 'l' 'e' | 'J' 'S' 'P' 'W' 'i' 'k' 'i' | 'M' 'e' 'a' 't' 'b' 'a' 'l' 'l' | 'M' 'e' 'd' 'i' 'a' 'W' 'i' 'k' 'i' | 'M' 'o' 'i' 'n' 'M' 'o' 'i' 'n' | 'O' 'd' 'd' 'm' 'u' 's' 'e' | 'O' 'h' 'a' 'n' 'a' | 'P' 'm' 'W' 'i' 'k' 'i' | 'P' 'u' 'k' 'i' 'W' 'i' 'k' 'i' | 'P' 'u' 'r' 'p' 'l' 'e' 'W' 'i' 'k' 'i' | 'R' 'a' 'd' 'e' 'o' 'x' | 'S' 'n' 'i' 'p' 'S' 'n' 'a' 'p' | 'T' 'i' 'd' 'd' 'l' 'y' 'W' 'i' 'k' 'i' | 'T' 'W' 'i' 'k' 'i' | 'U' 's' 'e' 'm' 'o' 'd' | 'W' 'i' 'k' 'i' 'p' 'e' 'd' 'i' 'a' | 'X' 'W' 'i' 'k' 'i' );
12407            public final InterwikiLinkNode link_interwiki_uri() throws RecognitionException {
12408            InterwikiLinkNode interwiki =  null;
12409    
12410            try {
12411                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:586:2: ( 'C' '2' | 'D' 'o' 'k' 'u' 'W' 'i' 'k' 'i' | 'F' 'l' 'i' 'c' 'k' 'r' | 'G' 'o' 'o' 'g' 'l' 'e' | 'J' 'S' 'P' 'W' 'i' 'k' 'i' | 'M' 'e' 'a' 't' 'b' 'a' 'l' 'l' | 'M' 'e' 'd' 'i' 'a' 'W' 'i' 'k' 'i' | 'M' 'o' 'i' 'n' 'M' 'o' 'i' 'n' | 'O' 'd' 'd' 'm' 'u' 's' 'e' | 'O' 'h' 'a' 'n' 'a' | 'P' 'm' 'W' 'i' 'k' 'i' | 'P' 'u' 'k' 'i' 'W' 'i' 'k' 'i' | 'P' 'u' 'r' 'p' 'l' 'e' 'W' 'i' 'k' 'i' | 'R' 'a' 'd' 'e' 'o' 'x' | 'S' 'n' 'i' 'p' 'S' 'n' 'a' 'p' | 'T' 'i' 'd' 'd' 'l' 'y' 'W' 'i' 'k' 'i' | 'T' 'W' 'i' 'k' 'i' | 'U' 's' 'e' 'm' 'o' 'd' | 'W' 'i' 'k' 'i' 'p' 'e' 'd' 'i' 'a' | 'X' 'W' 'i' 'k' 'i' )
12412                    int alt118=20;
12413                    switch ( input.LA(1) ) {
12414                    case 45:
12415                    {
12416                    alt118=1;
12417                    }
12418                    break;
12419                    case 47:
12420                    {
12421                    alt118=2;
12422                    }
12423                    break;
12424                    case 53:
12425                    {
12426                    alt118=3;
12427                    }
12428                    break;
12429                    case 57:
12430                    {
12431                    alt118=4;
12432                    }
12433                    break;
12434                    case 60:
12435                    {
12436                    alt118=5;
12437                    }
12438                    break;
12439                    case 63:
12440                    {
12441                    int LA118_6 = input.LA(2);
12442    
12443                    if ( (LA118_6==59) ) {
12444                            int LA118_15 = input.LA(3);
12445    
12446                            if ( (LA118_15==67) ) {
12447                            alt118=7;
12448                            }
12449                            else if ( (LA118_15==64) ) {
12450                            alt118=6;
12451                            }
12452                            else {
12453                            if (backtracking>0) {failed=true; return interwiki;}
12454                            NoViableAltException nvae =
12455                                    new NoViableAltException("585:1: link_interwiki_uri returns [InterwikiLinkNode interwiki = null] : ( 'C' '2' | 'D' 'o' 'k' 'u' 'W' 'i' 'k' 'i' | 'F' 'l' 'i' 'c' 'k' 'r' | 'G' 'o' 'o' 'g' 'l' 'e' | 'J' 'S' 'P' 'W' 'i' 'k' 'i' | 'M' 'e' 'a' 't' 'b' 'a' 'l' 'l' | 'M' 'e' 'd' 'i' 'a' 'W' 'i' 'k' 'i' | 'M' 'o' 'i' 'n' 'M' 'o' 'i' 'n' | 'O' 'd' 'd' 'm' 'u' 's' 'e' | 'O' 'h' 'a' 'n' 'a' | 'P' 'm' 'W' 'i' 'k' 'i' | 'P' 'u' 'k' 'i' 'W' 'i' 'k' 'i' | 'P' 'u' 'r' 'p' 'l' 'e' 'W' 'i' 'k' 'i' | 'R' 'a' 'd' 'e' 'o' 'x' | 'S' 'n' 'i' 'p' 'S' 'n' 'a' 'p' | 'T' 'i' 'd' 'd' 'l' 'y' 'W' 'i' 'k' 'i' | 'T' 'W' 'i' 'k' 'i' | 'U' 's' 'e' 'm' 'o' 'd' | 'W' 'i' 'k' 'i' 'p' 'e' 'd' 'i' 'a' | 'X' 'W' 'i' 'k' 'i' );", 118, 15, input);
12456    
12457                            throw nvae;
12458                            }
12459                    }
12460                    else if ( (LA118_6==48) ) {
12461                            alt118=8;
12462                    }
12463                    else {
12464                            if (backtracking>0) {failed=true; return interwiki;}
12465                            NoViableAltException nvae =
12466                            new NoViableAltException("585:1: link_interwiki_uri returns [InterwikiLinkNode interwiki = null] : ( 'C' '2' | 'D' 'o' 'k' 'u' 'W' 'i' 'k' 'i' | 'F' 'l' 'i' 'c' 'k' 'r' | 'G' 'o' 'o' 'g' 'l' 'e' | 'J' 'S' 'P' 'W' 'i' 'k' 'i' | 'M' 'e' 'a' 't' 'b' 'a' 'l' 'l' | 'M' 'e' 'd' 'i' 'a' 'W' 'i' 'k' 'i' | 'M' 'o' 'i' 'n' 'M' 'o' 'i' 'n' | 'O' 'd' 'd' 'm' 'u' 's' 'e' | 'O' 'h' 'a' 'n' 'a' | 'P' 'm' 'W' 'i' 'k' 'i' | 'P' 'u' 'k' 'i' 'W' 'i' 'k' 'i' | 'P' 'u' 'r' 'p' 'l' 'e' 'W' 'i' 'k' 'i' | 'R' 'a' 'd' 'e' 'o' 'x' | 'S' 'n' 'i' 'p' 'S' 'n' 'a' 'p' | 'T' 'i' 'd' 'd' 'l' 'y' 'W' 'i' 'k' 'i' | 'T' 'W' 'i' 'k' 'i' | 'U' 's' 'e' 'm' 'o' 'd' | 'W' 'i' 'k' 'i' 'p' 'e' 'd' 'i' 'a' | 'X' 'W' 'i' 'k' 'i' );", 118, 6, input);
12467    
12468                            throw nvae;
12469                    }
12470                    }
12471                    break;
12472                    case 69:
12473                    {
12474                    int LA118_7 = input.LA(2);
12475    
12476                    if ( (LA118_7==67) ) {
12477                            alt118=9;
12478                    }
12479                    else if ( (LA118_7==72) ) {
12480                            alt118=10;
12481                    }
12482                    else {
12483                            if (backtracking>0) {failed=true; return interwiki;}
12484                            NoViableAltException nvae =
12485                            new NoViableAltException("585:1: link_interwiki_uri returns [InterwikiLinkNode interwiki = null] : ( 'C' '2' | 'D' 'o' 'k' 'u' 'W' 'i' 'k' 'i' | 'F' 'l' 'i' 'c' 'k' 'r' | 'G' 'o' 'o' 'g' 'l' 'e' | 'J' 'S' 'P' 'W' 'i' 'k' 'i' | 'M' 'e' 'a' 't' 'b' 'a' 'l' 'l' | 'M' 'e' 'd' 'i' 'a' 'W' 'i' 'k' 'i' | 'M' 'o' 'i' 'n' 'M' 'o' 'i' 'n' | 'O' 'd' 'd' 'm' 'u' 's' 'e' | 'O' 'h' 'a' 'n' 'a' | 'P' 'm' 'W' 'i' 'k' 'i' | 'P' 'u' 'k' 'i' 'W' 'i' 'k' 'i' | 'P' 'u' 'r' 'p' 'l' 'e' 'W' 'i' 'k' 'i' | 'R' 'a' 'd' 'e' 'o' 'x' | 'S' 'n' 'i' 'p' 'S' 'n' 'a' 'p' | 'T' 'i' 'd' 'd' 'l' 'y' 'W' 'i' 'k' 'i' | 'T' 'W' 'i' 'k' 'i' | 'U' 's' 'e' 'm' 'o' 'd' | 'W' 'i' 'k' 'i' 'p' 'e' 'd' 'i' 'a' | 'X' 'W' 'i' 'k' 'i' );", 118, 7, input);
12486    
12487                            throw nvae;
12488                    }
12489                    }
12490                    break;
12491                    case 62:
12492                    {
12493                    int LA118_8 = input.LA(2);
12494    
12495                    if ( (LA118_8==50) ) {
12496                            int LA118_19 = input.LA(3);
12497    
12498                            if ( (LA118_19==56) ) {
12499                            alt118=13;
12500                            }
12501                            else if ( (LA118_19==49) ) {
12502                            alt118=12;
12503                            }
12504                            else {
12505                            if (backtracking>0) {failed=true; return interwiki;}
12506                            NoViableAltException nvae =
12507                                    new NoViableAltException("585:1: link_interwiki_uri returns [InterwikiLinkNode interwiki = null] : ( 'C' '2' | 'D' 'o' 'k' 'u' 'W' 'i' 'k' 'i' | 'F' 'l' 'i' 'c' 'k' 'r' | 'G' 'o' 'o' 'g' 'l' 'e' | 'J' 'S' 'P' 'W' 'i' 'k' 'i' | 'M' 'e' 'a' 't' 'b' 'a' 'l' 'l' | 'M' 'e' 'd' 'i' 'a' 'W' 'i' 'k' 'i' | 'M' 'o' 'i' 'n' 'M' 'o' 'i' 'n' | 'O' 'd' 'd' 'm' 'u' 's' 'e' | 'O' 'h' 'a' 'n' 'a' | 'P' 'm' 'W' 'i' 'k' 'i' | 'P' 'u' 'k' 'i' 'W' 'i' 'k' 'i' | 'P' 'u' 'r' 'p' 'l' 'e' 'W' 'i' 'k' 'i' | 'R' 'a' 'd' 'e' 'o' 'x' | 'S' 'n' 'i' 'p' 'S' 'n' 'a' 'p' | 'T' 'i' 'd' 'd' 'l' 'y' 'W' 'i' 'k' 'i' | 'T' 'W' 'i' 'k' 'i' | 'U' 's' 'e' 'm' 'o' 'd' | 'W' 'i' 'k' 'i' 'p' 'e' 'd' 'i' 'a' | 'X' 'W' 'i' 'k' 'i' );", 118, 19, input);
12508    
12509                            throw nvae;
12510                            }
12511                    }
12512                    else if ( (LA118_8==70) ) {
12513                            alt118=11;
12514                    }
12515                    else {
12516                            if (backtracking>0) {failed=true; return interwiki;}
12517                            NoViableAltException nvae =
12518                            new NoViableAltException("585:1: link_interwiki_uri returns [InterwikiLinkNode interwiki = null] : ( 'C' '2' | 'D' 'o' 'k' 'u' 'W' 'i' 'k' 'i' | 'F' 'l' 'i' 'c' 'k' 'r' | 'G' 'o' 'o' 'g' 'l' 'e' | 'J' 'S' 'P' 'W' 'i' 'k' 'i' | 'M' 'e' 'a' 't' 'b' 'a' 'l' 'l' | 'M' 'e' 'd' 'i' 'a' 'W' 'i' 'k' 'i' | 'M' 'o' 'i' 'n' 'M' 'o' 'i' 'n' | 'O' 'd' 'd' 'm' 'u' 's' 'e' | 'O' 'h' 'a' 'n' 'a' | 'P' 'm' 'W' 'i' 'k' 'i' | 'P' 'u' 'k' 'i' 'W' 'i' 'k' 'i' | 'P' 'u' 'r' 'p' 'l' 'e' 'W' 'i' 'k' 'i' | 'R' 'a' 'd' 'e' 'o' 'x' | 'S' 'n' 'i' 'p' 'S' 'n' 'a' 'p' | 'T' 'i' 'd' 'd' 'l' 'y' 'W' 'i' 'k' 'i' | 'T' 'W' 'i' 'k' 'i' | 'U' 's' 'e' 'm' 'o' 'd' | 'W' 'i' 'k' 'i' 'p' 'e' 'd' 'i' 'a' | 'X' 'W' 'i' 'k' 'i' );", 118, 8, input);
12519    
12520                            throw nvae;
12521                    }
12522                    }
12523                    break;
12524                    case 74:
12525                    {
12526                    alt118=14;
12527                    }
12528                    break;
12529                    case 61:
12530                    {
12531                    alt118=15;
12532                    }
12533                    break;
12534                    case 76:
12535                    {
12536                    int LA118_11 = input.LA(2);
12537    
12538                    if ( (LA118_11==51) ) {
12539                            alt118=17;
12540                    }
12541                    else if ( (LA118_11==52) ) {
12542                            alt118=16;
12543                    }
12544                    else {
12545                            if (backtracking>0) {failed=true; return interwiki;}
12546                            NoViableAltException nvae =
12547                            new NoViableAltException("585:1: link_interwiki_uri returns [InterwikiLinkNode interwiki = null] : ( 'C' '2' | 'D' 'o' 'k' 'u' 'W' 'i' 'k' 'i' | 'F' 'l' 'i' 'c' 'k' 'r' | 'G' 'o' 'o' 'g' 'l' 'e' | 'J' 'S' 'P' 'W' 'i' 'k' 'i' | 'M' 'e' 'a' 't' 'b' 'a' 'l' 'l' | 'M' 'e' 'd' 'i' 'a' 'W' 'i' 'k' 'i' | 'M' 'o' 'i' 'n' 'M' 'o' 'i' 'n' | 'O' 'd' 'd' 'm' 'u' 's' 'e' | 'O' 'h' 'a' 'n' 'a' | 'P' 'm' 'W' 'i' 'k' 'i' | 'P' 'u' 'k' 'i' 'W' 'i' 'k' 'i' | 'P' 'u' 'r' 'p' 'l' 'e' 'W' 'i' 'k' 'i' | 'R' 'a' 'd' 'e' 'o' 'x' | 'S' 'n' 'i' 'p' 'S' 'n' 'a' 'p' | 'T' 'i' 'd' 'd' 'l' 'y' 'W' 'i' 'k' 'i' | 'T' 'W' 'i' 'k' 'i' | 'U' 's' 'e' 'm' 'o' 'd' | 'W' 'i' 'k' 'i' 'p' 'e' 'd' 'i' 'a' | 'X' 'W' 'i' 'k' 'i' );", 118, 11, input);
12548    
12549                            throw nvae;
12550                    }
12551                    }
12552                    break;
12553                    case 78:
12554                    {
12555                    alt118=18;
12556                    }
12557                    break;
12558                    case 51:
12559                    {
12560                    alt118=19;
12561                    }
12562                    break;
12563                    case 79:
12564                    {
12565                    alt118=20;
12566                    }
12567                    break;
12568                    default:
12569                    if (backtracking>0) {failed=true; return interwiki;}
12570                    NoViableAltException nvae =
12571                            new NoViableAltException("585:1: link_interwiki_uri returns [InterwikiLinkNode interwiki = null] : ( 'C' '2' | 'D' 'o' 'k' 'u' 'W' 'i' 'k' 'i' | 'F' 'l' 'i' 'c' 'k' 'r' | 'G' 'o' 'o' 'g' 'l' 'e' | 'J' 'S' 'P' 'W' 'i' 'k' 'i' | 'M' 'e' 'a' 't' 'b' 'a' 'l' 'l' | 'M' 'e' 'd' 'i' 'a' 'W' 'i' 'k' 'i' | 'M' 'o' 'i' 'n' 'M' 'o' 'i' 'n' | 'O' 'd' 'd' 'm' 'u' 's' 'e' | 'O' 'h' 'a' 'n' 'a' | 'P' 'm' 'W' 'i' 'k' 'i' | 'P' 'u' 'k' 'i' 'W' 'i' 'k' 'i' | 'P' 'u' 'r' 'p' 'l' 'e' 'W' 'i' 'k' 'i' | 'R' 'a' 'd' 'e' 'o' 'x' | 'S' 'n' 'i' 'p' 'S' 'n' 'a' 'p' | 'T' 'i' 'd' 'd' 'l' 'y' 'W' 'i' 'k' 'i' | 'T' 'W' 'i' 'k' 'i' | 'U' 's' 'e' 'm' 'o' 'd' | 'W' 'i' 'k' 'i' 'p' 'e' 'd' 'i' 'a' | 'X' 'W' 'i' 'k' 'i' );", 118, 0, input);
12572    
12573                    throw nvae;
12574                    }
12575    
12576                    switch (alt118) {
12577                    case 1 :
12578                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:586:4: 'C' '2'
12579                            {
12580                            match(input,45,FOLLOW_45_in_link_interwiki_uri3375); if (failed) return interwiki;
12581                            match(input,46,FOLLOW_46_in_link_interwiki_uri3377); if (failed) return interwiki;
12582    
12583                            }
12584                            break;
12585                    case 2 :
12586                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:587:4: 'D' 'o' 'k' 'u' 'W' 'i' 'k' 'i'
12587                            {
12588                            match(input,47,FOLLOW_47_in_link_interwiki_uri3382); if (failed) return interwiki;
12589                            match(input,48,FOLLOW_48_in_link_interwiki_uri3384); if (failed) return interwiki;
12590                            match(input,49,FOLLOW_49_in_link_interwiki_uri3386); if (failed) return interwiki;
12591                            match(input,50,FOLLOW_50_in_link_interwiki_uri3388); if (failed) return interwiki;
12592                            match(input,51,FOLLOW_51_in_link_interwiki_uri3390); if (failed) return interwiki;
12593                            match(input,52,FOLLOW_52_in_link_interwiki_uri3392); if (failed) return interwiki;
12594                            match(input,49,FOLLOW_49_in_link_interwiki_uri3394); if (failed) return interwiki;
12595                            match(input,52,FOLLOW_52_in_link_interwiki_uri3396); if (failed) return interwiki;
12596    
12597                            }
12598                            break;
12599                    case 3 :
12600                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:588:4: 'F' 'l' 'i' 'c' 'k' 'r'
12601                            {
12602                            match(input,53,FOLLOW_53_in_link_interwiki_uri3401); if (failed) return interwiki;
12603                            match(input,54,FOLLOW_54_in_link_interwiki_uri3403); if (failed) return interwiki;
12604                            match(input,52,FOLLOW_52_in_link_interwiki_uri3405); if (failed) return interwiki;
12605                            match(input,55,FOLLOW_55_in_link_interwiki_uri3407); if (failed) return interwiki;
12606                            match(input,49,FOLLOW_49_in_link_interwiki_uri3409); if (failed) return interwiki;
12607                            match(input,56,FOLLOW_56_in_link_interwiki_uri3411); if (failed) return interwiki;
12608    
12609                            }
12610                            break;
12611                    case 4 :
12612                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:589:4: 'G' 'o' 'o' 'g' 'l' 'e'
12613                            {
12614                            match(input,57,FOLLOW_57_in_link_interwiki_uri3416); if (failed) return interwiki;
12615                            match(input,48,FOLLOW_48_in_link_interwiki_uri3418); if (failed) return interwiki;
12616                            match(input,48,FOLLOW_48_in_link_interwiki_uri3420); if (failed) return interwiki;
12617                            match(input,58,FOLLOW_58_in_link_interwiki_uri3422); if (failed) return interwiki;
12618                            match(input,54,FOLLOW_54_in_link_interwiki_uri3424); if (failed) return interwiki;
12619                            match(input,59,FOLLOW_59_in_link_interwiki_uri3426); if (failed) return interwiki;
12620    
12621                            }
12622                            break;
12623                    case 5 :
12624                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:590:4: 'J' 'S' 'P' 'W' 'i' 'k' 'i'
12625                            {
12626                            match(input,60,FOLLOW_60_in_link_interwiki_uri3431); if (failed) return interwiki;
12627                            match(input,61,FOLLOW_61_in_link_interwiki_uri3433); if (failed) return interwiki;
12628                            match(input,62,FOLLOW_62_in_link_interwiki_uri3435); if (failed) return interwiki;
12629                            match(input,51,FOLLOW_51_in_link_interwiki_uri3437); if (failed) return interwiki;
12630                            match(input,52,FOLLOW_52_in_link_interwiki_uri3439); if (failed) return interwiki;
12631                            match(input,49,FOLLOW_49_in_link_interwiki_uri3441); if (failed) return interwiki;
12632                            match(input,52,FOLLOW_52_in_link_interwiki_uri3443); if (failed) return interwiki;
12633    
12634                            }
12635                            break;
12636                    case 6 :
12637                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:591:4: 'M' 'e' 'a' 't' 'b' 'a' 'l' 'l'
12638                            {
12639                            match(input,63,FOLLOW_63_in_link_interwiki_uri3448); if (failed) return interwiki;
12640                            match(input,59,FOLLOW_59_in_link_interwiki_uri3450); if (failed) return interwiki;
12641                            match(input,64,FOLLOW_64_in_link_interwiki_uri3452); if (failed) return interwiki;
12642                            match(input,65,FOLLOW_65_in_link_interwiki_uri3454); if (failed) return interwiki;
12643                            match(input,66,FOLLOW_66_in_link_interwiki_uri3456); if (failed) return interwiki;
12644                            match(input,64,FOLLOW_64_in_link_interwiki_uri3458); if (failed) return interwiki;
12645                            match(input,54,FOLLOW_54_in_link_interwiki_uri3460); if (failed) return interwiki;
12646                            match(input,54,FOLLOW_54_in_link_interwiki_uri3462); if (failed) return interwiki;
12647    
12648                            }
12649                            break;
12650                    case 7 :
12651                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:592:4: 'M' 'e' 'd' 'i' 'a' 'W' 'i' 'k' 'i'
12652                            {
12653                            match(input,63,FOLLOW_63_in_link_interwiki_uri3467); if (failed) return interwiki;
12654                            match(input,59,FOLLOW_59_in_link_interwiki_uri3469); if (failed) return interwiki;
12655                            match(input,67,FOLLOW_67_in_link_interwiki_uri3471); if (failed) return interwiki;
12656                            match(input,52,FOLLOW_52_in_link_interwiki_uri3473); if (failed) return interwiki;
12657                            match(input,64,FOLLOW_64_in_link_interwiki_uri3475); if (failed) return interwiki;
12658                            match(input,51,FOLLOW_51_in_link_interwiki_uri3477); if (failed) return interwiki;
12659                            match(input,52,FOLLOW_52_in_link_interwiki_uri3479); if (failed) return interwiki;
12660                            match(input,49,FOLLOW_49_in_link_interwiki_uri3481); if (failed) return interwiki;
12661                            match(input,52,FOLLOW_52_in_link_interwiki_uri3483); if (failed) return interwiki;
12662    
12663                            }
12664                            break;
12665                    case 8 :
12666                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:593:4: 'M' 'o' 'i' 'n' 'M' 'o' 'i' 'n'
12667                            {
12668                            match(input,63,FOLLOW_63_in_link_interwiki_uri3488); if (failed) return interwiki;
12669                            match(input,48,FOLLOW_48_in_link_interwiki_uri3490); if (failed) return interwiki;
12670                            match(input,52,FOLLOW_52_in_link_interwiki_uri3492); if (failed) return interwiki;
12671                            match(input,68,FOLLOW_68_in_link_interwiki_uri3494); if (failed) return interwiki;
12672                            match(input,63,FOLLOW_63_in_link_interwiki_uri3496); if (failed) return interwiki;
12673                            match(input,48,FOLLOW_48_in_link_interwiki_uri3498); if (failed) return interwiki;
12674                            match(input,52,FOLLOW_52_in_link_interwiki_uri3500); if (failed) return interwiki;
12675                            match(input,68,FOLLOW_68_in_link_interwiki_uri3502); if (failed) return interwiki;
12676    
12677                            }
12678                            break;
12679                    case 9 :
12680                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:594:4: 'O' 'd' 'd' 'm' 'u' 's' 'e'
12681                            {
12682                            match(input,69,FOLLOW_69_in_link_interwiki_uri3507); if (failed) return interwiki;
12683                            match(input,67,FOLLOW_67_in_link_interwiki_uri3509); if (failed) return interwiki;
12684                            match(input,67,FOLLOW_67_in_link_interwiki_uri3511); if (failed) return interwiki;
12685                            match(input,70,FOLLOW_70_in_link_interwiki_uri3513); if (failed) return interwiki;
12686                            match(input,50,FOLLOW_50_in_link_interwiki_uri3515); if (failed) return interwiki;
12687                            match(input,71,FOLLOW_71_in_link_interwiki_uri3517); if (failed) return interwiki;
12688                            match(input,59,FOLLOW_59_in_link_interwiki_uri3519); if (failed) return interwiki;
12689    
12690                            }
12691                            break;
12692                    case 10 :
12693                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:595:4: 'O' 'h' 'a' 'n' 'a'
12694                            {
12695                            match(input,69,FOLLOW_69_in_link_interwiki_uri3524); if (failed) return interwiki;
12696                            match(input,72,FOLLOW_72_in_link_interwiki_uri3526); if (failed) return interwiki;
12697                            match(input,64,FOLLOW_64_in_link_interwiki_uri3528); if (failed) return interwiki;
12698                            match(input,68,FOLLOW_68_in_link_interwiki_uri3530); if (failed) return interwiki;
12699                            match(input,64,FOLLOW_64_in_link_interwiki_uri3532); if (failed) return interwiki;
12700    
12701                            }
12702                            break;
12703                    case 11 :
12704                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:596:4: 'P' 'm' 'W' 'i' 'k' 'i'
12705                            {
12706                            match(input,62,FOLLOW_62_in_link_interwiki_uri3537); if (failed) return interwiki;
12707                            match(input,70,FOLLOW_70_in_link_interwiki_uri3539); if (failed) return interwiki;
12708                            match(input,51,FOLLOW_51_in_link_interwiki_uri3541); if (failed) return interwiki;
12709                            match(input,52,FOLLOW_52_in_link_interwiki_uri3543); if (failed) return interwiki;
12710                            match(input,49,FOLLOW_49_in_link_interwiki_uri3545); if (failed) return interwiki;
12711                            match(input,52,FOLLOW_52_in_link_interwiki_uri3547); if (failed) return interwiki;
12712    
12713                            }
12714                            break;
12715                    case 12 :
12716                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:597:4: 'P' 'u' 'k' 'i' 'W' 'i' 'k' 'i'
12717                            {
12718                            match(input,62,FOLLOW_62_in_link_interwiki_uri3552); if (failed) return interwiki;
12719                            match(input,50,FOLLOW_50_in_link_interwiki_uri3554); if (failed) return interwiki;
12720                            match(input,49,FOLLOW_49_in_link_interwiki_uri3556); if (failed) return interwiki;
12721                            match(input,52,FOLLOW_52_in_link_interwiki_uri3558); if (failed) return interwiki;
12722                            match(input,51,FOLLOW_51_in_link_interwiki_uri3560); if (failed) return interwiki;
12723                            match(input,52,FOLLOW_52_in_link_interwiki_uri3562); if (failed) return interwiki;
12724                            match(input,49,FOLLOW_49_in_link_interwiki_uri3564); if (failed) return interwiki;
12725                            match(input,52,FOLLOW_52_in_link_interwiki_uri3566); if (failed) return interwiki;
12726    
12727                            }
12728                            break;
12729                    case 13 :
12730                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:598:4: 'P' 'u' 'r' 'p' 'l' 'e' 'W' 'i' 'k' 'i'
12731                            {
12732                            match(input,62,FOLLOW_62_in_link_interwiki_uri3571); if (failed) return interwiki;
12733                            match(input,50,FOLLOW_50_in_link_interwiki_uri3573); if (failed) return interwiki;
12734                            match(input,56,FOLLOW_56_in_link_interwiki_uri3575); if (failed) return interwiki;
12735                            match(input,73,FOLLOW_73_in_link_interwiki_uri3577); if (failed) return interwiki;
12736                            match(input,54,FOLLOW_54_in_link_interwiki_uri3579); if (failed) return interwiki;
12737                            match(input,59,FOLLOW_59_in_link_interwiki_uri3581); if (failed) return interwiki;
12738                            match(input,51,FOLLOW_51_in_link_interwiki_uri3583); if (failed) return interwiki;
12739                            match(input,52,FOLLOW_52_in_link_interwiki_uri3585); if (failed) return interwiki;
12740                            match(input,49,FOLLOW_49_in_link_interwiki_uri3587); if (failed) return interwiki;
12741                            match(input,52,FOLLOW_52_in_link_interwiki_uri3589); if (failed) return interwiki;
12742    
12743                            }
12744                            break;
12745                    case 14 :
12746                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:599:4: 'R' 'a' 'd' 'e' 'o' 'x'
12747                            {
12748                            match(input,74,FOLLOW_74_in_link_interwiki_uri3594); if (failed) return interwiki;
12749                            match(input,64,FOLLOW_64_in_link_interwiki_uri3596); if (failed) return interwiki;
12750                            match(input,67,FOLLOW_67_in_link_interwiki_uri3598); if (failed) return interwiki;
12751                            match(input,59,FOLLOW_59_in_link_interwiki_uri3600); if (failed) return interwiki;
12752                            match(input,48,FOLLOW_48_in_link_interwiki_uri3602); if (failed) return interwiki;
12753                            match(input,75,FOLLOW_75_in_link_interwiki_uri3604); if (failed) return interwiki;
12754    
12755                            }
12756                            break;
12757                    case 15 :
12758                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:600:4: 'S' 'n' 'i' 'p' 'S' 'n' 'a' 'p'
12759                            {
12760                            match(input,61,FOLLOW_61_in_link_interwiki_uri3609); if (failed) return interwiki;
12761                            match(input,68,FOLLOW_68_in_link_interwiki_uri3611); if (failed) return interwiki;
12762                            match(input,52,FOLLOW_52_in_link_interwiki_uri3613); if (failed) return interwiki;
12763                            match(input,73,FOLLOW_73_in_link_interwiki_uri3615); if (failed) return interwiki;
12764                            match(input,61,FOLLOW_61_in_link_interwiki_uri3617); if (failed) return interwiki;
12765                            match(input,68,FOLLOW_68_in_link_interwiki_uri3619); if (failed) return interwiki;
12766                            match(input,64,FOLLOW_64_in_link_interwiki_uri3621); if (failed) return interwiki;
12767                            match(input,73,FOLLOW_73_in_link_interwiki_uri3623); if (failed) return interwiki;
12768    
12769                            }
12770                            break;
12771                    case 16 :
12772                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:601:4: 'T' 'i' 'd' 'd' 'l' 'y' 'W' 'i' 'k' 'i'
12773                            {
12774                            match(input,76,FOLLOW_76_in_link_interwiki_uri3628); if (failed) return interwiki;
12775                            match(input,52,FOLLOW_52_in_link_interwiki_uri3630); if (failed) return interwiki;
12776                            match(input,67,FOLLOW_67_in_link_interwiki_uri3632); if (failed) return interwiki;
12777                            match(input,67,FOLLOW_67_in_link_interwiki_uri3634); if (failed) return interwiki;
12778                            match(input,54,FOLLOW_54_in_link_interwiki_uri3636); if (failed) return interwiki;
12779                            match(input,77,FOLLOW_77_in_link_interwiki_uri3638); if (failed) return interwiki;
12780                            match(input,51,FOLLOW_51_in_link_interwiki_uri3640); if (failed) return interwiki;
12781                            match(input,52,FOLLOW_52_in_link_interwiki_uri3642); if (failed) return interwiki;
12782                            match(input,49,FOLLOW_49_in_link_interwiki_uri3644); if (failed) return interwiki;
12783                            match(input,52,FOLLOW_52_in_link_interwiki_uri3646); if (failed) return interwiki;
12784    
12785                            }
12786                            break;
12787                    case 17 :
12788                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:602:4: 'T' 'W' 'i' 'k' 'i'
12789                            {
12790                            match(input,76,FOLLOW_76_in_link_interwiki_uri3651); if (failed) return interwiki;
12791                            match(input,51,FOLLOW_51_in_link_interwiki_uri3653); if (failed) return interwiki;
12792                            match(input,52,FOLLOW_52_in_link_interwiki_uri3655); if (failed) return interwiki;
12793                            match(input,49,FOLLOW_49_in_link_interwiki_uri3657); if (failed) return interwiki;
12794                            match(input,52,FOLLOW_52_in_link_interwiki_uri3659); if (failed) return interwiki;
12795    
12796                            }
12797                            break;
12798                    case 18 :
12799                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:603:4: 'U' 's' 'e' 'm' 'o' 'd'
12800                            {
12801                            match(input,78,FOLLOW_78_in_link_interwiki_uri3664); if (failed) return interwiki;
12802                            match(input,71,FOLLOW_71_in_link_interwiki_uri3666); if (failed) return interwiki;
12803                            match(input,59,FOLLOW_59_in_link_interwiki_uri3668); if (failed) return interwiki;
12804                            match(input,70,FOLLOW_70_in_link_interwiki_uri3670); if (failed) return interwiki;
12805                            match(input,48,FOLLOW_48_in_link_interwiki_uri3672); if (failed) return interwiki;
12806                            match(input,67,FOLLOW_67_in_link_interwiki_uri3674); if (failed) return interwiki;
12807    
12808                            }
12809                            break;
12810                    case 19 :
12811                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:604:4: 'W' 'i' 'k' 'i' 'p' 'e' 'd' 'i' 'a'
12812                            {
12813                            match(input,51,FOLLOW_51_in_link_interwiki_uri3679); if (failed) return interwiki;
12814                            match(input,52,FOLLOW_52_in_link_interwiki_uri3681); if (failed) return interwiki;
12815                            match(input,49,FOLLOW_49_in_link_interwiki_uri3683); if (failed) return interwiki;
12816                            match(input,52,FOLLOW_52_in_link_interwiki_uri3685); if (failed) return interwiki;
12817                            match(input,73,FOLLOW_73_in_link_interwiki_uri3687); if (failed) return interwiki;
12818                            match(input,59,FOLLOW_59_in_link_interwiki_uri3689); if (failed) return interwiki;
12819                            match(input,67,FOLLOW_67_in_link_interwiki_uri3691); if (failed) return interwiki;
12820                            match(input,52,FOLLOW_52_in_link_interwiki_uri3693); if (failed) return interwiki;
12821                            match(input,64,FOLLOW_64_in_link_interwiki_uri3695); if (failed) return interwiki;
12822    
12823                            }
12824                            break;
12825                    case 20 :
12826                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:605:4: 'X' 'W' 'i' 'k' 'i'
12827                            {
12828                            match(input,79,FOLLOW_79_in_link_interwiki_uri3700); if (failed) return interwiki;
12829                            match(input,51,FOLLOW_51_in_link_interwiki_uri3702); if (failed) return interwiki;
12830                            match(input,52,FOLLOW_52_in_link_interwiki_uri3704); if (failed) return interwiki;
12831                            match(input,49,FOLLOW_49_in_link_interwiki_uri3706); if (failed) return interwiki;
12832                            match(input,52,FOLLOW_52_in_link_interwiki_uri3708); if (failed) return interwiki;
12833    
12834                            }
12835                            break;
12836    
12837                    }
12838            }
12839            catch (RecognitionException re) {
12840                    reportError(re);
12841                    recover(input,re);
12842            }
12843            finally {
12844            }
12845            return interwiki;
12846            }
12847            // $ANTLR end link_interwiki_uri
12848    
12849    
12850            // $ANTLR start link_interwiki_pagename
12851            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:607:1: link_interwiki_pagename returns [StringBundler text = new StringBundler()] : (c=~ ( PIPE | LINK_CLOSE | NEWLINE | EOF ) )+ ;
12852            public final StringBundler link_interwiki_pagename() throws RecognitionException {
12853            StringBundler text =  new StringBundler();
12854    
12855            Token c=null;
12856    
12857            try {
12858                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:608:2: ( (c=~ ( PIPE | LINK_CLOSE | NEWLINE | EOF ) )+ )
12859                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:608:4: (c=~ ( PIPE | LINK_CLOSE | NEWLINE | EOF ) )+
12860                    {
12861                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:608:4: (c=~ ( PIPE | LINK_CLOSE | NEWLINE | EOF ) )+
12862                    int cnt119=0;
12863                    loop119:
12864                    do {
12865                    int alt119=2;
12866                    int LA119_0 = input.LA(1);
12867    
12868                    if ( ((LA119_0>=FORCED_END_OF_LINE && LA119_0<=WIKI)||(LA119_0>=POUND && LA119_0<=EQUAL)||(LA119_0>=ITAL && LA119_0<=NOWIKI_CLOSE)||(LA119_0>=IMAGE_CLOSE && LA119_0<=79)) ) {
12869                            alt119=1;
12870                    }
12871    
12872    
12873                    switch (alt119) {
12874                    case 1 :
12875                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:608:6: c=~ ( PIPE | LINK_CLOSE | NEWLINE | EOF )
12876                            {
12877                            c=(Token)input.LT(1);
12878                            if ( (input.LA(1)>=FORCED_END_OF_LINE && input.LA(1)<=WIKI)||(input.LA(1)>=POUND && input.LA(1)<=EQUAL)||(input.LA(1)>=ITAL && input.LA(1)<=NOWIKI_CLOSE)||(input.LA(1)>=IMAGE_CLOSE && input.LA(1)<=79) ) {
12879                            input.consume();
12880                            errorRecovery=false;failed=false;
12881                            }
12882                            else {
12883                            if (backtracking>0) {failed=true; return text;}
12884                            MismatchedSetException mse =
12885                                    new MismatchedSetException(null,input);
12886                            recoverFromMismatchedSet(input,mse,FOLLOW_set_in_link_interwiki_pagename3728);    throw mse;
12887                            }
12888    
12889                            if ( backtracking==0 ) {
12890                               text.append(c.getText()); 
12891                            }
12892    
12893                            }
12894                            break;
12895    
12896                    default :
12897                            if ( cnt119 >= 1 ) break loop119;
12898                            if (backtracking>0) {failed=true; return text;}
12899                            EarlyExitException eee =
12900                                    new EarlyExitException(119, input);
12901                            throw eee;
12902                    }
12903                    cnt119++;
12904                    } while (true);
12905    
12906    
12907                    }
12908    
12909            }
12910            catch (RecognitionException re) {
12911                    reportError(re);
12912                    recover(input,re);
12913            }
12914            finally {
12915            }
12916            return text;
12917            }
12918            // $ANTLR end link_interwiki_pagename
12919    
12920    
12921            // $ANTLR start link_description
12922            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:610:1: link_description returns [CollectionNode node = new CollectionNode()] : (l= link_descriptionpart | i= image )+ ;
12923            public final CollectionNode link_description() throws RecognitionException {
12924            CollectionNode node =  new CollectionNode();
12925    
12926            ASTNode l = null;
12927    
12928            ImageNode i = null;
12929    
12930    
12931            try {
12932                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:611:2: ( (l= link_descriptionpart | i= image )+ )
12933                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:611:4: (l= link_descriptionpart | i= image )+
12934                    {
12935                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:611:4: (l= link_descriptionpart | i= image )+
12936                    int cnt120=0;
12937                    loop120:
12938                    do {
12939                    int alt120=3;
12940                    int LA120_0 = input.LA(1);
12941    
12942                    if ( ((LA120_0>=FORCED_END_OF_LINE && LA120_0<=WIKI)||(LA120_0>=POUND && LA120_0<=ITAL)||(LA120_0>=FORCED_LINEBREAK && LA120_0<=NOWIKI_CLOSE)||(LA120_0>=IMAGE_CLOSE && LA120_0<=79)) ) {
12943                            alt120=1;
12944                    }
12945                    else if ( (LA120_0==IMAGE_OPEN) ) {
12946                            alt120=2;
12947                    }
12948    
12949    
12950                    switch (alt120) {
12951                    case 1 :
12952                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:611:6: l= link_descriptionpart
12953                            {
12954                            pushFollow(FOLLOW_link_descriptionpart_in_link_description3771);
12955                            l=link_descriptionpart();
12956                            _fsp--;
12957                            if (failed) return node;
12958                            if ( backtracking==0 ) {
12959    
12960                                                            // Recover code: some bad syntax could include null elements in the collection            
12961                                                            if(l != null) {
12962                                                                    node.add(l);
12963                                                            }
12964                                                    
12965                            }
12966    
12967                            }
12968                            break;
12969                    case 2 :
12970                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:617:5: i= image
12971                            {
12972                            pushFollow(FOLLOW_image_in_link_description3783);
12973                            i=image();
12974                            _fsp--;
12975                            if (failed) return node;
12976                            if ( backtracking==0 ) {
12977                              node.add(i);
12978                            }
12979    
12980                            }
12981                            break;
12982    
12983                    default :
12984                            if ( cnt120 >= 1 ) break loop120;
12985                            if (backtracking>0) {failed=true; return node;}
12986                            EarlyExitException eee =
12987                                    new EarlyExitException(120, input);
12988                            throw eee;
12989                    }
12990                    cnt120++;
12991                    } while (true);
12992    
12993    
12994                    }
12995    
12996            }
12997            catch (RecognitionException re) {
12998                    reportError(re);
12999                    recover(input,re);
13000            }
13001            finally {
13002            }
13003            return node;
13004            }
13005            // $ANTLR end link_description
13006    
13007            protected static class link_descriptionpart_scope {
13008            CollectionNode element;
13009            }
13010            protected Stack link_descriptionpart_stack = new Stack();
13011    
13012    
13013            // $ANTLR start link_descriptionpart
13014            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:619:1: link_descriptionpart returns [ASTNode text = null] : ( bold_markup onestar (lb= link_bold_descriptionpart onestar )+ bold_markup | ital_markup onestar (li= link_ital_descriptionpart onestar )+ ital_markup | onestar (t= link_descriptiontext onestar )+ );
13015            public final ASTNode link_descriptionpart() throws RecognitionException {
13016            link_descriptionpart_stack.push(new link_descriptionpart_scope());
13017            ASTNode text =  null;
13018    
13019            ASTNode lb = null;
13020    
13021            ASTNode li = null;
13022    
13023            CollectionNode t = null;
13024    
13025    
13026    
13027                    ((link_descriptionpart_scope)link_descriptionpart_stack.peek()).element = new CollectionNode();
13028    
13029            try {
13030                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:626:2: ( bold_markup onestar (lb= link_bold_descriptionpart onestar )+ bold_markup | ital_markup onestar (li= link_ital_descriptionpart onestar )+ ital_markup | onestar (t= link_descriptiontext onestar )+ )
13031                    int alt124=3;
13032                    switch ( input.LA(1) ) {
13033                    case STAR:
13034                    {
13035                    int LA124_1 = input.LA(2);
13036    
13037                    if ( (LA124_1==STAR) ) {
13038                            alt124=1;
13039                    }
13040                    else if ( ((LA124_1>=FORCED_END_OF_LINE && LA124_1<=WIKI)||LA124_1==POUND||(LA124_1>=EQUAL && LA124_1<=PIPE)||(LA124_1>=FORCED_LINEBREAK && LA124_1<=NOWIKI_CLOSE)||(LA124_1>=IMAGE_CLOSE && LA124_1<=79)) ) {
13041                            alt124=3;
13042                    }
13043                    else {
13044                            if (backtracking>0) {failed=true; return text;}
13045                            NoViableAltException nvae =
13046                            new NoViableAltException("619:1: link_descriptionpart returns [ASTNode text = null] : ( bold_markup onestar (lb= link_bold_descriptionpart onestar )+ bold_markup | ital_markup onestar (li= link_ital_descriptionpart onestar )+ ital_markup | onestar (t= link_descriptiontext onestar )+ );", 124, 1, input);
13047    
13048                            throw nvae;
13049                    }
13050                    }
13051                    break;
13052                    case ITAL:
13053                    {
13054                    alt124=2;
13055                    }
13056                    break;
13057                    case FORCED_END_OF_LINE:
13058                    case HEADING_SECTION:
13059                    case HORIZONTAL_SECTION:
13060                    case LIST_ITEM:
13061                    case LIST_ITEM_PART:
13062                    case NOWIKI_SECTION:
13063                    case SCAPE_NODE:
13064                    case TEXT_NODE:
13065                    case UNORDERED_LIST:
13066                    case UNFORMATTED_TEXT:
13067                    case WIKI:
13068                    case POUND:
13069                    case EQUAL:
13070                    case PIPE:
13071                    case FORCED_LINEBREAK:
13072                    case ESCAPE:
13073                    case NOWIKI_BLOCK_CLOSE:
13074                    case NOWIKI_CLOSE:
13075                    case IMAGE_CLOSE:
13076                    case BLANKS:
13077                    case TABLE_OF_CONTENTS_TEXT:
13078                    case DASH:
13079                    case CR:
13080                    case LF:
13081                    case SPACE:
13082                    case TABULATOR:
13083                    case BRACE_CLOSE:
13084                    case COLON_SLASH:
13085                    case SLASH:
13086                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
13087                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
13088                    case INSIGNIFICANT_CHAR:
13089                    case 44:
13090                    case 45:
13091                    case 46:
13092                    case 47:
13093                    case 48:
13094                    case 49:
13095                    case 50:
13096                    case 51:
13097                    case 52:
13098                    case 53:
13099                    case 54:
13100                    case 55:
13101                    case 56:
13102                    case 57:
13103                    case 58:
13104                    case 59:
13105                    case 60:
13106                    case 61:
13107                    case 62:
13108                    case 63:
13109                    case 64:
13110                    case 65:
13111                    case 66:
13112                    case 67:
13113                    case 68:
13114                    case 69:
13115                    case 70:
13116                    case 71:
13117                    case 72:
13118                    case 73:
13119                    case 74:
13120                    case 75:
13121                    case 76:
13122                    case 77:
13123                    case 78:
13124                    case 79:
13125                    {
13126                    alt124=3;
13127                    }
13128                    break;
13129                    default:
13130                    if (backtracking>0) {failed=true; return text;}
13131                    NoViableAltException nvae =
13132                            new NoViableAltException("619:1: link_descriptionpart returns [ASTNode text = null] : ( bold_markup onestar (lb= link_bold_descriptionpart onestar )+ bold_markup | ital_markup onestar (li= link_ital_descriptionpart onestar )+ ital_markup | onestar (t= link_descriptiontext onestar )+ );", 124, 0, input);
13133    
13134                    throw nvae;
13135                    }
13136    
13137                    switch (alt124) {
13138                    case 1 :
13139                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:626:4: bold_markup onestar (lb= link_bold_descriptionpart onestar )+ bold_markup
13140                            {
13141                            pushFollow(FOLLOW_bold_markup_in_link_descriptionpart3808);
13142                            bold_markup();
13143                            _fsp--;
13144                            if (failed) return text;
13145                            pushFollow(FOLLOW_onestar_in_link_descriptionpart3811);
13146                            onestar();
13147                            _fsp--;
13148                            if (failed) return text;
13149                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:626:25: (lb= link_bold_descriptionpart onestar )+
13150                            int cnt121=0;
13151                            loop121:
13152                            do {
13153                            int alt121=2;
13154                            int LA121_0 = input.LA(1);
13155    
13156                            if ( ((LA121_0>=FORCED_END_OF_LINE && LA121_0<=WIKI)||LA121_0==POUND||(LA121_0>=EQUAL && LA121_0<=ITAL)||(LA121_0>=FORCED_LINEBREAK && LA121_0<=NOWIKI_CLOSE)||(LA121_0>=IMAGE_CLOSE && LA121_0<=79)) ) {
13157                                    alt121=1;
13158                            }
13159    
13160    
13161                            switch (alt121) {
13162                            case 1 :
13163                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:626:27: lb= link_bold_descriptionpart onestar
13164                                    {
13165                                    pushFollow(FOLLOW_link_bold_descriptionpart_in_link_descriptionpart3819);
13166                                    lb=link_bold_descriptionpart();
13167                                    _fsp--;
13168                                    if (failed) return text;
13169                                    if ( backtracking==0 ) {
13170                                      ((link_descriptionpart_scope)link_descriptionpart_stack.peek()).element.add(lb);
13171                                    }
13172                                    pushFollow(FOLLOW_onestar_in_link_descriptionpart3824);
13173                                    onestar();
13174                                    _fsp--;
13175                                    if (failed) return text;
13176    
13177                                    }
13178                                    break;
13179    
13180                            default :
13181                                    if ( cnt121 >= 1 ) break loop121;
13182                                    if (backtracking>0) {failed=true; return text;}
13183                                    EarlyExitException eee =
13184                                            new EarlyExitException(121, input);
13185                                    throw eee;
13186                            }
13187                            cnt121++;
13188                            } while (true);
13189    
13190                            if ( backtracking==0 ) {
13191                              text = new BoldTextNode(((link_descriptionpart_scope)link_descriptionpart_stack.peek()).element);
13192                            }
13193                            pushFollow(FOLLOW_bold_markup_in_link_descriptionpart3834);
13194                            bold_markup();
13195                            _fsp--;
13196                            if (failed) return text;
13197    
13198                            }
13199                            break;
13200                    case 2 :
13201                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:628:4: ital_markup onestar (li= link_ital_descriptionpart onestar )+ ital_markup
13202                            {
13203                            pushFollow(FOLLOW_ital_markup_in_link_descriptionpart3839);
13204                            ital_markup();
13205                            _fsp--;
13206                            if (failed) return text;
13207                            pushFollow(FOLLOW_onestar_in_link_descriptionpart3842);
13208                            onestar();
13209                            _fsp--;
13210                            if (failed) return text;
13211                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:628:26: (li= link_ital_descriptionpart onestar )+
13212                            int cnt122=0;
13213                            loop122:
13214                            do {
13215                            int alt122=2;
13216                            int LA122_0 = input.LA(1);
13217    
13218                            if ( ((LA122_0>=FORCED_END_OF_LINE && LA122_0<=WIKI)||(LA122_0>=POUND && LA122_0<=PIPE)||(LA122_0>=FORCED_LINEBREAK && LA122_0<=NOWIKI_CLOSE)||(LA122_0>=IMAGE_CLOSE && LA122_0<=79)) ) {
13219                                    alt122=1;
13220                            }
13221    
13222    
13223                            switch (alt122) {
13224                            case 1 :
13225                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:628:28: li= link_ital_descriptionpart onestar
13226                                    {
13227                                    pushFollow(FOLLOW_link_ital_descriptionpart_in_link_descriptionpart3851);
13228                                    li=link_ital_descriptionpart();
13229                                    _fsp--;
13230                                    if (failed) return text;
13231                                    if ( backtracking==0 ) {
13232                                      ((link_descriptionpart_scope)link_descriptionpart_stack.peek()).element.add(li);
13233                                    }
13234                                    pushFollow(FOLLOW_onestar_in_link_descriptionpart3856);
13235                                    onestar();
13236                                    _fsp--;
13237                                    if (failed) return text;
13238    
13239                                    }
13240                                    break;
13241    
13242                            default :
13243                                    if ( cnt122 >= 1 ) break loop122;
13244                                    if (backtracking>0) {failed=true; return text;}
13245                                    EarlyExitException eee =
13246                                            new EarlyExitException(122, input);
13247                                    throw eee;
13248                            }
13249                            cnt122++;
13250                            } while (true);
13251    
13252                            if ( backtracking==0 ) {
13253                              text = new ItalicTextNode(((link_descriptionpart_scope)link_descriptionpart_stack.peek()).element);
13254                            }
13255                            pushFollow(FOLLOW_ital_markup_in_link_descriptionpart3865);
13256                            ital_markup();
13257                            _fsp--;
13258                            if (failed) return text;
13259    
13260                            }
13261                            break;
13262                    case 3 :
13263                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:630:4: onestar (t= link_descriptiontext onestar )+
13264                            {
13265                            pushFollow(FOLLOW_onestar_in_link_descriptionpart3870);
13266                            onestar();
13267                            _fsp--;
13268                            if (failed) return text;
13269                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:630:13: (t= link_descriptiontext onestar )+
13270                            int cnt123=0;
13271                            loop123:
13272                            do {
13273                            int alt123=2;
13274                            switch ( input.LA(1) ) {
13275                            case FORCED_END_OF_LINE:
13276                            case HEADING_SECTION:
13277                            case HORIZONTAL_SECTION:
13278                            case LIST_ITEM:
13279                            case LIST_ITEM_PART:
13280                            case NOWIKI_SECTION:
13281                            case SCAPE_NODE:
13282                            case TEXT_NODE:
13283                            case UNORDERED_LIST:
13284                            case UNFORMATTED_TEXT:
13285                            case WIKI:
13286                            case POUND:
13287                            case EQUAL:
13288                            case PIPE:
13289                            case NOWIKI_BLOCK_CLOSE:
13290                            case NOWIKI_CLOSE:
13291                            case IMAGE_CLOSE:
13292                            case BLANKS:
13293                            case TABLE_OF_CONTENTS_TEXT:
13294                            case DASH:
13295                            case CR:
13296                            case LF:
13297                            case SPACE:
13298                            case TABULATOR:
13299                            case BRACE_CLOSE:
13300                            case COLON_SLASH:
13301                            case SLASH:
13302                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
13303                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
13304                            case INSIGNIFICANT_CHAR:
13305                            case 44:
13306                            case 45:
13307                            case 46:
13308                            case 47:
13309                            case 48:
13310                            case 49:
13311                            case 50:
13312                            case 51:
13313                            case 52:
13314                            case 53:
13315                            case 54:
13316                            case 55:
13317                            case 56:
13318                            case 57:
13319                            case 58:
13320                            case 59:
13321                            case 60:
13322                            case 61:
13323                            case 62:
13324                            case 63:
13325                            case 64:
13326                            case 65:
13327                            case 66:
13328                            case 67:
13329                            case 68:
13330                            case 69:
13331                            case 70:
13332                            case 71:
13333                            case 72:
13334                            case 73:
13335                            case 74:
13336                            case 75:
13337                            case 76:
13338                            case 77:
13339                            case 78:
13340                            case 79:
13341                                    {
13342                                    alt123=1;
13343                                    }
13344                                    break;
13345                            case FORCED_LINEBREAK:
13346                                    {
13347                                    alt123=1;
13348                                    }
13349                                    break;
13350                            case ESCAPE:
13351                                    {
13352                                    alt123=1;
13353                                    }
13354                                    break;
13355    
13356                            }
13357    
13358                            switch (alt123) {
13359                            case 1 :
13360                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:630:15: t= link_descriptiontext onestar
13361                                    {
13362                                    pushFollow(FOLLOW_link_descriptiontext_in_link_descriptionpart3879);
13363                                    t=link_descriptiontext();
13364                                    _fsp--;
13365                                    if (failed) return text;
13366                                    pushFollow(FOLLOW_onestar_in_link_descriptionpart3882);
13367                                    onestar();
13368                                    _fsp--;
13369                                    if (failed) return text;
13370                                    if ( backtracking==0 ) {
13371                                      ((link_descriptionpart_scope)link_descriptionpart_stack.peek()).element.add(t);
13372                                    }
13373    
13374                                    }
13375                                    break;
13376    
13377                            default :
13378                                    if ( cnt123 >= 1 ) break loop123;
13379                                    if (backtracking>0) {failed=true; return text;}
13380                                    EarlyExitException eee =
13381                                            new EarlyExitException(123, input);
13382                                    throw eee;
13383                            }
13384                            cnt123++;
13385                            } while (true);
13386    
13387                            if ( backtracking==0 ) {
13388                              text = new UnformattedTextNode(((link_descriptionpart_scope)link_descriptionpart_stack.peek()).element);
13389                            }
13390    
13391                            }
13392                            break;
13393    
13394                    }
13395            }
13396            catch (RecognitionException re) {
13397                    reportError(re);
13398                    recover(input,re);
13399            }
13400            finally {
13401                    link_descriptionpart_stack.pop();
13402            }
13403            return text;
13404            }
13405            // $ANTLR end link_descriptionpart
13406    
13407    
13408            // $ANTLR start link_bold_descriptionpart
13409            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:632:1: link_bold_descriptionpart returns [ASTNode text = null] : ( ital_markup t= link_boldital_description ital_markup | ld= link_descriptiontext );
13410            public final ASTNode link_bold_descriptionpart() throws RecognitionException {
13411            ASTNode text =  null;
13412    
13413            CollectionNode t = null;
13414    
13415            CollectionNode ld = null;
13416    
13417    
13418            try {
13419                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:633:2: ( ital_markup t= link_boldital_description ital_markup | ld= link_descriptiontext )
13420                    int alt125=2;
13421                    int LA125_0 = input.LA(1);
13422    
13423                    if ( (LA125_0==ITAL) ) {
13424                    alt125=1;
13425                    }
13426                    else if ( ((LA125_0>=FORCED_END_OF_LINE && LA125_0<=WIKI)||LA125_0==POUND||(LA125_0>=EQUAL && LA125_0<=PIPE)||(LA125_0>=FORCED_LINEBREAK && LA125_0<=NOWIKI_CLOSE)||(LA125_0>=IMAGE_CLOSE && LA125_0<=79)) ) {
13427                    alt125=2;
13428                    }
13429                    else {
13430                    if (backtracking>0) {failed=true; return text;}
13431                    NoViableAltException nvae =
13432                            new NoViableAltException("632:1: link_bold_descriptionpart returns [ASTNode text = null] : ( ital_markup t= link_boldital_description ital_markup | ld= link_descriptiontext );", 125, 0, input);
13433    
13434                    throw nvae;
13435                    }
13436                    switch (alt125) {
13437                    case 1 :
13438                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:633:4: ital_markup t= link_boldital_description ital_markup
13439                            {
13440                            pushFollow(FOLLOW_ital_markup_in_link_bold_descriptionpart3902);
13441                            ital_markup();
13442                            _fsp--;
13443                            if (failed) return text;
13444                            pushFollow(FOLLOW_link_boldital_description_in_link_bold_descriptionpart3909);
13445                            t=link_boldital_description();
13446                            _fsp--;
13447                            if (failed) return text;
13448                            if ( backtracking==0 ) {
13449                              text = new ItalicTextNode(t);
13450                            }
13451                            pushFollow(FOLLOW_ital_markup_in_link_bold_descriptionpart3914);
13452                            ital_markup();
13453                            _fsp--;
13454                            if (failed) return text;
13455    
13456                            }
13457                            break;
13458                    case 2 :
13459                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:634:4: ld= link_descriptiontext
13460                            {
13461                            pushFollow(FOLLOW_link_descriptiontext_in_link_bold_descriptionpart3923);
13462                            ld=link_descriptiontext();
13463                            _fsp--;
13464                            if (failed) return text;
13465                            if ( backtracking==0 ) {
13466                              text =ld;
13467                            }
13468    
13469                            }
13470                            break;
13471    
13472                    }
13473            }
13474            catch (RecognitionException re) {
13475                    reportError(re);
13476                    recover(input,re);
13477            }
13478            finally {
13479            }
13480            return text;
13481            }
13482            // $ANTLR end link_bold_descriptionpart
13483    
13484    
13485            // $ANTLR start link_ital_descriptionpart
13486            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:636:1: link_ital_descriptionpart returns [ASTNode text = null] : ( bold_markup td= link_boldital_description bold_markup | t= link_descriptiontext );
13487            public final ASTNode link_ital_descriptionpart() throws RecognitionException {
13488            ASTNode text =  null;
13489    
13490            CollectionNode td = null;
13491    
13492            CollectionNode t = null;
13493    
13494    
13495            try {
13496                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:637:2: ( bold_markup td= link_boldital_description bold_markup | t= link_descriptiontext )
13497                    int alt126=2;
13498                    int LA126_0 = input.LA(1);
13499    
13500                    if ( (LA126_0==STAR) ) {
13501                    alt126=1;
13502                    }
13503                    else if ( ((LA126_0>=FORCED_END_OF_LINE && LA126_0<=WIKI)||LA126_0==POUND||(LA126_0>=EQUAL && LA126_0<=PIPE)||(LA126_0>=FORCED_LINEBREAK && LA126_0<=NOWIKI_CLOSE)||(LA126_0>=IMAGE_CLOSE && LA126_0<=79)) ) {
13504                    alt126=2;
13505                    }
13506                    else {
13507                    if (backtracking>0) {failed=true; return text;}
13508                    NoViableAltException nvae =
13509                            new NoViableAltException("636:1: link_ital_descriptionpart returns [ASTNode text = null] : ( bold_markup td= link_boldital_description bold_markup | t= link_descriptiontext );", 126, 0, input);
13510    
13511                    throw nvae;
13512                    }
13513                    switch (alt126) {
13514                    case 1 :
13515                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:637:4: bold_markup td= link_boldital_description bold_markup
13516                            {
13517                            pushFollow(FOLLOW_bold_markup_in_link_ital_descriptionpart3939);
13518                            bold_markup();
13519                            _fsp--;
13520                            if (failed) return text;
13521                            pushFollow(FOLLOW_link_boldital_description_in_link_ital_descriptionpart3946);
13522                            td=link_boldital_description();
13523                            _fsp--;
13524                            if (failed) return text;
13525                            pushFollow(FOLLOW_bold_markup_in_link_ital_descriptionpart3949);
13526                            bold_markup();
13527                            _fsp--;
13528                            if (failed) return text;
13529                            if ( backtracking==0 ) {
13530                              text = new BoldTextNode(td);
13531                            }
13532    
13533                            }
13534                            break;
13535                    case 2 :
13536                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:638:4: t= link_descriptiontext
13537                            {
13538                            pushFollow(FOLLOW_link_descriptiontext_in_link_ital_descriptionpart3960);
13539                            t=link_descriptiontext();
13540                            _fsp--;
13541                            if (failed) return text;
13542                            if ( backtracking==0 ) {
13543                              text = t; 
13544                            }
13545    
13546                            }
13547                            break;
13548    
13549                    }
13550            }
13551            catch (RecognitionException re) {
13552                    reportError(re);
13553                    recover(input,re);
13554            }
13555            finally {
13556            }
13557            return text;
13558            }
13559            // $ANTLR end link_ital_descriptionpart
13560    
13561    
13562            // $ANTLR start link_boldital_description
13563            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:640:1: link_boldital_description returns [CollectionNode text = new CollectionNode()] : onestar (t= link_descriptiontext onestar )+ ;
13564            public final CollectionNode link_boldital_description() throws RecognitionException {
13565            CollectionNode text =  new CollectionNode();
13566    
13567            CollectionNode t = null;
13568    
13569    
13570            try {
13571                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:641:2: ( onestar (t= link_descriptiontext onestar )+ )
13572                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:641:4: onestar (t= link_descriptiontext onestar )+
13573                    {
13574                    pushFollow(FOLLOW_onestar_in_link_boldital_description3976);
13575                    onestar();
13576                    _fsp--;
13577                    if (failed) return text;
13578                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:641:13: (t= link_descriptiontext onestar )+
13579                    int cnt127=0;
13580                    loop127:
13581                    do {
13582                    int alt127=2;
13583                    int LA127_0 = input.LA(1);
13584    
13585                    if ( ((LA127_0>=FORCED_END_OF_LINE && LA127_0<=WIKI)||LA127_0==POUND||(LA127_0>=EQUAL && LA127_0<=PIPE)||(LA127_0>=FORCED_LINEBREAK && LA127_0<=NOWIKI_CLOSE)||(LA127_0>=IMAGE_CLOSE && LA127_0<=79)) ) {
13586                            alt127=1;
13587                    }
13588    
13589    
13590                    switch (alt127) {
13591                    case 1 :
13592                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:641:15: t= link_descriptiontext onestar
13593                            {
13594                            pushFollow(FOLLOW_link_descriptiontext_in_link_boldital_description3985);
13595                            t=link_descriptiontext();
13596                            _fsp--;
13597                            if (failed) return text;
13598                            pushFollow(FOLLOW_onestar_in_link_boldital_description3988);
13599                            onestar();
13600                            _fsp--;
13601                            if (failed) return text;
13602                            if ( backtracking==0 ) {
13603    
13604                                                            for (ASTNode item:t.getASTNodes()) {
13605                                                                    text.add(item);
13606                                                            }
13607                                                    
13608                            }
13609    
13610                            }
13611                            break;
13612    
13613                    default :
13614                            if ( cnt127 >= 1 ) break loop127;
13615                            if (backtracking>0) {failed=true; return text;}
13616                            EarlyExitException eee =
13617                                    new EarlyExitException(127, input);
13618                            throw eee;
13619                    }
13620                    cnt127++;
13621                    } while (true);
13622    
13623    
13624                    }
13625    
13626            }
13627            catch (RecognitionException re) {
13628                    reportError(re);
13629                    recover(input,re);
13630            }
13631            finally {
13632            }
13633            return text;
13634            }
13635            // $ANTLR end link_boldital_description
13636    
13637    
13638            // $ANTLR start link_descriptiontext
13639            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:647:1: link_descriptiontext returns [CollectionNode text = new CollectionNode()] : (t= link_descriptiontext_simple | ( forced_linebreak | e= escaped )+ );
13640            public final CollectionNode link_descriptiontext() throws RecognitionException {
13641            CollectionNode text =  new CollectionNode();
13642    
13643            StringBundler t = null;
13644    
13645            ScapedNode e = null;
13646    
13647    
13648            try {
13649                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:648:2: (t= link_descriptiontext_simple | ( forced_linebreak | e= escaped )+ )
13650                    int alt129=2;
13651                    int LA129_0 = input.LA(1);
13652    
13653                    if ( ((LA129_0>=FORCED_END_OF_LINE && LA129_0<=WIKI)||LA129_0==POUND||(LA129_0>=EQUAL && LA129_0<=PIPE)||(LA129_0>=NOWIKI_BLOCK_CLOSE && LA129_0<=NOWIKI_CLOSE)||(LA129_0>=IMAGE_CLOSE && LA129_0<=79)) ) {
13654                    alt129=1;
13655                    }
13656                    else if ( ((LA129_0>=FORCED_LINEBREAK && LA129_0<=ESCAPE)) ) {
13657                    alt129=2;
13658                    }
13659                    else {
13660                    if (backtracking>0) {failed=true; return text;}
13661                    NoViableAltException nvae =
13662                            new NoViableAltException("647:1: link_descriptiontext returns [CollectionNode text = new CollectionNode()] : (t= link_descriptiontext_simple | ( forced_linebreak | e= escaped )+ );", 129, 0, input);
13663    
13664                    throw nvae;
13665                    }
13666                    switch (alt129) {
13667                    case 1 :
13668                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:648:5: t= link_descriptiontext_simple
13669                            {
13670                            pushFollow(FOLLOW_link_descriptiontext_simple_in_link_descriptiontext4011);
13671                            t=link_descriptiontext_simple();
13672                            _fsp--;
13673                            if (failed) return text;
13674                            if ( backtracking==0 ) {
13675                               text.add(new UnformattedTextNode(t.toString()));
13676                            }
13677    
13678                            }
13679                            break;
13680                    case 2 :
13681                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:649:5: ( forced_linebreak | e= escaped )+
13682                            {
13683                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:649:5: ( forced_linebreak | e= escaped )+
13684                            int cnt128=0;
13685                            loop128:
13686                            do {
13687                            int alt128=3;
13688                            int LA128_0 = input.LA(1);
13689    
13690                            if ( (LA128_0==FORCED_LINEBREAK) ) {
13691                                    alt128=1;
13692                            }
13693                            else if ( (LA128_0==ESCAPE) ) {
13694                                    alt128=2;
13695                            }
13696    
13697    
13698                            switch (alt128) {
13699                            case 1 :
13700                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:649:7: forced_linebreak
13701                                    {
13702                                    pushFollow(FOLLOW_forced_linebreak_in_link_descriptiontext4021);
13703                                    forced_linebreak();
13704                                    _fsp--;
13705                                    if (failed) return text;
13706                                    if ( backtracking==0 ) {
13707                                      text.add(new ForcedEndOfLineNode());
13708                                    }
13709    
13710                                    }
13711                                    break;
13712                            case 2 :
13713                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:650:5: e= escaped
13714                                    {
13715                                    pushFollow(FOLLOW_escaped_in_link_descriptiontext4033);
13716                                    e=escaped();
13717                                    _fsp--;
13718                                    if (failed) return text;
13719                                    if ( backtracking==0 ) {
13720                                      text.add(e);
13721                                    }
13722    
13723                                    }
13724                                    break;
13725    
13726                            default :
13727                                    if ( cnt128 >= 1 ) break loop128;
13728                                    if (backtracking>0) {failed=true; return text;}
13729                                    EarlyExitException eee =
13730                                            new EarlyExitException(128, input);
13731                                    throw eee;
13732                            }
13733                            cnt128++;
13734                            } while (true);
13735    
13736    
13737                            }
13738                            break;
13739    
13740                    }
13741            }
13742            catch (RecognitionException re) {
13743                    reportError(re);
13744                    recover(input,re);
13745            }
13746            finally {
13747            }
13748            return text;
13749            }
13750            // $ANTLR end link_descriptiontext
13751    
13752    
13753            // $ANTLR start link_descriptiontext_simple
13754            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:652:1: link_descriptiontext_simple returns [StringBundler text = new StringBundler()] : (c=~ ( LINK_CLOSE | ITAL | STAR | LINK_OPEN | IMAGE_OPEN | NOWIKI_OPEN | EXTENSION | FORCED_LINEBREAK | ESCAPE | NEWLINE | EOF ) )+ ;
13755            public final StringBundler link_descriptiontext_simple() throws RecognitionException {
13756            StringBundler text =  new StringBundler();
13757    
13758            Token c=null;
13759    
13760            try {
13761                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:653:2: ( (c=~ ( LINK_CLOSE | ITAL | STAR | LINK_OPEN | IMAGE_OPEN | NOWIKI_OPEN | EXTENSION | FORCED_LINEBREAK | ESCAPE | NEWLINE | EOF ) )+ )
13762                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:653:4: (c=~ ( LINK_CLOSE | ITAL | STAR | LINK_OPEN | IMAGE_OPEN | NOWIKI_OPEN | EXTENSION | FORCED_LINEBREAK | ESCAPE | NEWLINE | EOF ) )+
13763                    {
13764                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:653:4: (c=~ ( LINK_CLOSE | ITAL | STAR | LINK_OPEN | IMAGE_OPEN | NOWIKI_OPEN | EXTENSION | FORCED_LINEBREAK | ESCAPE | NEWLINE | EOF ) )+
13765                    int cnt130=0;
13766                    loop130:
13767                    do {
13768                    int alt130=2;
13769                    int LA130_0 = input.LA(1);
13770    
13771                    if ( ((LA130_0>=FORCED_END_OF_LINE && LA130_0<=WIKI)||LA130_0==POUND||(LA130_0>=EQUAL && LA130_0<=PIPE)||(LA130_0>=NOWIKI_BLOCK_CLOSE && LA130_0<=NOWIKI_CLOSE)||(LA130_0>=IMAGE_CLOSE && LA130_0<=79)) ) {
13772                            alt130=1;
13773                    }
13774    
13775    
13776                    switch (alt130) {
13777                    case 1 :
13778                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:653:6: c=~ ( LINK_CLOSE | ITAL | STAR | LINK_OPEN | IMAGE_OPEN | NOWIKI_OPEN | EXTENSION | FORCED_LINEBREAK | ESCAPE | NEWLINE | EOF )
13779                            {
13780                            c=(Token)input.LT(1);
13781                            if ( (input.LA(1)>=FORCED_END_OF_LINE && input.LA(1)<=WIKI)||input.LA(1)==POUND||(input.LA(1)>=EQUAL && input.LA(1)<=PIPE)||(input.LA(1)>=NOWIKI_BLOCK_CLOSE && input.LA(1)<=NOWIKI_CLOSE)||(input.LA(1)>=IMAGE_CLOSE && input.LA(1)<=79) ) {
13782                            input.consume();
13783                            errorRecovery=false;failed=false;
13784                            }
13785                            else {
13786                            if (backtracking>0) {failed=true; return text;}
13787                            MismatchedSetException mse =
13788                                    new MismatchedSetException(null,input);
13789                            recoverFromMismatchedSet(input,mse,FOLLOW_set_in_link_descriptiontext_simple4058);      throw mse;
13790                            }
13791    
13792                            if ( backtracking==0 ) {
13793                               text.append(c.getText()); 
13794                            }
13795    
13796                            }
13797                            break;
13798    
13799                    default :
13800                            if ( cnt130 >= 1 ) break loop130;
13801                            if (backtracking>0) {failed=true; return text;}
13802                            EarlyExitException eee =
13803                                    new EarlyExitException(130, input);
13804                            throw eee;
13805                    }
13806                    cnt130++;
13807                    } while (true);
13808    
13809    
13810                    }
13811    
13812            }
13813            catch (RecognitionException re) {
13814                    reportError(re);
13815                    recover(input,re);
13816            }
13817            finally {
13818            }
13819            return text;
13820            }
13821            // $ANTLR end link_descriptiontext_simple
13822    
13823    
13824            // $ANTLR start link_uri
13825            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:665:1: link_uri returns [StringBundler text = new StringBundler()] : (c=~ ( PIPE | LINK_CLOSE | NEWLINE | EOF ) )+ ;
13826            public final StringBundler link_uri() throws RecognitionException {
13827            StringBundler text =  new StringBundler();
13828    
13829            Token c=null;
13830    
13831            try {
13832                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:666:2: ( (c=~ ( PIPE | LINK_CLOSE | NEWLINE | EOF ) )+ )
13833                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:666:4: (c=~ ( PIPE | LINK_CLOSE | NEWLINE | EOF ) )+
13834                    {
13835                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:666:4: (c=~ ( PIPE | LINK_CLOSE | NEWLINE | EOF ) )+
13836                    int cnt131=0;
13837                    loop131:
13838                    do {
13839                    int alt131=2;
13840                    int LA131_0 = input.LA(1);
13841    
13842                    if ( ((LA131_0>=FORCED_END_OF_LINE && LA131_0<=WIKI)||(LA131_0>=POUND && LA131_0<=EQUAL)||(LA131_0>=ITAL && LA131_0<=NOWIKI_CLOSE)||(LA131_0>=IMAGE_CLOSE && LA131_0<=79)) ) {
13843                            alt131=1;
13844                    }
13845    
13846    
13847                    switch (alt131) {
13848                    case 1 :
13849                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:666:6: c=~ ( PIPE | LINK_CLOSE | NEWLINE | EOF )
13850                            {
13851                            c=(Token)input.LT(1);
13852                            if ( (input.LA(1)>=FORCED_END_OF_LINE && input.LA(1)<=WIKI)||(input.LA(1)>=POUND && input.LA(1)<=EQUAL)||(input.LA(1)>=ITAL && input.LA(1)<=NOWIKI_CLOSE)||(input.LA(1)>=IMAGE_CLOSE && input.LA(1)<=79) ) {
13853                            input.consume();
13854                            errorRecovery=false;failed=false;
13855                            }
13856                            else {
13857                            if (backtracking>0) {failed=true; return text;}
13858                            MismatchedSetException mse =
13859                                    new MismatchedSetException(null,input);
13860                            recoverFromMismatchedSet(input,mse,FOLLOW_set_in_link_uri4158); throw mse;
13861                            }
13862    
13863                            if ( backtracking==0 ) {
13864                              text.append(c.getText()); 
13865                            }
13866    
13867                            }
13868                            break;
13869    
13870                    default :
13871                            if ( cnt131 >= 1 ) break loop131;
13872                            if (backtracking>0) {failed=true; return text;}
13873                            EarlyExitException eee =
13874                                    new EarlyExitException(131, input);
13875                            throw eee;
13876                    }
13877                    cnt131++;
13878                    } while (true);
13879    
13880    
13881                    }
13882    
13883            }
13884            catch (RecognitionException re) {
13885                    reportError(re);
13886                    recover(input,re);
13887            }
13888            finally {
13889            }
13890            return text;
13891            }
13892            // $ANTLR end link_uri
13893    
13894    
13895            // $ANTLR start image
13896            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:673:1: image returns [ImageNode image = new ImageNode()] : image_open_markup uri= image_uri (alt= image_alternative )? image_close_markup ;
13897            public final ImageNode image() throws RecognitionException {
13898            ImageNode image =  new ImageNode();
13899    
13900            StringBundler uri = null;
13901    
13902            CollectionNode alt = null;
13903    
13904    
13905            try {
13906                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:674:2: ( image_open_markup uri= image_uri (alt= image_alternative )? image_close_markup )
13907                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:674:4: image_open_markup uri= image_uri (alt= image_alternative )? image_close_markup
13908                    {
13909                    pushFollow(FOLLOW_image_open_markup_in_image4199);
13910                    image_open_markup();
13911                    _fsp--;
13912                    if (failed) return image;
13913                    pushFollow(FOLLOW_image_uri_in_image4205);
13914                    uri=image_uri();
13915                    _fsp--;
13916                    if (failed) return image;
13917                    if ( backtracking==0 ) {
13918                      image.setLink(uri.toString());
13919                    }
13920                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:674:79: (alt= image_alternative )?
13921                    int alt132=2;
13922                    int LA132_0 = input.LA(1);
13923    
13924                    if ( (LA132_0==PIPE) ) {
13925                    alt132=1;
13926                    }
13927                    switch (alt132) {
13928                    case 1 :
13929                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:674:81: alt= image_alternative
13930                            {
13931                            pushFollow(FOLLOW_image_alternative_in_image4215);
13932                            alt=image_alternative();
13933                            _fsp--;
13934                            if (failed) return image;
13935                            if ( backtracking==0 ) {
13936                              image.setAltCollectionNode(alt);
13937                            }
13938    
13939                            }
13940                            break;
13941    
13942                    }
13943    
13944                    pushFollow(FOLLOW_image_close_markup_in_image4224);
13945                    image_close_markup();
13946                    _fsp--;
13947                    if (failed) return image;
13948    
13949                    }
13950    
13951            }
13952            catch (RecognitionException re) {
13953                    reportError(re);
13954                    recover(input,re);
13955            }
13956            finally {
13957            }
13958            return image;
13959            }
13960            // $ANTLR end image
13961    
13962    
13963            // $ANTLR start image_uri
13964            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:677:1: image_uri returns [StringBundler link = new StringBundler()] : (c=~ ( PIPE | IMAGE_CLOSE | NEWLINE | EOF ) )+ ;
13965            public final StringBundler image_uri() throws RecognitionException {
13966            StringBundler link =  new StringBundler();
13967    
13968            Token c=null;
13969    
13970            try {
13971                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:678:2: ( (c=~ ( PIPE | IMAGE_CLOSE | NEWLINE | EOF ) )+ )
13972                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:678:4: (c=~ ( PIPE | IMAGE_CLOSE | NEWLINE | EOF ) )+
13973                    {
13974                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:678:4: (c=~ ( PIPE | IMAGE_CLOSE | NEWLINE | EOF ) )+
13975                    int cnt133=0;
13976                    loop133:
13977                    do {
13978                    int alt133=2;
13979                    int LA133_0 = input.LA(1);
13980    
13981                    if ( ((LA133_0>=FORCED_END_OF_LINE && LA133_0<=WIKI)||(LA133_0>=POUND && LA133_0<=EQUAL)||(LA133_0>=ITAL && LA133_0<=LINK_CLOSE)||(LA133_0>=BLANKS && LA133_0<=79)) ) {
13982                            alt133=1;
13983                    }
13984    
13985    
13986                    switch (alt133) {
13987                    case 1 :
13988                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:678:5: c=~ ( PIPE | IMAGE_CLOSE | NEWLINE | EOF )
13989                            {
13990                            c=(Token)input.LT(1);
13991                            if ( (input.LA(1)>=FORCED_END_OF_LINE && input.LA(1)<=WIKI)||(input.LA(1)>=POUND && input.LA(1)<=EQUAL)||(input.LA(1)>=ITAL && input.LA(1)<=LINK_CLOSE)||(input.LA(1)>=BLANKS && input.LA(1)<=79) ) {
13992                            input.consume();
13993                            errorRecovery=false;failed=false;
13994                            }
13995                            else {
13996                            if (backtracking>0) {failed=true; return link;}
13997                            MismatchedSetException mse =
13998                                    new MismatchedSetException(null,input);
13999                            recoverFromMismatchedSet(input,mse,FOLLOW_set_in_image_uri4243);        throw mse;
14000                            }
14001    
14002                            if ( backtracking==0 ) {
14003                              link.append(c.getText()); 
14004                            }
14005    
14006                            }
14007                            break;
14008    
14009                    default :
14010                            if ( cnt133 >= 1 ) break loop133;
14011                            if (backtracking>0) {failed=true; return link;}
14012                            EarlyExitException eee =
14013                                    new EarlyExitException(133, input);
14014                            throw eee;
14015                    }
14016                    cnt133++;
14017                    } while (true);
14018    
14019    
14020                    }
14021    
14022            }
14023            catch (RecognitionException re) {
14024                    reportError(re);
14025                    recover(input,re);
14026            }
14027            finally {
14028            }
14029            return link;
14030            }
14031            // $ANTLR end image_uri
14032    
14033    
14034            // $ANTLR start image_alternative
14035            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:680:1: image_alternative returns [CollectionNode alternative = new CollectionNode()] : image_alternative_markup (p= image_alternativepart )+ ;
14036            public final CollectionNode image_alternative() throws RecognitionException {
14037            CollectionNode alternative =  new CollectionNode();
14038    
14039            ASTNode p = null;
14040    
14041    
14042            try {
14043                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:681:2: ( image_alternative_markup (p= image_alternativepart )+ )
14044                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:681:4: image_alternative_markup (p= image_alternativepart )+
14045                    {
14046                    pushFollow(FOLLOW_image_alternative_markup_in_image_alternative4278);
14047                    image_alternative_markup();
14048                    _fsp--;
14049                    if (failed) return alternative;
14050                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:681:30: (p= image_alternativepart )+
14051                    int cnt134=0;
14052                    loop134:
14053                    do {
14054                    int alt134=2;
14055                    int LA134_0 = input.LA(1);
14056    
14057                    if ( ((LA134_0>=FORCED_END_OF_LINE && LA134_0<=WIKI)||(LA134_0>=POUND && LA134_0<=ITAL)||(LA134_0>=FORCED_LINEBREAK && LA134_0<=LINK_CLOSE)||(LA134_0>=BLANKS && LA134_0<=79)) ) {
14058                            alt134=1;
14059                    }
14060    
14061    
14062                    switch (alt134) {
14063                    case 1 :
14064                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:681:32: p= image_alternativepart
14065                            {
14066                            pushFollow(FOLLOW_image_alternativepart_in_image_alternative4287);
14067                            p=image_alternativepart();
14068                            _fsp--;
14069                            if (failed) return alternative;
14070                            if ( backtracking==0 ) {
14071                              alternative.add(p); 
14072                            }
14073    
14074                            }
14075                            break;
14076    
14077                    default :
14078                            if ( cnt134 >= 1 ) break loop134;
14079                            if (backtracking>0) {failed=true; return alternative;}
14080                            EarlyExitException eee =
14081                                    new EarlyExitException(134, input);
14082                            throw eee;
14083                    }
14084                    cnt134++;
14085                    } while (true);
14086    
14087    
14088                    }
14089    
14090            }
14091            catch (RecognitionException re) {
14092                    reportError(re);
14093                    recover(input,re);
14094            }
14095            finally {
14096            }
14097            return alternative;
14098            }
14099            // $ANTLR end image_alternative
14100    
14101            protected static class image_alternativepart_scope {
14102            CollectionNode elements;
14103            }
14104            protected Stack image_alternativepart_stack = new Stack();
14105    
14106    
14107            // $ANTLR start image_alternativepart
14108            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:683:1: image_alternativepart returns [ASTNode item = null] : ( bold_markup onestar (t1= image_bold_alternativepart onestar )+ bold_markup | ital_markup onestar (t2= image_ital_alternativepart onestar )+ ital_markup | onestar (t3= image_alternativetext onestar )+ );
14109            public final ASTNode image_alternativepart() throws RecognitionException {
14110            image_alternativepart_stack.push(new image_alternativepart_scope());
14111            ASTNode item =  null;
14112    
14113            ASTNode t1 = null;
14114    
14115            ASTNode t2 = null;
14116    
14117            CollectionNode t3 = null;
14118    
14119    
14120    
14121               ((image_alternativepart_scope)image_alternativepart_stack.peek()).elements = new CollectionNode();
14122    
14123            try {
14124                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:690:2: ( bold_markup onestar (t1= image_bold_alternativepart onestar )+ bold_markup | ital_markup onestar (t2= image_ital_alternativepart onestar )+ ital_markup | onestar (t3= image_alternativetext onestar )+ )
14125                    int alt138=3;
14126                    switch ( input.LA(1) ) {
14127                    case STAR:
14128                    {
14129                    int LA138_1 = input.LA(2);
14130    
14131                    if ( (LA138_1==STAR) ) {
14132                            alt138=1;
14133                    }
14134                    else if ( ((LA138_1>=FORCED_END_OF_LINE && LA138_1<=WIKI)||LA138_1==POUND||(LA138_1>=EQUAL && LA138_1<=PIPE)||(LA138_1>=FORCED_LINEBREAK && LA138_1<=LINK_CLOSE)||(LA138_1>=BLANKS && LA138_1<=79)) ) {
14135                            alt138=3;
14136                    }
14137                    else {
14138                            if (backtracking>0) {failed=true; return item;}
14139                            NoViableAltException nvae =
14140                            new NoViableAltException("683:1: image_alternativepart returns [ASTNode item = null] : ( bold_markup onestar (t1= image_bold_alternativepart onestar )+ bold_markup | ital_markup onestar (t2= image_ital_alternativepart onestar )+ ital_markup | onestar (t3= image_alternativetext onestar )+ );", 138, 1, input);
14141    
14142                            throw nvae;
14143                    }
14144                    }
14145                    break;
14146                    case ITAL:
14147                    {
14148                    alt138=2;
14149                    }
14150                    break;
14151                    case FORCED_END_OF_LINE:
14152                    case HEADING_SECTION:
14153                    case HORIZONTAL_SECTION:
14154                    case LIST_ITEM:
14155                    case LIST_ITEM_PART:
14156                    case NOWIKI_SECTION:
14157                    case SCAPE_NODE:
14158                    case TEXT_NODE:
14159                    case UNORDERED_LIST:
14160                    case UNFORMATTED_TEXT:
14161                    case WIKI:
14162                    case POUND:
14163                    case EQUAL:
14164                    case PIPE:
14165                    case FORCED_LINEBREAK:
14166                    case ESCAPE:
14167                    case NOWIKI_BLOCK_CLOSE:
14168                    case NOWIKI_CLOSE:
14169                    case LINK_CLOSE:
14170                    case BLANKS:
14171                    case TABLE_OF_CONTENTS_TEXT:
14172                    case DASH:
14173                    case CR:
14174                    case LF:
14175                    case SPACE:
14176                    case TABULATOR:
14177                    case BRACE_CLOSE:
14178                    case COLON_SLASH:
14179                    case SLASH:
14180                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
14181                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
14182                    case INSIGNIFICANT_CHAR:
14183                    case 44:
14184                    case 45:
14185                    case 46:
14186                    case 47:
14187                    case 48:
14188                    case 49:
14189                    case 50:
14190                    case 51:
14191                    case 52:
14192                    case 53:
14193                    case 54:
14194                    case 55:
14195                    case 56:
14196                    case 57:
14197                    case 58:
14198                    case 59:
14199                    case 60:
14200                    case 61:
14201                    case 62:
14202                    case 63:
14203                    case 64:
14204                    case 65:
14205                    case 66:
14206                    case 67:
14207                    case 68:
14208                    case 69:
14209                    case 70:
14210                    case 71:
14211                    case 72:
14212                    case 73:
14213                    case 74:
14214                    case 75:
14215                    case 76:
14216                    case 77:
14217                    case 78:
14218                    case 79:
14219                    {
14220                    alt138=3;
14221                    }
14222                    break;
14223                    default:
14224                    if (backtracking>0) {failed=true; return item;}
14225                    NoViableAltException nvae =
14226                            new NoViableAltException("683:1: image_alternativepart returns [ASTNode item = null] : ( bold_markup onestar (t1= image_bold_alternativepart onestar )+ bold_markup | ital_markup onestar (t2= image_ital_alternativepart onestar )+ ital_markup | onestar (t3= image_alternativetext onestar )+ );", 138, 0, input);
14227    
14228                    throw nvae;
14229                    }
14230    
14231                    switch (alt138) {
14232                    case 1 :
14233                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:690:4: bold_markup onestar (t1= image_bold_alternativepart onestar )+ bold_markup
14234                            {
14235                            pushFollow(FOLLOW_bold_markup_in_image_alternativepart4313);
14236                            bold_markup();
14237                            _fsp--;
14238                            if (failed) return item;
14239                            pushFollow(FOLLOW_onestar_in_image_alternativepart4316);
14240                            onestar();
14241                            _fsp--;
14242                            if (failed) return item;
14243                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:690:26: (t1= image_bold_alternativepart onestar )+
14244                            int cnt135=0;
14245                            loop135:
14246                            do {
14247                            int alt135=2;
14248                            int LA135_0 = input.LA(1);
14249    
14250                            if ( (LA135_0==STAR) ) {
14251                                    int LA135_1 = input.LA(2);
14252    
14253                                    if ( ((LA135_1>=FORCED_END_OF_LINE && LA135_1<=WIKI)||LA135_1==POUND||(LA135_1>=EQUAL && LA135_1<=PIPE)||(LA135_1>=FORCED_LINEBREAK && LA135_1<=LINK_CLOSE)||(LA135_1>=BLANKS && LA135_1<=79)) ) {
14254                                    alt135=1;
14255                                    }
14256    
14257    
14258                            }
14259                            else if ( ((LA135_0>=FORCED_END_OF_LINE && LA135_0<=WIKI)||LA135_0==POUND||(LA135_0>=EQUAL && LA135_0<=ITAL)||(LA135_0>=FORCED_LINEBREAK && LA135_0<=LINK_CLOSE)||(LA135_0>=BLANKS && LA135_0<=79)) ) {
14260                                    alt135=1;
14261                            }
14262    
14263    
14264                            switch (alt135) {
14265                            case 1 :
14266                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:690:28: t1= image_bold_alternativepart onestar
14267                                    {
14268                                    pushFollow(FOLLOW_image_bold_alternativepart_in_image_alternativepart4325);
14269                                    t1=image_bold_alternativepart();
14270                                    _fsp--;
14271                                    if (failed) return item;
14272                                    if ( backtracking==0 ) {
14273                                      ((image_alternativepart_scope)image_alternativepart_stack.peek()).elements.add(t1);
14274                                    }
14275                                    pushFollow(FOLLOW_onestar_in_image_alternativepart4330);
14276                                    onestar();
14277                                    _fsp--;
14278                                    if (failed) return item;
14279    
14280                                    }
14281                                    break;
14282    
14283                            default :
14284                                    if ( cnt135 >= 1 ) break loop135;
14285                                    if (backtracking>0) {failed=true; return item;}
14286                                    EarlyExitException eee =
14287                                            new EarlyExitException(135, input);
14288                                    throw eee;
14289                            }
14290                            cnt135++;
14291                            } while (true);
14292    
14293                            pushFollow(FOLLOW_bold_markup_in_image_alternativepart4337);
14294                            bold_markup();
14295                            _fsp--;
14296                            if (failed) return item;
14297                            if ( backtracking==0 ) {
14298                              item = new BoldTextNode(((image_alternativepart_scope)image_alternativepart_stack.peek()).elements);
14299                            }
14300    
14301                            }
14302                            break;
14303                    case 2 :
14304                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:692:4: ital_markup onestar (t2= image_ital_alternativepart onestar )+ ital_markup
14305                            {
14306                            pushFollow(FOLLOW_ital_markup_in_image_alternativepart4344);
14307                            ital_markup();
14308                            _fsp--;
14309                            if (failed) return item;
14310                            pushFollow(FOLLOW_onestar_in_image_alternativepart4347);
14311                            onestar();
14312                            _fsp--;
14313                            if (failed) return item;
14314                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:692:26: (t2= image_ital_alternativepart onestar )+
14315                            int cnt136=0;
14316                            loop136:
14317                            do {
14318                            int alt136=2;
14319                            int LA136_0 = input.LA(1);
14320    
14321                            if ( ((LA136_0>=FORCED_END_OF_LINE && LA136_0<=WIKI)||(LA136_0>=POUND && LA136_0<=PIPE)||(LA136_0>=FORCED_LINEBREAK && LA136_0<=LINK_CLOSE)||(LA136_0>=BLANKS && LA136_0<=79)) ) {
14322                                    alt136=1;
14323                            }
14324    
14325    
14326                            switch (alt136) {
14327                            case 1 :
14328                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:692:29: t2= image_ital_alternativepart onestar
14329                                    {
14330                                    pushFollow(FOLLOW_image_ital_alternativepart_in_image_alternativepart4357);
14331                                    t2=image_ital_alternativepart();
14332                                    _fsp--;
14333                                    if (failed) return item;
14334                                    if ( backtracking==0 ) {
14335                                      ((image_alternativepart_scope)image_alternativepart_stack.peek()).elements.add(t2);
14336                                    }
14337                                    pushFollow(FOLLOW_onestar_in_image_alternativepart4362);
14338                                    onestar();
14339                                    _fsp--;
14340                                    if (failed) return item;
14341    
14342                                    }
14343                                    break;
14344    
14345                            default :
14346                                    if ( cnt136 >= 1 ) break loop136;
14347                                    if (backtracking>0) {failed=true; return item;}
14348                                    EarlyExitException eee =
14349                                            new EarlyExitException(136, input);
14350                                    throw eee;
14351                            }
14352                            cnt136++;
14353                            } while (true);
14354    
14355                            pushFollow(FOLLOW_ital_markup_in_image_alternativepart4369);
14356                            ital_markup();
14357                            _fsp--;
14358                            if (failed) return item;
14359                            if ( backtracking==0 ) {
14360                              item = new ItalicTextNode(((image_alternativepart_scope)image_alternativepart_stack.peek()).elements);
14361                            }
14362    
14363                            }
14364                            break;
14365                    case 3 :
14366                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:694:4: onestar (t3= image_alternativetext onestar )+
14367                            {
14368                            pushFollow(FOLLOW_onestar_in_image_alternativepart4376);
14369                            onestar();
14370                            _fsp--;
14371                            if (failed) return item;
14372                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:694:13: (t3= image_alternativetext onestar )+
14373                            int cnt137=0;
14374                            loop137:
14375                            do {
14376                            int alt137=2;
14377                            int LA137_0 = input.LA(1);
14378    
14379                            if ( ((LA137_0>=FORCED_END_OF_LINE && LA137_0<=WIKI)||LA137_0==POUND||(LA137_0>=EQUAL && LA137_0<=PIPE)||(LA137_0>=ESCAPE && LA137_0<=LINK_CLOSE)||(LA137_0>=BLANKS && LA137_0<=79)) ) {
14380                                    alt137=1;
14381                            }
14382                            else if ( (LA137_0==FORCED_LINEBREAK) ) {
14383                                    alt137=1;
14384                            }
14385    
14386    
14387                            switch (alt137) {
14388                            case 1 :
14389                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:694:15: t3= image_alternativetext onestar
14390                                    {
14391                                    pushFollow(FOLLOW_image_alternativetext_in_image_alternativepart4383);
14392                                    t3=image_alternativetext();
14393                                    _fsp--;
14394                                    if (failed) return item;
14395                                    if ( backtracking==0 ) {
14396    
14397                                                                    for (ASTNode n: t3.getASTNodes()) {
14398                                                                       ((image_alternativepart_scope)image_alternativepart_stack.peek()).elements.add(n);
14399                                                                     }
14400                                                                              
14401                                    }
14402                                    pushFollow(FOLLOW_onestar_in_image_alternativepart4388);
14403                                    onestar();
14404                                    _fsp--;
14405                                    if (failed) return item;
14406    
14407                                    }
14408                                    break;
14409    
14410                            default :
14411                                    if ( cnt137 >= 1 ) break loop137;
14412                                    if (backtracking>0) {failed=true; return item;}
14413                                    EarlyExitException eee =
14414                                            new EarlyExitException(137, input);
14415                                    throw eee;
14416                            }
14417                            cnt137++;
14418                            } while (true);
14419    
14420                            if ( backtracking==0 ) {
14421                              item =new UnformattedTextNode(((image_alternativepart_scope)image_alternativepart_stack.peek()).elements);
14422                            }
14423    
14424                            }
14425                            break;
14426    
14427                    }
14428            }
14429            catch (RecognitionException re) {
14430                    reportError(re);
14431                    recover(input,re);
14432            }
14433            finally {
14434                    image_alternativepart_stack.pop();
14435            }
14436            return item;
14437            }
14438            // $ANTLR end image_alternativepart
14439    
14440            protected static class image_bold_alternativepart_scope {
14441            CollectionNode elements;
14442            }
14443            protected Stack image_bold_alternativepart_stack = new Stack();
14444    
14445    
14446            // $ANTLR start image_bold_alternativepart
14447            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:700:1: image_bold_alternativepart returns [ASTNode text = null] : ( ital_markup t= link_boldital_description ital_markup | onestar (i= image_alternativetext onestar )+ );
14448            public final ASTNode image_bold_alternativepart() throws RecognitionException {
14449            image_bold_alternativepart_stack.push(new image_bold_alternativepart_scope());
14450            ASTNode text =  null;
14451    
14452            CollectionNode t = null;
14453    
14454            CollectionNode i = null;
14455    
14456    
14457    
14458               ((image_bold_alternativepart_scope)image_bold_alternativepart_stack.peek()).elements = new CollectionNode();
14459    
14460            try {
14461                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:707:2: ( ital_markup t= link_boldital_description ital_markup | onestar (i= image_alternativetext onestar )+ )
14462                    int alt140=2;
14463                    int LA140_0 = input.LA(1);
14464    
14465                    if ( (LA140_0==ITAL) ) {
14466                    alt140=1;
14467                    }
14468                    else if ( ((LA140_0>=FORCED_END_OF_LINE && LA140_0<=WIKI)||(LA140_0>=POUND && LA140_0<=PIPE)||(LA140_0>=FORCED_LINEBREAK && LA140_0<=LINK_CLOSE)||(LA140_0>=BLANKS && LA140_0<=79)) ) {
14469                    alt140=2;
14470                    }
14471                    else {
14472                    if (backtracking>0) {failed=true; return text;}
14473                    NoViableAltException nvae =
14474                            new NoViableAltException("700:1: image_bold_alternativepart returns [ASTNode text = null] : ( ital_markup t= link_boldital_description ital_markup | onestar (i= image_alternativetext onestar )+ );", 140, 0, input);
14475    
14476                    throw nvae;
14477                    }
14478                    switch (alt140) {
14479                    case 1 :
14480                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:707:4: ital_markup t= link_boldital_description ital_markup
14481                            {
14482                            pushFollow(FOLLOW_ital_markup_in_image_bold_alternativepart4414);
14483                            ital_markup();
14484                            _fsp--;
14485                            if (failed) return text;
14486                            pushFollow(FOLLOW_link_boldital_description_in_image_bold_alternativepart4421);
14487                            t=link_boldital_description();
14488                            _fsp--;
14489                            if (failed) return text;
14490                            if ( backtracking==0 ) {
14491                              text = new ItalicTextNode(t); 
14492                            }
14493                            pushFollow(FOLLOW_ital_markup_in_image_bold_alternativepart4426);
14494                            ital_markup();
14495                            _fsp--;
14496                            if (failed) return text;
14497    
14498                            }
14499                            break;
14500                    case 2 :
14501                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:708:4: onestar (i= image_alternativetext onestar )+
14502                            {
14503                            pushFollow(FOLLOW_onestar_in_image_bold_alternativepart4431);
14504                            onestar();
14505                            _fsp--;
14506                            if (failed) return text;
14507                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:708:13: (i= image_alternativetext onestar )+
14508                            int cnt139=0;
14509                            loop139:
14510                            do {
14511                            int alt139=2;
14512                            int LA139_0 = input.LA(1);
14513    
14514                            if ( ((LA139_0>=FORCED_END_OF_LINE && LA139_0<=WIKI)||LA139_0==POUND||(LA139_0>=EQUAL && LA139_0<=PIPE)||(LA139_0>=ESCAPE && LA139_0<=LINK_CLOSE)||(LA139_0>=BLANKS && LA139_0<=79)) ) {
14515                                    alt139=1;
14516                            }
14517                            else if ( (LA139_0==FORCED_LINEBREAK) ) {
14518                                    alt139=1;
14519                            }
14520    
14521    
14522                            switch (alt139) {
14523                            case 1 :
14524                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:708:15: i= image_alternativetext onestar
14525                                    {
14526                                    pushFollow(FOLLOW_image_alternativetext_in_image_bold_alternativepart4440);
14527                                    i=image_alternativetext();
14528                                    _fsp--;
14529                                    if (failed) return text;
14530                                    pushFollow(FOLLOW_onestar_in_image_bold_alternativepart4443);
14531                                    onestar();
14532                                    _fsp--;
14533                                    if (failed) return text;
14534                                    if ( backtracking==0 ) {
14535                                       
14536                                                                    for (ASTNode item:i.getASTNodes()) {
14537                                                                            ((image_ital_alternativepart_scope)image_ital_alternativepart_stack.peek()).elements.add(item);
14538                                                                    }
14539                                                                    
14540                                    }
14541    
14542                                    }
14543                                    break;
14544    
14545                            default :
14546                                    if ( cnt139 >= 1 ) break loop139;
14547                                    if (backtracking>0) {failed=true; return text;}
14548                                    EarlyExitException eee =
14549                                            new EarlyExitException(139, input);
14550                                    throw eee;
14551                            }
14552                            cnt139++;
14553                            } while (true);
14554    
14555                            if ( backtracking==0 ) {
14556                              text = new UnformattedTextNode(((image_bold_alternativepart_scope)image_bold_alternativepart_stack.peek()).elements);
14557                            }
14558    
14559                            }
14560                            break;
14561    
14562                    }
14563            }
14564            catch (RecognitionException re) {
14565                    reportError(re);
14566                    recover(input,re);
14567            }
14568            finally {
14569                    image_bold_alternativepart_stack.pop();
14570            }
14571            return text;
14572            }
14573            // $ANTLR end image_bold_alternativepart
14574    
14575            protected static class image_ital_alternativepart_scope {
14576            CollectionNode elements;
14577            }
14578            protected Stack image_ital_alternativepart_stack = new Stack();
14579    
14580    
14581            // $ANTLR start image_ital_alternativepart
14582            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:715:1: image_ital_alternativepart returns [ASTNode text = null] : ( bold_markup t= link_boldital_description bold_markup | onestar (i= image_alternativetext onestar )+ );
14583            public final ASTNode image_ital_alternativepart() throws RecognitionException {
14584            image_ital_alternativepart_stack.push(new image_ital_alternativepart_scope());
14585            ASTNode text =  null;
14586    
14587            CollectionNode t = null;
14588    
14589            CollectionNode i = null;
14590    
14591    
14592    
14593               ((image_ital_alternativepart_scope)image_ital_alternativepart_stack.peek()).elements = new CollectionNode();
14594    
14595            try {
14596                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:722:2: ( bold_markup t= link_boldital_description bold_markup | onestar (i= image_alternativetext onestar )+ )
14597                    int alt142=2;
14598                    int LA142_0 = input.LA(1);
14599    
14600                    if ( (LA142_0==STAR) ) {
14601                    int LA142_1 = input.LA(2);
14602    
14603                    if ( (LA142_1==STAR) ) {
14604                            alt142=1;
14605                    }
14606                    else if ( ((LA142_1>=FORCED_END_OF_LINE && LA142_1<=WIKI)||LA142_1==POUND||(LA142_1>=EQUAL && LA142_1<=PIPE)||(LA142_1>=FORCED_LINEBREAK && LA142_1<=LINK_CLOSE)||(LA142_1>=BLANKS && LA142_1<=79)) ) {
14607                            alt142=2;
14608                    }
14609                    else {
14610                            if (backtracking>0) {failed=true; return text;}
14611                            NoViableAltException nvae =
14612                            new NoViableAltException("715:1: image_ital_alternativepart returns [ASTNode text = null] : ( bold_markup t= link_boldital_description bold_markup | onestar (i= image_alternativetext onestar )+ );", 142, 1, input);
14613    
14614                            throw nvae;
14615                    }
14616                    }
14617                    else if ( ((LA142_0>=FORCED_END_OF_LINE && LA142_0<=WIKI)||LA142_0==POUND||(LA142_0>=EQUAL && LA142_0<=PIPE)||(LA142_0>=FORCED_LINEBREAK && LA142_0<=LINK_CLOSE)||(LA142_0>=BLANKS && LA142_0<=79)) ) {
14618                    alt142=2;
14619                    }
14620                    else {
14621                    if (backtracking>0) {failed=true; return text;}
14622                    NoViableAltException nvae =
14623                            new NoViableAltException("715:1: image_ital_alternativepart returns [ASTNode text = null] : ( bold_markup t= link_boldital_description bold_markup | onestar (i= image_alternativetext onestar )+ );", 142, 0, input);
14624    
14625                    throw nvae;
14626                    }
14627                    switch (alt142) {
14628                    case 1 :
14629                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:722:4: bold_markup t= link_boldital_description bold_markup
14630                            {
14631                            pushFollow(FOLLOW_bold_markup_in_image_ital_alternativepart4472);
14632                            bold_markup();
14633                            _fsp--;
14634                            if (failed) return text;
14635                            pushFollow(FOLLOW_link_boldital_description_in_image_ital_alternativepart4479);
14636                            t=link_boldital_description();
14637                            _fsp--;
14638                            if (failed) return text;
14639                            if ( backtracking==0 ) {
14640                              text = new BoldTextNode(t); 
14641                            }
14642                            pushFollow(FOLLOW_bold_markup_in_image_ital_alternativepart4484);
14643                            bold_markup();
14644                            _fsp--;
14645                            if (failed) return text;
14646    
14647                            }
14648                            break;
14649                    case 2 :
14650                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:723:4: onestar (i= image_alternativetext onestar )+
14651                            {
14652                            pushFollow(FOLLOW_onestar_in_image_ital_alternativepart4489);
14653                            onestar();
14654                            _fsp--;
14655                            if (failed) return text;
14656                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:723:13: (i= image_alternativetext onestar )+
14657                            int cnt141=0;
14658                            loop141:
14659                            do {
14660                            int alt141=2;
14661                            int LA141_0 = input.LA(1);
14662    
14663                            if ( ((LA141_0>=FORCED_END_OF_LINE && LA141_0<=WIKI)||LA141_0==POUND||(LA141_0>=EQUAL && LA141_0<=PIPE)||(LA141_0>=ESCAPE && LA141_0<=LINK_CLOSE)||(LA141_0>=BLANKS && LA141_0<=79)) ) {
14664                                    alt141=1;
14665                            }
14666                            else if ( (LA141_0==FORCED_LINEBREAK) ) {
14667                                    alt141=1;
14668                            }
14669    
14670    
14671                            switch (alt141) {
14672                            case 1 :
14673                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:723:14: i= image_alternativetext onestar
14674                                    {
14675                                    pushFollow(FOLLOW_image_alternativetext_in_image_ital_alternativepart4498);
14676                                    i=image_alternativetext();
14677                                    _fsp--;
14678                                    if (failed) return text;
14679                                    pushFollow(FOLLOW_onestar_in_image_ital_alternativepart4501);
14680                                    onestar();
14681                                    _fsp--;
14682                                    if (failed) return text;
14683                                    if ( backtracking==0 ) {
14684                                       
14685                                                                    for (ASTNode item:i.getASTNodes()) {
14686                                                                            ((image_ital_alternativepart_scope)image_ital_alternativepart_stack.peek()).elements.add(item);
14687                                                                    }
14688                                                                    
14689                                    }
14690    
14691                                    }
14692                                    break;
14693    
14694                            default :
14695                                    if ( cnt141 >= 1 ) break loop141;
14696                                    if (backtracking>0) {failed=true; return text;}
14697                                    EarlyExitException eee =
14698                                            new EarlyExitException(141, input);
14699                                    throw eee;
14700                            }
14701                            cnt141++;
14702                            } while (true);
14703    
14704                            if ( backtracking==0 ) {
14705                              text = new UnformattedTextNode(((image_ital_alternativepart_scope)image_ital_alternativepart_stack.peek()).elements);
14706                            }
14707    
14708                            }
14709                            break;
14710    
14711                    }
14712            }
14713            catch (RecognitionException re) {
14714                    reportError(re);
14715                    recover(input,re);
14716            }
14717            finally {
14718                    image_ital_alternativepart_stack.pop();
14719            }
14720            return text;
14721            }
14722            // $ANTLR end image_ital_alternativepart
14723    
14724    
14725            // $ANTLR start image_boldital_alternative
14726            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:729:1: image_boldital_alternative returns [CollectionNode text = new CollectionNode()] : onestar (i= image_alternativetext onestar )+ ;
14727            public final CollectionNode image_boldital_alternative() throws RecognitionException {
14728            CollectionNode text =  new CollectionNode();
14729    
14730            CollectionNode i = null;
14731    
14732    
14733            try {
14734                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:730:2: ( onestar (i= image_alternativetext onestar )+ )
14735                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:730:4: onestar (i= image_alternativetext onestar )+
14736                    {
14737                    pushFollow(FOLLOW_onestar_in_image_boldital_alternative4522);
14738                    onestar();
14739                    _fsp--;
14740                    if (failed) return text;
14741                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:730:13: (i= image_alternativetext onestar )+
14742                    int cnt143=0;
14743                    loop143:
14744                    do {
14745                    int alt143=2;
14746                    int LA143_0 = input.LA(1);
14747    
14748                    if ( ((LA143_0>=FORCED_END_OF_LINE && LA143_0<=WIKI)||LA143_0==POUND||(LA143_0>=EQUAL && LA143_0<=PIPE)||(LA143_0>=FORCED_LINEBREAK && LA143_0<=LINK_CLOSE)||(LA143_0>=BLANKS && LA143_0<=79)) ) {
14749                            alt143=1;
14750                    }
14751    
14752    
14753                    switch (alt143) {
14754                    case 1 :
14755                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:730:15: i= image_alternativetext onestar
14756                            {
14757                            pushFollow(FOLLOW_image_alternativetext_in_image_boldital_alternative4531);
14758                            i=image_alternativetext();
14759                            _fsp--;
14760                            if (failed) return text;
14761                            pushFollow(FOLLOW_onestar_in_image_boldital_alternative4534);
14762                            onestar();
14763                            _fsp--;
14764                            if (failed) return text;
14765                            if ( backtracking==0 ) {
14766    
14767                                                            for (ASTNode item:i.getASTNodes()) {
14768                                                                    text.add(item);
14769                                                            }
14770                                                            
14771                            }
14772    
14773                            }
14774                            break;
14775    
14776                    default :
14777                            if ( cnt143 >= 1 ) break loop143;
14778                            if (backtracking>0) {failed=true; return text;}
14779                            EarlyExitException eee =
14780                                    new EarlyExitException(143, input);
14781                            throw eee;
14782                    }
14783                    cnt143++;
14784                    } while (true);
14785    
14786    
14787                    }
14788    
14789            }
14790            catch (RecognitionException re) {
14791                    reportError(re);
14792                    recover(input,re);
14793            }
14794            finally {
14795            }
14796            return text;
14797            }
14798            // $ANTLR end image_boldital_alternative
14799    
14800    
14801            // $ANTLR start image_alternativetext
14802            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:736:1: image_alternativetext returns [CollectionNode items = new CollectionNode()] : (contents= image_alternative_simple_text | ( forced_linebreak )+ );
14803            public final CollectionNode image_alternativetext() throws RecognitionException {
14804            CollectionNode items =  new CollectionNode();
14805    
14806            StringBundler contents = null;
14807    
14808    
14809            try {
14810                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:737:2: (contents= image_alternative_simple_text | ( forced_linebreak )+ )
14811                    int alt145=2;
14812                    int LA145_0 = input.LA(1);
14813    
14814                    if ( ((LA145_0>=FORCED_END_OF_LINE && LA145_0<=WIKI)||LA145_0==POUND||(LA145_0>=EQUAL && LA145_0<=PIPE)||(LA145_0>=ESCAPE && LA145_0<=LINK_CLOSE)||(LA145_0>=BLANKS && LA145_0<=79)) ) {
14815                    alt145=1;
14816                    }
14817                    else if ( (LA145_0==FORCED_LINEBREAK) ) {
14818                    alt145=2;
14819                    }
14820                    else {
14821                    if (backtracking>0) {failed=true; return items;}
14822                    NoViableAltException nvae =
14823                            new NoViableAltException("736:1: image_alternativetext returns [CollectionNode items = new CollectionNode()] : (contents= image_alternative_simple_text | ( forced_linebreak )+ );", 145, 0, input);
14824    
14825                    throw nvae;
14826                    }
14827                    switch (alt145) {
14828                    case 1 :
14829                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:737:4: contents= image_alternative_simple_text
14830                            {
14831                            pushFollow(FOLLOW_image_alternative_simple_text_in_image_alternativetext4557);
14832                            contents=image_alternative_simple_text();
14833                            _fsp--;
14834                            if (failed) return items;
14835                            if ( backtracking==0 ) {
14836                              items.add(new UnformattedTextNode(contents.toString())); 
14837                            }
14838    
14839                            }
14840                            break;
14841                    case 2 :
14842                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:738:4: ( forced_linebreak )+
14843                            {
14844                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:738:4: ( forced_linebreak )+
14845                            int cnt144=0;
14846                            loop144:
14847                            do {
14848                            int alt144=2;
14849                            int LA144_0 = input.LA(1);
14850    
14851                            if ( (LA144_0==FORCED_LINEBREAK) ) {
14852                                    alt144=1;
14853                            }
14854    
14855    
14856                            switch (alt144) {
14857                            case 1 :
14858                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:738:5: forced_linebreak
14859                                    {
14860                                    pushFollow(FOLLOW_forced_linebreak_in_image_alternativetext4565);
14861                                    forced_linebreak();
14862                                    _fsp--;
14863                                    if (failed) return items;
14864                                    if ( backtracking==0 ) {
14865                                      items.add(new ForcedEndOfLineNode());
14866                                    }
14867    
14868                                    }
14869                                    break;
14870    
14871                            default :
14872                                    if ( cnt144 >= 1 ) break loop144;
14873                                    if (backtracking>0) {failed=true; return items;}
14874                                    EarlyExitException eee =
14875                                            new EarlyExitException(144, input);
14876                                    throw eee;
14877                            }
14878                            cnt144++;
14879                            } while (true);
14880    
14881    
14882                            }
14883                            break;
14884    
14885                    }
14886            }
14887            catch (RecognitionException re) {
14888                    reportError(re);
14889                    recover(input,re);
14890            }
14891            finally {
14892            }
14893            return items;
14894            }
14895            // $ANTLR end image_alternativetext
14896    
14897    
14898            // $ANTLR start image_alternative_simple_text
14899            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:741:1: image_alternative_simple_text returns [StringBundler text = new StringBundler()] : (c=~ ( IMAGE_CLOSE | ITAL | STAR | LINK_OPEN | IMAGE_OPEN | NOWIKI_OPEN | EXTENSION | FORCED_LINEBREAK | NEWLINE | EOF ) )+ ;
14900            public final StringBundler image_alternative_simple_text() throws RecognitionException {
14901            StringBundler text =  new StringBundler();
14902    
14903            Token c=null;
14904    
14905            try {
14906                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:742:2: ( (c=~ ( IMAGE_CLOSE | ITAL | STAR | LINK_OPEN | IMAGE_OPEN | NOWIKI_OPEN | EXTENSION | FORCED_LINEBREAK | NEWLINE | EOF ) )+ )
14907                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:743:2: (c=~ ( IMAGE_CLOSE | ITAL | STAR | LINK_OPEN | IMAGE_OPEN | NOWIKI_OPEN | EXTENSION | FORCED_LINEBREAK | NEWLINE | EOF ) )+
14908                    {
14909                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:743:2: (c=~ ( IMAGE_CLOSE | ITAL | STAR | LINK_OPEN | IMAGE_OPEN | NOWIKI_OPEN | EXTENSION | FORCED_LINEBREAK | NEWLINE | EOF ) )+
14910                    int cnt146=0;
14911                    loop146:
14912                    do {
14913                    int alt146=2;
14914                    int LA146_0 = input.LA(1);
14915    
14916                    if ( ((LA146_0>=FORCED_END_OF_LINE && LA146_0<=WIKI)||LA146_0==POUND||(LA146_0>=EQUAL && LA146_0<=PIPE)||(LA146_0>=ESCAPE && LA146_0<=LINK_CLOSE)||(LA146_0>=BLANKS && LA146_0<=79)) ) {
14917                            alt146=1;
14918                    }
14919    
14920    
14921                    switch (alt146) {
14922                    case 1 :
14923                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:743:4: c=~ ( IMAGE_CLOSE | ITAL | STAR | LINK_OPEN | IMAGE_OPEN | NOWIKI_OPEN | EXTENSION | FORCED_LINEBREAK | NEWLINE | EOF )
14924                            {
14925                            c=(Token)input.LT(1);
14926                            if ( (input.LA(1)>=FORCED_END_OF_LINE && input.LA(1)<=WIKI)||input.LA(1)==POUND||(input.LA(1)>=EQUAL && input.LA(1)<=PIPE)||(input.LA(1)>=ESCAPE && input.LA(1)<=LINK_CLOSE)||(input.LA(1)>=BLANKS && input.LA(1)<=79) ) {
14927                            input.consume();
14928                            errorRecovery=false;failed=false;
14929                            }
14930                            else {
14931                            if (backtracking>0) {failed=true; return text;}
14932                            MismatchedSetException mse =
14933                                    new MismatchedSetException(null,input);
14934                            recoverFromMismatchedSet(input,mse,FOLLOW_set_in_image_alternative_simple_text4592);    throw mse;
14935                            }
14936    
14937                            if ( backtracking==0 ) {
14938                              text.append(c.getText()); 
14939                            }
14940    
14941                            }
14942                            break;
14943    
14944                    default :
14945                            if ( cnt146 >= 1 ) break loop146;
14946                            if (backtracking>0) {failed=true; return text;}
14947                            EarlyExitException eee =
14948                                    new EarlyExitException(146, input);
14949                            throw eee;
14950                    }
14951                    cnt146++;
14952                    } while (true);
14953    
14954    
14955                    }
14956    
14957            }
14958            catch (RecognitionException re) {
14959                    reportError(re);
14960                    recover(input,re);
14961            }
14962            finally {
14963            }
14964            return text;
14965            }
14966            // $ANTLR end image_alternative_simple_text
14967    
14968    
14969            // $ANTLR start extension
14970            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:757:1: extension returns [ASTNode node = null] : extension_markup extension_handler blanks extension_statement extension_markup ;
14971            public final ASTNode extension() throws RecognitionException {
14972            ASTNode node =  null;
14973    
14974            try {
14975                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:758:2: ( extension_markup extension_handler blanks extension_statement extension_markup )
14976                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:758:4: extension_markup extension_handler blanks extension_statement extension_markup
14977                    {
14978                    pushFollow(FOLLOW_extension_markup_in_extension4685);
14979                    extension_markup();
14980                    _fsp--;
14981                    if (failed) return node;
14982                    pushFollow(FOLLOW_extension_handler_in_extension4688);
14983                    extension_handler();
14984                    _fsp--;
14985                    if (failed) return node;
14986                    pushFollow(FOLLOW_blanks_in_extension4691);
14987                    blanks();
14988                    _fsp--;
14989                    if (failed) return node;
14990                    pushFollow(FOLLOW_extension_statement_in_extension4694);
14991                    extension_statement();
14992                    _fsp--;
14993                    if (failed) return node;
14994                    pushFollow(FOLLOW_extension_markup_in_extension4699);
14995                    extension_markup();
14996                    _fsp--;
14997                    if (failed) return node;
14998    
14999                    }
15000    
15001            }
15002            catch (RecognitionException re) {
15003                    reportError(re);
15004                    recover(input,re);
15005            }
15006            finally {
15007            }
15008            return node;
15009            }
15010            // $ANTLR end extension
15011    
15012    
15013            // $ANTLR start extension_handler
15014            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:761:1: extension_handler : (~ ( EXTENSION | BLANKS | ESCAPE | NEWLINE | EOF ) | escaped )+ ;
15015            public final void extension_handler() throws RecognitionException {
15016            try {
15017                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:762:2: ( (~ ( EXTENSION | BLANKS | ESCAPE | NEWLINE | EOF ) | escaped )+ )
15018                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:762:4: (~ ( EXTENSION | BLANKS | ESCAPE | NEWLINE | EOF ) | escaped )+
15019                    {
15020                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:762:4: (~ ( EXTENSION | BLANKS | ESCAPE | NEWLINE | EOF ) | escaped )+
15021                    int cnt147=0;
15022                    loop147:
15023                    do {
15024                    int alt147=3;
15025                    int LA147_0 = input.LA(1);
15026    
15027                    if ( ((LA147_0>=FORCED_END_OF_LINE && LA147_0<=WIKI)||(LA147_0>=POUND && LA147_0<=NOWIKI_OPEN)||LA147_0==FORCED_LINEBREAK||(LA147_0>=NOWIKI_BLOCK_CLOSE && LA147_0<=IMAGE_CLOSE)||(LA147_0>=TABLE_OF_CONTENTS_TEXT && LA147_0<=79)) ) {
15028                            alt147=1;
15029                    }
15030                    else if ( (LA147_0==ESCAPE) ) {
15031                            alt147=2;
15032                    }
15033    
15034    
15035                    switch (alt147) {
15036                    case 1 :
15037                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:762:5: ~ ( EXTENSION | BLANKS | ESCAPE | NEWLINE | EOF )
15038                            {
15039                            if ( (input.LA(1)>=FORCED_END_OF_LINE && input.LA(1)<=WIKI)||(input.LA(1)>=POUND && input.LA(1)<=NOWIKI_OPEN)||input.LA(1)==FORCED_LINEBREAK||(input.LA(1)>=NOWIKI_BLOCK_CLOSE && input.LA(1)<=IMAGE_CLOSE)||(input.LA(1)>=TABLE_OF_CONTENTS_TEXT && input.LA(1)<=79) ) {
15040                            input.consume();
15041                            errorRecovery=false;failed=false;
15042                            }
15043                            else {
15044                            if (backtracking>0) {failed=true; return ;}
15045                            MismatchedSetException mse =
15046                                    new MismatchedSetException(null,input);
15047                            recoverFromMismatchedSet(input,mse,FOLLOW_set_in_extension_handler4710);        throw mse;
15048                            }
15049    
15050    
15051                            }
15052                            break;
15053                    case 2 :
15054                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:762:64: escaped
15055                            {
15056                            pushFollow(FOLLOW_escaped_in_extension_handler4743);
15057                            escaped();
15058                            _fsp--;
15059                            if (failed) return ;
15060    
15061                            }
15062                            break;
15063    
15064                    default :
15065                            if ( cnt147 >= 1 ) break loop147;
15066                            if (backtracking>0) {failed=true; return ;}
15067                            EarlyExitException eee =
15068                                    new EarlyExitException(147, input);
15069                            throw eee;
15070                    }
15071                    cnt147++;
15072                    } while (true);
15073    
15074    
15075                    }
15076    
15077            }
15078            catch (RecognitionException re) {
15079                    reportError(re);
15080                    recover(input,re);
15081            }
15082            finally {
15083            }
15084            return ;
15085            }
15086            // $ANTLR end extension_handler
15087    
15088    
15089            // $ANTLR start extension_statement
15090            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:764:1: extension_statement : (~ ( EXTENSION | ESCAPE | EOF ) | escaped )* ;
15091            public final void extension_statement() throws RecognitionException {
15092            try {
15093                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:765:2: ( (~ ( EXTENSION | ESCAPE | EOF ) | escaped )* )
15094                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:765:4: (~ ( EXTENSION | ESCAPE | EOF ) | escaped )*
15095                    {
15096                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:765:4: (~ ( EXTENSION | ESCAPE | EOF ) | escaped )*
15097                    loop148:
15098                    do {
15099                    int alt148=3;
15100                    int LA148_0 = input.LA(1);
15101    
15102                    if ( ((LA148_0>=FORCED_END_OF_LINE && LA148_0<=NOWIKI_OPEN)||LA148_0==FORCED_LINEBREAK||(LA148_0>=NOWIKI_BLOCK_CLOSE && LA148_0<=79)) ) {
15103                            alt148=1;
15104                    }
15105                    else if ( (LA148_0==ESCAPE) ) {
15106                            alt148=2;
15107                    }
15108    
15109    
15110                    switch (alt148) {
15111                    case 1 :
15112                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:765:5: ~ ( EXTENSION | ESCAPE | EOF )
15113                            {
15114                            if ( (input.LA(1)>=FORCED_END_OF_LINE && input.LA(1)<=NOWIKI_OPEN)||input.LA(1)==FORCED_LINEBREAK||(input.LA(1)>=NOWIKI_BLOCK_CLOSE && input.LA(1)<=79) ) {
15115                            input.consume();
15116                            errorRecovery=false;failed=false;
15117                            }
15118                            else {
15119                            if (backtracking>0) {failed=true; return ;}
15120                            MismatchedSetException mse =
15121                                    new MismatchedSetException(null,input);
15122                            recoverFromMismatchedSet(input,mse,FOLLOW_set_in_extension_statement4757);      throw mse;
15123                            }
15124    
15125    
15126                            }
15127                            break;
15128                    case 2 :
15129                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:765:41: escaped
15130                            {
15131                            pushFollow(FOLLOW_escaped_in_extension_statement4778);
15132                            escaped();
15133                            _fsp--;
15134                            if (failed) return ;
15135    
15136                            }
15137                            break;
15138    
15139                    default :
15140                            break loop148;
15141                    }
15142                    } while (true);
15143    
15144    
15145                    }
15146    
15147            }
15148            catch (RecognitionException re) {
15149                    reportError(re);
15150                    recover(input,re);
15151            }
15152            finally {
15153            }
15154            return ;
15155            }
15156            // $ANTLR end extension_statement
15157    
15158    
15159            // $ANTLR start table_of_contents
15160            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:771:1: table_of_contents returns [ASTNode tableOfContents = new TableOfContentsNode()] : TABLE_OF_CONTENTS_TEXT ;
15161            public final ASTNode table_of_contents() throws RecognitionException {
15162            ASTNode tableOfContents =  new TableOfContentsNode();
15163    
15164            try {
15165                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:772:2: ( TABLE_OF_CONTENTS_TEXT )
15166                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:772:38: TABLE_OF_CONTENTS_TEXT
15167                    {
15168                    match(input,TABLE_OF_CONTENTS_TEXT,FOLLOW_TABLE_OF_CONTENTS_TEXT_in_table_of_contents4801); if (failed) return tableOfContents;
15169    
15170                    }
15171    
15172            }
15173            catch (RecognitionException re) {
15174                    reportError(re);
15175                    recover(input,re);
15176            }
15177            finally {
15178            }
15179            return tableOfContents;
15180            }
15181            // $ANTLR end table_of_contents
15182    
15183    
15184            // $ANTLR start onestar
15185            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:776:1: onestar : ( ({...}? ( STAR )? ) | );
15186            public final void onestar() throws RecognitionException {
15187            try {
15188                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:777:2: ( ({...}? ( STAR )? ) | )
15189                    int alt150=2;
15190                    switch ( input.LA(1) ) {
15191                    case STAR:
15192                    {
15193                    int LA150_1 = input.LA(2);
15194    
15195                    if ( ( input.LA(2) != STAR ) ) {
15196                            alt150=1;
15197                    }
15198                    else if ( (true) ) {
15199                            alt150=2;
15200                    }
15201                    else {
15202                            if (backtracking>0) {failed=true; return ;}
15203                            NoViableAltException nvae =
15204                            new NoViableAltException("776:1: onestar : ( ({...}? ( STAR )? ) | );", 150, 1, input);
15205    
15206                            throw nvae;
15207                    }
15208                    }
15209                    break;
15210                    case BLANKS:
15211                    {
15212                    int LA150_2 = input.LA(2);
15213    
15214                    if ( ( input.LA(2) != STAR ) ) {
15215                            alt150=1;
15216                    }
15217                    else if ( (true) ) {
15218                            alt150=2;
15219                    }
15220                    else {
15221                            if (backtracking>0) {failed=true; return ;}
15222                            NoViableAltException nvae =
15223                            new NoViableAltException("776:1: onestar : ( ({...}? ( STAR )? ) | );", 150, 2, input);
15224    
15225                            throw nvae;
15226                    }
15227                    }
15228                    break;
15229                    case FORCED_LINEBREAK:
15230                    {
15231                    int LA150_3 = input.LA(2);
15232    
15233                    if ( ( input.LA(2) != STAR ) ) {
15234                            alt150=1;
15235                    }
15236                    else if ( (true) ) {
15237                            alt150=2;
15238                    }
15239                    else {
15240                            if (backtracking>0) {failed=true; return ;}
15241                            NoViableAltException nvae =
15242                            new NoViableAltException("776:1: onestar : ( ({...}? ( STAR )? ) | );", 150, 3, input);
15243    
15244                            throw nvae;
15245                    }
15246                    }
15247                    break;
15248                    case ESCAPE:
15249                    {
15250                    int LA150_4 = input.LA(2);
15251    
15252                    if ( ( input.LA(2) != STAR ) ) {
15253                            alt150=1;
15254                    }
15255                    else if ( (true) ) {
15256                            alt150=2;
15257                    }
15258                    else {
15259                            if (backtracking>0) {failed=true; return ;}
15260                            NoViableAltException nvae =
15261                            new NoViableAltException("776:1: onestar : ( ({...}? ( STAR )? ) | );", 150, 4, input);
15262    
15263                            throw nvae;
15264                    }
15265                    }
15266                    break;
15267                    case LINK_OPEN:
15268                    {
15269                    int LA150_5 = input.LA(2);
15270    
15271                    if ( ( input.LA(2) != STAR ) ) {
15272                            alt150=1;
15273                    }
15274                    else if ( (true) ) {
15275                            alt150=2;
15276                    }
15277                    else {
15278                            if (backtracking>0) {failed=true; return ;}
15279                            NoViableAltException nvae =
15280                            new NoViableAltException("776:1: onestar : ( ({...}? ( STAR )? ) | );", 150, 5, input);
15281    
15282                            throw nvae;
15283                    }
15284                    }
15285                    break;
15286                    case IMAGE_OPEN:
15287                    {
15288                    int LA150_6 = input.LA(2);
15289    
15290                    if ( ( input.LA(2) != STAR ) ) {
15291                            alt150=1;
15292                    }
15293                    else if ( (true) ) {
15294                            alt150=2;
15295                    }
15296                    else {
15297                            if (backtracking>0) {failed=true; return ;}
15298                            NoViableAltException nvae =
15299                            new NoViableAltException("776:1: onestar : ( ({...}? ( STAR )? ) | );", 150, 6, input);
15300    
15301                            throw nvae;
15302                    }
15303                    }
15304                    break;
15305                    case EXTENSION:
15306                    {
15307                    int LA150_7 = input.LA(2);
15308    
15309                    if ( ( input.LA(2) != STAR ) ) {
15310                            alt150=1;
15311                    }
15312                    else if ( (true) ) {
15313                            alt150=2;
15314                    }
15315                    else {
15316                            if (backtracking>0) {failed=true; return ;}
15317                            NoViableAltException nvae =
15318                            new NoViableAltException("776:1: onestar : ( ({...}? ( STAR )? ) | );", 150, 7, input);
15319    
15320                            throw nvae;
15321                    }
15322                    }
15323                    break;
15324                    case NOWIKI_OPEN:
15325                    {
15326                    int LA150_8 = input.LA(2);
15327    
15328                    if ( ( input.LA(2) != STAR ) ) {
15329                            alt150=1;
15330                    }
15331                    else if ( (true) ) {
15332                            alt150=2;
15333                    }
15334                    else {
15335                            if (backtracking>0) {failed=true; return ;}
15336                            NoViableAltException nvae =
15337                            new NoViableAltException("776:1: onestar : ( ({...}? ( STAR )? ) | );", 150, 8, input);
15338    
15339                            throw nvae;
15340                    }
15341                    }
15342                    break;
15343                    case NEWLINE:
15344                    {
15345                    int LA150_9 = input.LA(2);
15346    
15347                    if ( (( input.LA(2) != STAR ||( input.LA(2) != STAR && input.LA(2) != DASH && input.LA(2) != POUND && 
15348                                    input.LA(2) != EQUAL && input.LA(2) != NEWLINE ))) ) {
15349                            alt150=1;
15350                    }
15351                    else if ( (true) ) {
15352                            alt150=2;
15353                    }
15354                    else {
15355                            if (backtracking>0) {failed=true; return ;}
15356                            NoViableAltException nvae =
15357                            new NoViableAltException("776:1: onestar : ( ({...}? ( STAR )? ) | );", 150, 9, input);
15358    
15359                            throw nvae;
15360                    }
15361                    }
15362                    break;
15363                    case EOF:
15364                    {
15365                    int LA150_10 = input.LA(2);
15366    
15367                    if ( (( input.LA(2) != STAR ||( input.LA(2) != STAR && input.LA(2) != DASH && input.LA(2) != POUND && 
15368                                    input.LA(2) != EQUAL && input.LA(2) != NEWLINE ))) ) {
15369                            alt150=1;
15370                    }
15371                    else if ( (true) ) {
15372                            alt150=2;
15373                    }
15374                    else {
15375                            if (backtracking>0) {failed=true; return ;}
15376                            NoViableAltException nvae =
15377                            new NoViableAltException("776:1: onestar : ( ({...}? ( STAR )? ) | );", 150, 10, input);
15378    
15379                            throw nvae;
15380                    }
15381                    }
15382                    break;
15383                    case ITAL:
15384                    {
15385                    int LA150_11 = input.LA(2);
15386    
15387                    if ( ( input.LA(2) != STAR ) ) {
15388                            alt150=1;
15389                    }
15390                    else if ( (true) ) {
15391                            alt150=2;
15392                    }
15393                    else {
15394                            if (backtracking>0) {failed=true; return ;}
15395                            NoViableAltException nvae =
15396                            new NoViableAltException("776:1: onestar : ( ({...}? ( STAR )? ) | );", 150, 11, input);
15397    
15398                            throw nvae;
15399                    }
15400                    }
15401                    break;
15402                    case EQUAL:
15403                    {
15404                    int LA150_12 = input.LA(2);
15405    
15406                    if ( ( input.LA(2) != STAR ) ) {
15407                            alt150=1;
15408                    }
15409                    else if ( (true) ) {
15410                            alt150=2;
15411                    }
15412                    else {
15413                            if (backtracking>0) {failed=true; return ;}
15414                            NoViableAltException nvae =
15415                            new NoViableAltException("776:1: onestar : ( ({...}? ( STAR )? ) | );", 150, 12, input);
15416    
15417                            throw nvae;
15418                    }
15419                    }
15420                    break;
15421                    case FORCED_END_OF_LINE:
15422                    case HEADING_SECTION:
15423                    case HORIZONTAL_SECTION:
15424                    case LIST_ITEM:
15425                    case LIST_ITEM_PART:
15426                    case NOWIKI_SECTION:
15427                    case SCAPE_NODE:
15428                    case TEXT_NODE:
15429                    case UNORDERED_LIST:
15430                    case UNFORMATTED_TEXT:
15431                    case WIKI:
15432                    case POUND:
15433                    case NOWIKI_BLOCK_CLOSE:
15434                    case NOWIKI_CLOSE:
15435                    case TABLE_OF_CONTENTS_TEXT:
15436                    case DASH:
15437                    case CR:
15438                    case LF:
15439                    case SPACE:
15440                    case TABULATOR:
15441                    case BRACE_CLOSE:
15442                    case COLON_SLASH:
15443                    case SLASH:
15444                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
15445                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
15446                    case INSIGNIFICANT_CHAR:
15447                    case 44:
15448                    case 45:
15449                    case 46:
15450                    case 47:
15451                    case 48:
15452                    case 49:
15453                    case 50:
15454                    case 51:
15455                    case 52:
15456                    case 53:
15457                    case 54:
15458                    case 55:
15459                    case 56:
15460                    case 57:
15461                    case 58:
15462                    case 59:
15463                    case 60:
15464                    case 61:
15465                    case 62:
15466                    case 63:
15467                    case 64:
15468                    case 65:
15469                    case 66:
15470                    case 67:
15471                    case 68:
15472                    case 69:
15473                    case 70:
15474                    case 71:
15475                    case 72:
15476                    case 73:
15477                    case 74:
15478                    case 75:
15479                    case 76:
15480                    case 77:
15481                    case 78:
15482                    case 79:
15483                    {
15484                    int LA150_13 = input.LA(2);
15485    
15486                    if ( ( input.LA(2) != STAR ) ) {
15487                            alt150=1;
15488                    }
15489                    else if ( (true) ) {
15490                            alt150=2;
15491                    }
15492                    else {
15493                            if (backtracking>0) {failed=true; return ;}
15494                            NoViableAltException nvae =
15495                            new NoViableAltException("776:1: onestar : ( ({...}? ( STAR )? ) | );", 150, 13, input);
15496    
15497                            throw nvae;
15498                    }
15499                    }
15500                    break;
15501                    case PIPE:
15502                    {
15503                    int LA150_14 = input.LA(2);
15504    
15505                    if ( ((( input.LA(2) != STAR && input.LA(2) == EQUAL )|| input.LA(2) != STAR )) ) {
15506                            alt150=1;
15507                    }
15508                    else if ( (true) ) {
15509                            alt150=2;
15510                    }
15511                    else {
15512                            if (backtracking>0) {failed=true; return ;}
15513                            NoViableAltException nvae =
15514                            new NoViableAltException("776:1: onestar : ( ({...}? ( STAR )? ) | );", 150, 14, input);
15515    
15516                            throw nvae;
15517                    }
15518                    }
15519                    break;
15520                    case LINK_CLOSE:
15521                    {
15522                    int LA150_15 = input.LA(2);
15523    
15524                    if ( ( input.LA(2) != STAR ) ) {
15525                            alt150=1;
15526                    }
15527                    else if ( (true) ) {
15528                            alt150=2;
15529                    }
15530                    else {
15531                            if (backtracking>0) {failed=true; return ;}
15532                            NoViableAltException nvae =
15533                            new NoViableAltException("776:1: onestar : ( ({...}? ( STAR )? ) | );", 150, 15, input);
15534    
15535                            throw nvae;
15536                    }
15537                    }
15538                    break;
15539                    case IMAGE_CLOSE:
15540                    {
15541                    int LA150_16 = input.LA(2);
15542    
15543                    if ( ( input.LA(2) != STAR ) ) {
15544                            alt150=1;
15545                    }
15546                    else if ( (true) ) {
15547                            alt150=2;
15548                    }
15549                    else {
15550                            if (backtracking>0) {failed=true; return ;}
15551                            NoViableAltException nvae =
15552                            new NoViableAltException("776:1: onestar : ( ({...}? ( STAR )? ) | );", 150, 16, input);
15553    
15554                            throw nvae;
15555                    }
15556                    }
15557                    break;
15558                    default:
15559                    if (backtracking>0) {failed=true; return ;}
15560                    NoViableAltException nvae =
15561                            new NoViableAltException("776:1: onestar : ( ({...}? ( STAR )? ) | );", 150, 0, input);
15562    
15563                    throw nvae;
15564                    }
15565    
15566                    switch (alt150) {
15567                    case 1 :
15568                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:777:4: ({...}? ( STAR )? )
15569                            {
15570                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:777:4: ({...}? ( STAR )? )
15571                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:777:6: {...}? ( STAR )?
15572                            {
15573                            if ( !( input.LA(2) != STAR ) ) {
15574                            if (backtracking>0) {failed=true; return ;}
15575                            throw new FailedPredicateException(input, "onestar", " input.LA(2) != STAR ");
15576                            }
15577                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:777:32: ( STAR )?
15578                            int alt149=2;
15579                            int LA149_0 = input.LA(1);
15580    
15581                            if ( (LA149_0==STAR) ) {
15582                            alt149=1;
15583                            }
15584                            switch (alt149) {
15585                            case 1 :
15586                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:777:34: STAR
15587                                    {
15588                                    match(input,STAR,FOLLOW_STAR_in_onestar4824); if (failed) return ;
15589    
15590                                    }
15591                                    break;
15592    
15593                            }
15594    
15595    
15596                            }
15597    
15598    
15599                            }
15600                            break;
15601                    case 2 :
15602                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:779:2: 
15603                            {
15604                            }
15605                            break;
15606    
15607                    }
15608            }
15609            catch (RecognitionException re) {
15610                    reportError(re);
15611                    recover(input,re);
15612            }
15613            finally {
15614            }
15615            return ;
15616            }
15617            // $ANTLR end onestar
15618    
15619    
15620            // $ANTLR start escaped
15621            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:780:1: escaped returns [ScapedNode scaped = new ScapedNode()] : ESCAPE c= . ;
15622            public final ScapedNode escaped() throws RecognitionException {
15623            ScapedNode scaped =  new ScapedNode();
15624    
15625            Token c=null;
15626    
15627            try {
15628                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:781:2: ( ESCAPE c= . )
15629                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:781:4: ESCAPE c= .
15630                    {
15631                    match(input,ESCAPE,FOLLOW_ESCAPE_in_escaped4846); if (failed) return scaped;
15632                    c=(Token)input.LT(1);
15633                    matchAny(input); if (failed) return scaped;
15634                    if ( backtracking==0 ) {
15635                       scaped.setContent(c.getText()) ; 
15636                    }
15637    
15638                    }
15639    
15640            }
15641            catch (RecognitionException re) {
15642                    reportError(re);
15643                    recover(input,re);
15644            }
15645            finally {
15646            }
15647            return scaped;
15648            }
15649            // $ANTLR end escaped
15650    
15651    
15652            // $ANTLR start paragraph_separator
15653            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:784:1: paragraph_separator : ( ( newline )+ | EOF );
15654            public final void paragraph_separator() throws RecognitionException {
15655            try {
15656                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:785:2: ( ( newline )+ | EOF )
15657                    int alt152=2;
15658                    int LA152_0 = input.LA(1);
15659    
15660                    if ( (LA152_0==NEWLINE) ) {
15661                    alt152=1;
15662                    }
15663                    else if ( (LA152_0==EOF) ) {
15664                    alt152=2;
15665                    }
15666                    else {
15667                    if (backtracking>0) {failed=true; return ;}
15668                    NoViableAltException nvae =
15669                            new NoViableAltException("784:1: paragraph_separator : ( ( newline )+ | EOF );", 152, 0, input);
15670    
15671                    throw nvae;
15672                    }
15673                    switch (alt152) {
15674                    case 1 :
15675                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:785:4: ( newline )+
15676                            {
15677                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:785:4: ( newline )+
15678                            int cnt151=0;
15679                            loop151:
15680                            do {
15681                            int alt151=2;
15682                            int LA151_0 = input.LA(1);
15683    
15684                            if ( (LA151_0==NEWLINE) ) {
15685                                    alt151=1;
15686                            }
15687    
15688    
15689                            switch (alt151) {
15690                            case 1 :
15691                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:785:6: newline
15692                                    {
15693                                    pushFollow(FOLLOW_newline_in_paragraph_separator4870);
15694                                    newline();
15695                                    _fsp--;
15696                                    if (failed) return ;
15697    
15698                                    }
15699                                    break;
15700    
15701                            default :
15702                                    if ( cnt151 >= 1 ) break loop151;
15703                                    if (backtracking>0) {failed=true; return ;}
15704                                    EarlyExitException eee =
15705                                            new EarlyExitException(151, input);
15706                                    throw eee;
15707                            }
15708                            cnt151++;
15709                            } while (true);
15710    
15711    
15712                            }
15713                            break;
15714                    case 2 :
15715                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:786:4: EOF
15716                            {
15717                            match(input,EOF,FOLLOW_EOF_in_paragraph_separator4878); if (failed) return ;
15718    
15719                            }
15720                            break;
15721    
15722                    }
15723            }
15724            catch (RecognitionException re) {
15725                    reportError(re);
15726                    recover(input,re);
15727            }
15728            finally {
15729            }
15730            return ;
15731            }
15732            // $ANTLR end paragraph_separator
15733    
15734    
15735            // $ANTLR start whitespaces
15736            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:788:1: whitespaces : ( blanks | newline )+ ;
15737            public final void whitespaces() throws RecognitionException {
15738            try {
15739                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:789:2: ( ( blanks | newline )+ )
15740                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:789:4: ( blanks | newline )+
15741                    {
15742                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:789:4: ( blanks | newline )+
15743                    int cnt153=0;
15744                    loop153:
15745                    do {
15746                    int alt153=3;
15747                    int LA153_0 = input.LA(1);
15748    
15749                    if ( (LA153_0==BLANKS) ) {
15750                            alt153=1;
15751                    }
15752                    else if ( (LA153_0==NEWLINE) ) {
15753                            alt153=2;
15754                    }
15755    
15756    
15757                    switch (alt153) {
15758                    case 1 :
15759                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:789:6: blanks
15760                            {
15761                            pushFollow(FOLLOW_blanks_in_whitespaces4890);
15762                            blanks();
15763                            _fsp--;
15764                            if (failed) return ;
15765    
15766                            }
15767                            break;
15768                    case 2 :
15769                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:789:15: newline
15770                            {
15771                            pushFollow(FOLLOW_newline_in_whitespaces4894);
15772                            newline();
15773                            _fsp--;
15774                            if (failed) return ;
15775    
15776                            }
15777                            break;
15778    
15779                    default :
15780                            if ( cnt153 >= 1 ) break loop153;
15781                            if (backtracking>0) {failed=true; return ;}
15782                            EarlyExitException eee =
15783                                    new EarlyExitException(153, input);
15784                            throw eee;
15785                    }
15786                    cnt153++;
15787                    } while (true);
15788    
15789    
15790                    }
15791    
15792            }
15793            catch (RecognitionException re) {
15794                    reportError(re);
15795                    recover(input,re);
15796            }
15797            finally {
15798            }
15799            return ;
15800            }
15801            // $ANTLR end whitespaces
15802    
15803    
15804            // $ANTLR start blanks
15805            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:791:1: blanks : BLANKS ;
15806            public final void blanks() throws RecognitionException {
15807            try {
15808                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:792:2: ( BLANKS )
15809                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:792:4: BLANKS
15810                    {
15811                    match(input,BLANKS,FOLLOW_BLANKS_in_blanks4907); if (failed) return ;
15812    
15813                    }
15814    
15815            }
15816            catch (RecognitionException re) {
15817                    reportError(re);
15818                    recover(input,re);
15819            }
15820            finally {
15821            }
15822            return ;
15823            }
15824            // $ANTLR end blanks
15825    
15826    
15827            // $ANTLR start text_lineseparator
15828            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:794:1: text_lineseparator : ( newline ( blanks )? | EOF );
15829            public final void text_lineseparator() throws RecognitionException {
15830            try {
15831                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:795:2: ( newline ( blanks )? | EOF )
15832                    int alt155=2;
15833                    int LA155_0 = input.LA(1);
15834    
15835                    if ( (LA155_0==NEWLINE) ) {
15836                    alt155=1;
15837                    }
15838                    else if ( (LA155_0==EOF) ) {
15839                    alt155=2;
15840                    }
15841                    else {
15842                    if (backtracking>0) {failed=true; return ;}
15843                    NoViableAltException nvae =
15844                            new NoViableAltException("794:1: text_lineseparator : ( newline ( blanks )? | EOF );", 155, 0, input);
15845    
15846                    throw nvae;
15847                    }
15848                    switch (alt155) {
15849                    case 1 :
15850                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:795:4: newline ( blanks )?
15851                            {
15852                            pushFollow(FOLLOW_newline_in_text_lineseparator4917);
15853                            newline();
15854                            _fsp--;
15855                            if (failed) return ;
15856                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:795:13: ( blanks )?
15857                            int alt154=2;
15858                            int LA154_0 = input.LA(1);
15859    
15860                            if ( (LA154_0==BLANKS) ) {
15861                            alt154=1;
15862                            }
15863                            switch (alt154) {
15864                            case 1 :
15865                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:795:15: blanks
15866                                    {
15867                                    pushFollow(FOLLOW_blanks_in_text_lineseparator4922);
15868                                    blanks();
15869                                    _fsp--;
15870                                    if (failed) return ;
15871    
15872                                    }
15873                                    break;
15874    
15875                            }
15876    
15877    
15878                            }
15879                            break;
15880                    case 2 :
15881                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:796:4: EOF
15882                            {
15883                            match(input,EOF,FOLLOW_EOF_in_text_lineseparator4930); if (failed) return ;
15884    
15885                            }
15886                            break;
15887    
15888                    }
15889            }
15890            catch (RecognitionException re) {
15891                    reportError(re);
15892                    recover(input,re);
15893            }
15894            finally {
15895            }
15896            return ;
15897            }
15898            // $ANTLR end text_lineseparator
15899    
15900    
15901            // $ANTLR start newline
15902            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:798:1: newline : NEWLINE ;
15903            public final void newline() throws RecognitionException {
15904            try {
15905                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:799:2: ( NEWLINE )
15906                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:799:4: NEWLINE
15907                    {
15908                    match(input,NEWLINE,FOLLOW_NEWLINE_in_newline4940); if (failed) return ;
15909    
15910                    }
15911    
15912            }
15913            catch (RecognitionException re) {
15914                    reportError(re);
15915                    recover(input,re);
15916            }
15917            finally {
15918            }
15919            return ;
15920            }
15921            // $ANTLR end newline
15922    
15923    
15924            // $ANTLR start bold_markup
15925            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:801:1: bold_markup : STAR STAR ;
15926            public final void bold_markup() throws RecognitionException {
15927            try {
15928                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:802:2: ( STAR STAR )
15929                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:802:4: STAR STAR
15930                    {
15931                    match(input,STAR,FOLLOW_STAR_in_bold_markup4950); if (failed) return ;
15932                    match(input,STAR,FOLLOW_STAR_in_bold_markup4953); if (failed) return ;
15933    
15934                    }
15935    
15936            }
15937            catch (RecognitionException re) {
15938                    reportError(re);
15939                    recover(input,re);
15940            }
15941            finally {
15942            }
15943            return ;
15944            }
15945            // $ANTLR end bold_markup
15946    
15947    
15948            // $ANTLR start ital_markup
15949            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:804:1: ital_markup : ITAL ;
15950            public final void ital_markup() throws RecognitionException {
15951            try {
15952                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:805:2: ( ITAL )
15953                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:805:4: ITAL
15954                    {
15955                    match(input,ITAL,FOLLOW_ITAL_in_ital_markup4963); if (failed) return ;
15956    
15957                    }
15958    
15959            }
15960            catch (RecognitionException re) {
15961                    reportError(re);
15962                    recover(input,re);
15963            }
15964            finally {
15965            }
15966            return ;
15967            }
15968            // $ANTLR end ital_markup
15969    
15970    
15971            // $ANTLR start heading_markup
15972            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:807:1: heading_markup : EQUAL ;
15973            public final void heading_markup() throws RecognitionException {
15974            try {
15975                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:808:2: ( EQUAL )
15976                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:808:4: EQUAL
15977                    {
15978                    match(input,EQUAL,FOLLOW_EQUAL_in_heading_markup4973); if (failed) return ;
15979    
15980                    }
15981    
15982            }
15983            catch (RecognitionException re) {
15984                    reportError(re);
15985                    recover(input,re);
15986            }
15987            finally {
15988            }
15989            return ;
15990            }
15991            // $ANTLR end heading_markup
15992    
15993            public static class list_ordelem_markup_return extends ParserRuleReturnScope {
15994            };
15995    
15996            // $ANTLR start list_ordelem_markup
15997            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:810:1: list_ordelem_markup : POUND ;
15998            public final list_ordelem_markup_return list_ordelem_markup() throws RecognitionException {
15999            list_ordelem_markup_return retval = new list_ordelem_markup_return();
16000            retval.start = input.LT(1);
16001    
16002            try {
16003                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:811:2: ( POUND )
16004                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:811:4: POUND
16005                    {
16006                    match(input,POUND,FOLLOW_POUND_in_list_ordelem_markup4983); if (failed) return retval;
16007    
16008                    }
16009    
16010                    retval.stop = input.LT(-1);
16011    
16012            }
16013            catch (RecognitionException re) {
16014                    reportError(re);
16015                    recover(input,re);
16016            }
16017            finally {
16018            }
16019            return retval;
16020            }
16021            // $ANTLR end list_ordelem_markup
16022    
16023            public static class list_unordelem_markup_return extends ParserRuleReturnScope {
16024            };
16025    
16026            // $ANTLR start list_unordelem_markup
16027            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:813:1: list_unordelem_markup : STAR ;
16028            public final list_unordelem_markup_return list_unordelem_markup() throws RecognitionException {
16029            list_unordelem_markup_return retval = new list_unordelem_markup_return();
16030            retval.start = input.LT(1);
16031    
16032            try {
16033                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:814:2: ( STAR )
16034                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:814:4: STAR
16035                    {
16036                    match(input,STAR,FOLLOW_STAR_in_list_unordelem_markup4993); if (failed) return retval;
16037    
16038                    }
16039    
16040                    retval.stop = input.LT(-1);
16041    
16042            }
16043            catch (RecognitionException re) {
16044                    reportError(re);
16045                    recover(input,re);
16046            }
16047            finally {
16048            }
16049            return retval;
16050            }
16051            // $ANTLR end list_unordelem_markup
16052    
16053    
16054            // $ANTLR start list_elemseparator
16055            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:816:1: list_elemseparator : ( newline ( blanks )? | EOF );
16056            public final void list_elemseparator() throws RecognitionException {
16057            try {
16058                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:817:2: ( newline ( blanks )? | EOF )
16059                    int alt157=2;
16060                    int LA157_0 = input.LA(1);
16061    
16062                    if ( (LA157_0==NEWLINE) ) {
16063                    alt157=1;
16064                    }
16065                    else if ( (LA157_0==EOF) ) {
16066                    alt157=2;
16067                    }
16068                    else {
16069                    if (backtracking>0) {failed=true; return ;}
16070                    NoViableAltException nvae =
16071                            new NoViableAltException("816:1: list_elemseparator : ( newline ( blanks )? | EOF );", 157, 0, input);
16072    
16073                    throw nvae;
16074                    }
16075                    switch (alt157) {
16076                    case 1 :
16077                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:817:4: newline ( blanks )?
16078                            {
16079                            pushFollow(FOLLOW_newline_in_list_elemseparator5003);
16080                            newline();
16081                            _fsp--;
16082                            if (failed) return ;
16083                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:817:13: ( blanks )?
16084                            int alt156=2;
16085                            int LA156_0 = input.LA(1);
16086    
16087                            if ( (LA156_0==BLANKS) ) {
16088                            alt156=1;
16089                            }
16090                            switch (alt156) {
16091                            case 1 :
16092                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:817:15: blanks
16093                                    {
16094                                    pushFollow(FOLLOW_blanks_in_list_elemseparator5008);
16095                                    blanks();
16096                                    _fsp--;
16097                                    if (failed) return ;
16098    
16099                                    }
16100                                    break;
16101    
16102                            }
16103    
16104    
16105                            }
16106                            break;
16107                    case 2 :
16108                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:818:4: EOF
16109                            {
16110                            match(input,EOF,FOLLOW_EOF_in_list_elemseparator5016); if (failed) return ;
16111    
16112                            }
16113                            break;
16114    
16115                    }
16116            }
16117            catch (RecognitionException re) {
16118                    reportError(re);
16119                    recover(input,re);
16120            }
16121            finally {
16122            }
16123            return ;
16124            }
16125            // $ANTLR end list_elemseparator
16126    
16127    
16128            // $ANTLR start end_of_list
16129            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:820:1: end_of_list : ( newline | EOF );
16130            public final void end_of_list() throws RecognitionException {
16131            try {
16132                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:821:2: ( newline | EOF )
16133                    int alt158=2;
16134                    int LA158_0 = input.LA(1);
16135    
16136                    if ( (LA158_0==NEWLINE) ) {
16137                    alt158=1;
16138                    }
16139                    else if ( (LA158_0==EOF) ) {
16140                    alt158=2;
16141                    }
16142                    else {
16143                    if (backtracking>0) {failed=true; return ;}
16144                    NoViableAltException nvae =
16145                            new NoViableAltException("820:1: end_of_list : ( newline | EOF );", 158, 0, input);
16146    
16147                    throw nvae;
16148                    }
16149                    switch (alt158) {
16150                    case 1 :
16151                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:821:4: newline
16152                            {
16153                            pushFollow(FOLLOW_newline_in_end_of_list5026);
16154                            newline();
16155                            _fsp--;
16156                            if (failed) return ;
16157    
16158                            }
16159                            break;
16160                    case 2 :
16161                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:822:4: EOF
16162                            {
16163                            match(input,EOF,FOLLOW_EOF_in_end_of_list5031); if (failed) return ;
16164    
16165                            }
16166                            break;
16167    
16168                    }
16169            }
16170            catch (RecognitionException re) {
16171                    reportError(re);
16172                    recover(input,re);
16173            }
16174            finally {
16175            }
16176            return ;
16177            }
16178            // $ANTLR end end_of_list
16179    
16180    
16181            // $ANTLR start table_cell_markup
16182            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:824:1: table_cell_markup : PIPE ;
16183            public final void table_cell_markup() throws RecognitionException {
16184            try {
16185                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:825:2: ( PIPE )
16186                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:825:4: PIPE
16187                    {
16188                    match(input,PIPE,FOLLOW_PIPE_in_table_cell_markup5041); if (failed) return ;
16189    
16190                    }
16191    
16192            }
16193            catch (RecognitionException re) {
16194                    reportError(re);
16195                    recover(input,re);
16196            }
16197            finally {
16198            }
16199            return ;
16200            }
16201            // $ANTLR end table_cell_markup
16202    
16203    
16204            // $ANTLR start table_headercell_markup
16205            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:827:1: table_headercell_markup : PIPE EQUAL ;
16206            public final void table_headercell_markup() throws RecognitionException {
16207            try {
16208                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:828:2: ( PIPE EQUAL )
16209                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:828:4: PIPE EQUAL
16210                    {
16211                    match(input,PIPE,FOLLOW_PIPE_in_table_headercell_markup5051); if (failed) return ;
16212                    match(input,EQUAL,FOLLOW_EQUAL_in_table_headercell_markup5054); if (failed) return ;
16213    
16214                    }
16215    
16216            }
16217            catch (RecognitionException re) {
16218                    reportError(re);
16219                    recover(input,re);
16220            }
16221            finally {
16222            }
16223            return ;
16224            }
16225            // $ANTLR end table_headercell_markup
16226    
16227    
16228            // $ANTLR start table_rowseparator
16229            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:830:1: table_rowseparator : ( newline | EOF );
16230            public final void table_rowseparator() throws RecognitionException {
16231            try {
16232                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:831:2: ( newline | EOF )
16233                    int alt159=2;
16234                    int LA159_0 = input.LA(1);
16235    
16236                    if ( (LA159_0==NEWLINE) ) {
16237                    alt159=1;
16238                    }
16239                    else if ( (LA159_0==EOF) ) {
16240                    alt159=2;
16241                    }
16242                    else {
16243                    if (backtracking>0) {failed=true; return ;}
16244                    NoViableAltException nvae =
16245                            new NoViableAltException("830:1: table_rowseparator : ( newline | EOF );", 159, 0, input);
16246    
16247                    throw nvae;
16248                    }
16249                    switch (alt159) {
16250                    case 1 :
16251                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:831:4: newline
16252                            {
16253                            pushFollow(FOLLOW_newline_in_table_rowseparator5064);
16254                            newline();
16255                            _fsp--;
16256                            if (failed) return ;
16257    
16258                            }
16259                            break;
16260                    case 2 :
16261                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:832:4: EOF
16262                            {
16263                            match(input,EOF,FOLLOW_EOF_in_table_rowseparator5069); if (failed) return ;
16264    
16265                            }
16266                            break;
16267    
16268                    }
16269            }
16270            catch (RecognitionException re) {
16271                    reportError(re);
16272                    recover(input,re);
16273            }
16274            finally {
16275            }
16276            return ;
16277            }
16278            // $ANTLR end table_rowseparator
16279    
16280    
16281            // $ANTLR start nowiki_open_markup
16282            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:834:1: nowiki_open_markup : NOWIKI_OPEN ;
16283            public final void nowiki_open_markup() throws RecognitionException {
16284            try {
16285                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:835:2: ( NOWIKI_OPEN )
16286                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:835:4: NOWIKI_OPEN
16287                    {
16288                    match(input,NOWIKI_OPEN,FOLLOW_NOWIKI_OPEN_in_nowiki_open_markup5079); if (failed) return ;
16289    
16290                    }
16291    
16292            }
16293            catch (RecognitionException re) {
16294                    reportError(re);
16295                    recover(input,re);
16296            }
16297            finally {
16298            }
16299            return ;
16300            }
16301            // $ANTLR end nowiki_open_markup
16302    
16303    
16304            // $ANTLR start nowiki_close_markup
16305            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:837:1: nowiki_close_markup : NOWIKI_CLOSE ;
16306            public final void nowiki_close_markup() throws RecognitionException {
16307            try {
16308                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:838:2: ( NOWIKI_CLOSE )
16309                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:838:4: NOWIKI_CLOSE
16310                    {
16311                    match(input,NOWIKI_CLOSE,FOLLOW_NOWIKI_CLOSE_in_nowiki_close_markup5089); if (failed) return ;
16312    
16313                    }
16314    
16315            }
16316            catch (RecognitionException re) {
16317                    reportError(re);
16318                    recover(input,re);
16319            }
16320            finally {
16321            }
16322            return ;
16323            }
16324            // $ANTLR end nowiki_close_markup
16325    
16326    
16327            // $ANTLR start horizontalrule_markup
16328            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:840:1: horizontalrule_markup : DASH DASH DASH DASH ;
16329            public final void horizontalrule_markup() throws RecognitionException {
16330            try {
16331                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:841:2: ( DASH DASH DASH DASH )
16332                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:841:4: DASH DASH DASH DASH
16333                    {
16334                    match(input,DASH,FOLLOW_DASH_in_horizontalrule_markup5099); if (failed) return ;
16335                    match(input,DASH,FOLLOW_DASH_in_horizontalrule_markup5102); if (failed) return ;
16336                    match(input,DASH,FOLLOW_DASH_in_horizontalrule_markup5105); if (failed) return ;
16337                    match(input,DASH,FOLLOW_DASH_in_horizontalrule_markup5108); if (failed) return ;
16338    
16339                    }
16340    
16341            }
16342            catch (RecognitionException re) {
16343                    reportError(re);
16344                    recover(input,re);
16345            }
16346            finally {
16347            }
16348            return ;
16349            }
16350            // $ANTLR end horizontalrule_markup
16351    
16352    
16353            // $ANTLR start link_open_markup
16354            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:843:1: link_open_markup : LINK_OPEN ;
16355            public final void link_open_markup() throws RecognitionException {
16356            try {
16357                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:844:2: ( LINK_OPEN )
16358                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:844:4: LINK_OPEN
16359                    {
16360                    match(input,LINK_OPEN,FOLLOW_LINK_OPEN_in_link_open_markup5118); if (failed) return ;
16361    
16362                    }
16363    
16364            }
16365            catch (RecognitionException re) {
16366                    reportError(re);
16367                    recover(input,re);
16368            }
16369            finally {
16370            }
16371            return ;
16372            }
16373            // $ANTLR end link_open_markup
16374    
16375    
16376            // $ANTLR start link_close_markup
16377            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:846:1: link_close_markup : LINK_CLOSE ;
16378            public final void link_close_markup() throws RecognitionException {
16379            try {
16380                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:847:2: ( LINK_CLOSE )
16381                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:847:4: LINK_CLOSE
16382                    {
16383                    match(input,LINK_CLOSE,FOLLOW_LINK_CLOSE_in_link_close_markup5128); if (failed) return ;
16384    
16385                    }
16386    
16387            }
16388            catch (RecognitionException re) {
16389                    reportError(re);
16390                    recover(input,re);
16391            }
16392            finally {
16393            }
16394            return ;
16395            }
16396            // $ANTLR end link_close_markup
16397    
16398    
16399            // $ANTLR start link_description_markup
16400            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:849:1: link_description_markup : PIPE ;
16401            public final void link_description_markup() throws RecognitionException {
16402            try {
16403                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:850:2: ( PIPE )
16404                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:850:4: PIPE
16405                    {
16406                    match(input,PIPE,FOLLOW_PIPE_in_link_description_markup5138); if (failed) return ;
16407    
16408                    }
16409    
16410            }
16411            catch (RecognitionException re) {
16412                    reportError(re);
16413                    recover(input,re);
16414            }
16415            finally {
16416            }
16417            return ;
16418            }
16419            // $ANTLR end link_description_markup
16420    
16421    
16422            // $ANTLR start image_open_markup
16423            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:852:1: image_open_markup : IMAGE_OPEN ;
16424            public final void image_open_markup() throws RecognitionException {
16425            try {
16426                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:853:2: ( IMAGE_OPEN )
16427                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:853:4: IMAGE_OPEN
16428                    {
16429                    match(input,IMAGE_OPEN,FOLLOW_IMAGE_OPEN_in_image_open_markup5148); if (failed) return ;
16430    
16431                    }
16432    
16433            }
16434            catch (RecognitionException re) {
16435                    reportError(re);
16436                    recover(input,re);
16437            }
16438            finally {
16439            }
16440            return ;
16441            }
16442            // $ANTLR end image_open_markup
16443    
16444    
16445            // $ANTLR start image_close_markup
16446            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:855:1: image_close_markup : IMAGE_CLOSE ;
16447            public final void image_close_markup() throws RecognitionException {
16448            try {
16449                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:856:2: ( IMAGE_CLOSE )
16450                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:856:4: IMAGE_CLOSE
16451                    {
16452                    match(input,IMAGE_CLOSE,FOLLOW_IMAGE_CLOSE_in_image_close_markup5158); if (failed) return ;
16453    
16454                    }
16455    
16456            }
16457            catch (RecognitionException re) {
16458                    reportError(re);
16459                    recover(input,re);
16460            }
16461            finally {
16462            }
16463            return ;
16464            }
16465            // $ANTLR end image_close_markup
16466    
16467    
16468            // $ANTLR start image_alternative_markup
16469            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:858:1: image_alternative_markup : PIPE ;
16470            public final void image_alternative_markup() throws RecognitionException {
16471            try {
16472                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:859:2: ( PIPE )
16473                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:859:4: PIPE
16474                    {
16475                    match(input,PIPE,FOLLOW_PIPE_in_image_alternative_markup5168); if (failed) return ;
16476    
16477                    }
16478    
16479            }
16480            catch (RecognitionException re) {
16481                    reportError(re);
16482                    recover(input,re);
16483            }
16484            finally {
16485            }
16486            return ;
16487            }
16488            // $ANTLR end image_alternative_markup
16489    
16490    
16491            // $ANTLR start extension_markup
16492            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:861:1: extension_markup : EXTENSION ;
16493            public final void extension_markup() throws RecognitionException {
16494            try {
16495                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:862:2: ( EXTENSION )
16496                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:862:4: EXTENSION
16497                    {
16498                    match(input,EXTENSION,FOLLOW_EXTENSION_in_extension_markup5178); if (failed) return ;
16499    
16500                    }
16501    
16502            }
16503            catch (RecognitionException re) {
16504                    reportError(re);
16505                    recover(input,re);
16506            }
16507            finally {
16508            }
16509            return ;
16510            }
16511            // $ANTLR end extension_markup
16512    
16513    
16514            // $ANTLR start forced_linebreak
16515            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:864:1: forced_linebreak : FORCED_LINEBREAK ;
16516            public final void forced_linebreak() throws RecognitionException {
16517            try {
16518                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:865:2: ( FORCED_LINEBREAK )
16519                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:865:4: FORCED_LINEBREAK
16520                    {
16521                    match(input,FORCED_LINEBREAK,FOLLOW_FORCED_LINEBREAK_in_forced_linebreak5188); if (failed) return ;
16522    
16523                    }
16524    
16525            }
16526            catch (RecognitionException re) {
16527                    reportError(re);
16528                    recover(input,re);
16529            }
16530            finally {
16531            }
16532            return ;
16533            }
16534            // $ANTLR end forced_linebreak
16535    
16536            // $ANTLR start synpred1
16537            public final void synpred1_fragment() throws RecognitionException {   
16538            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:143:5: ( NOWIKI_OPEN ~ ( NEWLINE ) )
16539            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:143:7: NOWIKI_OPEN ~ ( NEWLINE )
16540            {
16541            match(input,NOWIKI_OPEN,FOLLOW_NOWIKI_OPEN_in_synpred1332); if (failed) return ;
16542            if ( (input.LA(1)>=FORCED_END_OF_LINE && input.LA(1)<=WIKI)||(input.LA(1)>=POUND && input.LA(1)<=79) ) {
16543                    input.consume();
16544                    errorRecovery=false;failed=false;
16545            }
16546            else {
16547                    if (backtracking>0) {failed=true; return ;}
16548                    MismatchedSetException mse =
16549                    new MismatchedSetException(null,input);
16550                    recoverFromMismatchedSet(input,mse,FOLLOW_set_in_synpred1335);  throw mse;
16551            }
16552    
16553    
16554            }
16555            }
16556            // $ANTLR end synpred1
16557    
16558            public final boolean synpred1() {
16559            backtracking++;
16560            int start = input.mark();
16561            try {
16562                    synpred1_fragment(); // can never throw exception
16563            } catch (RecognitionException re) {
16564                    System.err.println("impossible: "+re);
16565            }
16566            boolean success = !failed;
16567            input.rewind(start);
16568            backtracking--;
16569            failed=false;
16570            return success;
16571            }
16572    
16573    
16574     
16575    
16576            public static final BitSet FOLLOW_whitespaces_in_wikipage114 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF0L,0x000000000000FFFFL});
16577            public static final BitSet FOLLOW_paragraphs_in_wikipage122 = new BitSet(new long[]{0x0000000000000000L});
16578            public static final BitSet FOLLOW_EOF_in_wikipage127 = new BitSet(new long[]{0x0000000000000002L});
16579            public static final BitSet FOLLOW_paragraph_in_paragraphs145 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF2L,0x000000000000FFFFL});
16580            public static final BitSet FOLLOW_nowiki_block_in_paragraph166 = new BitSet(new long[]{0x0000000000000002L});
16581            public static final BitSet FOLLOW_blanks_in_paragraph173 = new BitSet(new long[]{0x0000000000008000L});
16582            public static final BitSet FOLLOW_paragraph_separator_in_paragraph176 = new BitSet(new long[]{0x0000000000000002L});
16583            public static final BitSet FOLLOW_blanks_in_paragraph183 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF0L,0x000000000000FFFFL});
16584            public static final BitSet FOLLOW_table_of_contents_in_paragraph197 = new BitSet(new long[]{0x0000000000008002L});
16585            public static final BitSet FOLLOW_heading_in_paragraph211 = new BitSet(new long[]{0x0000000000008002L});
16586            public static final BitSet FOLLOW_horizontalrule_in_paragraph230 = new BitSet(new long[]{0x0000000000008002L});
16587            public static final BitSet FOLLOW_list_unord_in_paragraph242 = new BitSet(new long[]{0x0000000000008002L});
16588            public static final BitSet FOLLOW_list_ord_in_paragraph255 = new BitSet(new long[]{0x0000000000008002L});
16589            public static final BitSet FOLLOW_table_in_paragraph268 = new BitSet(new long[]{0x0000000000008002L});
16590            public static final BitSet FOLLOW_text_paragraph_in_paragraph281 = new BitSet(new long[]{0x0000000000008002L});
16591            public static final BitSet FOLLOW_paragraph_separator_in_paragraph294 = new BitSet(new long[]{0x0000000000000002L});
16592            public static final BitSet FOLLOW_text_line_in_text_paragraph322 = new BitSet(new long[]{0xFFFFFFFFFFF27FF2L,0x000000000000FFFFL});
16593            public static final BitSet FOLLOW_nowiki_inline_in_text_paragraph354 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0x000000000000FFFFL});
16594            public static final BitSet FOLLOW_text_element_in_text_paragraph365 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0x000000000000FFFFL});
16595            public static final BitSet FOLLOW_text_lineseparator_in_text_paragraph374 = new BitSet(new long[]{0xFFFFFFFFFFF27FF2L,0x000000000000FFFFL});
16596            public static final BitSet FOLLOW_text_firstelement_in_text_line397 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0x000000000000FFFFL});
16597            public static final BitSet FOLLOW_text_element_in_text_line416 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0x000000000000FFFFL});
16598            public static final BitSet FOLLOW_text_lineseparator_in_text_line431 = new BitSet(new long[]{0x0000000000000002L});
16599            public static final BitSet FOLLOW_text_formattedelement_in_text_firstelement453 = new BitSet(new long[]{0x0000000000000002L});
16600            public static final BitSet FOLLOW_text_first_unformattedelement_in_text_firstelement464 = new BitSet(new long[]{0x0000000000000002L});
16601            public static final BitSet FOLLOW_ital_markup_in_text_formattedelement480 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF2L,0x000000000000FFFFL});
16602            public static final BitSet FOLLOW_text_italcontent_in_text_formattedelement486 = new BitSet(new long[]{0x0000000000108002L});
16603            public static final BitSet FOLLOW_NEWLINE_in_text_formattedelement495 = new BitSet(new long[]{0x0000000000100000L});
16604            public static final BitSet FOLLOW_ital_markup_in_text_formattedelement501 = new BitSet(new long[]{0x0000000000000002L});
16605            public static final BitSet FOLLOW_bold_markup_in_text_formattedelement509 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF2L,0x000000000000FFFFL});
16606            public static final BitSet FOLLOW_text_boldcontent_in_text_formattedelement516 = new BitSet(new long[]{0x0000000000028002L});
16607            public static final BitSet FOLLOW_NEWLINE_in_text_formattedelement525 = new BitSet(new long[]{0x0000000000020000L});
16608            public static final BitSet FOLLOW_bold_markup_in_text_formattedelement531 = new BitSet(new long[]{0x0000000000000002L});
16609            public static final BitSet FOLLOW_NEWLINE_in_text_boldcontent550 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF2L,0x000000000000FFFFL});
16610            public static final BitSet FOLLOW_text_boldcontentpart_in_text_boldcontent562 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF2L,0x000000000000FFFFL});
16611            public static final BitSet FOLLOW_EOF_in_text_boldcontent573 = new BitSet(new long[]{0x0000000000000002L});
16612            public static final BitSet FOLLOW_NEWLINE_in_text_italcontent589 = new BitSet(new long[]{0xFFFFFFFFFFEF7FF2L,0x000000000000FFFFL});
16613            public static final BitSet FOLLOW_text_italcontentpart_in_text_italcontent601 = new BitSet(new long[]{0xFFFFFFFFFFEF7FF2L,0x000000000000FFFFL});
16614            public static final BitSet FOLLOW_EOF_in_text_italcontent612 = new BitSet(new long[]{0x0000000000000002L});
16615            public static final BitSet FOLLOW_onestar_in_text_element627 = new BitSet(new long[]{0xFFFFFFFFFFED7FF0L,0x000000000000FFFFL});
16616            public static final BitSet FOLLOW_text_unformattedelement_in_text_element634 = new BitSet(new long[]{0x0000000000000002L});
16617            public static final BitSet FOLLOW_text_unformattedelement_in_text_element645 = new BitSet(new long[]{0x0000000000020002L});
16618            public static final BitSet FOLLOW_onestar_in_text_element648 = new BitSet(new long[]{0x0000000000000002L});
16619            public static final BitSet FOLLOW_text_formattedelement_in_text_element659 = new BitSet(new long[]{0x0000000000000002L});
16620            public static final BitSet FOLLOW_ital_markup_in_text_boldcontentpart676 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF2L,0x000000000000FFFFL});
16621            public static final BitSet FOLLOW_text_bolditalcontent_in_text_boldcontentpart683 = new BitSet(new long[]{0x0000000000100002L});
16622            public static final BitSet FOLLOW_ital_markup_in_text_boldcontentpart690 = new BitSet(new long[]{0x0000000000000002L});
16623            public static final BitSet FOLLOW_text_formattedcontent_in_text_boldcontentpart702 = new BitSet(new long[]{0x0000000000000002L});
16624            public static final BitSet FOLLOW_bold_markup_in_text_italcontentpart718 = new BitSet(new long[]{0xFFFFFFFFFFEFFFF2L,0x000000000000FFFFL});
16625            public static final BitSet FOLLOW_text_bolditalcontent_in_text_italcontentpart725 = new BitSet(new long[]{0x0000000000020002L});
16626            public static final BitSet FOLLOW_bold_markup_in_text_italcontentpart731 = new BitSet(new long[]{0x0000000000000002L});
16627            public static final BitSet FOLLOW_text_formattedcontent_in_text_italcontentpart743 = new BitSet(new long[]{0x0000000000000002L});
16628            public static final BitSet FOLLOW_NEWLINE_in_text_bolditalcontent761 = new BitSet(new long[]{0xFFFFFFFFFFEF7FF2L,0x000000000000FFFFL});
16629            public static final BitSet FOLLOW_text_formattedcontent_in_text_bolditalcontent772 = new BitSet(new long[]{0x0000000000000002L});
16630            public static final BitSet FOLLOW_EOF_in_text_bolditalcontent782 = new BitSet(new long[]{0x0000000000000002L});
16631            public static final BitSet FOLLOW_onestar_in_text_formattedcontent796 = new BitSet(new long[]{0xFFFFFFFFFFED7FF0L,0x000000000000FFFFL});
16632            public static final BitSet FOLLOW_text_unformattedelement_in_text_formattedcontent805 = new BitSet(new long[]{0xFFFFFFFFFFEFFFF2L,0x000000000000FFFFL});
16633            public static final BitSet FOLLOW_onestar_in_text_formattedcontent810 = new BitSet(new long[]{0xFFFFFFFFFFEDFFF2L,0x000000000000FFFFL});
16634            public static final BitSet FOLLOW_text_linebreak_in_text_formattedcontent815 = new BitSet(new long[]{0xFFFFFFFFFFED7FF2L,0x000000000000FFFFL});
16635            public static final BitSet FOLLOW_text_lineseparator_in_text_linebreak835 = new BitSet(new long[]{0x0000000000000002L});
16636            public static final BitSet FOLLOW_text_first_inlineelement_in_text_inlineelement853 = new BitSet(new long[]{0x0000000000000002L});
16637            public static final BitSet FOLLOW_nowiki_inline_in_text_inlineelement864 = new BitSet(new long[]{0x0000000000000002L});
16638            public static final BitSet FOLLOW_link_in_text_first_inlineelement887 = new BitSet(new long[]{0x0000000000000002L});
16639            public static final BitSet FOLLOW_image_in_text_first_inlineelement898 = new BitSet(new long[]{0x0000000000000002L});
16640            public static final BitSet FOLLOW_extension_in_text_first_inlineelement908 = new BitSet(new long[]{0x0000000000000002L});
16641            public static final BitSet FOLLOW_text_first_unformatted_in_text_first_unformattedelement928 = new BitSet(new long[]{0x0000000000000002L});
16642            public static final BitSet FOLLOW_text_first_inlineelement_in_text_first_unformattedelement939 = new BitSet(new long[]{0x0000000000000002L});
16643            public static final BitSet FOLLOW_text_first_unformmatted_text_in_text_first_unformatted961 = new BitSet(new long[]{0x0000000000000002L});
16644            public static final BitSet FOLLOW_forced_linebreak_in_text_first_unformatted970 = new BitSet(new long[]{0x0000000006000002L});
16645            public static final BitSet FOLLOW_escaped_in_text_first_unformatted982 = new BitSet(new long[]{0x0000000006000002L});
16646            public static final BitSet FOLLOW_set_in_text_first_unformmatted_text1010 = new BitSet(new long[]{0xFFFFFFFFF8007FF2L,0x000000000000FFFFL});
16647            public static final BitSet FOLLOW_text_unformatted_in_text_unformattedelement1125 = new BitSet(new long[]{0x0000000000000002L});
16648            public static final BitSet FOLLOW_text_inlineelement_in_text_unformattedelement1136 = new BitSet(new long[]{0x0000000000000002L});
16649            public static final BitSet FOLLOW_text_unformated_text_in_text_unformatted1158 = new BitSet(new long[]{0x0000000000000002L});
16650            public static final BitSet FOLLOW_forced_linebreak_in_text_unformatted1167 = new BitSet(new long[]{0x0000000006000002L});
16651            public static final BitSet FOLLOW_escaped_in_text_unformatted1179 = new BitSet(new long[]{0x0000000006000002L});
16652            public static final BitSet FOLLOW_set_in_text_unformated_text1206 = new BitSet(new long[]{0xFFFFFFFFF80D7FF2L,0x000000000000FFFFL});
16653            public static final BitSet FOLLOW_heading_markup_in_heading1309 = new BitSet(new long[]{0xFFFFFFFFFBFFFFF0L,0x000000000000FFFFL});
16654            public static final BitSet FOLLOW_heading_content_in_heading1314 = new BitSet(new long[]{0x0000000080048000L});
16655            public static final BitSet FOLLOW_heading_markup_in_heading1321 = new BitSet(new long[]{0x0000000080008000L});
16656            public static final BitSet FOLLOW_blanks_in_heading1329 = new BitSet(new long[]{0x0000000000008000L});
16657            public static final BitSet FOLLOW_paragraph_separator_in_heading1336 = new BitSet(new long[]{0x0000000000000002L});
16658            public static final BitSet FOLLOW_heading_markup_in_heading_content1346 = new BitSet(new long[]{0xFFFFFFFFFBFF7FF0L,0x000000000000FFFFL});
16659            public static final BitSet FOLLOW_heading_content_in_heading_content1351 = new BitSet(new long[]{0x0000000000040002L});
16660            public static final BitSet FOLLOW_heading_markup_in_heading_content1356 = new BitSet(new long[]{0x0000000000000002L});
16661            public static final BitSet FOLLOW_heading_text_in_heading_content1368 = new BitSet(new long[]{0x0000000000000002L});
16662            public static final BitSet FOLLOW_heading_cellcontent_in_heading_text1389 = new BitSet(new long[]{0x0000000000000002L});
16663            public static final BitSet FOLLOW_onestar_in_heading_cellcontent1406 = new BitSet(new long[]{0xFFFFFFFFFBFB7FF2L,0x000000000000FFFFL});
16664            public static final BitSet FOLLOW_heading_cellcontentpart_in_heading_cellcontent1415 = new BitSet(new long[]{0xFFFFFFFFFBFB7FF2L,0x000000000000FFFFL});
16665            public static final BitSet FOLLOW_onestar_in_heading_cellcontent1427 = new BitSet(new long[]{0xFFFFFFFFFBFB7FF2L,0x000000000000FFFFL});
16666            public static final BitSet FOLLOW_heading_formattedelement_in_heading_cellcontentpart1448 = new BitSet(new long[]{0x0000000000000002L});
16667            public static final BitSet FOLLOW_heading_unformattedelement_in_heading_cellcontentpart1459 = new BitSet(new long[]{0x0000000000000002L});
16668            public static final BitSet FOLLOW_ital_markup_in_heading_formattedelement1475 = new BitSet(new long[]{0xFFFFFFFFFBFB7FF2L,0x000000000000FFFFL});
16669            public static final BitSet FOLLOW_heading_italcontent_in_heading_formattedelement1485 = new BitSet(new long[]{0x0000000000100002L});
16670            public static final BitSet FOLLOW_ital_markup_in_heading_formattedelement1494 = new BitSet(new long[]{0x0000000000000002L});
16671            public static final BitSet FOLLOW_bold_markup_in_heading_formattedelement1502 = new BitSet(new long[]{0xFFFFFFFFFBFB7FF2L,0x000000000000FFFFL});
16672            public static final BitSet FOLLOW_heading_boldcontent_in_heading_formattedelement1509 = new BitSet(new long[]{0x0000000000020002L});
16673            public static final BitSet FOLLOW_bold_markup_in_heading_formattedelement1519 = new BitSet(new long[]{0x0000000000000002L});
16674            public static final BitSet FOLLOW_onestar_in_heading_boldcontent1536 = new BitSet(new long[]{0xFFFFFFFFFBFB7FF0L,0x000000000000FFFFL});
16675            public static final BitSet FOLLOW_heading_boldcontentpart_in_heading_boldcontent1545 = new BitSet(new long[]{0xFFFFFFFFFBFB7FF2L,0x000000000000FFFFL});
16676            public static final BitSet FOLLOW_onestar_in_heading_boldcontent1550 = new BitSet(new long[]{0xFFFFFFFFFBFB7FF2L,0x000000000000FFFFL});
16677            public static final BitSet FOLLOW_EOF_in_heading_boldcontent1558 = new BitSet(new long[]{0x0000000000000002L});
16678            public static final BitSet FOLLOW_onestar_in_heading_italcontent1572 = new BitSet(new long[]{0xFFFFFFFFFBFB7FF0L,0x000000000000FFFFL});
16679            public static final BitSet FOLLOW_heading_italcontentpart_in_heading_italcontent1581 = new BitSet(new long[]{0xFFFFFFFFFBFB7FF2L,0x000000000000FFFFL});
16680            public static final BitSet FOLLOW_onestar_in_heading_italcontent1586 = new BitSet(new long[]{0xFFFFFFFFFBFB7FF2L,0x000000000000FFFFL});
16681            public static final BitSet FOLLOW_EOF_in_heading_italcontent1594 = new BitSet(new long[]{0x0000000000000002L});
16682            public static final BitSet FOLLOW_heading_formattedcontent_in_heading_boldcontentpart1612 = new BitSet(new long[]{0x0000000000000002L});
16683            public static final BitSet FOLLOW_ital_markup_in_heading_boldcontentpart1619 = new BitSet(new long[]{0xFFFFFFFFFBFB7FF2L,0x000000000000FFFFL});
16684            public static final BitSet FOLLOW_heading_bolditalcontent_in_heading_boldcontentpart1626 = new BitSet(new long[]{0x0000000000100002L});
16685            public static final BitSet FOLLOW_ital_markup_in_heading_boldcontentpart1633 = new BitSet(new long[]{0x0000000000000002L});
16686            public static final BitSet FOLLOW_bold_markup_in_heading_italcontentpart1650 = new BitSet(new long[]{0xFFFFFFFFFBFB7FF2L,0x000000000000FFFFL});
16687            public static final BitSet FOLLOW_heading_bolditalcontent_in_heading_italcontentpart1657 = new BitSet(new long[]{0x0000000000020002L});
16688            public static final BitSet FOLLOW_bold_markup_in_heading_italcontentpart1664 = new BitSet(new long[]{0x0000000000000002L});
16689            public static final BitSet FOLLOW_heading_formattedcontent_in_heading_italcontentpart1676 = new BitSet(new long[]{0x0000000000000002L});
16690            public static final BitSet FOLLOW_onestar_in_heading_bolditalcontent1692 = new BitSet(new long[]{0xFFFFFFFFFBFB7FF2L,0x000000000000FFFFL});
16691            public static final BitSet FOLLOW_heading_formattedcontent_in_heading_bolditalcontent1701 = new BitSet(new long[]{0x0000000000020002L});
16692            public static final BitSet FOLLOW_onestar_in_heading_bolditalcontent1706 = new BitSet(new long[]{0x0000000000000002L});
16693            public static final BitSet FOLLOW_EOF_in_heading_bolditalcontent1714 = new BitSet(new long[]{0x0000000000000002L});
16694            public static final BitSet FOLLOW_heading_unformattedelement_in_heading_formattedcontent1734 = new BitSet(new long[]{0xFFFFFFFFFBFB7FF2L,0x000000000000FFFFL});
16695            public static final BitSet FOLLOW_heading_unformatted_text_in_heading_unformattedelement1757 = new BitSet(new long[]{0x0000000000000002L});
16696            public static final BitSet FOLLOW_heading_inlineelement_in_heading_unformattedelement1769 = new BitSet(new long[]{0x0000000000000002L});
16697            public static final BitSet FOLLOW_link_in_heading_inlineelement1790 = new BitSet(new long[]{0x0000000000000002L});
16698            public static final BitSet FOLLOW_image_in_heading_inlineelement1800 = new BitSet(new long[]{0x0000000000000002L});
16699            public static final BitSet FOLLOW_nowiki_inline_in_heading_inlineelement1811 = new BitSet(new long[]{0x0000000000000002L});
16700            public static final BitSet FOLLOW_set_in_heading_unformatted_text1836 = new BitSet(new long[]{0xFFFFFFFFFB1B7FF2L,0x000000000000FFFFL});
16701            public static final BitSet FOLLOW_list_ordelem_in_list_ord1895 = new BitSet(new long[]{0x0000000000018002L});
16702            public static final BitSet FOLLOW_end_of_list_in_list_ord1905 = new BitSet(new long[]{0x0000000000000002L});
16703            public static final BitSet FOLLOW_list_ordelem_markup_in_list_ordelem1938 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0x000000000000FFFFL});
16704            public static final BitSet FOLLOW_list_elem_in_list_ordelem1946 = new BitSet(new long[]{0x0000000000000002L});
16705            public static final BitSet FOLLOW_list_unordelem_in_list_unord1969 = new BitSet(new long[]{0x0000000000028002L});
16706            public static final BitSet FOLLOW_end_of_list_in_list_unord1979 = new BitSet(new long[]{0x0000000000000002L});
16707            public static final BitSet FOLLOW_list_unordelem_markup_in_list_unordelem2012 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0x000000000000FFFFL});
16708            public static final BitSet FOLLOW_list_elem_in_list_unordelem2019 = new BitSet(new long[]{0x0000000000000002L});
16709            public static final BitSet FOLLOW_list_elem_markup_in_list_elem2042 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0x000000000000FFFFL});
16710            public static final BitSet FOLLOW_list_elemcontent_in_list_elem2053 = new BitSet(new long[]{0x0000000000008000L});
16711            public static final BitSet FOLLOW_list_elemseparator_in_list_elem2058 = new BitSet(new long[]{0x0000000000000002L});
16712            public static final BitSet FOLLOW_list_ordelem_markup_in_list_elem_markup2068 = new BitSet(new long[]{0x0000000000000002L});
16713            public static final BitSet FOLLOW_list_unordelem_markup_in_list_elem_markup2073 = new BitSet(new long[]{0x0000000000000002L});
16714            public static final BitSet FOLLOW_onestar_in_list_elemcontent2087 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF2L,0x000000000000FFFFL});
16715            public static final BitSet FOLLOW_list_elemcontentpart_in_list_elemcontent2096 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF2L,0x000000000000FFFFL});
16716            public static final BitSet FOLLOW_onestar_in_list_elemcontent2101 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF2L,0x000000000000FFFFL});
16717            public static final BitSet FOLLOW_text_unformattedelement_in_list_elemcontentpart2122 = new BitSet(new long[]{0x0000000000000002L});
16718            public static final BitSet FOLLOW_list_formatted_elem_in_list_elemcontentpart2133 = new BitSet(new long[]{0x0000000000000002L});
16719            public static final BitSet FOLLOW_bold_markup_in_list_formatted_elem2150 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF2L,0x000000000000FFFFL});
16720            public static final BitSet FOLLOW_onestar_in_list_formatted_elem2153 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF2L,0x000000000000FFFFL});
16721            public static final BitSet FOLLOW_list_boldcontentpart_in_list_formatted_elem2162 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF2L,0x000000000000FFFFL});
16722            public static final BitSet FOLLOW_onestar_in_list_formatted_elem2172 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF2L,0x000000000000FFFFL});
16723            public static final BitSet FOLLOW_bold_markup_in_list_formatted_elem2181 = new BitSet(new long[]{0x0000000000000002L});
16724            public static final BitSet FOLLOW_ital_markup_in_list_formatted_elem2189 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF2L,0x000000000000FFFFL});
16725            public static final BitSet FOLLOW_onestar_in_list_formatted_elem2194 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF2L,0x000000000000FFFFL});
16726            public static final BitSet FOLLOW_list_italcontentpart_in_list_formatted_elem2203 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF2L,0x000000000000FFFFL});
16727            public static final BitSet FOLLOW_onestar_in_list_formatted_elem2212 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF2L,0x000000000000FFFFL});
16728            public static final BitSet FOLLOW_ital_markup_in_list_formatted_elem2221 = new BitSet(new long[]{0x0000000000000002L});
16729            public static final BitSet FOLLOW_ital_markup_in_list_boldcontentpart2247 = new BitSet(new long[]{0xFFFFFFFFFFED7FF0L,0x000000000000FFFFL});
16730            public static final BitSet FOLLOW_list_bolditalcontent_in_list_boldcontentpart2254 = new BitSet(new long[]{0x0000000000100002L});
16731            public static final BitSet FOLLOW_ital_markup_in_list_boldcontentpart2261 = new BitSet(new long[]{0x0000000000000002L});
16732            public static final BitSet FOLLOW_text_unformattedelement_in_list_boldcontentpart2276 = new BitSet(new long[]{0xFFFFFFFFFFED7FF2L,0x000000000000FFFFL});
16733            public static final BitSet FOLLOW_text_unformattedelement_in_list_bolditalcontent2307 = new BitSet(new long[]{0xFFFFFFFFFFED7FF2L,0x000000000000FFFFL});
16734            public static final BitSet FOLLOW_bold_markup_in_list_italcontentpart2336 = new BitSet(new long[]{0xFFFFFFFFFFED7FF0L,0x000000000000FFFFL});
16735            public static final BitSet FOLLOW_list_bolditalcontent_in_list_italcontentpart2343 = new BitSet(new long[]{0x0000000000020002L});
16736            public static final BitSet FOLLOW_bold_markup_in_list_italcontentpart2350 = new BitSet(new long[]{0x0000000000000002L});
16737            public static final BitSet FOLLOW_text_unformattedelement_in_list_italcontentpart2364 = new BitSet(new long[]{0xFFFFFFFFFFED7FF2L,0x000000000000FFFFL});
16738            public static final BitSet FOLLOW_table_row_in_table2394 = new BitSet(new long[]{0x0000000000080002L});
16739            public static final BitSet FOLLOW_table_cell_in_table_row2420 = new BitSet(new long[]{0x0000000000088000L});
16740            public static final BitSet FOLLOW_table_rowseparator_in_table_row2428 = new BitSet(new long[]{0x0000000000000002L});
16741            public static final BitSet FOLLOW_table_headercell_in_table_cell2449 = new BitSet(new long[]{0x0000000000000002L});
16742            public static final BitSet FOLLOW_table_normalcell_in_table_cell2460 = new BitSet(new long[]{0x0000000000000002L});
16743            public static final BitSet FOLLOW_table_headercell_markup_in_table_headercell2476 = new BitSet(new long[]{0xFFFFFFFFFFF77FF2L,0x000000000000FFFFL});
16744            public static final BitSet FOLLOW_table_cellcontent_in_table_headercell2483 = new BitSet(new long[]{0x0000000000000002L});
16745            public static final BitSet FOLLOW_table_cell_markup_in_table_normalcell2499 = new BitSet(new long[]{0xFFFFFFFFFFF77FF2L,0x000000000000FFFFL});
16746            public static final BitSet FOLLOW_table_cellcontent_in_table_normalcell2506 = new BitSet(new long[]{0x0000000000000002L});
16747            public static final BitSet FOLLOW_onestar_in_table_cellcontent2522 = new BitSet(new long[]{0xFFFFFFFFFFF77FF2L,0x000000000000FFFFL});
16748            public static final BitSet FOLLOW_table_cellcontentpart_in_table_cellcontent2531 = new BitSet(new long[]{0xFFFFFFFFFFF77FF2L,0x000000000000FFFFL});
16749            public static final BitSet FOLLOW_onestar_in_table_cellcontent2536 = new BitSet(new long[]{0xFFFFFFFFFFF77FF2L,0x000000000000FFFFL});
16750            public static final BitSet FOLLOW_table_formattedelement_in_table_cellcontentpart2557 = new BitSet(new long[]{0x0000000000000002L});
16751            public static final BitSet FOLLOW_table_unformattedelement_in_table_cellcontentpart2568 = new BitSet(new long[]{0x0000000000000002L});
16752            public static final BitSet FOLLOW_ital_markup_in_table_formattedelement2584 = new BitSet(new long[]{0xFFFFFFFFFFF77FF2L,0x000000000000FFFFL});
16753            public static final BitSet FOLLOW_table_italcontent_in_table_formattedelement2594 = new BitSet(new long[]{0x0000000000100002L});
16754            public static final BitSet FOLLOW_ital_markup_in_table_formattedelement2603 = new BitSet(new long[]{0x0000000000000002L});
16755            public static final BitSet FOLLOW_bold_markup_in_table_formattedelement2611 = new BitSet(new long[]{0xFFFFFFFFFFF77FF2L,0x000000000000FFFFL});
16756            public static final BitSet FOLLOW_table_boldcontent_in_table_formattedelement2618 = new BitSet(new long[]{0x0000000000020002L});
16757            public static final BitSet FOLLOW_bold_markup_in_table_formattedelement2628 = new BitSet(new long[]{0x0000000000000002L});
16758            public static final BitSet FOLLOW_onestar_in_table_boldcontent2645 = new BitSet(new long[]{0xFFFFFFFFFFF57FF0L,0x000000000000FFFFL});
16759            public static final BitSet FOLLOW_table_boldcontentpart_in_table_boldcontent2654 = new BitSet(new long[]{0xFFFFFFFFFFF77FF2L,0x000000000000FFFFL});
16760            public static final BitSet FOLLOW_onestar_in_table_boldcontent2659 = new BitSet(new long[]{0xFFFFFFFFFFF57FF2L,0x000000000000FFFFL});
16761            public static final BitSet FOLLOW_EOF_in_table_boldcontent2667 = new BitSet(new long[]{0x0000000000000002L});
16762            public static final BitSet FOLLOW_onestar_in_table_italcontent2681 = new BitSet(new long[]{0xFFFFFFFFFFE77FF0L,0x000000000000FFFFL});
16763            public static final BitSet FOLLOW_table_italcontentpart_in_table_italcontent2690 = new BitSet(new long[]{0xFFFFFFFFFFE77FF2L,0x000000000000FFFFL});
16764            public static final BitSet FOLLOW_onestar_in_table_italcontent2695 = new BitSet(new long[]{0xFFFFFFFFFFE77FF2L,0x000000000000FFFFL});
16765            public static final BitSet FOLLOW_EOF_in_table_italcontent2703 = new BitSet(new long[]{0x0000000000000002L});
16766            public static final BitSet FOLLOW_table_formattedcontent_in_table_boldcontentpart2721 = new BitSet(new long[]{0x0000000000000002L});
16767            public static final BitSet FOLLOW_ital_markup_in_table_boldcontentpart2728 = new BitSet(new long[]{0xFFFFFFFFFFF77FF2L,0x000000000000FFFFL});
16768            public static final BitSet FOLLOW_table_bolditalcontent_in_table_boldcontentpart2735 = new BitSet(new long[]{0x0000000000100002L});
16769            public static final BitSet FOLLOW_ital_markup_in_table_boldcontentpart2742 = new BitSet(new long[]{0x0000000000000002L});
16770            public static final BitSet FOLLOW_bold_markup_in_table_italcontentpart2759 = new BitSet(new long[]{0xFFFFFFFFFFE77FF2L,0x000000000000FFFFL});
16771            public static final BitSet FOLLOW_table_bolditalcontent_in_table_italcontentpart2766 = new BitSet(new long[]{0x0000000000020002L});
16772            public static final BitSet FOLLOW_bold_markup_in_table_italcontentpart2773 = new BitSet(new long[]{0x0000000000000002L});
16773            public static final BitSet FOLLOW_table_formattedcontent_in_table_italcontentpart2785 = new BitSet(new long[]{0x0000000000000002L});
16774            public static final BitSet FOLLOW_onestar_in_table_bolditalcontent2801 = new BitSet(new long[]{0xFFFFFFFFFFE57FF2L,0x000000000000FFFFL});
16775            public static final BitSet FOLLOW_table_formattedcontent_in_table_bolditalcontent2810 = new BitSet(new long[]{0x0000000000020002L});
16776            public static final BitSet FOLLOW_onestar_in_table_bolditalcontent2815 = new BitSet(new long[]{0x0000000000000002L});
16777            public static final BitSet FOLLOW_EOF_in_table_bolditalcontent2823 = new BitSet(new long[]{0x0000000000000002L});
16778            public static final BitSet FOLLOW_table_unformattedelement_in_table_formattedcontent2843 = new BitSet(new long[]{0xFFFFFFFFFFE57FF2L,0x000000000000FFFFL});
16779            public static final BitSet FOLLOW_table_unformatted_in_table_unformattedelement2866 = new BitSet(new long[]{0x0000000000000002L});
16780            public static final BitSet FOLLOW_table_inlineelement_in_table_unformattedelement2878 = new BitSet(new long[]{0x0000000000000002L});
16781            public static final BitSet FOLLOW_link_in_table_inlineelement2899 = new BitSet(new long[]{0x0000000000000002L});
16782            public static final BitSet FOLLOW_image_in_table_inlineelement2909 = new BitSet(new long[]{0x0000000000000002L});
16783            public static final BitSet FOLLOW_extension_in_table_inlineelement2920 = new BitSet(new long[]{0x0000000000000002L});
16784            public static final BitSet FOLLOW_nowiki_inline_in_table_inlineelement2930 = new BitSet(new long[]{0x0000000000000002L});
16785            public static final BitSet FOLLOW_table_unformatted_text_in_table_unformatted2952 = new BitSet(new long[]{0x0000000000000002L});
16786            public static final BitSet FOLLOW_forced_linebreak_in_table_unformatted2961 = new BitSet(new long[]{0x0000000006000002L});
16787            public static final BitSet FOLLOW_escaped_in_table_unformatted2974 = new BitSet(new long[]{0x0000000006000002L});
16788            public static final BitSet FOLLOW_set_in_table_unformatted_text3000 = new BitSet(new long[]{0xFFFFFFFFF8057FF2L,0x000000000000FFFFL});
16789            public static final BitSet FOLLOW_nowikiblock_open_markup_in_nowiki_block3097 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0x000000000000FFFFL});
16790            public static final BitSet FOLLOW_nowiki_block_contents_in_nowiki_block3104 = new BitSet(new long[]{0x0000000008000000L});
16791            public static final BitSet FOLLOW_nowikiblock_close_markup_in_nowiki_block3110 = new BitSet(new long[]{0x0000000000008000L});
16792            public static final BitSet FOLLOW_paragraph_separator_in_nowiki_block3113 = new BitSet(new long[]{0x0000000000000002L});
16793            public static final BitSet FOLLOW_nowiki_open_markup_in_nowikiblock_open_markup3125 = new BitSet(new long[]{0x0000000000008000L});
16794            public static final BitSet FOLLOW_newline_in_nowikiblock_open_markup3128 = new BitSet(new long[]{0x0000000000000002L});
16795            public static final BitSet FOLLOW_NOWIKI_BLOCK_CLOSE_in_nowikiblock_close_markup3140 = new BitSet(new long[]{0x0000000000000002L});
16796            public static final BitSet FOLLOW_nowiki_open_markup_in_nowiki_inline3155 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF0L,0x000000000000FFFFL});
16797            public static final BitSet FOLLOW_nowiki_inline_contents_in_nowiki_inline3162 = new BitSet(new long[]{0x0000000010000000L});
16798            public static final BitSet FOLLOW_nowiki_close_markup_in_nowiki_inline3167 = new BitSet(new long[]{0x0000000000000002L});
16799            public static final BitSet FOLLOW_set_in_nowiki_block_contents3186 = new BitSet(new long[]{0xFFFFFFFFF7FFFFF2L,0x000000000000FFFFL});
16800            public static final BitSet FOLLOW_set_in_nowiki_inline_contents3219 = new BitSet(new long[]{0xFFFFFFFFEFFF7FF2L,0x000000000000FFFFL});
16801            public static final BitSet FOLLOW_horizontalrule_markup_in_horizontalrule3256 = new BitSet(new long[]{0x0000000080008000L});
16802            public static final BitSet FOLLOW_blanks_in_horizontalrule3261 = new BitSet(new long[]{0x0000000000008000L});
16803            public static final BitSet FOLLOW_paragraph_separator_in_horizontalrule3267 = new BitSet(new long[]{0x0000000000000002L});
16804            public static final BitSet FOLLOW_link_open_markup_in_link3289 = new BitSet(new long[]{0xFFFFFFFFDFF77FF0L,0x000000000000FFFFL});
16805            public static final BitSet FOLLOW_link_address_in_link3295 = new BitSet(new long[]{0x0000000020080000L});
16806            public static final BitSet FOLLOW_link_description_markup_in_link3301 = new BitSet(new long[]{0xFFFFFFFFDE5F7FF0L,0x000000000000FFFFL});
16807            public static final BitSet FOLLOW_link_description_in_link3311 = new BitSet(new long[]{0x0000000020000000L});
16808            public static final BitSet FOLLOW_link_close_markup_in_link3319 = new BitSet(new long[]{0x0000000000000002L});
16809            public static final BitSet FOLLOW_link_interwiki_uri_in_link_address3338 = new BitSet(new long[]{0x0000100000000000L});
16810            public static final BitSet FOLLOW_44_in_link_address3341 = new BitSet(new long[]{0xFFFFFFFFDFF77FF0L,0x000000000000FFFFL});
16811            public static final BitSet FOLLOW_link_interwiki_pagename_in_link_address3348 = new BitSet(new long[]{0x0000000000000002L});
16812            public static final BitSet FOLLOW_link_uri_in_link_address3359 = new BitSet(new long[]{0x0000000000000002L});
16813            public static final BitSet FOLLOW_45_in_link_interwiki_uri3375 = new BitSet(new long[]{0x0000400000000000L});
16814            public static final BitSet FOLLOW_46_in_link_interwiki_uri3377 = new BitSet(new long[]{0x0000000000000002L});
16815            public static final BitSet FOLLOW_47_in_link_interwiki_uri3382 = new BitSet(new long[]{0x0001000000000000L});
16816            public static final BitSet FOLLOW_48_in_link_interwiki_uri3384 = new BitSet(new long[]{0x0002000000000000L});
16817            public static final BitSet FOLLOW_49_in_link_interwiki_uri3386 = new BitSet(new long[]{0x0004000000000000L});
16818            public static final BitSet FOLLOW_50_in_link_interwiki_uri3388 = new BitSet(new long[]{0x0008000000000000L});
16819            public static final BitSet FOLLOW_51_in_link_interwiki_uri3390 = new BitSet(new long[]{0x0010000000000000L});
16820            public static final BitSet FOLLOW_52_in_link_interwiki_uri3392 = new BitSet(new long[]{0x0002000000000000L});
16821            public static final BitSet FOLLOW_49_in_link_interwiki_uri3394 = new BitSet(new long[]{0x0010000000000000L});
16822            public static final BitSet FOLLOW_52_in_link_interwiki_uri3396 = new BitSet(new long[]{0x0000000000000002L});
16823            public static final BitSet FOLLOW_53_in_link_interwiki_uri3401 = new BitSet(new long[]{0x0040000000000000L});
16824            public static final BitSet FOLLOW_54_in_link_interwiki_uri3403 = new BitSet(new long[]{0x0010000000000000L});
16825            public static final BitSet FOLLOW_52_in_link_interwiki_uri3405 = new BitSet(new long[]{0x0080000000000000L});
16826            public static final BitSet FOLLOW_55_in_link_interwiki_uri3407 = new BitSet(new long[]{0x0002000000000000L});
16827            public static final BitSet FOLLOW_49_in_link_interwiki_uri3409 = new BitSet(new long[]{0x0100000000000000L});
16828            public static final BitSet FOLLOW_56_in_link_interwiki_uri3411 = new BitSet(new long[]{0x0000000000000002L});
16829            public static final BitSet FOLLOW_57_in_link_interwiki_uri3416 = new BitSet(new long[]{0x0001000000000000L});
16830            public static final BitSet FOLLOW_48_in_link_interwiki_uri3418 = new BitSet(new long[]{0x0001000000000000L});
16831            public static final BitSet FOLLOW_48_in_link_interwiki_uri3420 = new BitSet(new long[]{0x0400000000000000L});
16832            public static final BitSet FOLLOW_58_in_link_interwiki_uri3422 = new BitSet(new long[]{0x0040000000000000L});
16833            public static final BitSet FOLLOW_54_in_link_interwiki_uri3424 = new BitSet(new long[]{0x0800000000000000L});
16834            public static final BitSet FOLLOW_59_in_link_interwiki_uri3426 = new BitSet(new long[]{0x0000000000000002L});
16835            public static final BitSet FOLLOW_60_in_link_interwiki_uri3431 = new BitSet(new long[]{0x2000000000000000L});
16836            public static final BitSet FOLLOW_61_in_link_interwiki_uri3433 = new BitSet(new long[]{0x4000000000000000L});
16837            public static final BitSet FOLLOW_62_in_link_interwiki_uri3435 = new BitSet(new long[]{0x0008000000000000L});
16838            public static final BitSet FOLLOW_51_in_link_interwiki_uri3437 = new BitSet(new long[]{0x0010000000000000L});
16839            public static final BitSet FOLLOW_52_in_link_interwiki_uri3439 = new BitSet(new long[]{0x0002000000000000L});
16840            public static final BitSet FOLLOW_49_in_link_interwiki_uri3441 = new BitSet(new long[]{0x0010000000000000L});
16841            public static final BitSet FOLLOW_52_in_link_interwiki_uri3443 = new BitSet(new long[]{0x0000000000000002L});
16842            public static final BitSet FOLLOW_63_in_link_interwiki_uri3448 = new BitSet(new long[]{0x0800000000000000L});
16843            public static final BitSet FOLLOW_59_in_link_interwiki_uri3450 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000001L});
16844            public static final BitSet FOLLOW_64_in_link_interwiki_uri3452 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L});
16845            public static final BitSet FOLLOW_65_in_link_interwiki_uri3454 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
16846            public static final BitSet FOLLOW_66_in_link_interwiki_uri3456 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000001L});
16847            public static final BitSet FOLLOW_64_in_link_interwiki_uri3458 = new BitSet(new long[]{0x0040000000000000L});
16848            public static final BitSet FOLLOW_54_in_link_interwiki_uri3460 = new BitSet(new long[]{0x0040000000000000L});
16849            public static final BitSet FOLLOW_54_in_link_interwiki_uri3462 = new BitSet(new long[]{0x0000000000000002L});
16850            public static final BitSet FOLLOW_63_in_link_interwiki_uri3467 = new BitSet(new long[]{0x0800000000000000L});
16851            public static final BitSet FOLLOW_59_in_link_interwiki_uri3469 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000008L});
16852            public static final BitSet FOLLOW_67_in_link_interwiki_uri3471 = new BitSet(new long[]{0x0010000000000000L});
16853            public static final BitSet FOLLOW_52_in_link_interwiki_uri3473 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000001L});
16854            public static final BitSet FOLLOW_64_in_link_interwiki_uri3475 = new BitSet(new long[]{0x0008000000000000L});
16855            public static final BitSet FOLLOW_51_in_link_interwiki_uri3477 = new BitSet(new long[]{0x0010000000000000L});
16856            public static final BitSet FOLLOW_52_in_link_interwiki_uri3479 = new BitSet(new long[]{0x0002000000000000L});
16857            public static final BitSet FOLLOW_49_in_link_interwiki_uri3481 = new BitSet(new long[]{0x0010000000000000L});
16858            public static final BitSet FOLLOW_52_in_link_interwiki_uri3483 = new BitSet(new long[]{0x0000000000000002L});
16859            public static final BitSet FOLLOW_63_in_link_interwiki_uri3488 = new BitSet(new long[]{0x0001000000000000L});
16860            public static final BitSet FOLLOW_48_in_link_interwiki_uri3490 = new BitSet(new long[]{0x0010000000000000L});
16861            public static final BitSet FOLLOW_52_in_link_interwiki_uri3492 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000010L});
16862            public static final BitSet FOLLOW_68_in_link_interwiki_uri3494 = new BitSet(new long[]{0x8000000000000000L});
16863            public static final BitSet FOLLOW_63_in_link_interwiki_uri3496 = new BitSet(new long[]{0x0001000000000000L});
16864            public static final BitSet FOLLOW_48_in_link_interwiki_uri3498 = new BitSet(new long[]{0x0010000000000000L});
16865            public static final BitSet FOLLOW_52_in_link_interwiki_uri3500 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000010L});
16866            public static final BitSet FOLLOW_68_in_link_interwiki_uri3502 = new BitSet(new long[]{0x0000000000000002L});
16867            public static final BitSet FOLLOW_69_in_link_interwiki_uri3507 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000008L});
16868            public static final BitSet FOLLOW_67_in_link_interwiki_uri3509 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000008L});
16869            public static final BitSet FOLLOW_67_in_link_interwiki_uri3511 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000040L});
16870            public static final BitSet FOLLOW_70_in_link_interwiki_uri3513 = new BitSet(new long[]{0x0004000000000000L});
16871            public static final BitSet FOLLOW_50_in_link_interwiki_uri3515 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000080L});
16872            public static final BitSet FOLLOW_71_in_link_interwiki_uri3517 = new BitSet(new long[]{0x0800000000000000L});
16873            public static final BitSet FOLLOW_59_in_link_interwiki_uri3519 = new BitSet(new long[]{0x0000000000000002L});
16874            public static final BitSet FOLLOW_69_in_link_interwiki_uri3524 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000100L});
16875            public static final BitSet FOLLOW_72_in_link_interwiki_uri3526 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000001L});
16876            public static final BitSet FOLLOW_64_in_link_interwiki_uri3528 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000010L});
16877            public static final BitSet FOLLOW_68_in_link_interwiki_uri3530 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000001L});
16878            public static final BitSet FOLLOW_64_in_link_interwiki_uri3532 = new BitSet(new long[]{0x0000000000000002L});
16879            public static final BitSet FOLLOW_62_in_link_interwiki_uri3537 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000040L});
16880            public static final BitSet FOLLOW_70_in_link_interwiki_uri3539 = new BitSet(new long[]{0x0008000000000000L});
16881            public static final BitSet FOLLOW_51_in_link_interwiki_uri3541 = new BitSet(new long[]{0x0010000000000000L});
16882            public static final BitSet FOLLOW_52_in_link_interwiki_uri3543 = new BitSet(new long[]{0x0002000000000000L});
16883            public static final BitSet FOLLOW_49_in_link_interwiki_uri3545 = new BitSet(new long[]{0x0010000000000000L});
16884            public static final BitSet FOLLOW_52_in_link_interwiki_uri3547 = new BitSet(new long[]{0x0000000000000002L});
16885            public static final BitSet FOLLOW_62_in_link_interwiki_uri3552 = new BitSet(new long[]{0x0004000000000000L});
16886            public static final BitSet FOLLOW_50_in_link_interwiki_uri3554 = new BitSet(new long[]{0x0002000000000000L});
16887            public static final BitSet FOLLOW_49_in_link_interwiki_uri3556 = new BitSet(new long[]{0x0010000000000000L});
16888            public static final BitSet FOLLOW_52_in_link_interwiki_uri3558 = new BitSet(new long[]{0x0008000000000000L});
16889            public static final BitSet FOLLOW_51_in_link_interwiki_uri3560 = new BitSet(new long[]{0x0010000000000000L});
16890            public static final BitSet FOLLOW_52_in_link_interwiki_uri3562 = new BitSet(new long[]{0x0002000000000000L});
16891            public static final BitSet FOLLOW_49_in_link_interwiki_uri3564 = new BitSet(new long[]{0x0010000000000000L});
16892            public static final BitSet FOLLOW_52_in_link_interwiki_uri3566 = new BitSet(new long[]{0x0000000000000002L});
16893            public static final BitSet FOLLOW_62_in_link_interwiki_uri3571 = new BitSet(new long[]{0x0004000000000000L});
16894            public static final BitSet FOLLOW_50_in_link_interwiki_uri3573 = new BitSet(new long[]{0x0100000000000000L});
16895            public static final BitSet FOLLOW_56_in_link_interwiki_uri3575 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000200L});
16896            public static final BitSet FOLLOW_73_in_link_interwiki_uri3577 = new BitSet(new long[]{0x0040000000000000L});
16897            public static final BitSet FOLLOW_54_in_link_interwiki_uri3579 = new BitSet(new long[]{0x0800000000000000L});
16898            public static final BitSet FOLLOW_59_in_link_interwiki_uri3581 = new BitSet(new long[]{0x0008000000000000L});
16899            public static final BitSet FOLLOW_51_in_link_interwiki_uri3583 = new BitSet(new long[]{0x0010000000000000L});
16900            public static final BitSet FOLLOW_52_in_link_interwiki_uri3585 = new BitSet(new long[]{0x0002000000000000L});
16901            public static final BitSet FOLLOW_49_in_link_interwiki_uri3587 = new BitSet(new long[]{0x0010000000000000L});
16902            public static final BitSet FOLLOW_52_in_link_interwiki_uri3589 = new BitSet(new long[]{0x0000000000000002L});
16903            public static final BitSet FOLLOW_74_in_link_interwiki_uri3594 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000001L});
16904            public static final BitSet FOLLOW_64_in_link_interwiki_uri3596 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000008L});
16905            public static final BitSet FOLLOW_67_in_link_interwiki_uri3598 = new BitSet(new long[]{0x0800000000000000L});
16906            public static final BitSet FOLLOW_59_in_link_interwiki_uri3600 = new BitSet(new long[]{0x0001000000000000L});
16907            public static final BitSet FOLLOW_48_in_link_interwiki_uri3602 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000800L});
16908            public static final BitSet FOLLOW_75_in_link_interwiki_uri3604 = new BitSet(new long[]{0x0000000000000002L});
16909            public static final BitSet FOLLOW_61_in_link_interwiki_uri3609 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000010L});
16910            public static final BitSet FOLLOW_68_in_link_interwiki_uri3611 = new BitSet(new long[]{0x0010000000000000L});
16911            public static final BitSet FOLLOW_52_in_link_interwiki_uri3613 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000200L});
16912            public static final BitSet FOLLOW_73_in_link_interwiki_uri3615 = new BitSet(new long[]{0x2000000000000000L});
16913            public static final BitSet FOLLOW_61_in_link_interwiki_uri3617 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000010L});
16914            public static final BitSet FOLLOW_68_in_link_interwiki_uri3619 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000001L});
16915            public static final BitSet FOLLOW_64_in_link_interwiki_uri3621 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000200L});
16916            public static final BitSet FOLLOW_73_in_link_interwiki_uri3623 = new BitSet(new long[]{0x0000000000000002L});
16917            public static final BitSet FOLLOW_76_in_link_interwiki_uri3628 = new BitSet(new long[]{0x0010000000000000L});
16918            public static final BitSet FOLLOW_52_in_link_interwiki_uri3630 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000008L});
16919            public static final BitSet FOLLOW_67_in_link_interwiki_uri3632 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000008L});
16920            public static final BitSet FOLLOW_67_in_link_interwiki_uri3634 = new BitSet(new long[]{0x0040000000000000L});
16921            public static final BitSet FOLLOW_54_in_link_interwiki_uri3636 = new BitSet(new long[]{0x0000000000000000L,0x0000000000002000L});
16922            public static final BitSet FOLLOW_77_in_link_interwiki_uri3638 = new BitSet(new long[]{0x0008000000000000L});
16923            public static final BitSet FOLLOW_51_in_link_interwiki_uri3640 = new BitSet(new long[]{0x0010000000000000L});
16924            public static final BitSet FOLLOW_52_in_link_interwiki_uri3642 = new BitSet(new long[]{0x0002000000000000L});
16925            public static final BitSet FOLLOW_49_in_link_interwiki_uri3644 = new BitSet(new long[]{0x0010000000000000L});
16926            public static final BitSet FOLLOW_52_in_link_interwiki_uri3646 = new BitSet(new long[]{0x0000000000000002L});
16927            public static final BitSet FOLLOW_76_in_link_interwiki_uri3651 = new BitSet(new long[]{0x0008000000000000L});
16928            public static final BitSet FOLLOW_51_in_link_interwiki_uri3653 = new BitSet(new long[]{0x0010000000000000L});
16929            public static final BitSet FOLLOW_52_in_link_interwiki_uri3655 = new BitSet(new long[]{0x0002000000000000L});
16930            public static final BitSet FOLLOW_49_in_link_interwiki_uri3657 = new BitSet(new long[]{0x0010000000000000L});
16931            public static final BitSet FOLLOW_52_in_link_interwiki_uri3659 = new BitSet(new long[]{0x0000000000000002L});
16932            public static final BitSet FOLLOW_78_in_link_interwiki_uri3664 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000080L});
16933            public static final BitSet FOLLOW_71_in_link_interwiki_uri3666 = new BitSet(new long[]{0x0800000000000000L});
16934            public static final BitSet FOLLOW_59_in_link_interwiki_uri3668 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000040L});
16935            public static final BitSet FOLLOW_70_in_link_interwiki_uri3670 = new BitSet(new long[]{0x0001000000000000L});
16936            public static final BitSet FOLLOW_48_in_link_interwiki_uri3672 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000008L});
16937            public static final BitSet FOLLOW_67_in_link_interwiki_uri3674 = new BitSet(new long[]{0x0000000000000002L});
16938            public static final BitSet FOLLOW_51_in_link_interwiki_uri3679 = new BitSet(new long[]{0x0010000000000000L});
16939            public static final BitSet FOLLOW_52_in_link_interwiki_uri3681 = new BitSet(new long[]{0x0002000000000000L});
16940            public static final BitSet FOLLOW_49_in_link_interwiki_uri3683 = new BitSet(new long[]{0x0010000000000000L});
16941            public static final BitSet FOLLOW_52_in_link_interwiki_uri3685 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000200L});
16942            public static final BitSet FOLLOW_73_in_link_interwiki_uri3687 = new BitSet(new long[]{0x0800000000000000L});
16943            public static final BitSet FOLLOW_59_in_link_interwiki_uri3689 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000008L});
16944            public static final BitSet FOLLOW_67_in_link_interwiki_uri3691 = new BitSet(new long[]{0x0010000000000000L});
16945            public static final BitSet FOLLOW_52_in_link_interwiki_uri3693 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000001L});
16946            public static final BitSet FOLLOW_64_in_link_interwiki_uri3695 = new BitSet(new long[]{0x0000000000000002L});
16947            public static final BitSet FOLLOW_79_in_link_interwiki_uri3700 = new BitSet(new long[]{0x0008000000000000L});
16948            public static final BitSet FOLLOW_51_in_link_interwiki_uri3702 = new BitSet(new long[]{0x0010000000000000L});
16949            public static final BitSet FOLLOW_52_in_link_interwiki_uri3704 = new BitSet(new long[]{0x0002000000000000L});
16950            public static final BitSet FOLLOW_49_in_link_interwiki_uri3706 = new BitSet(new long[]{0x0010000000000000L});
16951            public static final BitSet FOLLOW_52_in_link_interwiki_uri3708 = new BitSet(new long[]{0x0000000000000002L});
16952            public static final BitSet FOLLOW_set_in_link_interwiki_pagename3728 = new BitSet(new long[]{0xFFFFFFFFDFF77FF2L,0x000000000000FFFFL});
16953            public static final BitSet FOLLOW_link_descriptionpart_in_link_description3771 = new BitSet(new long[]{0xFFFFFFFFDE5F7FF2L,0x000000000000FFFFL});
16954            public static final BitSet FOLLOW_image_in_link_description3783 = new BitSet(new long[]{0xFFFFFFFFDE5F7FF2L,0x000000000000FFFFL});
16955            public static final BitSet FOLLOW_bold_markup_in_link_descriptionpart3808 = new BitSet(new long[]{0xFFFFFFFFDE1F7FF0L,0x000000000000FFFFL});
16956            public static final BitSet FOLLOW_onestar_in_link_descriptionpart3811 = new BitSet(new long[]{0xFFFFFFFFDE1D7FF0L,0x000000000000FFFFL});
16957            public static final BitSet FOLLOW_link_bold_descriptionpart_in_link_descriptionpart3819 = new BitSet(new long[]{0xFFFFFFFFDE1F7FF0L,0x000000000000FFFFL});
16958            public static final BitSet FOLLOW_onestar_in_link_descriptionpart3824 = new BitSet(new long[]{0xFFFFFFFFDE1F7FF0L,0x000000000000FFFFL});
16959            public static final BitSet FOLLOW_bold_markup_in_link_descriptionpart3834 = new BitSet(new long[]{0x0000000000000002L});
16960            public static final BitSet FOLLOW_ital_markup_in_link_descriptionpart3839 = new BitSet(new long[]{0xFFFFFFFFDE0F7FF0L,0x000000000000FFFFL});
16961            public static final BitSet FOLLOW_onestar_in_link_descriptionpart3842 = new BitSet(new long[]{0xFFFFFFFFDE0F7FF0L,0x000000000000FFFFL});
16962            public static final BitSet FOLLOW_link_ital_descriptionpart_in_link_descriptionpart3851 = new BitSet(new long[]{0xFFFFFFFFDE1F7FF0L,0x000000000000FFFFL});
16963            public static final BitSet FOLLOW_onestar_in_link_descriptionpart3856 = new BitSet(new long[]{0xFFFFFFFFDE1F7FF0L,0x000000000000FFFFL});
16964            public static final BitSet FOLLOW_ital_markup_in_link_descriptionpart3865 = new BitSet(new long[]{0x0000000000000002L});
16965            public static final BitSet FOLLOW_onestar_in_link_descriptionpart3870 = new BitSet(new long[]{0xFFFFFFFFDE0D7FF0L,0x000000000000FFFFL});
16966            public static final BitSet FOLLOW_link_descriptiontext_in_link_descriptionpart3879 = new BitSet(new long[]{0xFFFFFFFFDE0F7FF2L,0x000000000000FFFFL});
16967            public static final BitSet FOLLOW_onestar_in_link_descriptionpart3882 = new BitSet(new long[]{0xFFFFFFFFDE0D7FF2L,0x000000000000FFFFL});
16968            public static final BitSet FOLLOW_ital_markup_in_link_bold_descriptionpart3902 = new BitSet(new long[]{0xFFFFFFFFDE0F7FF0L,0x000000000000FFFFL});
16969            public static final BitSet FOLLOW_link_boldital_description_in_link_bold_descriptionpart3909 = new BitSet(new long[]{0x0000000000100000L});
16970            public static final BitSet FOLLOW_ital_markup_in_link_bold_descriptionpart3914 = new BitSet(new long[]{0x0000000000000002L});
16971            public static final BitSet FOLLOW_link_descriptiontext_in_link_bold_descriptionpart3923 = new BitSet(new long[]{0x0000000000000002L});
16972            public static final BitSet FOLLOW_bold_markup_in_link_ital_descriptionpart3939 = new BitSet(new long[]{0xFFFFFFFFDE0F7FF0L,0x000000000000FFFFL});
16973            public static final BitSet FOLLOW_link_boldital_description_in_link_ital_descriptionpart3946 = new BitSet(new long[]{0x0000000000020000L});
16974            public static final BitSet FOLLOW_bold_markup_in_link_ital_descriptionpart3949 = new BitSet(new long[]{0x0000000000000002L});
16975            public static final BitSet FOLLOW_link_descriptiontext_in_link_ital_descriptionpart3960 = new BitSet(new long[]{0x0000000000000002L});
16976            public static final BitSet FOLLOW_onestar_in_link_boldital_description3976 = new BitSet(new long[]{0xFFFFFFFFDE0D7FF0L,0x000000000000FFFFL});
16977            public static final BitSet FOLLOW_link_descriptiontext_in_link_boldital_description3985 = new BitSet(new long[]{0xFFFFFFFFDE0F7FF2L,0x000000000000FFFFL});
16978            public static final BitSet FOLLOW_onestar_in_link_boldital_description3988 = new BitSet(new long[]{0xFFFFFFFFDE0D7FF2L,0x000000000000FFFFL});
16979            public static final BitSet FOLLOW_link_descriptiontext_simple_in_link_descriptiontext4011 = new BitSet(new long[]{0x0000000000000002L});
16980            public static final BitSet FOLLOW_forced_linebreak_in_link_descriptiontext4021 = new BitSet(new long[]{0x0000000006000002L});
16981            public static final BitSet FOLLOW_escaped_in_link_descriptiontext4033 = new BitSet(new long[]{0x0000000006000002L});
16982            public static final BitSet FOLLOW_set_in_link_descriptiontext_simple4058 = new BitSet(new long[]{0xFFFFFFFFD80D7FF2L,0x000000000000FFFFL});
16983            public static final BitSet FOLLOW_set_in_link_uri4158 = new BitSet(new long[]{0xFFFFFFFFDFF77FF2L,0x000000000000FFFFL});
16984            public static final BitSet FOLLOW_image_open_markup_in_image4199 = new BitSet(new long[]{0xFFFFFFFFBFF77FF0L,0x000000000000FFFFL});
16985            public static final BitSet FOLLOW_image_uri_in_image4205 = new BitSet(new long[]{0x0000000040080000L});
16986            public static final BitSet FOLLOW_image_alternative_in_image4215 = new BitSet(new long[]{0x0000000040000000L});
16987            public static final BitSet FOLLOW_image_close_markup_in_image4224 = new BitSet(new long[]{0x0000000000000002L});
16988            public static final BitSet FOLLOW_set_in_image_uri4243 = new BitSet(new long[]{0xFFFFFFFFBFF77FF2L,0x000000000000FFFFL});
16989            public static final BitSet FOLLOW_image_alternative_markup_in_image_alternative4278 = new BitSet(new long[]{0xFFFFFFFFBE1F7FF0L,0x000000000000FFFFL});
16990            public static final BitSet FOLLOW_image_alternativepart_in_image_alternative4287 = new BitSet(new long[]{0xFFFFFFFFBE1F7FF2L,0x000000000000FFFFL});
16991            public static final BitSet FOLLOW_bold_markup_in_image_alternativepart4313 = new BitSet(new long[]{0x0000000000120000L});
16992            public static final BitSet FOLLOW_onestar_in_image_alternativepart4316 = new BitSet(new long[]{0xFFFFFFFFBE1F7FF0L,0x000000000000FFFFL});
16993            public static final BitSet FOLLOW_image_bold_alternativepart_in_image_alternativepart4325 = new BitSet(new long[]{0x0000000000120000L});
16994            public static final BitSet FOLLOW_onestar_in_image_alternativepart4330 = new BitSet(new long[]{0xFFFFFFFFBE1F7FF0L,0x000000000000FFFFL});
16995            public static final BitSet FOLLOW_bold_markup_in_image_alternativepart4337 = new BitSet(new long[]{0x0000000000000002L});
16996            public static final BitSet FOLLOW_ital_markup_in_image_alternativepart4344 = new BitSet(new long[]{0x0000000000020000L});
16997            public static final BitSet FOLLOW_onestar_in_image_alternativepart4347 = new BitSet(new long[]{0xFFFFFFFFBE0F7FF0L,0x000000000000FFFFL});
16998            public static final BitSet FOLLOW_image_ital_alternativepart_in_image_alternativepart4357 = new BitSet(new long[]{0x0000000000120000L});
16999            public static final BitSet FOLLOW_onestar_in_image_alternativepart4362 = new BitSet(new long[]{0xFFFFFFFFBE1F7FF0L,0x000000000000FFFFL});
17000            public static final BitSet FOLLOW_ital_markup_in_image_alternativepart4369 = new BitSet(new long[]{0x0000000000000002L});
17001            public static final BitSet FOLLOW_onestar_in_image_alternativepart4376 = new BitSet(new long[]{0xFFFFFFFFBE0D7FF0L,0x000000000000FFFFL});
17002            public static final BitSet FOLLOW_image_alternativetext_in_image_alternativepart4383 = new BitSet(new long[]{0xFFFFFFFFBE0F7FF2L,0x000000000000FFFFL});
17003            public static final BitSet FOLLOW_onestar_in_image_alternativepart4388 = new BitSet(new long[]{0xFFFFFFFFBE0D7FF2L,0x000000000000FFFFL});
17004            public static final BitSet FOLLOW_ital_markup_in_image_bold_alternativepart4414 = new BitSet(new long[]{0xFFFFFFFFDE0F7FF0L,0x000000000000FFFFL});
17005            public static final BitSet FOLLOW_link_boldital_description_in_image_bold_alternativepart4421 = new BitSet(new long[]{0x0000000000100000L});
17006            public static final BitSet FOLLOW_ital_markup_in_image_bold_alternativepart4426 = new BitSet(new long[]{0x0000000000000002L});
17007            public static final BitSet FOLLOW_onestar_in_image_bold_alternativepart4431 = new BitSet(new long[]{0xFFFFFFFFBE0D7FF0L,0x000000000000FFFFL});
17008            public static final BitSet FOLLOW_image_alternativetext_in_image_bold_alternativepart4440 = new BitSet(new long[]{0xFFFFFFFFBE0F7FF2L,0x000000000000FFFFL});
17009            public static final BitSet FOLLOW_onestar_in_image_bold_alternativepart4443 = new BitSet(new long[]{0xFFFFFFFFBE0D7FF2L,0x000000000000FFFFL});
17010            public static final BitSet FOLLOW_bold_markup_in_image_ital_alternativepart4472 = new BitSet(new long[]{0xFFFFFFFFDE0F7FF0L,0x000000000000FFFFL});
17011            public static final BitSet FOLLOW_link_boldital_description_in_image_ital_alternativepart4479 = new BitSet(new long[]{0x0000000000020000L});
17012            public static final BitSet FOLLOW_bold_markup_in_image_ital_alternativepart4484 = new BitSet(new long[]{0x0000000000000002L});
17013            public static final BitSet FOLLOW_onestar_in_image_ital_alternativepart4489 = new BitSet(new long[]{0xFFFFFFFFBE0D7FF0L,0x000000000000FFFFL});
17014            public static final BitSet FOLLOW_image_alternativetext_in_image_ital_alternativepart4498 = new BitSet(new long[]{0xFFFFFFFFBE0F7FF2L,0x000000000000FFFFL});
17015            public static final BitSet FOLLOW_onestar_in_image_ital_alternativepart4501 = new BitSet(new long[]{0xFFFFFFFFBE0D7FF2L,0x000000000000FFFFL});
17016            public static final BitSet FOLLOW_onestar_in_image_boldital_alternative4522 = new BitSet(new long[]{0xFFFFFFFFBE0D7FF0L,0x000000000000FFFFL});
17017            public static final BitSet FOLLOW_image_alternativetext_in_image_boldital_alternative4531 = new BitSet(new long[]{0xFFFFFFFFBE0F7FF2L,0x000000000000FFFFL});
17018            public static final BitSet FOLLOW_onestar_in_image_boldital_alternative4534 = new BitSet(new long[]{0xFFFFFFFFBE0D7FF2L,0x000000000000FFFFL});
17019            public static final BitSet FOLLOW_image_alternative_simple_text_in_image_alternativetext4557 = new BitSet(new long[]{0x0000000000000002L});
17020            public static final BitSet FOLLOW_forced_linebreak_in_image_alternativetext4565 = new BitSet(new long[]{0x0000000002000002L});
17021            public static final BitSet FOLLOW_set_in_image_alternative_simple_text4592 = new BitSet(new long[]{0xFFFFFFFFBC0D7FF2L,0x000000000000FFFFL});
17022            public static final BitSet FOLLOW_extension_markup_in_extension4685 = new BitSet(new long[]{0xFFFFFFFF7EFF7FF0L,0x000000000000FFFFL});
17023            public static final BitSet FOLLOW_extension_handler_in_extension4688 = new BitSet(new long[]{0x0000000080000000L});
17024            public static final BitSet FOLLOW_blanks_in_extension4691 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0x000000000000FFFFL});
17025            public static final BitSet FOLLOW_extension_statement_in_extension4694 = new BitSet(new long[]{0x0000000001000000L});
17026            public static final BitSet FOLLOW_extension_markup_in_extension4699 = new BitSet(new long[]{0x0000000000000002L});
17027            public static final BitSet FOLLOW_set_in_extension_handler4710 = new BitSet(new long[]{0xFFFFFFFF7EFF7FF2L,0x000000000000FFFFL});
17028            public static final BitSet FOLLOW_escaped_in_extension_handler4743 = new BitSet(new long[]{0xFFFFFFFF7EFF7FF2L,0x000000000000FFFFL});
17029            public static final BitSet FOLLOW_set_in_extension_statement4757 = new BitSet(new long[]{0xFFFFFFFFFEFFFFF2L,0x000000000000FFFFL});
17030            public static final BitSet FOLLOW_escaped_in_extension_statement4778 = new BitSet(new long[]{0xFFFFFFFFFEFFFFF2L,0x000000000000FFFFL});
17031            public static final BitSet FOLLOW_TABLE_OF_CONTENTS_TEXT_in_table_of_contents4801 = new BitSet(new long[]{0x0000000000000002L});
17032            public static final BitSet FOLLOW_STAR_in_onestar4824 = new BitSet(new long[]{0x0000000000000002L});
17033            public static final BitSet FOLLOW_ESCAPE_in_escaped4846 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0x000000000000FFFFL});
17034            public static final BitSet FOLLOW_newline_in_paragraph_separator4870 = new BitSet(new long[]{0x0000000000008002L});
17035            public static final BitSet FOLLOW_EOF_in_paragraph_separator4878 = new BitSet(new long[]{0x0000000000000002L});
17036            public static final BitSet FOLLOW_blanks_in_whitespaces4890 = new BitSet(new long[]{0x0000000080008002L});
17037            public static final BitSet FOLLOW_newline_in_whitespaces4894 = new BitSet(new long[]{0x0000000080008002L});
17038            public static final BitSet FOLLOW_BLANKS_in_blanks4907 = new BitSet(new long[]{0x0000000000000002L});
17039            public static final BitSet FOLLOW_newline_in_text_lineseparator4917 = new BitSet(new long[]{0x0000000080000002L});
17040            public static final BitSet FOLLOW_blanks_in_text_lineseparator4922 = new BitSet(new long[]{0x0000000000000002L});
17041            public static final BitSet FOLLOW_EOF_in_text_lineseparator4930 = new BitSet(new long[]{0x0000000000000002L});
17042            public static final BitSet FOLLOW_NEWLINE_in_newline4940 = new BitSet(new long[]{0x0000000000000002L});
17043            public static final BitSet FOLLOW_STAR_in_bold_markup4950 = new BitSet(new long[]{0x0000000000020000L});
17044            public static final BitSet FOLLOW_STAR_in_bold_markup4953 = new BitSet(new long[]{0x0000000000000002L});
17045            public static final BitSet FOLLOW_ITAL_in_ital_markup4963 = new BitSet(new long[]{0x0000000000000002L});
17046            public static final BitSet FOLLOW_EQUAL_in_heading_markup4973 = new BitSet(new long[]{0x0000000000000002L});
17047            public static final BitSet FOLLOW_POUND_in_list_ordelem_markup4983 = new BitSet(new long[]{0x0000000000000002L});
17048            public static final BitSet FOLLOW_STAR_in_list_unordelem_markup4993 = new BitSet(new long[]{0x0000000000000002L});
17049            public static final BitSet FOLLOW_newline_in_list_elemseparator5003 = new BitSet(new long[]{0x0000000080000002L});
17050            public static final BitSet FOLLOW_blanks_in_list_elemseparator5008 = new BitSet(new long[]{0x0000000000000002L});
17051            public static final BitSet FOLLOW_EOF_in_list_elemseparator5016 = new BitSet(new long[]{0x0000000000000002L});
17052            public static final BitSet FOLLOW_newline_in_end_of_list5026 = new BitSet(new long[]{0x0000000000000002L});
17053            public static final BitSet FOLLOW_EOF_in_end_of_list5031 = new BitSet(new long[]{0x0000000000000002L});
17054            public static final BitSet FOLLOW_PIPE_in_table_cell_markup5041 = new BitSet(new long[]{0x0000000000000002L});
17055            public static final BitSet FOLLOW_PIPE_in_table_headercell_markup5051 = new BitSet(new long[]{0x0000000000040000L});
17056            public static final BitSet FOLLOW_EQUAL_in_table_headercell_markup5054 = new BitSet(new long[]{0x0000000000000002L});
17057            public static final BitSet FOLLOW_newline_in_table_rowseparator5064 = new BitSet(new long[]{0x0000000000000002L});
17058            public static final BitSet FOLLOW_EOF_in_table_rowseparator5069 = new BitSet(new long[]{0x0000000000000002L});
17059            public static final BitSet FOLLOW_NOWIKI_OPEN_in_nowiki_open_markup5079 = new BitSet(new long[]{0x0000000000000002L});
17060            public static final BitSet FOLLOW_NOWIKI_CLOSE_in_nowiki_close_markup5089 = new BitSet(new long[]{0x0000000000000002L});
17061            public static final BitSet FOLLOW_DASH_in_horizontalrule_markup5099 = new BitSet(new long[]{0x0000000200000000L});
17062            public static final BitSet FOLLOW_DASH_in_horizontalrule_markup5102 = new BitSet(new long[]{0x0000000200000000L});
17063            public static final BitSet FOLLOW_DASH_in_horizontalrule_markup5105 = new BitSet(new long[]{0x0000000200000000L});
17064            public static final BitSet FOLLOW_DASH_in_horizontalrule_markup5108 = new BitSet(new long[]{0x0000000000000002L});
17065            public static final BitSet FOLLOW_LINK_OPEN_in_link_open_markup5118 = new BitSet(new long[]{0x0000000000000002L});
17066            public static final BitSet FOLLOW_LINK_CLOSE_in_link_close_markup5128 = new BitSet(new long[]{0x0000000000000002L});
17067            public static final BitSet FOLLOW_PIPE_in_link_description_markup5138 = new BitSet(new long[]{0x0000000000000002L});
17068            public static final BitSet FOLLOW_IMAGE_OPEN_in_image_open_markup5148 = new BitSet(new long[]{0x0000000000000002L});
17069            public static final BitSet FOLLOW_IMAGE_CLOSE_in_image_close_markup5158 = new BitSet(new long[]{0x0000000000000002L});
17070            public static final BitSet FOLLOW_PIPE_in_image_alternative_markup5168 = new BitSet(new long[]{0x0000000000000002L});
17071            public static final BitSet FOLLOW_EXTENSION_in_extension_markup5178 = new BitSet(new long[]{0x0000000000000002L});
17072            public static final BitSet FOLLOW_FORCED_LINEBREAK_in_forced_linebreak5188 = new BitSet(new long[]{0x0000000000000002L});
17073            public static final BitSet FOLLOW_NOWIKI_OPEN_in_synpred1332 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF0L,0x000000000000FFFFL});
17074            public static final BitSet FOLLOW_set_in_synpred1335 = new BitSet(new long[]{0x0000000000000002L});
17075    
17076    }