001    // $ANTLR 3.0.1 /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g 2011-08-19 12:28:58
002    
003    /**
004     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
005     *
006     * The contents of this file are subject to the terms of the Liferay Enterprise
007     * Subscription License ("License"). You may not use this file except in
008     * compliance with the License. You can obtain a copy of the License by
009     * contacting Liferay, Inc. See the License for the specific language governing
010     * permissions and limitations under the License, including but not limited to
011     * distribution rights of the Software.
012     *
013     *
014     *
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", "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 BLANKS=31;
066            public static final int INSIGNIFICANT_CHAR=42;
067            public static final int FORCED_LINEBREAK=25;
068            public static final int UNORDERED_LIST=12;
069            public static final int STAR=17;
070            public static final int DASH=33;
071            public static final int POUND=16;
072            public static final int HEADING_SECTION=5;
073            public static final int NOWIKI_OPEN=23;
074            public static final int FORCED_END_OF_LINE=4;
075            public static final int TABLE_OF_CONTENTS_TEXT=32;
076            public static final int HORIZONTAL_SECTION=6;
077            public static final int NOWIKI_BLOCK_CLOSE=27;
078            public static final int UNFORMATTED_TEXT=13;
079            public static final int NOWIKI_SECTION=9;
080            public static final int SPACE=36;
081            public static final int NOWIKI_CLOSE=28;
082            public static final int IMAGE_OPEN=22;
083            public static final int ITAL=20;
084            public static final int EOF=-1;
085            public static final int COLON_SLASH=38;
086            public static final int LIST_ITEM=7;
087            public static final int TEXT_NODE=11;
088            public static final int WIKI=14;
089            public static final int SLASH=39;
090            public static final int ESCAPE=26;
091            public static final int NEWLINE=15;
092            public static final int SCAPE_NODE=10;
093            public static final int IMAGE_CLOSE=30;
094            public static final int EQUAL=18;
095            public static final int TABLE_OF_CONTENTS_CLOSE_MARKUP=41;
096            public static final int TABULATOR=37;
097            public static final int LINK_CLOSE=29;
098            public static final int LIST_ITEM_PART=8;
099            public static final int PIPE=19;
100            public static final int LINK_OPEN=21;
101            public static final int TABLE_OF_CONTENTS_OPEN_MARKUP=40;
102            public static final int CR=34;
103            public static final int EXTENSION=24;
104            public static final int LF=35;
105            protected static class CountLevel_scope {
106            int level;
107            String currentMarkup;
108            String groups;
109            }
110            protected Stack CountLevel_stack = new Stack();
111    
112    
113            public Creole10Parser(TokenStream input) {
114                    super(input);
115                    ruleMemo = new HashMap[129+1];
116             }
117            
118    
119            public String[] getTokenNames() { return tokenNames; }
120            public String getGrammarFileName() { return "/home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g"; }
121    
122    
123            protected static final String GROUPING_SEPARATOR = "-";
124    
125            private WikiPageNode _wikipage = null;
126            
127            public WikiPageNode getWikiPageNode() {
128                    if(_wikipage == null)
129                            throw new IllegalStateException("No succesful parsing process");
130                    
131                    return _wikipage;
132            }
133    
134    
135    
136            // $ANTLR start wikipage
137            // /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 ;
138            public final void wikipage() throws RecognitionException {
139            CollectionNode p = null;
140    
141    
142            try {
143                    // /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 )
144                    // /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
145                    {
146                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:112:4: ( whitespaces )?
147                    int alt1=2;
148                    int LA1_0 = input.LA(1);
149    
150                    if ( (LA1_0==NEWLINE||LA1_0==BLANKS) ) {
151                    alt1=1;
152                    }
153                    switch (alt1) {
154                    case 1 :
155                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:112:6: whitespaces
156                            {
157                            pushFollow(FOLLOW_whitespaces_in_wikipage118);
158                            whitespaces();
159                            _fsp--;
160                            if (failed) return ;
161    
162                            }
163                            break;
164    
165                    }
166    
167                    pushFollow(FOLLOW_paragraphs_in_wikipage126);
168                    p=paragraphs();
169                    _fsp--;
170                    if (failed) return ;
171                    if ( backtracking==0 ) {
172                       _wikipage = new WikiPageNode(p); 
173                    }
174                    match(input,EOF,FOLLOW_EOF_in_wikipage131); if (failed) return ;
175    
176                    }
177    
178            }
179            catch (RecognitionException re) {
180                    reportError(re);
181                    recover(input,re);
182            }
183            finally {
184            }
185            return ;
186            }
187            // $ANTLR end wikipage
188    
189    
190            // $ANTLR start paragraphs
191            // /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 )* ;
192            public final CollectionNode paragraphs() throws RecognitionException {
193            CollectionNode sections =  new CollectionNode();
194    
195            ASTNode p = null;
196    
197    
198            try {
199                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:115:2: ( (p= paragraph )* )
200                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:115:4: (p= paragraph )*
201                    {
202                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:115:4: (p= paragraph )*
203                    loop2:
204                    do {
205                    int alt2=2;
206                    int LA2_0 = input.LA(1);
207    
208                    if ( ((LA2_0>=FORCED_END_OF_LINE && LA2_0<=WIKI)||(LA2_0>=POUND && LA2_0<=78)) ) {
209                            alt2=1;
210                    }
211    
212    
213                    switch (alt2) {
214                    case 1 :
215                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:115:5: p= paragraph
216                            {
217                            pushFollow(FOLLOW_paragraph_in_paragraphs149);
218                            p=paragraph();
219                            _fsp--;
220                            if (failed) return sections;
221                            if ( backtracking==0 ) {
222    
223                                            if(p != null){ // at this moment we ignore paragraps with blanks
224                                                    sections.add(p);
225                                            }
226                                            
227                            }
228    
229                            }
230                            break;
231    
232                    default :
233                            break loop2;
234                    }
235                    } while (true);
236    
237    
238                    }
239    
240            }
241            catch (RecognitionException re) {
242                    reportError(re);
243                    recover(input,re);
244            }
245            finally {
246            }
247            return sections;
248            }
249            // $ANTLR end paragraphs
250    
251    
252            // $ANTLR start paragraph
253            // /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 )? );
254            public final ASTNode paragraph() throws RecognitionException {
255            ASTNode node =  null;
256    
257            NoWikiSectionNode n = null;
258    
259            ASTNode tof = null;
260    
261            ASTNode h = null;
262    
263            ASTNode hn = null;
264    
265            UnorderedListNode lu = null;
266    
267            OrderedListNode lo = null;
268    
269            TableNode t = null;
270    
271            ParagraphNode tp = null;
272    
273    
274            try {
275                    // /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 )? )
276                    int alt6=3;
277                    switch ( input.LA(1) ) {
278                    case NOWIKI_OPEN:
279                    {
280                    int LA6_1 = input.LA(2);
281    
282                    if ( (LA6_1==NEWLINE) ) {
283                            alt6=1;
284                    }
285                    else if ( ((LA6_1>=FORCED_END_OF_LINE && LA6_1<=WIKI)||(LA6_1>=POUND && LA6_1<=78)) ) {
286                            alt6=3;
287                    }
288                    else {
289                            if (backtracking>0) {failed=true; return node;}
290                            NoViableAltException nvae =
291                            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);
292    
293                            throw nvae;
294                    }
295                    }
296                    break;
297                    case BLANKS:
298                    {
299                    switch ( input.LA(2) ) {
300                    case FORCED_END_OF_LINE:
301                    case HEADING_SECTION:
302                    case HORIZONTAL_SECTION:
303                    case LIST_ITEM:
304                    case LIST_ITEM_PART:
305                    case NOWIKI_SECTION:
306                    case SCAPE_NODE:
307                    case TEXT_NODE:
308                    case UNORDERED_LIST:
309                    case UNFORMATTED_TEXT:
310                    case WIKI:
311                    case POUND:
312                    case STAR:
313                    case EQUAL:
314                    case PIPE:
315                    case ITAL:
316                    case LINK_OPEN:
317                    case IMAGE_OPEN:
318                    case NOWIKI_OPEN:
319                    case EXTENSION:
320                    case FORCED_LINEBREAK:
321                    case ESCAPE:
322                    case NOWIKI_BLOCK_CLOSE:
323                    case NOWIKI_CLOSE:
324                    case LINK_CLOSE:
325                    case IMAGE_CLOSE:
326                    case BLANKS:
327                    case TABLE_OF_CONTENTS_TEXT:
328                    case DASH:
329                    case CR:
330                    case LF:
331                    case SPACE:
332                    case TABULATOR:
333                    case COLON_SLASH:
334                    case SLASH:
335                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
336                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
337                    case INSIGNIFICANT_CHAR:
338                    case 43:
339                    case 44:
340                    case 45:
341                    case 46:
342                    case 47:
343                    case 48:
344                    case 49:
345                    case 50:
346                    case 51:
347                    case 52:
348                    case 53:
349                    case 54:
350                    case 55:
351                    case 56:
352                    case 57:
353                    case 58:
354                    case 59:
355                    case 60:
356                    case 61:
357                    case 62:
358                    case 63:
359                    case 64:
360                    case 65:
361                    case 66:
362                    case 67:
363                    case 68:
364                    case 69:
365                    case 70:
366                    case 71:
367                    case 72:
368                    case 73:
369                    case 74:
370                    case 75:
371                    case 76:
372                    case 77:
373                    case 78:
374                            {
375                            alt6=3;
376                            }
377                            break;
378                    case NEWLINE:
379                            {
380                            alt6=2;
381                            }
382                            break;
383                    case EOF:
384                            {
385                            alt6=2;
386                            }
387                            break;
388                    default:
389                            if (backtracking>0) {failed=true; return node;}
390                            NoViableAltException nvae =
391                            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);
392    
393                            throw nvae;
394                    }
395    
396                    }
397                    break;
398                    case FORCED_END_OF_LINE:
399                    case HEADING_SECTION:
400                    case HORIZONTAL_SECTION:
401                    case LIST_ITEM:
402                    case LIST_ITEM_PART:
403                    case NOWIKI_SECTION:
404                    case SCAPE_NODE:
405                    case TEXT_NODE:
406                    case UNORDERED_LIST:
407                    case UNFORMATTED_TEXT:
408                    case WIKI:
409                    case POUND:
410                    case STAR:
411                    case EQUAL:
412                    case PIPE:
413                    case ITAL:
414                    case LINK_OPEN:
415                    case IMAGE_OPEN:
416                    case EXTENSION:
417                    case FORCED_LINEBREAK:
418                    case ESCAPE:
419                    case NOWIKI_BLOCK_CLOSE:
420                    case NOWIKI_CLOSE:
421                    case LINK_CLOSE:
422                    case IMAGE_CLOSE:
423                    case TABLE_OF_CONTENTS_TEXT:
424                    case DASH:
425                    case CR:
426                    case LF:
427                    case SPACE:
428                    case TABULATOR:
429                    case COLON_SLASH:
430                    case SLASH:
431                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
432                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
433                    case INSIGNIFICANT_CHAR:
434                    case 43:
435                    case 44:
436                    case 45:
437                    case 46:
438                    case 47:
439                    case 48:
440                    case 49:
441                    case 50:
442                    case 51:
443                    case 52:
444                    case 53:
445                    case 54:
446                    case 55:
447                    case 56:
448                    case 57:
449                    case 58:
450                    case 59:
451                    case 60:
452                    case 61:
453                    case 62:
454                    case 63:
455                    case 64:
456                    case 65:
457                    case 66:
458                    case 67:
459                    case 68:
460                    case 69:
461                    case 70:
462                    case 71:
463                    case 72:
464                    case 73:
465                    case 74:
466                    case 75:
467                    case 76:
468                    case 77:
469                    case 78:
470                    {
471                    alt6=3;
472                    }
473                    break;
474                    default:
475                    if (backtracking>0) {failed=true; return node;}
476                    NoViableAltException nvae =
477                            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);
478    
479                    throw nvae;
480                    }
481    
482                    switch (alt6) {
483                    case 1 :
484                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:122:4: n= nowiki_block
485                            {
486                            pushFollow(FOLLOW_nowiki_block_in_paragraph170);
487                            n=nowiki_block();
488                            _fsp--;
489                            if (failed) return node;
490                            if ( backtracking==0 ) {
491                               node = n; 
492                            }
493    
494                            }
495                            break;
496                    case 2 :
497                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:123:4: blanks paragraph_separator
498                            {
499                            pushFollow(FOLLOW_blanks_in_paragraph177);
500                            blanks();
501                            _fsp--;
502                            if (failed) return node;
503                            pushFollow(FOLLOW_paragraph_separator_in_paragraph180);
504                            paragraph_separator();
505                            _fsp--;
506                            if (failed) return node;
507    
508                            }
509                            break;
510                    case 3 :
511                            // /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 )?
512                            {
513                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:124:4: ( blanks )?
514                            int alt3=2;
515                            int LA3_0 = input.LA(1);
516    
517                            if ( (LA3_0==BLANKS) ) {
518                            alt3=1;
519                            }
520                            switch (alt3) {
521                            case 1 :
522                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:124:6: blanks
523                                    {
524                                    pushFollow(FOLLOW_blanks_in_paragraph187);
525                                    blanks();
526                                    _fsp--;
527                                    if (failed) return node;
528    
529                                    }
530                                    break;
531    
532                            }
533    
534                            // /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 )
535                            int alt4=7;
536                            switch ( input.LA(1) ) {
537                            case TABLE_OF_CONTENTS_TEXT:
538                            {
539                            alt4=1;
540                            }
541                            break;
542                            case EQUAL:
543                            {
544                            alt4=2;
545                            }
546                            break;
547                            case DASH:
548                            {
549                            int LA4_3 = input.LA(2);
550    
551                            if ( ( input.LA(1) == DASH && input.LA(2) == DASH &&
552                                                            input.LA(3) == DASH && input.LA(4) == DASH ) ) {
553                                    alt4=3;
554                            }
555                            else if ( (true) ) {
556                                    alt4=7;
557                            }
558                            else {
559                                    if (backtracking>0) {failed=true; return node;}
560                                    NoViableAltException nvae =
561                                    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);
562    
563                                    throw nvae;
564                            }
565                            }
566                            break;
567                            case STAR:
568                            {
569                            int LA4_4 = input.LA(2);
570    
571                            if ( (!( input.LA(1) != STAR || (input.LA(1) == STAR && input.LA(2) == STAR) )) ) {
572                                    alt4=4;
573                            }
574                            else if ( ( input.LA(1) != STAR || (input.LA(1) == STAR && input.LA(2) == STAR) ) ) {
575                                    alt4=7;
576                            }
577                            else {
578                                    if (backtracking>0) {failed=true; return node;}
579                                    NoViableAltException nvae =
580                                    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);
581    
582                                    throw nvae;
583                            }
584                            }
585                            break;
586                            case POUND:
587                            {
588                            alt4=5;
589                            }
590                            break;
591                            case PIPE:
592                            {
593                            alt4=6;
594                            }
595                            break;
596                            case FORCED_END_OF_LINE:
597                            case HEADING_SECTION:
598                            case HORIZONTAL_SECTION:
599                            case LIST_ITEM:
600                            case LIST_ITEM_PART:
601                            case NOWIKI_SECTION:
602                            case SCAPE_NODE:
603                            case TEXT_NODE:
604                            case UNORDERED_LIST:
605                            case UNFORMATTED_TEXT:
606                            case WIKI:
607                            case ITAL:
608                            case LINK_OPEN:
609                            case IMAGE_OPEN:
610                            case NOWIKI_OPEN:
611                            case EXTENSION:
612                            case FORCED_LINEBREAK:
613                            case ESCAPE:
614                            case NOWIKI_BLOCK_CLOSE:
615                            case NOWIKI_CLOSE:
616                            case LINK_CLOSE:
617                            case IMAGE_CLOSE:
618                            case BLANKS:
619                            case CR:
620                            case LF:
621                            case SPACE:
622                            case TABULATOR:
623                            case COLON_SLASH:
624                            case SLASH:
625                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
626                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
627                            case INSIGNIFICANT_CHAR:
628                            case 43:
629                            case 44:
630                            case 45:
631                            case 46:
632                            case 47:
633                            case 48:
634                            case 49:
635                            case 50:
636                            case 51:
637                            case 52:
638                            case 53:
639                            case 54:
640                            case 55:
641                            case 56:
642                            case 57:
643                            case 58:
644                            case 59:
645                            case 60:
646                            case 61:
647                            case 62:
648                            case 63:
649                            case 64:
650                            case 65:
651                            case 66:
652                            case 67:
653                            case 68:
654                            case 69:
655                            case 70:
656                            case 71:
657                            case 72:
658                            case 73:
659                            case 74:
660                            case 75:
661                            case 76:
662                            case 77:
663                            case 78:
664                            {
665                            alt4=7;
666                            }
667                            break;
668                            default:
669                            if (backtracking>0) {failed=true; return node;}
670                            NoViableAltException nvae =
671                                    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);
672    
673                            throw nvae;
674                            }
675    
676                            switch (alt4) {
677                            case 1 :
678                                    // /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
679                                    {
680                                    pushFollow(FOLLOW_table_of_contents_in_paragraph201);
681                                    tof=table_of_contents();
682                                    _fsp--;
683                                    if (failed) return node;
684                                    if ( backtracking==0 ) {
685                                      node = tof;
686                                    }
687    
688                                    }
689                                    break;
690                            case 2 :
691                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:126:6: h= heading
692                                    {
693                                    pushFollow(FOLLOW_heading_in_paragraph218);
694                                    h=heading();
695                                    _fsp--;
696                                    if (failed) return node;
697                                    if ( backtracking==0 ) {
698                                       node = h;
699                                    }
700    
701                                    }
702                                    break;
703                            case 3 :
704                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:127:6: {...}?hn= horizontalrule
705                                    {
706                                    if ( !( input.LA(1) == DASH && input.LA(2) == DASH &&
707                                                            input.LA(3) == DASH && input.LA(4) == DASH ) ) {
708                                    if (backtracking>0) {failed=true; return node;}
709                                    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 ");
710                                    }
711                                    pushFollow(FOLLOW_horizontalrule_in_paragraph237);
712                                    hn=horizontalrule();
713                                    _fsp--;
714                                    if (failed) return node;
715                                    if ( backtracking==0 ) {
716                                      node = hn;
717                                    }
718    
719                                    }
720                                    break;
721                            case 4 :
722                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:130:6: lu= list_unord
723                                    {
724                                    pushFollow(FOLLOW_list_unord_in_paragraph249);
725                                    lu=list_unord();
726                                    _fsp--;
727                                    if (failed) return node;
728                                    if ( backtracking==0 ) {
729                                      node = lu;
730                                    }
731    
732                                    }
733                                    break;
734                            case 5 :
735                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:131:6: lo= list_ord
736                                    {
737                                    pushFollow(FOLLOW_list_ord_in_paragraph262);
738                                    lo=list_ord();
739                                    _fsp--;
740                                    if (failed) return node;
741                                    if ( backtracking==0 ) {
742                                      node = lo;
743                                    }
744    
745                                    }
746                                    break;
747                            case 6 :
748                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:132:6: t= table
749                                    {
750                                    pushFollow(FOLLOW_table_in_paragraph275);
751                                    t=table();
752                                    _fsp--;
753                                    if (failed) return node;
754                                    if ( backtracking==0 ) {
755                                       node = t; 
756                                    }
757    
758                                    }
759                                    break;
760                            case 7 :
761                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:133:6: tp= text_paragraph
762                                    {
763                                    pushFollow(FOLLOW_text_paragraph_in_paragraph288);
764                                    tp=text_paragraph();
765                                    _fsp--;
766                                    if (failed) return node;
767                                    if ( backtracking==0 ) {
768                                      node = tp; 
769                                    }
770    
771                                    }
772                                    break;
773    
774                            }
775    
776                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:134:7: ( paragraph_separator )?
777                            int alt5=2;
778                            int LA5_0 = input.LA(1);
779    
780                            if ( (LA5_0==NEWLINE) ) {
781                            alt5=1;
782                            }
783                            else if ( (LA5_0==EOF) ) {
784                            int LA5_2 = input.LA(2);
785    
786                            if ( (LA5_2==EOF) ) {
787                                    int LA5_4 = input.LA(3);
788    
789                                    if ( (LA5_4==EOF) ) {
790                                    alt5=1;
791                                    }
792                            }
793                            else if ( ((LA5_2>=FORCED_END_OF_LINE && LA5_2<=WIKI)||(LA5_2>=POUND && LA5_2<=78)) ) {
794                                    alt5=1;
795                            }
796                            }
797                            switch (alt5) {
798                            case 1 :
799                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:134:9: paragraph_separator
800                                    {
801                                    pushFollow(FOLLOW_paragraph_separator_in_paragraph301);
802                                    paragraph_separator();
803                                    _fsp--;
804                                    if (failed) return node;
805    
806                                    }
807                                    break;
808    
809                            }
810    
811    
812                            }
813                            break;
814    
815                    }
816            }
817            catch (RecognitionException re) {
818                    reportError(re);
819                    recover(input,re);
820            }
821            finally {
822            }
823            return node;
824            }
825            // $ANTLR end paragraph
826    
827    
828            // $ANTLR start text_paragraph
829            // /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 )+ ;
830            public final ParagraphNode text_paragraph() throws RecognitionException {
831            ParagraphNode paragraph =  new ParagraphNode();
832    
833            LineNode tl = null;
834    
835            NoWikiSectionNode nw = null;
836    
837            ASTNode te = null;
838    
839    
840            try {
841                    // /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 )+ )
842                    // /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 )+
843                    {
844                    // /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 )+
845                    int cnt8=0;
846                    loop8:
847                    do {
848                    int alt8=3;
849                    switch ( input.LA(1) ) {
850                    case NOWIKI_OPEN:
851                            {
852                            int LA8_2 = input.LA(2);
853    
854                            if ( (synpred1()) ) {
855                            alt8=2;
856                            }
857    
858    
859                            }
860                            break;
861                    case BLANKS:
862                            {
863                            alt8=1;
864                            }
865                            break;
866                    case TABLE_OF_CONTENTS_TEXT:
867                            {
868                            alt8=1;
869                            }
870                            break;
871                    case DASH:
872                            {
873                            alt8=1;
874                            }
875                            break;
876                    case STAR:
877                            {
878                            int LA8_6 = input.LA(2);
879    
880                            if ( ( input.LA(1) != STAR || (input.LA(1) == STAR && input.LA(2) == STAR) ) ) {
881                            alt8=1;
882                            }
883    
884    
885                            }
886                            break;
887                    case ITAL:
888                            {
889                            int LA8_7 = input.LA(2);
890    
891                            if ( ( input.LA(1) != STAR || (input.LA(1) == STAR && input.LA(2) == STAR) ) ) {
892                            alt8=1;
893                            }
894    
895    
896                            }
897                            break;
898                    case FORCED_END_OF_LINE:
899                    case HEADING_SECTION:
900                    case HORIZONTAL_SECTION:
901                    case LIST_ITEM:
902                    case LIST_ITEM_PART:
903                    case NOWIKI_SECTION:
904                    case SCAPE_NODE:
905                    case TEXT_NODE:
906                    case UNORDERED_LIST:
907                    case UNFORMATTED_TEXT:
908                    case WIKI:
909                    case NOWIKI_BLOCK_CLOSE:
910                    case NOWIKI_CLOSE:
911                    case LINK_CLOSE:
912                    case IMAGE_CLOSE:
913                    case CR:
914                    case LF:
915                    case SPACE:
916                    case TABULATOR:
917                    case COLON_SLASH:
918                    case SLASH:
919                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
920                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
921                    case INSIGNIFICANT_CHAR:
922                    case 43:
923                    case 44:
924                    case 45:
925                    case 46:
926                    case 47:
927                    case 48:
928                    case 49:
929                    case 50:
930                    case 51:
931                    case 52:
932                    case 53:
933                    case 54:
934                    case 55:
935                    case 56:
936                    case 57:
937                    case 58:
938                    case 59:
939                    case 60:
940                    case 61:
941                    case 62:
942                    case 63:
943                    case 64:
944                    case 65:
945                    case 66:
946                    case 67:
947                    case 68:
948                    case 69:
949                    case 70:
950                    case 71:
951                    case 72:
952                    case 73:
953                    case 74:
954                    case 75:
955                    case 76:
956                    case 77:
957                    case 78:
958                            {
959                            alt8=1;
960                            }
961                            break;
962                    case FORCED_LINEBREAK:
963                            {
964                            alt8=1;
965                            }
966                            break;
967                    case ESCAPE:
968                            {
969                            alt8=1;
970                            }
971                            break;
972                    case LINK_OPEN:
973                            {
974                            alt8=1;
975                            }
976                            break;
977                    case IMAGE_OPEN:
978                            {
979                            alt8=1;
980                            }
981                            break;
982                    case EXTENSION:
983                            {
984                            alt8=1;
985                            }
986                            break;
987    
988                    }
989    
990                    switch (alt8) {
991                    case 1 :
992                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:142:6: tl= text_line
993                            {
994                            pushFollow(FOLLOW_text_line_in_text_paragraph329);
995                            tl=text_line();
996                            _fsp--;
997                            if (failed) return paragraph;
998                            if ( backtracking==0 ) {
999                            paragraph.addChildASTNode(tl);  
1000                            }
1001    
1002                            }
1003                            break;
1004                    case 2 :
1005                            // /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
1006                            {
1007                            pushFollow(FOLLOW_nowiki_inline_in_text_paragraph361);
1008                            nw=nowiki_inline();
1009                            _fsp--;
1010                            if (failed) return paragraph;
1011                            if ( backtracking==0 ) {
1012                              paragraph.addChildASTNode(nw);
1013                            }
1014                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:144:66: (te= text_element )*
1015                            loop7:
1016                            do {
1017                            int alt7=2;
1018                            int LA7_0 = input.LA(1);
1019    
1020                            if ( ((LA7_0>=FORCED_END_OF_LINE && LA7_0<=WIKI)||(LA7_0>=POUND && LA7_0<=78)) ) {
1021                                    alt7=1;
1022                            }
1023    
1024    
1025                            switch (alt7) {
1026                            case 1 :
1027                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:144:68: te= text_element
1028                                    {
1029                                    pushFollow(FOLLOW_text_element_in_text_paragraph372);
1030                                    te=text_element();
1031                                    _fsp--;
1032                                    if (failed) return paragraph;
1033                                    if ( backtracking==0 ) {
1034                                      paragraph.addChildASTNode(te);
1035                                    }
1036    
1037                                    }
1038                                    break;
1039    
1040                            default :
1041                                    break loop7;
1042                            }
1043                            } while (true);
1044    
1045                            pushFollow(FOLLOW_text_lineseparator_in_text_paragraph381);
1046                            text_lineseparator();
1047                            _fsp--;
1048                            if (failed) return paragraph;
1049    
1050                            }
1051                            break;
1052    
1053                    default :
1054                            if ( cnt8 >= 1 ) break loop8;
1055                            if (backtracking>0) {failed=true; return paragraph;}
1056                            EarlyExitException eee =
1057                                    new EarlyExitException(8, input);
1058                            throw eee;
1059                    }
1060                    cnt8++;
1061                    } while (true);
1062    
1063    
1064                    }
1065    
1066            }
1067            catch (RecognitionException re) {
1068                    reportError(re);
1069                    recover(input,re);
1070            }
1071            finally {
1072            }
1073            return paragraph;
1074            }
1075            // $ANTLR end text_paragraph
1076    
1077    
1078            // $ANTLR start text_line
1079            // /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 ;
1080            public final LineNode text_line() throws RecognitionException {
1081            LineNode line =  new LineNode();
1082    
1083            ASTNode first = null;
1084    
1085            ASTNode element = null;
1086    
1087    
1088            try {
1089                    // /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 )
1090                    // /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
1091                    {
1092                    pushFollow(FOLLOW_text_firstelement_in_text_line404);
1093                    first=text_firstelement();
1094                    _fsp--;
1095                    if (failed) return line;
1096                    if ( backtracking==0 ) {
1097    
1098                                                                                            if (first != null) { // recovering from errors
1099                                                                                                    line.addChildASTNode(first);
1100                                                                                            }
1101                                                                                    
1102                    }
1103                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:153:9: (element= text_element )*
1104                    loop9:
1105                    do {
1106                    int alt9=2;
1107                    int LA9_0 = input.LA(1);
1108    
1109                    if ( ((LA9_0>=FORCED_END_OF_LINE && LA9_0<=WIKI)||(LA9_0>=POUND && LA9_0<=78)) ) {
1110                            alt9=1;
1111                    }
1112    
1113    
1114                    switch (alt9) {
1115                    case 1 :
1116                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:153:11: element= text_element
1117                            {
1118                            pushFollow(FOLLOW_text_element_in_text_line423);
1119                            element=text_element();
1120                            _fsp--;
1121                            if (failed) return line;
1122                            if ( backtracking==0 ) {
1123    
1124                                                                                    if(element != null) // recovering from errors
1125                                                                                            line.addChildASTNode(element);
1126                                                                            
1127                            }
1128    
1129                            }
1130                            break;
1131    
1132                    default :
1133                            break loop9;
1134                    }
1135                    } while (true);
1136    
1137                    pushFollow(FOLLOW_text_lineseparator_in_text_line438);
1138                    text_lineseparator();
1139                    _fsp--;
1140                    if (failed) return line;
1141    
1142                    }
1143    
1144            }
1145            catch (RecognitionException re) {
1146                    reportError(re);
1147                    recover(input,re);
1148            }
1149            finally {
1150            }
1151            return line;
1152            }
1153            // $ANTLR end text_line
1154    
1155    
1156            // $ANTLR start text_firstelement
1157            // /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 );
1158            public final ASTNode text_firstelement() throws RecognitionException {
1159            ASTNode item =  null;
1160    
1161            FormattedTextNode tf = null;
1162    
1163            ASTNode tu = null;
1164    
1165    
1166            try {
1167                    // /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 )
1168                    int alt10=2;
1169                    int LA10_0 = input.LA(1);
1170    
1171                    if ( (LA10_0==STAR||LA10_0==ITAL) ) {
1172                    alt10=1;
1173                    }
1174                    else if ( ((LA10_0>=FORCED_END_OF_LINE && LA10_0<=WIKI)||(LA10_0>=LINK_OPEN && LA10_0<=IMAGE_OPEN)||(LA10_0>=EXTENSION && LA10_0<=78)) ) {
1175                    alt10=2;
1176                    }
1177                    else {
1178                    if (backtracking>0) {failed=true; return item;}
1179                    NoViableAltException nvae =
1180                            new NoViableAltException("159:1: text_firstelement returns [ASTNode item = null] : ({...}?tf= text_formattedelement | tu= text_first_unformattedelement );", 10, 0, input);
1181    
1182                    throw nvae;
1183                    }
1184                    switch (alt10) {
1185                    case 1 :
1186                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:160:4: {...}?tf= text_formattedelement
1187                            {
1188                            if ( !( input.LA(1) != STAR || (input.LA(1) == STAR && input.LA(2) == STAR) ) ) {
1189                            if (backtracking>0) {failed=true; return item;}
1190                            throw new FailedPredicateException(input, "text_firstelement", " input.LA(1) != STAR || (input.LA(1) == STAR && input.LA(2) == STAR) ");
1191                            }
1192                            pushFollow(FOLLOW_text_formattedelement_in_text_firstelement460);
1193                            tf=text_formattedelement();
1194                            _fsp--;
1195                            if (failed) return item;
1196                            if ( backtracking==0 ) {
1197                               item = tf; 
1198                            }
1199    
1200                            }
1201                            break;
1202                    case 2 :
1203                            // /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
1204                            {
1205                            pushFollow(FOLLOW_text_first_unformattedelement_in_text_firstelement471);
1206                            tu=text_first_unformattedelement();
1207                            _fsp--;
1208                            if (failed) return item;
1209                            if ( backtracking==0 ) {
1210                               item = tu; 
1211                            }
1212    
1213                            }
1214                            break;
1215    
1216                    }
1217            }
1218            catch (RecognitionException re) {
1219                    reportError(re);
1220                    recover(input,re);
1221            }
1222            finally {
1223            }
1224            return item;
1225            }
1226            // $ANTLR end text_firstelement
1227    
1228    
1229            // $ANTLR start text_formattedelement
1230            // /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 )? );
1231            public final FormattedTextNode text_formattedelement() throws RecognitionException {
1232            FormattedTextNode item =  null;
1233    
1234            CollectionNode ic = null;
1235    
1236            CollectionNode bc = null;
1237    
1238    
1239            try {
1240                    // /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 )? )
1241                    int alt15=2;
1242                    int LA15_0 = input.LA(1);
1243    
1244                    if ( (LA15_0==ITAL) ) {
1245                    alt15=1;
1246                    }
1247                    else if ( (LA15_0==STAR) ) {
1248                    alt15=2;
1249                    }
1250                    else {
1251                    if (backtracking>0) {failed=true; return item;}
1252                    NoViableAltException nvae =
1253                            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);
1254    
1255                    throw nvae;
1256                    }
1257                    switch (alt15) {
1258                    case 1 :
1259                            // /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 )?
1260                            {
1261                            pushFollow(FOLLOW_ital_markup_in_text_formattedelement487);
1262                            ital_markup();
1263                            _fsp--;
1264                            if (failed) return item;
1265                            pushFollow(FOLLOW_text_italcontent_in_text_formattedelement493);
1266                            ic=text_italcontent();
1267                            _fsp--;
1268                            if (failed) return item;
1269                            if ( backtracking==0 ) {
1270                               item = new ItalicTextNode(ic); 
1271                            }
1272                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:165:81: ( ( NEWLINE )? ital_markup )?
1273                            int alt12=2;
1274                            int LA12_0 = input.LA(1);
1275    
1276                            if ( (LA12_0==NEWLINE) ) {
1277                            int LA12_1 = input.LA(2);
1278    
1279                            if ( (LA12_1==ITAL) ) {
1280                                    alt12=1;
1281                            }
1282                            }
1283                            else if ( (LA12_0==ITAL) ) {
1284                            alt12=1;
1285                            }
1286                            switch (alt12) {
1287                            case 1 :
1288                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:165:83: ( NEWLINE )? ital_markup
1289                                    {
1290                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:165:83: ( NEWLINE )?
1291                                    int alt11=2;
1292                                    int LA11_0 = input.LA(1);
1293    
1294                                    if ( (LA11_0==NEWLINE) ) {
1295                                    alt11=1;
1296                                    }
1297                                    switch (alt11) {
1298                                    case 1 :
1299                                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:165:85: NEWLINE
1300                                            {
1301                                            match(input,NEWLINE,FOLLOW_NEWLINE_in_text_formattedelement502); if (failed) return item;
1302    
1303                                            }
1304                                            break;
1305    
1306                                    }
1307    
1308                                    pushFollow(FOLLOW_ital_markup_in_text_formattedelement508);
1309                                    ital_markup();
1310                                    _fsp--;
1311                                    if (failed) return item;
1312    
1313                                    }
1314                                    break;
1315    
1316                            }
1317    
1318    
1319                            }
1320                            break;
1321                    case 2 :
1322                            // /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 )?
1323                            {
1324                            pushFollow(FOLLOW_bold_markup_in_text_formattedelement516);
1325                            bold_markup();
1326                            _fsp--;
1327                            if (failed) return item;
1328                            pushFollow(FOLLOW_text_boldcontent_in_text_formattedelement523);
1329                            bc=text_boldcontent();
1330                            _fsp--;
1331                            if (failed) return item;
1332                            if ( backtracking==0 ) {
1333                              item = new BoldTextNode(bc); 
1334                            }
1335                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:166:79: ( ( NEWLINE )? bold_markup )?
1336                            int alt14=2;
1337                            int LA14_0 = input.LA(1);
1338    
1339                            if ( (LA14_0==NEWLINE) ) {
1340                            int LA14_1 = input.LA(2);
1341    
1342                            if ( (LA14_1==STAR) ) {
1343                                    int LA14_4 = input.LA(3);
1344    
1345                                    if ( (LA14_4==STAR) ) {
1346                                    alt14=1;
1347                                    }
1348                            }
1349                            }
1350                            else if ( (LA14_0==STAR) ) {
1351                            int LA14_2 = input.LA(2);
1352    
1353                            if ( (LA14_2==STAR) ) {
1354                                    alt14=1;
1355                            }
1356                            }
1357                            switch (alt14) {
1358                            case 1 :
1359                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:166:81: ( NEWLINE )? bold_markup
1360                                    {
1361                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:166:81: ( NEWLINE )?
1362                                    int alt13=2;
1363                                    int LA13_0 = input.LA(1);
1364    
1365                                    if ( (LA13_0==NEWLINE) ) {
1366                                    alt13=1;
1367                                    }
1368                                    switch (alt13) {
1369                                    case 1 :
1370                                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:166:83: NEWLINE
1371                                            {
1372                                            match(input,NEWLINE,FOLLOW_NEWLINE_in_text_formattedelement532); if (failed) return item;
1373    
1374                                            }
1375                                            break;
1376    
1377                                    }
1378    
1379                                    pushFollow(FOLLOW_bold_markup_in_text_formattedelement538);
1380                                    bold_markup();
1381                                    _fsp--;
1382                                    if (failed) return item;
1383    
1384                                    }
1385                                    break;
1386    
1387                            }
1388    
1389    
1390                            }
1391                            break;
1392    
1393                    }
1394            }
1395            catch (RecognitionException re) {
1396                    reportError(re);
1397                    recover(input,re);
1398            }
1399            finally {
1400            }
1401            return item;
1402            }
1403            // $ANTLR end text_formattedelement
1404    
1405    
1406            // $ANTLR start text_boldcontent
1407            // /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 );
1408            public final CollectionNode text_boldcontent() throws RecognitionException {
1409            CollectionNode text =  new CollectionNode();
1410    
1411            FormattedTextNode p = null;
1412    
1413    
1414            try {
1415                    // /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 )
1416                    int alt18=2;
1417                    int LA18_0 = input.LA(1);
1418    
1419                    if ( ((LA18_0>=FORCED_END_OF_LINE && LA18_0<=78)) ) {
1420                    alt18=1;
1421                    }
1422                    else if ( (LA18_0==EOF) ) {
1423                    alt18=1;
1424                    }
1425                    else {
1426                    if (backtracking>0) {failed=true; return text;}
1427                    NoViableAltException nvae =
1428                            new NoViableAltException("168:1: text_boldcontent returns [ CollectionNode text = new CollectionNode() ] : ( ( NEWLINE )? (p= text_boldcontentpart )* | EOF );", 18, 0, input);
1429    
1430                    throw nvae;
1431                    }
1432                    switch (alt18) {
1433                    case 1 :
1434                            // /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 )*
1435                            {
1436                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:169:4: ( NEWLINE )?
1437                            int alt16=2;
1438                            int LA16_0 = input.LA(1);
1439    
1440                            if ( (LA16_0==NEWLINE) ) {
1441                            alt16=1;
1442                            }
1443                            switch (alt16) {
1444                            case 1 :
1445                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:169:6: NEWLINE
1446                                    {
1447                                    match(input,NEWLINE,FOLLOW_NEWLINE_in_text_boldcontent557); if (failed) return text;
1448    
1449                                    }
1450                                    break;
1451    
1452                            }
1453    
1454                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:169:18: (p= text_boldcontentpart )*
1455                            loop17:
1456                            do {
1457                            int alt17=2;
1458                            switch ( input.LA(1) ) {
1459                            case STAR:
1460                                    {
1461                                    int LA17_2 = input.LA(2);
1462    
1463                                    if ( ( input.LA(2) != STAR ) ) {
1464                                    alt17=1;
1465                                    }
1466    
1467    
1468                                    }
1469                                    break;
1470                            case FORCED_END_OF_LINE:
1471                            case HEADING_SECTION:
1472                            case HORIZONTAL_SECTION:
1473                            case LIST_ITEM:
1474                            case LIST_ITEM_PART:
1475                            case NOWIKI_SECTION:
1476                            case SCAPE_NODE:
1477                            case TEXT_NODE:
1478                            case UNORDERED_LIST:
1479                            case UNFORMATTED_TEXT:
1480                            case WIKI:
1481                            case POUND:
1482                            case EQUAL:
1483                            case PIPE:
1484                            case NOWIKI_BLOCK_CLOSE:
1485                            case NOWIKI_CLOSE:
1486                            case LINK_CLOSE:
1487                            case IMAGE_CLOSE:
1488                            case BLANKS:
1489                            case TABLE_OF_CONTENTS_TEXT:
1490                            case DASH:
1491                            case CR:
1492                            case LF:
1493                            case SPACE:
1494                            case TABULATOR:
1495                            case COLON_SLASH:
1496                            case SLASH:
1497                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
1498                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
1499                            case INSIGNIFICANT_CHAR:
1500                            case 43:
1501                            case 44:
1502                            case 45:
1503                            case 46:
1504                            case 47:
1505                            case 48:
1506                            case 49:
1507                            case 50:
1508                            case 51:
1509                            case 52:
1510                            case 53:
1511                            case 54:
1512                            case 55:
1513                            case 56:
1514                            case 57:
1515                            case 58:
1516                            case 59:
1517                            case 60:
1518                            case 61:
1519                            case 62:
1520                            case 63:
1521                            case 64:
1522                            case 65:
1523                            case 66:
1524                            case 67:
1525                            case 68:
1526                            case 69:
1527                            case 70:
1528                            case 71:
1529                            case 72:
1530                            case 73:
1531                            case 74:
1532                            case 75:
1533                            case 76:
1534                            case 77:
1535                            case 78:
1536                                    {
1537                                    alt17=1;
1538                                    }
1539                                    break;
1540                            case FORCED_LINEBREAK:
1541                                    {
1542                                    alt17=1;
1543                                    }
1544                                    break;
1545                            case ESCAPE:
1546                                    {
1547                                    alt17=1;
1548                                    }
1549                                    break;
1550                            case LINK_OPEN:
1551                                    {
1552                                    alt17=1;
1553                                    }
1554                                    break;
1555                            case IMAGE_OPEN:
1556                                    {
1557                                    alt17=1;
1558                                    }
1559                                    break;
1560                            case EXTENSION:
1561                                    {
1562                                    alt17=1;
1563                                    }
1564                                    break;
1565                            case NOWIKI_OPEN:
1566                                    {
1567                                    alt17=1;
1568                                    }
1569                                    break;
1570                            case ITAL:
1571                                    {
1572                                    alt17=1;
1573                                    }
1574                                    break;
1575    
1576                            }
1577    
1578                            switch (alt17) {
1579                            case 1 :
1580                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:169:20: p= text_boldcontentpart
1581                                    {
1582                                    pushFollow(FOLLOW_text_boldcontentpart_in_text_boldcontent569);
1583                                    p=text_boldcontentpart();
1584                                    _fsp--;
1585                                    if (failed) return text;
1586                                    if ( backtracking==0 ) {
1587                                       text.add(p); 
1588                                    }
1589    
1590                                    }
1591                                    break;
1592    
1593                            default :
1594                                    break loop17;
1595                            }
1596                            } while (true);
1597    
1598    
1599                            }
1600                            break;
1601                    case 2 :
1602                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:170:4: EOF
1603                            {
1604                            match(input,EOF,FOLLOW_EOF_in_text_boldcontent580); if (failed) return text;
1605    
1606                            }
1607                            break;
1608    
1609                    }
1610            }
1611            catch (RecognitionException re) {
1612                    reportError(re);
1613                    recover(input,re);
1614            }
1615            finally {
1616            }
1617            return text;
1618            }
1619            // $ANTLR end text_boldcontent
1620    
1621    
1622            // $ANTLR start text_italcontent
1623            // /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 );
1624            public final CollectionNode text_italcontent() throws RecognitionException {
1625            CollectionNode text =  new CollectionNode();
1626    
1627            FormattedTextNode p = null;
1628    
1629    
1630            try {
1631                    // /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 )
1632                    int alt21=2;
1633                    int LA21_0 = input.LA(1);
1634    
1635                    if ( ((LA21_0>=FORCED_END_OF_LINE && LA21_0<=78)) ) {
1636                    alt21=1;
1637                    }
1638                    else if ( (LA21_0==EOF) ) {
1639                    alt21=1;
1640                    }
1641                    else {
1642                    if (backtracking>0) {failed=true; return text;}
1643                    NoViableAltException nvae =
1644                            new NoViableAltException("172:1: text_italcontent returns [ CollectionNode text = new CollectionNode() ] : ( ( NEWLINE )? (p= text_italcontentpart )* | EOF );", 21, 0, input);
1645    
1646                    throw nvae;
1647                    }
1648                    switch (alt21) {
1649                    case 1 :
1650                            // /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 )*
1651                            {
1652                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:173:4: ( NEWLINE )?
1653                            int alt19=2;
1654                            int LA19_0 = input.LA(1);
1655    
1656                            if ( (LA19_0==NEWLINE) ) {
1657                            alt19=1;
1658                            }
1659                            switch (alt19) {
1660                            case 1 :
1661                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:173:6: NEWLINE
1662                                    {
1663                                    match(input,NEWLINE,FOLLOW_NEWLINE_in_text_italcontent596); if (failed) return text;
1664    
1665                                    }
1666                                    break;
1667    
1668                            }
1669    
1670                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:173:18: (p= text_italcontentpart )*
1671                            loop20:
1672                            do {
1673                            int alt20=2;
1674                            switch ( input.LA(1) ) {
1675                            case STAR:
1676                                    {
1677                                    alt20=1;
1678                                    }
1679                                    break;
1680                            case FORCED_END_OF_LINE:
1681                            case HEADING_SECTION:
1682                            case HORIZONTAL_SECTION:
1683                            case LIST_ITEM:
1684                            case LIST_ITEM_PART:
1685                            case NOWIKI_SECTION:
1686                            case SCAPE_NODE:
1687                            case TEXT_NODE:
1688                            case UNORDERED_LIST:
1689                            case UNFORMATTED_TEXT:
1690                            case WIKI:
1691                            case POUND:
1692                            case EQUAL:
1693                            case PIPE:
1694                            case NOWIKI_BLOCK_CLOSE:
1695                            case NOWIKI_CLOSE:
1696                            case LINK_CLOSE:
1697                            case IMAGE_CLOSE:
1698                            case BLANKS:
1699                            case TABLE_OF_CONTENTS_TEXT:
1700                            case DASH:
1701                            case CR:
1702                            case LF:
1703                            case SPACE:
1704                            case TABULATOR:
1705                            case COLON_SLASH:
1706                            case SLASH:
1707                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
1708                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
1709                            case INSIGNIFICANT_CHAR:
1710                            case 43:
1711                            case 44:
1712                            case 45:
1713                            case 46:
1714                            case 47:
1715                            case 48:
1716                            case 49:
1717                            case 50:
1718                            case 51:
1719                            case 52:
1720                            case 53:
1721                            case 54:
1722                            case 55:
1723                            case 56:
1724                            case 57:
1725                            case 58:
1726                            case 59:
1727                            case 60:
1728                            case 61:
1729                            case 62:
1730                            case 63:
1731                            case 64:
1732                            case 65:
1733                            case 66:
1734                            case 67:
1735                            case 68:
1736                            case 69:
1737                            case 70:
1738                            case 71:
1739                            case 72:
1740                            case 73:
1741                            case 74:
1742                            case 75:
1743                            case 76:
1744                            case 77:
1745                            case 78:
1746                                    {
1747                                    alt20=1;
1748                                    }
1749                                    break;
1750                            case FORCED_LINEBREAK:
1751                                    {
1752                                    alt20=1;
1753                                    }
1754                                    break;
1755                            case ESCAPE:
1756                                    {
1757                                    alt20=1;
1758                                    }
1759                                    break;
1760                            case LINK_OPEN:
1761                                    {
1762                                    alt20=1;
1763                                    }
1764                                    break;
1765                            case IMAGE_OPEN:
1766                                    {
1767                                    alt20=1;
1768                                    }
1769                                    break;
1770                            case EXTENSION:
1771                                    {
1772                                    alt20=1;
1773                                    }
1774                                    break;
1775                            case NOWIKI_OPEN:
1776                                    {
1777                                    alt20=1;
1778                                    }
1779                                    break;
1780    
1781                            }
1782    
1783                            switch (alt20) {
1784                            case 1 :
1785                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:173:20: p= text_italcontentpart
1786                                    {
1787                                    pushFollow(FOLLOW_text_italcontentpart_in_text_italcontent608);
1788                                    p=text_italcontentpart();
1789                                    _fsp--;
1790                                    if (failed) return text;
1791                                    if ( backtracking==0 ) {
1792                                       text.add(p); 
1793                                    }
1794    
1795                                    }
1796                                    break;
1797    
1798                            default :
1799                                    break loop20;
1800                            }
1801                            } while (true);
1802    
1803    
1804                            }
1805                            break;
1806                    case 2 :
1807                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:174:4: EOF
1808                            {
1809                            match(input,EOF,FOLLOW_EOF_in_text_italcontent619); if (failed) return text;
1810    
1811                            }
1812                            break;
1813    
1814                    }
1815            }
1816            catch (RecognitionException re) {
1817                    reportError(re);
1818                    recover(input,re);
1819            }
1820            finally {
1821            }
1822            return text;
1823            }
1824            // $ANTLR end text_italcontent
1825    
1826    
1827            // $ANTLR start text_element
1828            // /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 );
1829            public final ASTNode text_element() throws RecognitionException {
1830            ASTNode item =  null;
1831    
1832            ASTNode tu1 = null;
1833    
1834            ASTNode tu2 = null;
1835    
1836            FormattedTextNode tf = null;
1837    
1838    
1839            try {
1840                    // /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 )
1841                    int alt22=3;
1842                    switch ( input.LA(1) ) {
1843                    case STAR:
1844                    {
1845                    int LA22_1 = input.LA(2);
1846    
1847                    if ( ( input.LA(2) != STAR ) ) {
1848                            alt22=1;
1849                    }
1850                    else if ( (true) ) {
1851                            alt22=3;
1852                    }
1853                    else {
1854                            if (backtracking>0) {failed=true; return item;}
1855                            NoViableAltException nvae =
1856                            new NoViableAltException("176:1: text_element returns [ASTNode item = null] : ( onestar tu1= text_unformattedelement | tu2= text_unformattedelement onestar | tf= text_formattedelement );", 22, 1, input);
1857    
1858                            throw nvae;
1859                    }
1860                    }
1861                    break;
1862                    case FORCED_END_OF_LINE:
1863                    case HEADING_SECTION:
1864                    case HORIZONTAL_SECTION:
1865                    case LIST_ITEM:
1866                    case LIST_ITEM_PART:
1867                    case NOWIKI_SECTION:
1868                    case SCAPE_NODE:
1869                    case TEXT_NODE:
1870                    case UNORDERED_LIST:
1871                    case UNFORMATTED_TEXT:
1872                    case WIKI:
1873                    case POUND:
1874                    case EQUAL:
1875                    case PIPE:
1876                    case NOWIKI_BLOCK_CLOSE:
1877                    case NOWIKI_CLOSE:
1878                    case LINK_CLOSE:
1879                    case IMAGE_CLOSE:
1880                    case BLANKS:
1881                    case TABLE_OF_CONTENTS_TEXT:
1882                    case DASH:
1883                    case CR:
1884                    case LF:
1885                    case SPACE:
1886                    case TABULATOR:
1887                    case COLON_SLASH:
1888                    case SLASH:
1889                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
1890                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
1891                    case INSIGNIFICANT_CHAR:
1892                    case 43:
1893                    case 44:
1894                    case 45:
1895                    case 46:
1896                    case 47:
1897                    case 48:
1898                    case 49:
1899                    case 50:
1900                    case 51:
1901                    case 52:
1902                    case 53:
1903                    case 54:
1904                    case 55:
1905                    case 56:
1906                    case 57:
1907                    case 58:
1908                    case 59:
1909                    case 60:
1910                    case 61:
1911                    case 62:
1912                    case 63:
1913                    case 64:
1914                    case 65:
1915                    case 66:
1916                    case 67:
1917                    case 68:
1918                    case 69:
1919                    case 70:
1920                    case 71:
1921                    case 72:
1922                    case 73:
1923                    case 74:
1924                    case 75:
1925                    case 76:
1926                    case 77:
1927                    case 78:
1928                    {
1929                    alt22=1;
1930                    }
1931                    break;
1932                    case FORCED_LINEBREAK:
1933                    {
1934                    alt22=1;
1935                    }
1936                    break;
1937                    case ESCAPE:
1938                    {
1939                    alt22=1;
1940                    }
1941                    break;
1942                    case LINK_OPEN:
1943                    {
1944                    alt22=1;
1945                    }
1946                    break;
1947                    case IMAGE_OPEN:
1948                    {
1949                    alt22=1;
1950                    }
1951                    break;
1952                    case EXTENSION:
1953                    {
1954                    alt22=1;
1955                    }
1956                    break;
1957                    case NOWIKI_OPEN:
1958                    {
1959                    alt22=1;
1960                    }
1961                    break;
1962                    case ITAL:
1963                    {
1964                    alt22=3;
1965                    }
1966                    break;
1967                    default:
1968                    if (backtracking>0) {failed=true; return item;}
1969                    NoViableAltException nvae =
1970                            new NoViableAltException("176:1: text_element returns [ASTNode item = null] : ( onestar tu1= text_unformattedelement | tu2= text_unformattedelement onestar | tf= text_formattedelement );", 22, 0, input);
1971    
1972                    throw nvae;
1973                    }
1974    
1975                    switch (alt22) {
1976                    case 1 :
1977                            // /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
1978                            {
1979                            pushFollow(FOLLOW_onestar_in_text_element634);
1980                            onestar();
1981                            _fsp--;
1982                            if (failed) return item;
1983                            pushFollow(FOLLOW_text_unformattedelement_in_text_element641);
1984                            tu1=text_unformattedelement();
1985                            _fsp--;
1986                            if (failed) return item;
1987                            if ( backtracking==0 ) {
1988                               item = tu1; 
1989                            }
1990    
1991                            }
1992                            break;
1993                    case 2 :
1994                            // /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
1995                            {
1996                            pushFollow(FOLLOW_text_unformattedelement_in_text_element652);
1997                            tu2=text_unformattedelement();
1998                            _fsp--;
1999                            if (failed) return item;
2000                            pushFollow(FOLLOW_onestar_in_text_element655);
2001                            onestar();
2002                            _fsp--;
2003                            if (failed) return item;
2004                            if ( backtracking==0 ) {
2005                               item = tu2; 
2006                            }
2007    
2008                            }
2009                            break;
2010                    case 3 :
2011                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:179:4: tf= text_formattedelement
2012                            {
2013                            pushFollow(FOLLOW_text_formattedelement_in_text_element666);
2014                            tf=text_formattedelement();
2015                            _fsp--;
2016                            if (failed) return item;
2017                            if ( backtracking==0 ) {
2018                               item = tf; 
2019                            }
2020    
2021                            }
2022                            break;
2023    
2024                    }
2025            }
2026            catch (RecognitionException re) {
2027                    reportError(re);
2028                    recover(input,re);
2029            }
2030            finally {
2031            }
2032            return item;
2033            }
2034            // $ANTLR end text_element
2035    
2036    
2037            // $ANTLR start text_boldcontentpart
2038            // /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 );
2039            public final FormattedTextNode text_boldcontentpart() throws RecognitionException {
2040            FormattedTextNode node =  null;
2041    
2042            ASTNode t = null;
2043    
2044            CollectionNode tf = null;
2045    
2046    
2047            try {
2048                    // /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 )
2049                    int alt24=2;
2050                    int LA24_0 = input.LA(1);
2051    
2052                    if ( (LA24_0==ITAL) ) {
2053                    alt24=1;
2054                    }
2055                    else if ( ((LA24_0>=FORCED_END_OF_LINE && LA24_0<=WIKI)||(LA24_0>=POUND && LA24_0<=PIPE)||(LA24_0>=LINK_OPEN && LA24_0<=78)) ) {
2056                    alt24=2;
2057                    }
2058                    else {
2059                    if (backtracking>0) {failed=true; return node;}
2060                    NoViableAltException nvae =
2061                            new NoViableAltException("182:1: text_boldcontentpart returns [FormattedTextNode node = null] : ( ital_markup t= text_bolditalcontent ( ital_markup )? | tf= text_formattedcontent );", 24, 0, input);
2062    
2063                    throw nvae;
2064                    }
2065                    switch (alt24) {
2066                    case 1 :
2067                            // /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 )?
2068                            {
2069                            pushFollow(FOLLOW_ital_markup_in_text_boldcontentpart683);
2070                            ital_markup();
2071                            _fsp--;
2072                            if (failed) return node;
2073                            pushFollow(FOLLOW_text_bolditalcontent_in_text_boldcontentpart690);
2074                            t=text_bolditalcontent();
2075                            _fsp--;
2076                            if (failed) return node;
2077                            if ( backtracking==0 ) {
2078                              node = new ItalicTextNode(t); 
2079                            }
2080                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:183:84: ( ital_markup )?
2081                            int alt23=2;
2082                            int LA23_0 = input.LA(1);
2083    
2084                            if ( (LA23_0==ITAL) ) {
2085                            alt23=1;
2086                            }
2087                            switch (alt23) {
2088                            case 1 :
2089                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:183:86: ital_markup
2090                                    {
2091                                    pushFollow(FOLLOW_ital_markup_in_text_boldcontentpart697);
2092                                    ital_markup();
2093                                    _fsp--;
2094                                    if (failed) return node;
2095    
2096                                    }
2097                                    break;
2098    
2099                            }
2100    
2101    
2102                            }
2103                            break;
2104                    case 2 :
2105                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:184:4: tf= text_formattedcontent
2106                            {
2107                            pushFollow(FOLLOW_text_formattedcontent_in_text_boldcontentpart709);
2108                            tf=text_formattedcontent();
2109                            _fsp--;
2110                            if (failed) return node;
2111                            if ( backtracking==0 ) {
2112                              node = new FormattedTextNode(tf); 
2113                            }
2114    
2115                            }
2116                            break;
2117    
2118                    }
2119            }
2120            catch (RecognitionException re) {
2121                    reportError(re);
2122                    recover(input,re);
2123            }
2124            finally {
2125            }
2126            return node;
2127            }
2128            // $ANTLR end text_boldcontentpart
2129    
2130    
2131            // $ANTLR start text_italcontentpart
2132            // /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 );
2133            public final FormattedTextNode text_italcontentpart() throws RecognitionException {
2134            FormattedTextNode node =  null;
2135    
2136            ASTNode t = null;
2137    
2138            CollectionNode tf = null;
2139    
2140    
2141            try {
2142                    // /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 )
2143                    int alt26=2;
2144                    int LA26_0 = input.LA(1);
2145    
2146                    if ( (LA26_0==STAR) ) {
2147                    int LA26_1 = input.LA(2);
2148    
2149                    if ( (LA26_1==STAR) ) {
2150                            alt26=1;
2151                    }
2152                    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<=78)) ) {
2153                            alt26=2;
2154                    }
2155                    else {
2156                            if (backtracking>0) {failed=true; return node;}
2157                            NoViableAltException nvae =
2158                            new NoViableAltException("186:1: text_italcontentpart returns [FormattedTextNode node = null] : ( bold_markup t= text_bolditalcontent ( bold_markup )? | tf= text_formattedcontent );", 26, 1, input);
2159    
2160                            throw nvae;
2161                    }
2162                    }
2163                    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<=78)) ) {
2164                    alt26=2;
2165                    }
2166                    else {
2167                    if (backtracking>0) {failed=true; return node;}
2168                    NoViableAltException nvae =
2169                            new NoViableAltException("186:1: text_italcontentpart returns [FormattedTextNode node = null] : ( bold_markup t= text_bolditalcontent ( bold_markup )? | tf= text_formattedcontent );", 26, 0, input);
2170    
2171                    throw nvae;
2172                    }
2173                    switch (alt26) {
2174                    case 1 :
2175                            // /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 )?
2176                            {
2177                            pushFollow(FOLLOW_bold_markup_in_text_italcontentpart725);
2178                            bold_markup();
2179                            _fsp--;
2180                            if (failed) return node;
2181                            pushFollow(FOLLOW_text_bolditalcontent_in_text_italcontentpart732);
2182                            t=text_bolditalcontent();
2183                            _fsp--;
2184                            if (failed) return node;
2185                            if ( backtracking==0 ) {
2186                               node = new BoldTextNode(t); 
2187                            }
2188                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:187:82: ( bold_markup )?
2189                            int alt25=2;
2190                            int LA25_0 = input.LA(1);
2191    
2192                            if ( (LA25_0==STAR) ) {
2193                            int LA25_1 = input.LA(2);
2194    
2195                            if ( (LA25_1==STAR) ) {
2196                                    alt25=1;
2197                            }
2198                            }
2199                            switch (alt25) {
2200                            case 1 :
2201                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:187:84: bold_markup
2202                                    {
2203                                    pushFollow(FOLLOW_bold_markup_in_text_italcontentpart738);
2204                                    bold_markup();
2205                                    _fsp--;
2206                                    if (failed) return node;
2207    
2208                                    }
2209                                    break;
2210    
2211                            }
2212    
2213    
2214                            }
2215                            break;
2216                    case 2 :
2217                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:188:4: tf= text_formattedcontent
2218                            {
2219                            pushFollow(FOLLOW_text_formattedcontent_in_text_italcontentpart750);
2220                            tf=text_formattedcontent();
2221                            _fsp--;
2222                            if (failed) return node;
2223                            if ( backtracking==0 ) {
2224                              node = new FormattedTextNode(tf); 
2225                            }
2226    
2227                            }
2228                            break;
2229    
2230                    }
2231            }
2232            catch (RecognitionException re) {
2233                    reportError(re);
2234                    recover(input,re);
2235            }
2236            finally {
2237            }
2238            return node;
2239            }
2240            // $ANTLR end text_italcontentpart
2241    
2242    
2243            // $ANTLR start text_bolditalcontent
2244            // /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 );
2245            public final ASTNode text_bolditalcontent() throws RecognitionException {
2246            ASTNode items =  null;
2247    
2248            CollectionNode tf = null;
2249    
2250    
2251            try {
2252                    // /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 )
2253                    int alt29=2;
2254                    int LA29_0 = input.LA(1);
2255    
2256                    if ( ((LA29_0>=FORCED_END_OF_LINE && LA29_0<=78)) ) {
2257                    alt29=1;
2258                    }
2259                    else if ( (LA29_0==EOF) ) {
2260                    alt29=1;
2261                    }
2262                    else {
2263                    if (backtracking>0) {failed=true; return items;}
2264                    NoViableAltException nvae =
2265                            new NoViableAltException("190:1: text_bolditalcontent returns [ASTNode items = null] : ( ( NEWLINE )? (tf= text_formattedcontent )? | EOF );", 29, 0, input);
2266    
2267                    throw nvae;
2268                    }
2269                    switch (alt29) {
2270                    case 1 :
2271                            // /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 )?
2272                            {
2273                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:191:4: ( NEWLINE )?
2274                            int alt27=2;
2275                            int LA27_0 = input.LA(1);
2276    
2277                            if ( (LA27_0==NEWLINE) ) {
2278                            alt27=1;
2279                            }
2280                            switch (alt27) {
2281                            case 1 :
2282                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:191:6: NEWLINE
2283                                    {
2284                                    match(input,NEWLINE,FOLLOW_NEWLINE_in_text_bolditalcontent768); if (failed) return items;
2285    
2286                                    }
2287                                    break;
2288    
2289                            }
2290    
2291                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:191:18: (tf= text_formattedcontent )?
2292                            int alt28=2;
2293                            switch ( input.LA(1) ) {
2294                            case STAR:
2295                                    {
2296                                    int LA28_1 = input.LA(2);
2297    
2298                                    if ( ( input.LA(2) != STAR ) ) {
2299                                    alt28=1;
2300                                    }
2301                                    }
2302                                    break;
2303                            case FORCED_END_OF_LINE:
2304                            case HEADING_SECTION:
2305                            case HORIZONTAL_SECTION:
2306                            case LIST_ITEM:
2307                            case LIST_ITEM_PART:
2308                            case NOWIKI_SECTION:
2309                            case SCAPE_NODE:
2310                            case TEXT_NODE:
2311                            case UNORDERED_LIST:
2312                            case UNFORMATTED_TEXT:
2313                            case WIKI:
2314                            case POUND:
2315                            case EQUAL:
2316                            case PIPE:
2317                            case NOWIKI_BLOCK_CLOSE:
2318                            case NOWIKI_CLOSE:
2319                            case LINK_CLOSE:
2320                            case IMAGE_CLOSE:
2321                            case BLANKS:
2322                            case TABLE_OF_CONTENTS_TEXT:
2323                            case DASH:
2324                            case CR:
2325                            case LF:
2326                            case SPACE:
2327                            case TABULATOR:
2328                            case COLON_SLASH:
2329                            case SLASH:
2330                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
2331                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
2332                            case INSIGNIFICANT_CHAR:
2333                            case 43:
2334                            case 44:
2335                            case 45:
2336                            case 46:
2337                            case 47:
2338                            case 48:
2339                            case 49:
2340                            case 50:
2341                            case 51:
2342                            case 52:
2343                            case 53:
2344                            case 54:
2345                            case 55:
2346                            case 56:
2347                            case 57:
2348                            case 58:
2349                            case 59:
2350                            case 60:
2351                            case 61:
2352                            case 62:
2353                            case 63:
2354                            case 64:
2355                            case 65:
2356                            case 66:
2357                            case 67:
2358                            case 68:
2359                            case 69:
2360                            case 70:
2361                            case 71:
2362                            case 72:
2363                            case 73:
2364                            case 74:
2365                            case 75:
2366                            case 76:
2367                            case 77:
2368                            case 78:
2369                                    {
2370                                    alt28=1;
2371                                    }
2372                                    break;
2373                            case FORCED_LINEBREAK:
2374                                    {
2375                                    alt28=1;
2376                                    }
2377                                    break;
2378                            case ESCAPE:
2379                                    {
2380                                    alt28=1;
2381                                    }
2382                                    break;
2383                            case LINK_OPEN:
2384                                    {
2385                                    alt28=1;
2386                                    }
2387                                    break;
2388                            case IMAGE_OPEN:
2389                                    {
2390                                    alt28=1;
2391                                    }
2392                                    break;
2393                            case EXTENSION:
2394                                    {
2395                                    alt28=1;
2396                                    }
2397                                    break;
2398                            case NOWIKI_OPEN:
2399                                    {
2400                                    alt28=1;
2401                                    }
2402                                    break;
2403                            }
2404    
2405                            switch (alt28) {
2406                            case 1 :
2407                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:191:20: tf= text_formattedcontent
2408                                    {
2409                                    pushFollow(FOLLOW_text_formattedcontent_in_text_bolditalcontent779);
2410                                    tf=text_formattedcontent();
2411                                    _fsp--;
2412                                    if (failed) return items;
2413                                    if ( backtracking==0 ) {
2414                                      items = tf; 
2415                                    }
2416    
2417                                    }
2418                                    break;
2419    
2420                            }
2421    
2422    
2423                            }
2424                            break;
2425                    case 2 :
2426                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:192:4: EOF
2427                            {
2428                            match(input,EOF,FOLLOW_EOF_in_text_bolditalcontent789); if (failed) return items;
2429    
2430                            }
2431                            break;
2432    
2433                    }
2434            }
2435            catch (RecognitionException re) {
2436                    reportError(re);
2437                    recover(input,re);
2438            }
2439            finally {
2440            }
2441            return items;
2442            }
2443            // $ANTLR end text_bolditalcontent
2444    
2445    
2446            // $ANTLR start text_formattedcontent
2447            // /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 )? )+ ;
2448            public final CollectionNode text_formattedcontent() throws RecognitionException {
2449            CollectionNode items =  new CollectionNode ();
2450    
2451            ASTNode t = null;
2452    
2453    
2454            try {
2455                    // /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 )? )+ )
2456                    // /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 )? )+
2457                    {
2458                    pushFollow(FOLLOW_onestar_in_text_formattedcontent803);
2459                    onestar();
2460                    _fsp--;
2461                    if (failed) return items;
2462                    // /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 )? )+
2463                    int cnt31=0;
2464                    loop31:
2465                    do {
2466                    int alt31=2;
2467                    switch ( input.LA(1) ) {
2468                    case FORCED_END_OF_LINE:
2469                    case HEADING_SECTION:
2470                    case HORIZONTAL_SECTION:
2471                    case LIST_ITEM:
2472                    case LIST_ITEM_PART:
2473                    case NOWIKI_SECTION:
2474                    case SCAPE_NODE:
2475                    case TEXT_NODE:
2476                    case UNORDERED_LIST:
2477                    case UNFORMATTED_TEXT:
2478                    case WIKI:
2479                    case POUND:
2480                    case EQUAL:
2481                    case PIPE:
2482                    case NOWIKI_BLOCK_CLOSE:
2483                    case NOWIKI_CLOSE:
2484                    case LINK_CLOSE:
2485                    case IMAGE_CLOSE:
2486                    case BLANKS:
2487                    case TABLE_OF_CONTENTS_TEXT:
2488                    case DASH:
2489                    case CR:
2490                    case LF:
2491                    case SPACE:
2492                    case TABULATOR:
2493                    case COLON_SLASH:
2494                    case SLASH:
2495                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
2496                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
2497                    case INSIGNIFICANT_CHAR:
2498                    case 43:
2499                    case 44:
2500                    case 45:
2501                    case 46:
2502                    case 47:
2503                    case 48:
2504                    case 49:
2505                    case 50:
2506                    case 51:
2507                    case 52:
2508                    case 53:
2509                    case 54:
2510                    case 55:
2511                    case 56:
2512                    case 57:
2513                    case 58:
2514                    case 59:
2515                    case 60:
2516                    case 61:
2517                    case 62:
2518                    case 63:
2519                    case 64:
2520                    case 65:
2521                    case 66:
2522                    case 67:
2523                    case 68:
2524                    case 69:
2525                    case 70:
2526                    case 71:
2527                    case 72:
2528                    case 73:
2529                    case 74:
2530                    case 75:
2531                    case 76:
2532                    case 77:
2533                    case 78:
2534                            {
2535                            alt31=1;
2536                            }
2537                            break;
2538                    case FORCED_LINEBREAK:
2539                            {
2540                            alt31=1;
2541                            }
2542                            break;
2543                    case ESCAPE:
2544                            {
2545                            alt31=1;
2546                            }
2547                            break;
2548                    case LINK_OPEN:
2549                            {
2550                            alt31=1;
2551                            }
2552                            break;
2553                    case IMAGE_OPEN:
2554                            {
2555                            alt31=1;
2556                            }
2557                            break;
2558                    case EXTENSION:
2559                            {
2560                            alt31=1;
2561                            }
2562                            break;
2563                    case NOWIKI_OPEN:
2564                            {
2565                            alt31=1;
2566                            }
2567                            break;
2568    
2569                    }
2570    
2571                    switch (alt31) {
2572                    case 1 :
2573                            // /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 )?
2574                            {
2575                            pushFollow(FOLLOW_text_unformattedelement_in_text_formattedcontent812);
2576                            t=text_unformattedelement();
2577                            _fsp--;
2578                            if (failed) return items;
2579                            if ( backtracking==0 ) {
2580                              items.add(t); 
2581                            }
2582                            pushFollow(FOLLOW_onestar_in_text_formattedcontent817);
2583                            onestar();
2584                            _fsp--;
2585                            if (failed) return items;
2586                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:195:81: ( text_linebreak )?
2587                            int alt30=2;
2588                            int LA30_0 = input.LA(1);
2589    
2590                            if ( (LA30_0==NEWLINE) ) {
2591                            int LA30_1 = input.LA(2);
2592    
2593                            if ( ( input.LA(2) != DASH && input.LA(2) != POUND && 
2594                                            input.LA(2) != EQUAL && input.LA(2) != NEWLINE ) ) {
2595                                    alt30=1;
2596                            }
2597                            }
2598                            else if ( (LA30_0==EOF) ) {
2599                            int LA30_2 = input.LA(2);
2600    
2601                            if ( ( input.LA(2) != DASH && input.LA(2) != POUND && 
2602                                            input.LA(2) != EQUAL && input.LA(2) != NEWLINE ) ) {
2603                                    alt30=1;
2604                            }
2605                            }
2606                            switch (alt30) {
2607                            case 1 :
2608                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:195:83: text_linebreak
2609                                    {
2610                                    pushFollow(FOLLOW_text_linebreak_in_text_formattedcontent822);
2611                                    text_linebreak();
2612                                    _fsp--;
2613                                    if (failed) return items;
2614    
2615                                    }
2616                                    break;
2617    
2618                            }
2619    
2620    
2621                            }
2622                            break;
2623    
2624                    default :
2625                            if ( cnt31 >= 1 ) break loop31;
2626                            if (backtracking>0) {failed=true; return items;}
2627                            EarlyExitException eee =
2628                                    new EarlyExitException(31, input);
2629                            throw eee;
2630                    }
2631                    cnt31++;
2632                    } while (true);
2633    
2634    
2635                    }
2636    
2637            }
2638            catch (RecognitionException re) {
2639                    reportError(re);
2640                    recover(input,re);
2641            }
2642            finally {
2643            }
2644            return items;
2645            }
2646            // $ANTLR end text_formattedcontent
2647    
2648    
2649            // $ANTLR start text_linebreak
2650            // /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 ;
2651            public final void text_linebreak() throws RecognitionException {
2652            try {
2653                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:198:2: ({...}? text_lineseparator )
2654                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:198:4: {...}? text_lineseparator
2655                    {
2656                    if ( !( input.LA(2) != DASH && input.LA(2) != POUND && 
2657                            input.LA(2) != EQUAL && input.LA(2) != NEWLINE ) ) {
2658                    if (backtracking>0) {failed=true; return ;}
2659                    throw new FailedPredicateException(input, "text_linebreak", " input.LA(2) != DASH && input.LA(2) != POUND && \n\t\tinput.LA(2) != EQUAL && input.LA(2) != NEWLINE ");
2660                    }
2661                    pushFollow(FOLLOW_text_lineseparator_in_text_linebreak842);
2662                    text_lineseparator();
2663                    _fsp--;
2664                    if (failed) return ;
2665    
2666                    }
2667    
2668            }
2669            catch (RecognitionException re) {
2670                    reportError(re);
2671                    recover(input,re);
2672            }
2673            finally {
2674            }
2675            return ;
2676            }
2677            // $ANTLR end text_linebreak
2678    
2679    
2680            // $ANTLR start text_inlineelement
2681            // /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 );
2682            public final ASTNode text_inlineelement() throws RecognitionException {
2683            ASTNode element =  null;
2684    
2685            ASTNode tf = null;
2686    
2687            NoWikiSectionNode nwi = null;
2688    
2689    
2690            try {
2691                    // /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 )
2692                    int alt32=2;
2693                    int LA32_0 = input.LA(1);
2694    
2695                    if ( ((LA32_0>=LINK_OPEN && LA32_0<=IMAGE_OPEN)||LA32_0==EXTENSION) ) {
2696                    alt32=1;
2697                    }
2698                    else if ( (LA32_0==NOWIKI_OPEN) ) {
2699                    alt32=2;
2700                    }
2701                    else {
2702                    if (backtracking>0) {failed=true; return element;}
2703                    NoViableAltException nvae =
2704                            new NoViableAltException("202:1: text_inlineelement returns [ASTNode element = null ] : (tf= text_first_inlineelement | nwi= nowiki_inline );", 32, 0, input);
2705    
2706                    throw nvae;
2707                    }
2708                    switch (alt32) {
2709                    case 1 :
2710                            // /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
2711                            {
2712                            pushFollow(FOLLOW_text_first_inlineelement_in_text_inlineelement860);
2713                            tf=text_first_inlineelement();
2714                            _fsp--;
2715                            if (failed) return element;
2716                            if ( backtracking==0 ) {
2717                              element = tf; 
2718                            }
2719    
2720                            }
2721                            break;
2722                    case 2 :
2723                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:204:4: nwi= nowiki_inline
2724                            {
2725                            pushFollow(FOLLOW_nowiki_inline_in_text_inlineelement871);
2726                            nwi=nowiki_inline();
2727                            _fsp--;
2728                            if (failed) return element;
2729                            if ( backtracking==0 ) {
2730                              element = nwi; 
2731                            }
2732    
2733                            }
2734                            break;
2735    
2736                    }
2737            }
2738            catch (RecognitionException re) {
2739                    reportError(re);
2740                    recover(input,re);
2741            }
2742            finally {
2743            }
2744            return element;
2745            }
2746            // $ANTLR end text_inlineelement
2747    
2748    
2749            // $ANTLR start text_first_inlineelement
2750            // /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 );
2751            public final ASTNode text_first_inlineelement() throws RecognitionException {
2752            ASTNode element =  null;
2753    
2754            LinkNode l = null;
2755    
2756            ImageNode i = null;
2757    
2758            ASTNode e = null;
2759    
2760    
2761            try {
2762                    // /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 )
2763                    int alt33=3;
2764                    switch ( input.LA(1) ) {
2765                    case LINK_OPEN:
2766                    {
2767                    alt33=1;
2768                    }
2769                    break;
2770                    case IMAGE_OPEN:
2771                    {
2772                    alt33=2;
2773                    }
2774                    break;
2775                    case EXTENSION:
2776                    {
2777                    alt33=3;
2778                    }
2779                    break;
2780                    default:
2781                    if (backtracking>0) {failed=true; return element;}
2782                    NoViableAltException nvae =
2783                            new NoViableAltException("206:1: text_first_inlineelement returns [ASTNode element = null] : (l= link | i= image | e= extension );", 33, 0, input);
2784    
2785                    throw nvae;
2786                    }
2787    
2788                    switch (alt33) {
2789                    case 1 :
2790                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:208:3: l= link
2791                            {
2792                            pushFollow(FOLLOW_link_in_text_first_inlineelement894);
2793                            l=link();
2794                            _fsp--;
2795                            if (failed) return element;
2796                            if ( backtracking==0 ) {
2797                              element = l;
2798                            }
2799    
2800                            }
2801                            break;
2802                    case 2 :
2803                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:209:4: i= image
2804                            {
2805                            pushFollow(FOLLOW_image_in_text_first_inlineelement905);
2806                            i=image();
2807                            _fsp--;
2808                            if (failed) return element;
2809                            if ( backtracking==0 ) {
2810                              element = i;
2811                            }
2812    
2813                            }
2814                            break;
2815                    case 3 :
2816                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:210:4: e= extension
2817                            {
2818                            pushFollow(FOLLOW_extension_in_text_first_inlineelement915);
2819                            e=extension();
2820                            _fsp--;
2821                            if (failed) return element;
2822                            if ( backtracking==0 ) {
2823                              element = e;
2824                            }
2825    
2826                            }
2827                            break;
2828    
2829                    }
2830            }
2831            catch (RecognitionException re) {
2832                    reportError(re);
2833                    recover(input,re);
2834            }
2835            finally {
2836            }
2837            return element;
2838            }
2839            // $ANTLR end text_first_inlineelement
2840    
2841    
2842            // $ANTLR start text_first_unformattedelement
2843            // /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 );
2844            public final ASTNode text_first_unformattedelement() throws RecognitionException {
2845            ASTNode item =  null;
2846    
2847            CollectionNode tfu = null;
2848    
2849            ASTNode tfi = null;
2850    
2851    
2852            try {
2853                    // /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 )
2854                    int alt34=2;
2855                    int LA34_0 = input.LA(1);
2856    
2857                    if ( ((LA34_0>=FORCED_END_OF_LINE && LA34_0<=WIKI)||(LA34_0>=FORCED_LINEBREAK && LA34_0<=78)) ) {
2858                    alt34=1;
2859                    }
2860                    else if ( ((LA34_0>=LINK_OPEN && LA34_0<=IMAGE_OPEN)||LA34_0==EXTENSION) ) {
2861                    alt34=2;
2862                    }
2863                    else {
2864                    if (backtracking>0) {failed=true; return item;}
2865                    NoViableAltException nvae =
2866                            new NoViableAltException("212:1: text_first_unformattedelement returns [ASTNode item = null] : (tfu= text_first_unformatted | tfi= text_first_inlineelement );", 34, 0, input);
2867    
2868                    throw nvae;
2869                    }
2870                    switch (alt34) {
2871                    case 1 :
2872                            // /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
2873                            {
2874                            pushFollow(FOLLOW_text_first_unformatted_in_text_first_unformattedelement935);
2875                            tfu=text_first_unformatted();
2876                            _fsp--;
2877                            if (failed) return item;
2878                            if ( backtracking==0 ) {
2879                              item = new UnformattedTextNode(tfu);
2880                            }
2881    
2882                            }
2883                            break;
2884                    case 2 :
2885                            // /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
2886                            {
2887                            pushFollow(FOLLOW_text_first_inlineelement_in_text_first_unformattedelement946);
2888                            tfi=text_first_inlineelement();
2889                            _fsp--;
2890                            if (failed) return item;
2891                            if ( backtracking==0 ) {
2892                               item = tfi; 
2893                            }
2894    
2895                            }
2896                            break;
2897    
2898                    }
2899            }
2900            catch (RecognitionException re) {
2901                    reportError(re);
2902                    recover(input,re);
2903            }
2904            finally {
2905            }
2906            return item;
2907            }
2908            // $ANTLR end text_first_unformattedelement
2909    
2910    
2911            // $ANTLR start text_first_unformatted
2912            // /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 )+ );
2913            public final CollectionNode text_first_unformatted() throws RecognitionException {
2914            CollectionNode items =  new CollectionNode();
2915    
2916            StringBundler t = null;
2917    
2918            ScapedNode e = null;
2919    
2920    
2921            try {
2922                    // /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 )+ )
2923                    int alt36=2;
2924                    int LA36_0 = input.LA(1);
2925    
2926                    if ( ((LA36_0>=FORCED_END_OF_LINE && LA36_0<=WIKI)||(LA36_0>=NOWIKI_BLOCK_CLOSE && LA36_0<=78)) ) {
2927                    alt36=1;
2928                    }
2929                    else if ( ((LA36_0>=FORCED_LINEBREAK && LA36_0<=ESCAPE)) ) {
2930                    alt36=2;
2931                    }
2932                    else {
2933                    if (backtracking>0) {failed=true; return items;}
2934                    NoViableAltException nvae =
2935                            new NoViableAltException("216:1: text_first_unformatted returns [CollectionNode items = new CollectionNode()] : (t= text_first_unformmatted_text | ( forced_linebreak | e= escaped )+ );", 36, 0, input);
2936    
2937                    throw nvae;
2938                    }
2939                    switch (alt36) {
2940                    case 1 :
2941                            // /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
2942                            {
2943                            pushFollow(FOLLOW_text_first_unformmatted_text_in_text_first_unformatted968);
2944                            t=text_first_unformmatted_text();
2945                            _fsp--;
2946                            if (failed) return items;
2947                            if ( backtracking==0 ) {
2948                              items.add(new UnformattedTextNode(t.toString()));
2949                            }
2950    
2951                            }
2952                            break;
2953                    case 2 :
2954                            // /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 )+
2955                            {
2956                            // /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 )+
2957                            int cnt35=0;
2958                            loop35:
2959                            do {
2960                            int alt35=3;
2961                            int LA35_0 = input.LA(1);
2962    
2963                            if ( (LA35_0==FORCED_LINEBREAK) ) {
2964                                    alt35=1;
2965                            }
2966                            else if ( (LA35_0==ESCAPE) ) {
2967                                    int LA35_3 = input.LA(2);
2968    
2969                                    if ( ((LA35_3>=FORCED_END_OF_LINE && LA35_3<=78)) ) {
2970                                    alt35=2;
2971                                    }
2972    
2973    
2974                            }
2975    
2976    
2977                            switch (alt35) {
2978                            case 1 :
2979                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:218:6: forced_linebreak
2980                                    {
2981                                    pushFollow(FOLLOW_forced_linebreak_in_text_first_unformatted977);
2982                                    forced_linebreak();
2983                                    _fsp--;
2984                                    if (failed) return items;
2985                                    if ( backtracking==0 ) {
2986                                       items.add(new ForcedEndOfLineNode()); 
2987                                    }
2988    
2989                                    }
2990                                    break;
2991                            case 2 :
2992                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:219:5: e= escaped
2993                                    {
2994                                    pushFollow(FOLLOW_escaped_in_text_first_unformatted989);
2995                                    e=escaped();
2996                                    _fsp--;
2997                                    if (failed) return items;
2998                                    if ( backtracking==0 ) {
2999                                      items.add(e);
3000                                    }
3001    
3002                                    }
3003                                    break;
3004    
3005                            default :
3006                                    if ( cnt35 >= 1 ) break loop35;
3007                                    if (backtracking>0) {failed=true; return items;}
3008                                    EarlyExitException eee =
3009                                            new EarlyExitException(35, input);
3010                                    throw eee;
3011                            }
3012                            cnt35++;
3013                            } while (true);
3014    
3015    
3016                            }
3017                            break;
3018    
3019                    }
3020            }
3021            catch (RecognitionException re) {
3022                    reportError(re);
3023                    recover(input,re);
3024            }
3025            finally {
3026            }
3027            return items;
3028            }
3029            // $ANTLR end text_first_unformatted
3030    
3031    
3032            // $ANTLR start text_first_unformmatted_text
3033            // /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 ) )+ ;
3034            public final StringBundler text_first_unformmatted_text() throws RecognitionException {
3035            StringBundler text =  new StringBundler();
3036    
3037            Token c=null;
3038    
3039            try {
3040                    // /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 ) )+ )
3041                    // /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 ) )+
3042                    {
3043                    // /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 ) )+
3044                    int cnt37=0;
3045                    loop37:
3046                    do {
3047                    int alt37=2;
3048                    int LA37_0 = input.LA(1);
3049    
3050                    if ( ((LA37_0>=FORCED_END_OF_LINE && LA37_0<=WIKI)||(LA37_0>=NOWIKI_BLOCK_CLOSE && LA37_0<=78)) ) {
3051                            alt37=1;
3052                    }
3053    
3054    
3055                    switch (alt37) {
3056                    case 1 :
3057                            // /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 )
3058                            {
3059                            c=(Token)input.LT(1);
3060                            if ( (input.LA(1)>=FORCED_END_OF_LINE && input.LA(1)<=WIKI)||(input.LA(1)>=NOWIKI_BLOCK_CLOSE && input.LA(1)<=78) ) {
3061                            input.consume();
3062                            errorRecovery=false;failed=false;
3063                            }
3064                            else {
3065                            if (backtracking>0) {failed=true; return text;}
3066                            MismatchedSetException mse =
3067                                    new MismatchedSetException(null,input);
3068                            recoverFromMismatchedSet(input,mse,FOLLOW_set_in_text_first_unformmatted_text1018);     throw mse;
3069                            }
3070    
3071                            if ( backtracking==0 ) {
3072                              text.append(c.getText()); 
3073                            }
3074    
3075                            }
3076                            break;
3077    
3078                    default :
3079                            if ( cnt37 >= 1 ) break loop37;
3080                            if (backtracking>0) {failed=true; return text;}
3081                            EarlyExitException eee =
3082                                    new EarlyExitException(37, input);
3083                            throw eee;
3084                    }
3085                    cnt37++;
3086                    } while (true);
3087    
3088    
3089                    }
3090    
3091            }
3092            catch (RecognitionException re) {
3093                    reportError(re);
3094                    recover(input,re);
3095            }
3096            finally {
3097            }
3098            return text;
3099            }
3100            // $ANTLR end text_first_unformmatted_text
3101    
3102    
3103            // $ANTLR start text_unformattedelement
3104            // /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 );
3105            public final ASTNode text_unformattedelement() throws RecognitionException {
3106            ASTNode contents =  null;
3107    
3108            CollectionNode text = null;
3109    
3110            ASTNode ti = null;
3111    
3112    
3113            try {
3114                    // /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 )
3115                    int alt38=2;
3116                    int LA38_0 = input.LA(1);
3117    
3118                    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<=78)) ) {
3119                    alt38=1;
3120                    }
3121                    else if ( ((LA38_0>=LINK_OPEN && LA38_0<=EXTENSION)) ) {
3122                    alt38=2;
3123                    }
3124                    else {
3125                    if (backtracking>0) {failed=true; return contents;}
3126                    NoViableAltException nvae =
3127                            new NoViableAltException("238:1: text_unformattedelement returns [ASTNode contents = null] : (text= text_unformatted | ti= text_inlineelement );", 38, 0, input);
3128    
3129                    throw nvae;
3130                    }
3131                    switch (alt38) {
3132                    case 1 :
3133                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:239:4: text= text_unformatted
3134                            {
3135                            pushFollow(FOLLOW_text_unformatted_in_text_unformattedelement1133);
3136                            text=text_unformatted();
3137                            _fsp--;
3138                            if (failed) return contents;
3139                            if ( backtracking==0 ) {
3140                               contents = text; 
3141                            }
3142    
3143                            }
3144                            break;
3145                    case 2 :
3146                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:240:4: ti= text_inlineelement
3147                            {
3148                            pushFollow(FOLLOW_text_inlineelement_in_text_unformattedelement1144);
3149                            ti=text_inlineelement();
3150                            _fsp--;
3151                            if (failed) return contents;
3152                            if ( backtracking==0 ) {
3153                               contents = ti; 
3154                            }
3155    
3156                            }
3157                            break;
3158    
3159                    }
3160            }
3161            catch (RecognitionException re) {
3162                    reportError(re);
3163                    recover(input,re);
3164            }
3165            finally {
3166            }
3167            return contents;
3168            }
3169            // $ANTLR end text_unformattedelement
3170    
3171    
3172            // $ANTLR start text_unformatted
3173            // /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 )+ );
3174            public final CollectionNode text_unformatted() throws RecognitionException {
3175            CollectionNode items =  new CollectionNode();
3176    
3177            StringBundler contents = null;
3178    
3179            ScapedNode e = null;
3180    
3181    
3182            try {
3183                    // /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 )+ )
3184                    int alt40=2;
3185                    int LA40_0 = input.LA(1);
3186    
3187                    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<=78)) ) {
3188                    alt40=1;
3189                    }
3190                    else if ( ((LA40_0>=FORCED_LINEBREAK && LA40_0<=ESCAPE)) ) {
3191                    alt40=2;
3192                    }
3193                    else {
3194                    if (backtracking>0) {failed=true; return items;}
3195                    NoViableAltException nvae =
3196                            new NoViableAltException("243:1: text_unformatted returns [CollectionNode items = new CollectionNode()] : (contents= text_unformated_text | ( forced_linebreak | e= escaped )+ );", 40, 0, input);
3197    
3198                    throw nvae;
3199                    }
3200                    switch (alt40) {
3201                    case 1 :
3202                            // /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
3203                            {
3204                            pushFollow(FOLLOW_text_unformated_text_in_text_unformatted1166);
3205                            contents=text_unformated_text();
3206                            _fsp--;
3207                            if (failed) return items;
3208                            if ( backtracking==0 ) {
3209                              items.add(new UnformattedTextNode(contents.toString())); 
3210                            }
3211    
3212                            }
3213                            break;
3214                    case 2 :
3215                            // /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 )+
3216                            {
3217                            // /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 )+
3218                            int cnt39=0;
3219                            loop39:
3220                            do {
3221                            int alt39=3;
3222                            int LA39_0 = input.LA(1);
3223    
3224                            if ( (LA39_0==FORCED_LINEBREAK) ) {
3225                                    alt39=1;
3226                            }
3227                            else if ( (LA39_0==ESCAPE) ) {
3228                                    alt39=2;
3229                            }
3230    
3231    
3232                            switch (alt39) {
3233                            case 1 :
3234                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:245:6: forced_linebreak
3235                                    {
3236                                    pushFollow(FOLLOW_forced_linebreak_in_text_unformatted1175);
3237                                    forced_linebreak();
3238                                    _fsp--;
3239                                    if (failed) return items;
3240                                    if ( backtracking==0 ) {
3241                                       items.add(new ForcedEndOfLineNode()); 
3242                                    }
3243    
3244                                    }
3245                                    break;
3246                            case 2 :
3247                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:246:5: e= escaped
3248                                    {
3249                                    pushFollow(FOLLOW_escaped_in_text_unformatted1187);
3250                                    e=escaped();
3251                                    _fsp--;
3252                                    if (failed) return items;
3253                                    if ( backtracking==0 ) {
3254                                      items.add(e);
3255                                    }
3256    
3257                                    }
3258                                    break;
3259    
3260                            default :
3261                                    if ( cnt39 >= 1 ) break loop39;
3262                                    if (backtracking>0) {failed=true; return items;}
3263                                    EarlyExitException eee =
3264                                            new EarlyExitException(39, input);
3265                                    throw eee;
3266                            }
3267                            cnt39++;
3268                            } while (true);
3269    
3270    
3271                            }
3272                            break;
3273    
3274                    }
3275            }
3276            catch (RecognitionException re) {
3277                    reportError(re);
3278                    recover(input,re);
3279            }
3280            finally {
3281            }
3282            return items;
3283            }
3284            // $ANTLR end text_unformatted
3285    
3286    
3287            // $ANTLR start text_unformated_text
3288            // /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 ) )+ ;
3289            public final StringBundler text_unformated_text() throws RecognitionException {
3290            StringBundler text =  new StringBundler();
3291    
3292            Token c=null;
3293    
3294            try {
3295                    // /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 ) )+ )
3296                    // /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 ) )+
3297                    {
3298                    // /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 ) )+
3299                    int cnt41=0;
3300                    loop41:
3301                    do {
3302                    int alt41=2;
3303                    int LA41_0 = input.LA(1);
3304    
3305                    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<=78)) ) {
3306                            alt41=1;
3307                    }
3308    
3309    
3310                    switch (alt41) {
3311                    case 1 :
3312                            // /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 )
3313                            {
3314                            c=(Token)input.LT(1);
3315                            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)<=78) ) {
3316                            input.consume();
3317                            errorRecovery=false;failed=false;
3318                            }
3319                            else {
3320                            if (backtracking>0) {failed=true; return text;}
3321                            MismatchedSetException mse =
3322                                    new MismatchedSetException(null,input);
3323                            recoverFromMismatchedSet(input,mse,FOLLOW_set_in_text_unformated_text1214);     throw mse;
3324                            }
3325    
3326                            if ( backtracking==0 ) {
3327                               text.append(c.getText());
3328                            }
3329    
3330                            }
3331                            break;
3332    
3333                    default :
3334                            if ( cnt41 >= 1 ) break loop41;
3335                            if (backtracking>0) {failed=true; return text;}
3336                            EarlyExitException eee =
3337                                    new EarlyExitException(41, input);
3338                            throw eee;
3339                    }
3340                    cnt41++;
3341                    } while (true);
3342    
3343    
3344                    }
3345    
3346            }
3347            catch (RecognitionException re) {
3348                    reportError(re);
3349                    recover(input,re);
3350            }
3351            finally {
3352            }
3353            return text;
3354            }
3355            // $ANTLR end text_unformated_text
3356    
3357            protected static class heading_scope {
3358            CollectionNode items;
3359            int nestedLevel;
3360            String text;
3361            }
3362            protected Stack heading_stack = new Stack();
3363    
3364    
3365            // $ANTLR start heading
3366            // /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 ;
3367            public final ASTNode heading() throws RecognitionException {
3368            heading_stack.push(new heading_scope());
3369            ASTNode header = null;
3370    
3371    
3372                            ((heading_scope)heading_stack.peek()).items = new CollectionNode();        
3373                            ((heading_scope)heading_stack.peek()).text = new String();
3374                    
3375            try {
3376                    // /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 )
3377                    // /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
3378                    {
3379                    pushFollow(FOLLOW_heading_markup_in_heading1318);
3380                    heading_markup();
3381                    _fsp--;
3382                    if (failed) return header;
3383                    if ( backtracking==0 ) {
3384                      ((heading_scope)heading_stack.peek()).nestedLevel++;
3385                    }
3386                    pushFollow(FOLLOW_heading_content_in_heading1323);
3387                    heading_content();
3388                    _fsp--;
3389                    if (failed) return header;
3390                    if ( backtracking==0 ) {
3391                       header = new HeadingNode(((heading_scope)heading_stack.peek()).items,((heading_scope)heading_stack.peek()).nestedLevel); 
3392                    }
3393                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:275:134: ( heading_markup )?
3394                    int alt42=2;
3395                    int LA42_0 = input.LA(1);
3396    
3397                    if ( (LA42_0==EQUAL) ) {
3398                    alt42=1;
3399                    }
3400                    switch (alt42) {
3401                    case 1 :
3402                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:275:136: heading_markup
3403                            {
3404                            pushFollow(FOLLOW_heading_markup_in_heading1330);
3405                            heading_markup();
3406                            _fsp--;
3407                            if (failed) return header;
3408    
3409                            }
3410                            break;
3411    
3412                    }
3413    
3414                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:275:155: ( blanks )?
3415                    int alt43=2;
3416                    int LA43_0 = input.LA(1);
3417    
3418                    if ( (LA43_0==BLANKS) ) {
3419                    alt43=1;
3420                    }
3421                    switch (alt43) {
3422                    case 1 :
3423                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:275:157: blanks
3424                            {
3425                            pushFollow(FOLLOW_blanks_in_heading1338);
3426                            blanks();
3427                            _fsp--;
3428                            if (failed) return header;
3429    
3430                            }
3431                            break;
3432    
3433                    }
3434    
3435                    pushFollow(FOLLOW_paragraph_separator_in_heading1345);
3436                    paragraph_separator();
3437                    _fsp--;
3438                    if (failed) return header;
3439    
3440                    }
3441    
3442            }
3443            catch (RecognitionException re) {
3444                    reportError(re);
3445                    recover(input,re);
3446            }
3447            finally {
3448                    heading_stack.pop();
3449            }
3450            return header;
3451            }
3452            // $ANTLR end heading
3453    
3454    
3455            // $ANTLR start heading_content
3456            // /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 );
3457            public final void heading_content() throws RecognitionException {
3458            CollectionNode ht = null;
3459    
3460    
3461            try {
3462                    // /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 )
3463                    int alt45=2;
3464                    int LA45_0 = input.LA(1);
3465    
3466                    if ( (LA45_0==EQUAL) ) {
3467                    alt45=1;
3468                    }
3469                    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<=78)) ) {
3470                    alt45=2;
3471                    }
3472                    else {
3473                    if (backtracking>0) {failed=true; return ;}
3474                    NoViableAltException nvae =
3475                            new NoViableAltException("278:1: heading_content : ( heading_markup heading_content ( heading_markup )? | ht= heading_text );", 45, 0, input);
3476    
3477                    throw nvae;
3478                    }
3479                    switch (alt45) {
3480                    case 1 :
3481                            // /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 )?
3482                            {
3483                            pushFollow(FOLLOW_heading_markup_in_heading_content1355);
3484                            heading_markup();
3485                            _fsp--;
3486                            if (failed) return ;
3487                            if ( backtracking==0 ) {
3488                              ((heading_scope)heading_stack.peek()).nestedLevel++;
3489                            }
3490                            pushFollow(FOLLOW_heading_content_in_heading_content1360);
3491                            heading_content();
3492                            _fsp--;
3493                            if (failed) return ;
3494                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:279:64: ( heading_markup )?
3495                            int alt44=2;
3496                            int LA44_0 = input.LA(1);
3497    
3498                            if ( (LA44_0==EQUAL) ) {
3499                            alt44=1;
3500                            }
3501                            switch (alt44) {
3502                            case 1 :
3503                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:279:66: heading_markup
3504                                    {
3505                                    pushFollow(FOLLOW_heading_markup_in_heading_content1365);
3506                                    heading_markup();
3507                                    _fsp--;
3508                                    if (failed) return ;
3509    
3510                                    }
3511                                    break;
3512    
3513                            }
3514    
3515    
3516                            }
3517                            break;
3518                    case 2 :
3519                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:280:4: ht= heading_text
3520                            {
3521                            pushFollow(FOLLOW_heading_text_in_heading_content1377);
3522                            ht=heading_text();
3523                            _fsp--;
3524                            if (failed) return ;
3525                            if ( backtracking==0 ) {
3526                              ((heading_scope)heading_stack.peek()).items = ht;
3527                            }
3528    
3529                            }
3530                            break;
3531    
3532                    }
3533            }
3534            catch (RecognitionException re) {
3535                    reportError(re);
3536                    recover(input,re);
3537            }
3538            finally {
3539            }
3540            return ;
3541            }
3542            // $ANTLR end heading_content
3543    
3544    
3545            // $ANTLR start heading_text
3546            // /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 ;
3547            public final CollectionNode heading_text() throws RecognitionException {
3548            CollectionNode items =  null;
3549    
3550            CollectionNode te = null;
3551    
3552    
3553            try {
3554                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:284:2: (te= heading_cellcontent )
3555                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:284:4: te= heading_cellcontent
3556                    {
3557                    pushFollow(FOLLOW_heading_cellcontent_in_heading_text1398);
3558                    te=heading_cellcontent();
3559                    _fsp--;
3560                    if (failed) return items;
3561                    if ( backtracking==0 ) {
3562                      items = te;
3563                    }
3564    
3565                    }
3566    
3567            }
3568            catch (RecognitionException re) {
3569                    reportError(re);
3570                    recover(input,re);
3571            }
3572            finally {
3573            }
3574            return items;
3575            }
3576            // $ANTLR end heading_text
3577    
3578    
3579            // $ANTLR start heading_cellcontent
3580            // /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 )* ;
3581            public final CollectionNode heading_cellcontent() throws RecognitionException {
3582            CollectionNode items =  new CollectionNode();
3583    
3584            ASTNode tcp = null;
3585    
3586    
3587            try {
3588                    // /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 )* )
3589                    // /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 )*
3590                    {
3591                    pushFollow(FOLLOW_onestar_in_heading_cellcontent1415);
3592                    onestar();
3593                    _fsp--;
3594                    if (failed) return items;
3595                    // /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 )*
3596                    loop46:
3597                    do {
3598                    int alt46=2;
3599                    int LA46_0 = input.LA(1);
3600    
3601                    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<=78)) ) {
3602                            alt46=1;
3603                    }
3604    
3605    
3606                    switch (alt46) {
3607                    case 1 :
3608                            // /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
3609                            {
3610                            pushFollow(FOLLOW_heading_cellcontentpart_in_heading_cellcontent1424);
3611                            tcp=heading_cellcontentpart();
3612                            _fsp--;
3613                            if (failed) return items;
3614                            if ( backtracking==0 ) {
3615    
3616                                                                            
3617                                                                            if(tcp != null) { // some AST Node could be NULL if bad CREOLE syntax is wrotten
3618                                                                                    items.add(tcp); 
3619                                                                            }
3620                                                                            
3621                                                                            
3622                            }
3623                            pushFollow(FOLLOW_onestar_in_heading_cellcontent1436);
3624                            onestar();
3625                            _fsp--;
3626                            if (failed) return items;
3627    
3628                            }
3629                            break;
3630    
3631                    default :
3632                            break loop46;
3633                    }
3634                    } while (true);
3635    
3636    
3637                    }
3638    
3639            }
3640            catch (RecognitionException re) {
3641                    reportError(re);
3642                    recover(input,re);
3643            }
3644            finally {
3645            }
3646            return items;
3647            }
3648            // $ANTLR end heading_cellcontent
3649    
3650    
3651            // $ANTLR start heading_cellcontentpart
3652            // /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 );
3653            public final ASTNode heading_cellcontentpart() throws RecognitionException {
3654            ASTNode node =  null;
3655    
3656            ASTNode tf = null;
3657    
3658            ASTNode tu = null;
3659    
3660    
3661            try {
3662                    // /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 )
3663                    int alt47=2;
3664                    switch ( input.LA(1) ) {
3665                    case ITAL:
3666                    {
3667                    alt47=1;
3668                    }
3669                    break;
3670                    case STAR:
3671                    {
3672                    int LA47_2 = input.LA(2);
3673    
3674                    if ( (LA47_2==STAR) ) {
3675                            alt47=1;
3676                    }
3677                    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<=78)) ) {
3678                            alt47=2;
3679                    }
3680                    else {
3681                            if (backtracking>0) {failed=true; return node;}
3682                            NoViableAltException nvae =
3683                            new NoViableAltException("297:1: heading_cellcontentpart returns [ASTNode node = null] : (tf= heading_formattedelement | tu= heading_unformattedelement );", 47, 2, input);
3684    
3685                            throw nvae;
3686                    }
3687                    }
3688                    break;
3689                    case FORCED_END_OF_LINE:
3690                    case HEADING_SECTION:
3691                    case HORIZONTAL_SECTION:
3692                    case LIST_ITEM:
3693                    case LIST_ITEM_PART:
3694                    case NOWIKI_SECTION:
3695                    case SCAPE_NODE:
3696                    case TEXT_NODE:
3697                    case UNORDERED_LIST:
3698                    case UNFORMATTED_TEXT:
3699                    case WIKI:
3700                    case POUND:
3701                    case PIPE:
3702                    case LINK_OPEN:
3703                    case IMAGE_OPEN:
3704                    case NOWIKI_OPEN:
3705                    case EXTENSION:
3706                    case FORCED_LINEBREAK:
3707                    case NOWIKI_BLOCK_CLOSE:
3708                    case NOWIKI_CLOSE:
3709                    case LINK_CLOSE:
3710                    case IMAGE_CLOSE:
3711                    case BLANKS:
3712                    case TABLE_OF_CONTENTS_TEXT:
3713                    case DASH:
3714                    case CR:
3715                    case LF:
3716                    case SPACE:
3717                    case TABULATOR:
3718                    case COLON_SLASH:
3719                    case SLASH:
3720                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
3721                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
3722                    case INSIGNIFICANT_CHAR:
3723                    case 43:
3724                    case 44:
3725                    case 45:
3726                    case 46:
3727                    case 47:
3728                    case 48:
3729                    case 49:
3730                    case 50:
3731                    case 51:
3732                    case 52:
3733                    case 53:
3734                    case 54:
3735                    case 55:
3736                    case 56:
3737                    case 57:
3738                    case 58:
3739                    case 59:
3740                    case 60:
3741                    case 61:
3742                    case 62:
3743                    case 63:
3744                    case 64:
3745                    case 65:
3746                    case 66:
3747                    case 67:
3748                    case 68:
3749                    case 69:
3750                    case 70:
3751                    case 71:
3752                    case 72:
3753                    case 73:
3754                    case 74:
3755                    case 75:
3756                    case 76:
3757                    case 77:
3758                    case 78:
3759                    {
3760                    alt47=2;
3761                    }
3762                    break;
3763                    default:
3764                    if (backtracking>0) {failed=true; return node;}
3765                    NoViableAltException nvae =
3766                            new NoViableAltException("297:1: heading_cellcontentpart returns [ASTNode node = null] : (tf= heading_formattedelement | tu= heading_unformattedelement );", 47, 0, input);
3767    
3768                    throw nvae;
3769                    }
3770    
3771                    switch (alt47) {
3772                    case 1 :
3773                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:298:4: tf= heading_formattedelement
3774                            {
3775                            pushFollow(FOLLOW_heading_formattedelement_in_heading_cellcontentpart1457);
3776                            tf=heading_formattedelement();
3777                            _fsp--;
3778                            if (failed) return node;
3779                            if ( backtracking==0 ) {
3780                              node =tf;
3781                            }
3782    
3783                            }
3784                            break;
3785                    case 2 :
3786                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:299:4: tu= heading_unformattedelement
3787                            {
3788                            pushFollow(FOLLOW_heading_unformattedelement_in_heading_cellcontentpart1468);
3789                            tu=heading_unformattedelement();
3790                            _fsp--;
3791                            if (failed) return node;
3792                            if ( backtracking==0 ) {
3793                              node =tu;
3794                            }
3795    
3796                            }
3797                            break;
3798    
3799                    }
3800            }
3801            catch (RecognitionException re) {
3802                    reportError(re);
3803                    recover(input,re);
3804            }
3805            finally {
3806            }
3807            return node;
3808            }
3809            // $ANTLR end heading_cellcontentpart
3810    
3811    
3812            // $ANTLR start heading_formattedelement
3813            // /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 )? );
3814            public final ASTNode heading_formattedelement() throws RecognitionException {
3815            ASTNode content =  null;
3816    
3817            CollectionNode tic = null;
3818    
3819            CollectionNode tbc = null;
3820    
3821    
3822            try {
3823                    // /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 )? )
3824                    int alt52=2;
3825                    int LA52_0 = input.LA(1);
3826    
3827                    if ( (LA52_0==ITAL) ) {
3828                    alt52=1;
3829                    }
3830                    else if ( (LA52_0==STAR) ) {
3831                    alt52=2;
3832                    }
3833                    else {
3834                    if (backtracking>0) {failed=true; return content;}
3835                    NoViableAltException nvae =
3836                            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);
3837    
3838                    throw nvae;
3839                    }
3840                    switch (alt52) {
3841                    case 1 :
3842                            // /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 )?
3843                            {
3844                            pushFollow(FOLLOW_ital_markup_in_heading_formattedelement1484);
3845                            ital_markup();
3846                            _fsp--;
3847                            if (failed) return content;
3848                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:302:18: (tic= heading_italcontent )?
3849                            int alt48=2;
3850                            switch ( input.LA(1) ) {
3851                            case STAR:
3852                                    {
3853                                    alt48=1;
3854                                    }
3855                                    break;
3856                            case ITAL:
3857                                    {
3858                                    alt48=1;
3859                                    }
3860                                    break;
3861                            case LINK_OPEN:
3862                                    {
3863                                    alt48=1;
3864                                    }
3865                                    break;
3866                            case IMAGE_OPEN:
3867                                    {
3868                                    alt48=1;
3869                                    }
3870                                    break;
3871                            case NOWIKI_OPEN:
3872                                    {
3873                                    alt48=1;
3874                                    }
3875                                    break;
3876                            case EOF:
3877                                    {
3878                                    alt48=1;
3879                                    }
3880                                    break;
3881                            case BLANKS:
3882                                    {
3883                                    alt48=1;
3884                                    }
3885                                    break;
3886                            case FORCED_END_OF_LINE:
3887                            case HEADING_SECTION:
3888                            case HORIZONTAL_SECTION:
3889                            case LIST_ITEM:
3890                            case LIST_ITEM_PART:
3891                            case NOWIKI_SECTION:
3892                            case SCAPE_NODE:
3893                            case TEXT_NODE:
3894                            case UNORDERED_LIST:
3895                            case UNFORMATTED_TEXT:
3896                            case WIKI:
3897                            case POUND:
3898                            case PIPE:
3899                            case EXTENSION:
3900                            case FORCED_LINEBREAK:
3901                            case NOWIKI_BLOCK_CLOSE:
3902                            case NOWIKI_CLOSE:
3903                            case LINK_CLOSE:
3904                            case IMAGE_CLOSE:
3905                            case TABLE_OF_CONTENTS_TEXT:
3906                            case DASH:
3907                            case CR:
3908                            case LF:
3909                            case SPACE:
3910                            case TABULATOR:
3911                            case COLON_SLASH:
3912                            case SLASH:
3913                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
3914                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
3915                            case INSIGNIFICANT_CHAR:
3916                            case 43:
3917                            case 44:
3918                            case 45:
3919                            case 46:
3920                            case 47:
3921                            case 48:
3922                            case 49:
3923                            case 50:
3924                            case 51:
3925                            case 52:
3926                            case 53:
3927                            case 54:
3928                            case 55:
3929                            case 56:
3930                            case 57:
3931                            case 58:
3932                            case 59:
3933                            case 60:
3934                            case 61:
3935                            case 62:
3936                            case 63:
3937                            case 64:
3938                            case 65:
3939                            case 66:
3940                            case 67:
3941                            case 68:
3942                            case 69:
3943                            case 70:
3944                            case 71:
3945                            case 72:
3946                            case 73:
3947                            case 74:
3948                            case 75:
3949                            case 76:
3950                            case 77:
3951                            case 78:
3952                                    {
3953                                    alt48=1;
3954                                    }
3955                                    break;
3956                            }
3957    
3958                            switch (alt48) {
3959                            case 1 :
3960                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:302:20: tic= heading_italcontent
3961                                    {
3962                                    pushFollow(FOLLOW_heading_italcontent_in_heading_formattedelement1494);
3963                                    tic=heading_italcontent();
3964                                    _fsp--;
3965                                    if (failed) return content;
3966                                    if ( backtracking==0 ) {
3967                                       content = new ItalicTextNode(tic); 
3968                                    }
3969    
3970                                    }
3971                                    break;
3972    
3973                            }
3974    
3975                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:302:96: ( ital_markup )?
3976                            int alt49=2;
3977                            int LA49_0 = input.LA(1);
3978    
3979                            if ( (LA49_0==ITAL) ) {
3980                            alt49=1;
3981                            }
3982                            switch (alt49) {
3983                            case 1 :
3984                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:302:98: ital_markup
3985                                    {
3986                                    pushFollow(FOLLOW_ital_markup_in_heading_formattedelement1503);
3987                                    ital_markup();
3988                                    _fsp--;
3989                                    if (failed) return content;
3990    
3991                                    }
3992                                    break;
3993    
3994                            }
3995    
3996    
3997                            }
3998                            break;
3999                    case 2 :
4000                            // /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 )?
4001                            {
4002                            pushFollow(FOLLOW_bold_markup_in_heading_formattedelement1511);
4003                            bold_markup();
4004                            _fsp--;
4005                            if (failed) return content;
4006                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:303:16: (tbc= heading_boldcontent )?
4007                            int alt50=2;
4008                            switch ( input.LA(1) ) {
4009                            case STAR:
4010                                    {
4011                                    alt50=1;
4012                                    }
4013                                    break;
4014                            case ITAL:
4015                                    {
4016                                    alt50=1;
4017                                    }
4018                                    break;
4019                            case LINK_OPEN:
4020                                    {
4021                                    alt50=1;
4022                                    }
4023                                    break;
4024                            case IMAGE_OPEN:
4025                                    {
4026                                    alt50=1;
4027                                    }
4028                                    break;
4029                            case NOWIKI_OPEN:
4030                                    {
4031                                    alt50=1;
4032                                    }
4033                                    break;
4034                            case BLANKS:
4035                                    {
4036                                    alt50=1;
4037                                    }
4038                                    break;
4039                            case EOF:
4040                                    {
4041                                    alt50=1;
4042                                    }
4043                                    break;
4044                            case FORCED_END_OF_LINE:
4045                            case HEADING_SECTION:
4046                            case HORIZONTAL_SECTION:
4047                            case LIST_ITEM:
4048                            case LIST_ITEM_PART:
4049                            case NOWIKI_SECTION:
4050                            case SCAPE_NODE:
4051                            case TEXT_NODE:
4052                            case UNORDERED_LIST:
4053                            case UNFORMATTED_TEXT:
4054                            case WIKI:
4055                            case POUND:
4056                            case PIPE:
4057                            case EXTENSION:
4058                            case FORCED_LINEBREAK:
4059                            case NOWIKI_BLOCK_CLOSE:
4060                            case NOWIKI_CLOSE:
4061                            case LINK_CLOSE:
4062                            case IMAGE_CLOSE:
4063                            case TABLE_OF_CONTENTS_TEXT:
4064                            case DASH:
4065                            case CR:
4066                            case LF:
4067                            case SPACE:
4068                            case TABULATOR:
4069                            case COLON_SLASH:
4070                            case SLASH:
4071                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
4072                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
4073                            case INSIGNIFICANT_CHAR:
4074                            case 43:
4075                            case 44:
4076                            case 45:
4077                            case 46:
4078                            case 47:
4079                            case 48:
4080                            case 49:
4081                            case 50:
4082                            case 51:
4083                            case 52:
4084                            case 53:
4085                            case 54:
4086                            case 55:
4087                            case 56:
4088                            case 57:
4089                            case 58:
4090                            case 59:
4091                            case 60:
4092                            case 61:
4093                            case 62:
4094                            case 63:
4095                            case 64:
4096                            case 65:
4097                            case 66:
4098                            case 67:
4099                            case 68:
4100                            case 69:
4101                            case 70:
4102                            case 71:
4103                            case 72:
4104                            case 73:
4105                            case 74:
4106                            case 75:
4107                            case 76:
4108                            case 77:
4109                            case 78:
4110                                    {
4111                                    alt50=1;
4112                                    }
4113                                    break;
4114                            }
4115    
4116                            switch (alt50) {
4117                            case 1 :
4118                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:303:18: tbc= heading_boldcontent
4119                                    {
4120                                    pushFollow(FOLLOW_heading_boldcontent_in_heading_formattedelement1518);
4121                                    tbc=heading_boldcontent();
4122                                    _fsp--;
4123                                    if (failed) return content;
4124                                    if ( backtracking==0 ) {
4125                                      content = new BoldTextNode(tbc);
4126                                    }
4127    
4128                                    }
4129                                    break;
4130    
4131                            }
4132    
4133                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:303:90: ( bold_markup )?
4134                            int alt51=2;
4135                            int LA51_0 = input.LA(1);
4136    
4137                            if ( (LA51_0==STAR) ) {
4138                            int LA51_1 = input.LA(2);
4139    
4140                            if ( (LA51_1==STAR) ) {
4141                                    alt51=1;
4142                            }
4143                            }
4144                            switch (alt51) {
4145                            case 1 :
4146                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:303:92: bold_markup
4147                                    {
4148                                    pushFollow(FOLLOW_bold_markup_in_heading_formattedelement1528);
4149                                    bold_markup();
4150                                    _fsp--;
4151                                    if (failed) return content;
4152    
4153                                    }
4154                                    break;
4155    
4156                            }
4157    
4158    
4159                            }
4160                            break;
4161    
4162                    }
4163            }
4164            catch (RecognitionException re) {
4165                    reportError(re);
4166                    recover(input,re);
4167            }
4168            finally {
4169            }
4170            return content;
4171            }
4172            // $ANTLR end heading_formattedelement
4173    
4174    
4175            // $ANTLR start heading_boldcontent
4176            // /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 );
4177            public final CollectionNode heading_boldcontent() throws RecognitionException {
4178            CollectionNode items =  new CollectionNode();
4179    
4180            ASTNode tb = null;
4181    
4182    
4183            try {
4184                    // /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 )
4185                    int alt54=2;
4186                    int LA54_0 = input.LA(1);
4187    
4188                    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<=78)) ) {
4189                    alt54=1;
4190                    }
4191                    else if ( (LA54_0==EOF) ) {
4192                    alt54=2;
4193                    }
4194                    else {
4195                    if (backtracking>0) {failed=true; return items;}
4196                    NoViableAltException nvae =
4197                            new NoViableAltException("305:1: heading_boldcontent returns [CollectionNode items = new CollectionNode()] : ( onestar (tb= heading_boldcontentpart onestar )+ | EOF );", 54, 0, input);
4198    
4199                    throw nvae;
4200                    }
4201                    switch (alt54) {
4202                    case 1 :
4203                            // /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 )+
4204                            {
4205                            pushFollow(FOLLOW_onestar_in_heading_boldcontent1545);
4206                            onestar();
4207                            _fsp--;
4208                            if (failed) return items;
4209                            // /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 )+
4210                            int cnt53=0;
4211                            loop53:
4212                            do {
4213                            int alt53=2;
4214                            switch ( input.LA(1) ) {
4215                            case STAR:
4216                                    {
4217                                    alt53=1;
4218                                    }
4219                                    break;
4220                            case BLANKS:
4221                                    {
4222                                    alt53=1;
4223                                    }
4224                                    break;
4225                            case ITAL:
4226                                    {
4227                                    alt53=1;
4228                                    }
4229                                    break;
4230                            case FORCED_END_OF_LINE:
4231                            case HEADING_SECTION:
4232                            case HORIZONTAL_SECTION:
4233                            case LIST_ITEM:
4234                            case LIST_ITEM_PART:
4235                            case NOWIKI_SECTION:
4236                            case SCAPE_NODE:
4237                            case TEXT_NODE:
4238                            case UNORDERED_LIST:
4239                            case UNFORMATTED_TEXT:
4240                            case WIKI:
4241                            case POUND:
4242                            case PIPE:
4243                            case EXTENSION:
4244                            case FORCED_LINEBREAK:
4245                            case NOWIKI_BLOCK_CLOSE:
4246                            case NOWIKI_CLOSE:
4247                            case LINK_CLOSE:
4248                            case IMAGE_CLOSE:
4249                            case TABLE_OF_CONTENTS_TEXT:
4250                            case DASH:
4251                            case CR:
4252                            case LF:
4253                            case SPACE:
4254                            case TABULATOR:
4255                            case COLON_SLASH:
4256                            case SLASH:
4257                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
4258                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
4259                            case INSIGNIFICANT_CHAR:
4260                            case 43:
4261                            case 44:
4262                            case 45:
4263                            case 46:
4264                            case 47:
4265                            case 48:
4266                            case 49:
4267                            case 50:
4268                            case 51:
4269                            case 52:
4270                            case 53:
4271                            case 54:
4272                            case 55:
4273                            case 56:
4274                            case 57:
4275                            case 58:
4276                            case 59:
4277                            case 60:
4278                            case 61:
4279                            case 62:
4280                            case 63:
4281                            case 64:
4282                            case 65:
4283                            case 66:
4284                            case 67:
4285                            case 68:
4286                            case 69:
4287                            case 70:
4288                            case 71:
4289                            case 72:
4290                            case 73:
4291                            case 74:
4292                            case 75:
4293                            case 76:
4294                            case 77:
4295                            case 78:
4296                                    {
4297                                    alt53=1;
4298                                    }
4299                                    break;
4300                            case LINK_OPEN:
4301                                    {
4302                                    alt53=1;
4303                                    }
4304                                    break;
4305                            case IMAGE_OPEN:
4306                                    {
4307                                    alt53=1;
4308                                    }
4309                                    break;
4310                            case NOWIKI_OPEN:
4311                                    {
4312                                    alt53=1;
4313                                    }
4314                                    break;
4315    
4316                            }
4317    
4318                            switch (alt53) {
4319                            case 1 :
4320                                    // /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
4321                                    {
4322                                    pushFollow(FOLLOW_heading_boldcontentpart_in_heading_boldcontent1554);
4323                                    tb=heading_boldcontentpart();
4324                                    _fsp--;
4325                                    if (failed) return items;
4326                                    if ( backtracking==0 ) {
4327                                       items.add(tb); 
4328                                    }
4329                                    pushFollow(FOLLOW_onestar_in_heading_boldcontent1559);
4330                                    onestar();
4331                                    _fsp--;
4332                                    if (failed) return items;
4333    
4334                                    }
4335                                    break;
4336    
4337                            default :
4338                                    if ( cnt53 >= 1 ) break loop53;
4339                                    if (backtracking>0) {failed=true; return items;}
4340                                    EarlyExitException eee =
4341                                            new EarlyExitException(53, input);
4342                                    throw eee;
4343                            }
4344                            cnt53++;
4345                            } while (true);
4346    
4347    
4348                            }
4349                            break;
4350                    case 2 :
4351                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:307:4: EOF
4352                            {
4353                            match(input,EOF,FOLLOW_EOF_in_heading_boldcontent1567); if (failed) return items;
4354    
4355                            }
4356                            break;
4357    
4358                    }
4359            }
4360            catch (RecognitionException re) {
4361                    reportError(re);
4362                    recover(input,re);
4363            }
4364            finally {
4365            }
4366            return items;
4367            }
4368            // $ANTLR end heading_boldcontent
4369    
4370    
4371            // $ANTLR start heading_italcontent
4372            // /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 );
4373            public final CollectionNode heading_italcontent() throws RecognitionException {
4374            CollectionNode items =  new CollectionNode();
4375    
4376            ASTNode ti = null;
4377    
4378    
4379            try {
4380                    // /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 )
4381                    int alt56=2;
4382                    int LA56_0 = input.LA(1);
4383    
4384                    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<=78)) ) {
4385                    alt56=1;
4386                    }
4387                    else if ( (LA56_0==EOF) ) {
4388                    alt56=2;
4389                    }
4390                    else {
4391                    if (backtracking>0) {failed=true; return items;}
4392                    NoViableAltException nvae =
4393                            new NoViableAltException("309:1: heading_italcontent returns [CollectionNode items = new CollectionNode()] : ( onestar (ti= heading_italcontentpart onestar )+ | EOF );", 56, 0, input);
4394    
4395                    throw nvae;
4396                    }
4397                    switch (alt56) {
4398                    case 1 :
4399                            // /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 )+
4400                            {
4401                            pushFollow(FOLLOW_onestar_in_heading_italcontent1581);
4402                            onestar();
4403                            _fsp--;
4404                            if (failed) return items;
4405                            // /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 )+
4406                            int cnt55=0;
4407                            loop55:
4408                            do {
4409                            int alt55=2;
4410                            switch ( input.LA(1) ) {
4411                            case ITAL:
4412                                    {
4413                                    alt55=1;
4414                                    }
4415                                    break;
4416                            case STAR:
4417                                    {
4418                                    alt55=1;
4419                                    }
4420                                    break;
4421                            case BLANKS:
4422                                    {
4423                                    alt55=1;
4424                                    }
4425                                    break;
4426                            case FORCED_END_OF_LINE:
4427                            case HEADING_SECTION:
4428                            case HORIZONTAL_SECTION:
4429                            case LIST_ITEM:
4430                            case LIST_ITEM_PART:
4431                            case NOWIKI_SECTION:
4432                            case SCAPE_NODE:
4433                            case TEXT_NODE:
4434                            case UNORDERED_LIST:
4435                            case UNFORMATTED_TEXT:
4436                            case WIKI:
4437                            case POUND:
4438                            case PIPE:
4439                            case EXTENSION:
4440                            case FORCED_LINEBREAK:
4441                            case NOWIKI_BLOCK_CLOSE:
4442                            case NOWIKI_CLOSE:
4443                            case LINK_CLOSE:
4444                            case IMAGE_CLOSE:
4445                            case TABLE_OF_CONTENTS_TEXT:
4446                            case DASH:
4447                            case CR:
4448                            case LF:
4449                            case SPACE:
4450                            case TABULATOR:
4451                            case COLON_SLASH:
4452                            case SLASH:
4453                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
4454                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
4455                            case INSIGNIFICANT_CHAR:
4456                            case 43:
4457                            case 44:
4458                            case 45:
4459                            case 46:
4460                            case 47:
4461                            case 48:
4462                            case 49:
4463                            case 50:
4464                            case 51:
4465                            case 52:
4466                            case 53:
4467                            case 54:
4468                            case 55:
4469                            case 56:
4470                            case 57:
4471                            case 58:
4472                            case 59:
4473                            case 60:
4474                            case 61:
4475                            case 62:
4476                            case 63:
4477                            case 64:
4478                            case 65:
4479                            case 66:
4480                            case 67:
4481                            case 68:
4482                            case 69:
4483                            case 70:
4484                            case 71:
4485                            case 72:
4486                            case 73:
4487                            case 74:
4488                            case 75:
4489                            case 76:
4490                            case 77:
4491                            case 78:
4492                                    {
4493                                    alt55=1;
4494                                    }
4495                                    break;
4496                            case LINK_OPEN:
4497                                    {
4498                                    alt55=1;
4499                                    }
4500                                    break;
4501                            case IMAGE_OPEN:
4502                                    {
4503                                    alt55=1;
4504                                    }
4505                                    break;
4506                            case NOWIKI_OPEN:
4507                                    {
4508                                    alt55=1;
4509                                    }
4510                                    break;
4511    
4512                            }
4513    
4514                            switch (alt55) {
4515                            case 1 :
4516                                    // /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
4517                                    {
4518                                    pushFollow(FOLLOW_heading_italcontentpart_in_heading_italcontent1590);
4519                                    ti=heading_italcontentpart();
4520                                    _fsp--;
4521                                    if (failed) return items;
4522                                    if ( backtracking==0 ) {
4523                                       items.add(ti); 
4524                                    }
4525                                    pushFollow(FOLLOW_onestar_in_heading_italcontent1595);
4526                                    onestar();
4527                                    _fsp--;
4528                                    if (failed) return items;
4529    
4530                                    }
4531                                    break;
4532    
4533                            default :
4534                                    if ( cnt55 >= 1 ) break loop55;
4535                                    if (backtracking>0) {failed=true; return items;}
4536                                    EarlyExitException eee =
4537                                            new EarlyExitException(55, input);
4538                                    throw eee;
4539                            }
4540                            cnt55++;
4541                            } while (true);
4542    
4543    
4544                            }
4545                            break;
4546                    case 2 :
4547                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:311:4: EOF
4548                            {
4549                            match(input,EOF,FOLLOW_EOF_in_heading_italcontent1603); if (failed) return items;
4550    
4551                            }
4552                            break;
4553    
4554                    }
4555            }
4556            catch (RecognitionException re) {
4557                    reportError(re);
4558                    recover(input,re);
4559            }
4560            finally {
4561            }
4562            return items;
4563            }
4564            // $ANTLR end heading_italcontent
4565    
4566    
4567            // $ANTLR start heading_boldcontentpart
4568            // /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 )? );
4569            public final ASTNode heading_boldcontentpart() throws RecognitionException {
4570            ASTNode node =  null;
4571    
4572            CollectionNode tf = null;
4573    
4574            CollectionNode tb = null;
4575    
4576    
4577            try {
4578                    // /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 )? )
4579                    int alt58=2;
4580                    int LA58_0 = input.LA(1);
4581    
4582                    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<=78)) ) {
4583                    alt58=1;
4584                    }
4585                    else {
4586                    if (backtracking>0) {failed=true; return node;}
4587                    NoViableAltException nvae =
4588                            new NoViableAltException("313:1: heading_boldcontentpart returns [ASTNode node = null] : (tf= heading_formattedcontent | ital_markup tb= heading_bolditalcontent ( ital_markup )? );", 58, 0, input);
4589    
4590                    throw nvae;
4591                    }
4592                    switch (alt58) {
4593                    case 1 :
4594                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:314:4: tf= heading_formattedcontent
4595                            {
4596                            pushFollow(FOLLOW_heading_formattedcontent_in_heading_boldcontentpart1621);
4597                            tf=heading_formattedcontent();
4598                            _fsp--;
4599                            if (failed) return node;
4600                            if ( backtracking==0 ) {
4601                              node = tf; 
4602                            }
4603    
4604                            }
4605                            break;
4606                    case 2 :
4607                            // /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 )?
4608                            {
4609                            pushFollow(FOLLOW_ital_markup_in_heading_boldcontentpart1628);
4610                            ital_markup();
4611                            _fsp--;
4612                            if (failed) return node;
4613                            pushFollow(FOLLOW_heading_bolditalcontent_in_heading_boldcontentpart1635);
4614                            tb=heading_bolditalcontent();
4615                            _fsp--;
4616                            if (failed) return node;
4617                            if ( backtracking==0 ) {
4618                               node = new ItalicTextNode(tb);  
4619                            }
4620                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:315:94: ( ital_markup )?
4621                            int alt57=2;
4622                            int LA57_0 = input.LA(1);
4623    
4624                            if ( (LA57_0==ITAL) ) {
4625                            alt57=1;
4626                            }
4627                            switch (alt57) {
4628                            case 1 :
4629                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:315:96: ital_markup
4630                                    {
4631                                    pushFollow(FOLLOW_ital_markup_in_heading_boldcontentpart1642);
4632                                    ital_markup();
4633                                    _fsp--;
4634                                    if (failed) return node;
4635    
4636                                    }
4637                                    break;
4638    
4639                            }
4640    
4641    
4642                            }
4643                            break;
4644    
4645                    }
4646            }
4647            catch (RecognitionException re) {
4648                    reportError(re);
4649                    recover(input,re);
4650            }
4651            finally {
4652            }
4653            return node;
4654            }
4655            // $ANTLR end heading_boldcontentpart
4656    
4657    
4658            // $ANTLR start heading_italcontentpart
4659            // /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 );
4660            public final ASTNode heading_italcontentpart() throws RecognitionException {
4661            ASTNode node =  null;
4662    
4663            CollectionNode tb = null;
4664    
4665            CollectionNode tf = null;
4666    
4667    
4668            try {
4669                    // /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 )
4670                    int alt60=2;
4671                    int LA60_0 = input.LA(1);
4672    
4673                    if ( (LA60_0==STAR) ) {
4674                    int LA60_1 = input.LA(2);
4675    
4676                    if ( (LA60_1==STAR) ) {
4677                            alt60=1;
4678                    }
4679                    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<=78)) ) {
4680                            alt60=2;
4681                    }
4682                    else {
4683                            if (backtracking>0) {failed=true; return node;}
4684                            NoViableAltException nvae =
4685                            new NoViableAltException("317:1: heading_italcontentpart returns [ASTNode node = null] : ( bold_markup tb= heading_bolditalcontent ( bold_markup )? | tf= heading_formattedcontent );", 60, 1, input);
4686    
4687                            throw nvae;
4688                    }
4689                    }
4690                    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<=78)) ) {
4691                    alt60=2;
4692                    }
4693                    else {
4694                    if (backtracking>0) {failed=true; return node;}
4695                    NoViableAltException nvae =
4696                            new NoViableAltException("317:1: heading_italcontentpart returns [ASTNode node = null] : ( bold_markup tb= heading_bolditalcontent ( bold_markup )? | tf= heading_formattedcontent );", 60, 0, input);
4697    
4698                    throw nvae;
4699                    }
4700                    switch (alt60) {
4701                    case 1 :
4702                            // /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 )?
4703                            {
4704                            pushFollow(FOLLOW_bold_markup_in_heading_italcontentpart1659);
4705                            bold_markup();
4706                            _fsp--;
4707                            if (failed) return node;
4708                            pushFollow(FOLLOW_heading_bolditalcontent_in_heading_italcontentpart1666);
4709                            tb=heading_bolditalcontent();
4710                            _fsp--;
4711                            if (failed) return node;
4712                            if ( backtracking==0 ) {
4713                              node = new BoldTextNode(tb); 
4714                            }
4715                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:318:90: ( bold_markup )?
4716                            int alt59=2;
4717                            int LA59_0 = input.LA(1);
4718    
4719                            if ( (LA59_0==STAR) ) {
4720                            int LA59_1 = input.LA(2);
4721    
4722                            if ( (LA59_1==STAR) ) {
4723                                    alt59=1;
4724                            }
4725                            }
4726                            switch (alt59) {
4727                            case 1 :
4728                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:318:92: bold_markup
4729                                    {
4730                                    pushFollow(FOLLOW_bold_markup_in_heading_italcontentpart1673);
4731                                    bold_markup();
4732                                    _fsp--;
4733                                    if (failed) return node;
4734    
4735                                    }
4736                                    break;
4737    
4738                            }
4739    
4740    
4741                            }
4742                            break;
4743                    case 2 :
4744                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:319:4: tf= heading_formattedcontent
4745                            {
4746                            pushFollow(FOLLOW_heading_formattedcontent_in_heading_italcontentpart1685);
4747                            tf=heading_formattedcontent();
4748                            _fsp--;
4749                            if (failed) return node;
4750                            if ( backtracking==0 ) {
4751                               node = tf; 
4752                            }
4753    
4754                            }
4755                            break;
4756    
4757                    }
4758            }
4759            catch (RecognitionException re) {
4760                    reportError(re);
4761                    recover(input,re);
4762            }
4763            finally {
4764            }
4765            return node;
4766            }
4767            // $ANTLR end heading_italcontentpart
4768    
4769    
4770            // $ANTLR start heading_bolditalcontent
4771            // /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 );
4772            public final CollectionNode heading_bolditalcontent() throws RecognitionException {
4773            CollectionNode elements =  null;
4774    
4775            CollectionNode tfc = null;
4776    
4777    
4778            try {
4779                    // /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 )
4780                    int alt62=2;
4781                    int LA62_0 = input.LA(1);
4782    
4783                    if ( ((LA62_0>=FORCED_END_OF_LINE && LA62_0<=FORCED_LINEBREAK)||(LA62_0>=NOWIKI_BLOCK_CLOSE && LA62_0<=78)) ) {
4784                    alt62=1;
4785                    }
4786                    else if ( (LA62_0==EOF) ) {
4787                    alt62=1;
4788                    }
4789                    else {
4790                    if (backtracking>0) {failed=true; return elements;}
4791                    NoViableAltException nvae =
4792                            new NoViableAltException("321:1: heading_bolditalcontent returns [CollectionNode elements = null] : ( onestar (tfc= heading_formattedcontent onestar )? | EOF );", 62, 0, input);
4793    
4794                    throw nvae;
4795                    }
4796                    switch (alt62) {
4797                    case 1 :
4798                            // /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 )?
4799                            {
4800                            pushFollow(FOLLOW_onestar_in_heading_bolditalcontent1701);
4801                            onestar();
4802                            _fsp--;
4803                            if (failed) return elements;
4804                            // /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 )?
4805                            int alt61=2;
4806                            switch ( input.LA(1) ) {
4807                            case ITAL:
4808                                    {
4809                                    alt61=1;
4810                                    }
4811                                    break;
4812                            case LINK_OPEN:
4813                                    {
4814                                    alt61=1;
4815                                    }
4816                                    break;
4817                            case IMAGE_OPEN:
4818                                    {
4819                                    alt61=1;
4820                                    }
4821                                    break;
4822                            case NOWIKI_OPEN:
4823                                    {
4824                                    alt61=1;
4825                                    }
4826                                    break;
4827                            case STAR:
4828                                    {
4829                                    alt61=1;
4830                                    }
4831                                    break;
4832                            case BLANKS:
4833                                    {
4834                                    alt61=1;
4835                                    }
4836                                    break;
4837                            case FORCED_END_OF_LINE:
4838                            case HEADING_SECTION:
4839                            case HORIZONTAL_SECTION:
4840                            case LIST_ITEM:
4841                            case LIST_ITEM_PART:
4842                            case NOWIKI_SECTION:
4843                            case SCAPE_NODE:
4844                            case TEXT_NODE:
4845                            case UNORDERED_LIST:
4846                            case UNFORMATTED_TEXT:
4847                            case WIKI:
4848                            case POUND:
4849                            case PIPE:
4850                            case EXTENSION:
4851                            case FORCED_LINEBREAK:
4852                            case NOWIKI_BLOCK_CLOSE:
4853                            case NOWIKI_CLOSE:
4854                            case LINK_CLOSE:
4855                            case IMAGE_CLOSE:
4856                            case TABLE_OF_CONTENTS_TEXT:
4857                            case DASH:
4858                            case CR:
4859                            case LF:
4860                            case SPACE:
4861                            case TABULATOR:
4862                            case COLON_SLASH:
4863                            case SLASH:
4864                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
4865                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
4866                            case INSIGNIFICANT_CHAR:
4867                            case 43:
4868                            case 44:
4869                            case 45:
4870                            case 46:
4871                            case 47:
4872                            case 48:
4873                            case 49:
4874                            case 50:
4875                            case 51:
4876                            case 52:
4877                            case 53:
4878                            case 54:
4879                            case 55:
4880                            case 56:
4881                            case 57:
4882                            case 58:
4883                            case 59:
4884                            case 60:
4885                            case 61:
4886                            case 62:
4887                            case 63:
4888                            case 64:
4889                            case 65:
4890                            case 66:
4891                            case 67:
4892                            case 68:
4893                            case 69:
4894                            case 70:
4895                            case 71:
4896                            case 72:
4897                            case 73:
4898                            case 74:
4899                            case 75:
4900                            case 76:
4901                            case 77:
4902                            case 78:
4903                                    {
4904                                    alt61=1;
4905                                    }
4906                                    break;
4907                            }
4908    
4909                            switch (alt61) {
4910                            case 1 :
4911                                    // /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
4912                                    {
4913                                    pushFollow(FOLLOW_heading_formattedcontent_in_heading_bolditalcontent1710);
4914                                    tfc=heading_formattedcontent();
4915                                    _fsp--;
4916                                    if (failed) return elements;
4917                                    if ( backtracking==0 ) {
4918                                       elements = tfc; 
4919                                    }
4920                                    pushFollow(FOLLOW_onestar_in_heading_bolditalcontent1715);
4921                                    onestar();
4922                                    _fsp--;
4923                                    if (failed) return elements;
4924    
4925                                    }
4926                                    break;
4927    
4928                            }
4929    
4930    
4931                            }
4932                            break;
4933                    case 2 :
4934                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:323:4: EOF
4935                            {
4936                            match(input,EOF,FOLLOW_EOF_in_heading_bolditalcontent1723); if (failed) return elements;
4937    
4938                            }
4939                            break;
4940    
4941                    }
4942            }
4943            catch (RecognitionException re) {
4944                    reportError(re);
4945                    recover(input,re);
4946            }
4947            finally {
4948            }
4949            return elements;
4950            }
4951            // $ANTLR end heading_bolditalcontent
4952    
4953    
4954            // $ANTLR start heading_formattedcontent
4955            // /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 )+ ;
4956            public final CollectionNode heading_formattedcontent() throws RecognitionException {
4957            CollectionNode elements =  new CollectionNode();
4958    
4959            ASTNode tu = null;
4960    
4961    
4962            try {
4963                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:326:2: ( (tu= heading_unformattedelement )+ )
4964                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:326:4: (tu= heading_unformattedelement )+
4965                    {
4966                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:326:4: (tu= heading_unformattedelement )+
4967                    int cnt63=0;
4968                    loop63:
4969                    do {
4970                    int alt63=2;
4971                    switch ( input.LA(1) ) {
4972                    case STAR:
4973                            {
4974                            alt63=1;
4975                            }
4976                            break;
4977                    case BLANKS:
4978                            {
4979                            alt63=1;
4980                            }
4981                            break;
4982                    case ITAL:
4983                            {
4984                            alt63=1;
4985                            }
4986                            break;
4987                    case FORCED_END_OF_LINE:
4988                    case HEADING_SECTION:
4989                    case HORIZONTAL_SECTION:
4990                    case LIST_ITEM:
4991                    case LIST_ITEM_PART:
4992                    case NOWIKI_SECTION:
4993                    case SCAPE_NODE:
4994                    case TEXT_NODE:
4995                    case UNORDERED_LIST:
4996                    case UNFORMATTED_TEXT:
4997                    case WIKI:
4998                    case POUND:
4999                    case PIPE:
5000                    case EXTENSION:
5001                    case FORCED_LINEBREAK:
5002                    case NOWIKI_BLOCK_CLOSE:
5003                    case NOWIKI_CLOSE:
5004                    case LINK_CLOSE:
5005                    case IMAGE_CLOSE:
5006                    case TABLE_OF_CONTENTS_TEXT:
5007                    case DASH:
5008                    case CR:
5009                    case LF:
5010                    case SPACE:
5011                    case TABULATOR:
5012                    case COLON_SLASH:
5013                    case SLASH:
5014                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
5015                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
5016                    case INSIGNIFICANT_CHAR:
5017                    case 43:
5018                    case 44:
5019                    case 45:
5020                    case 46:
5021                    case 47:
5022                    case 48:
5023                    case 49:
5024                    case 50:
5025                    case 51:
5026                    case 52:
5027                    case 53:
5028                    case 54:
5029                    case 55:
5030                    case 56:
5031                    case 57:
5032                    case 58:
5033                    case 59:
5034                    case 60:
5035                    case 61:
5036                    case 62:
5037                    case 63:
5038                    case 64:
5039                    case 65:
5040                    case 66:
5041                    case 67:
5042                    case 68:
5043                    case 69:
5044                    case 70:
5045                    case 71:
5046                    case 72:
5047                    case 73:
5048                    case 74:
5049                    case 75:
5050                    case 76:
5051                    case 77:
5052                    case 78:
5053                            {
5054                            alt63=1;
5055                            }
5056                            break;
5057                    case LINK_OPEN:
5058                            {
5059                            alt63=1;
5060                            }
5061                            break;
5062                    case IMAGE_OPEN:
5063                            {
5064                            alt63=1;
5065                            }
5066                            break;
5067                    case NOWIKI_OPEN:
5068                            {
5069                            alt63=1;
5070                            }
5071                            break;
5072    
5073                    }
5074    
5075                    switch (alt63) {
5076                    case 1 :
5077                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:326:6: tu= heading_unformattedelement
5078                            {
5079                            pushFollow(FOLLOW_heading_unformattedelement_in_heading_formattedcontent1743);
5080                            tu=heading_unformattedelement();
5081                            _fsp--;
5082                            if (failed) return elements;
5083                            if ( backtracking==0 ) {
5084                               elements.add(tu); 
5085                            }
5086    
5087                            }
5088                            break;
5089    
5090                    default :
5091                            if ( cnt63 >= 1 ) break loop63;
5092                            if (backtracking>0) {failed=true; return elements;}
5093                            EarlyExitException eee =
5094                                    new EarlyExitException(63, input);
5095                            throw eee;
5096                    }
5097                    cnt63++;
5098                    } while (true);
5099    
5100    
5101                    }
5102    
5103            }
5104            catch (RecognitionException re) {
5105                    reportError(re);
5106                    recover(input,re);
5107            }
5108            finally {
5109            }
5110            return elements;
5111            }
5112            // $ANTLR end heading_formattedcontent
5113    
5114    
5115            // $ANTLR start heading_unformattedelement
5116            // /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 );
5117            public final ASTNode heading_unformattedelement() throws RecognitionException {
5118            ASTNode content =  null;
5119    
5120            StringBundler tu = null;
5121    
5122            ASTNode ti = null;
5123    
5124    
5125            try {
5126                    // /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 )
5127                    int alt64=2;
5128                    int LA64_0 = input.LA(1);
5129    
5130                    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<=78)) ) {
5131                    alt64=1;
5132                    }
5133                    else if ( ((LA64_0>=LINK_OPEN && LA64_0<=NOWIKI_OPEN)) ) {
5134                    alt64=2;
5135                    }
5136                    else {
5137                    if (backtracking>0) {failed=true; return content;}
5138                    NoViableAltException nvae =
5139                            new NoViableAltException("328:1: heading_unformattedelement returns [ASTNode content = null] : (tu= heading_unformatted_text | ti= heading_inlineelement );", 64, 0, input);
5140    
5141                    throw nvae;
5142                    }
5143                    switch (alt64) {
5144                    case 1 :
5145                            // /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
5146                            {
5147                            pushFollow(FOLLOW_heading_unformatted_text_in_heading_unformattedelement1766);
5148                            tu=heading_unformatted_text();
5149                            _fsp--;
5150                            if (failed) return content;
5151                            if ( backtracking==0 ) {
5152                              content = new UnformattedTextNode(tu.toString());
5153                            }
5154    
5155                            }
5156                            break;
5157                    case 2 :
5158                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:330:4: ti= heading_inlineelement
5159                            {
5160                            pushFollow(FOLLOW_heading_inlineelement_in_heading_unformattedelement1778);
5161                            ti=heading_inlineelement();
5162                            _fsp--;
5163                            if (failed) return content;
5164                            if ( backtracking==0 ) {
5165                              content = ti;
5166                            }
5167    
5168                            }
5169                            break;
5170    
5171                    }
5172            }
5173            catch (RecognitionException re) {
5174                    reportError(re);
5175                    recover(input,re);
5176            }
5177            finally {
5178            }
5179            return content;
5180            }
5181            // $ANTLR end heading_unformattedelement
5182    
5183    
5184            // $ANTLR start heading_inlineelement
5185            // /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 );
5186            public final ASTNode heading_inlineelement() throws RecognitionException {
5187            ASTNode element =  null;
5188    
5189            LinkNode l = null;
5190    
5191            ImageNode i = null;
5192    
5193            NoWikiSectionNode nwi = null;
5194    
5195    
5196            try {
5197                    // /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 )
5198                    int alt65=3;
5199                    switch ( input.LA(1) ) {
5200                    case LINK_OPEN:
5201                    {
5202                    alt65=1;
5203                    }
5204                    break;
5205                    case IMAGE_OPEN:
5206                    {
5207                    alt65=2;
5208                    }
5209                    break;
5210                    case NOWIKI_OPEN:
5211                    {
5212                    alt65=3;
5213                    }
5214                    break;
5215                    default:
5216                    if (backtracking>0) {failed=true; return element;}
5217                    NoViableAltException nvae =
5218                            new NoViableAltException("332:1: heading_inlineelement returns [ASTNode element = null] : (l= link | i= image | nwi= nowiki_inline );", 65, 0, input);
5219    
5220                    throw nvae;
5221                    }
5222    
5223                    switch (alt65) {
5224                    case 1 :
5225                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:333:4: l= link
5226                            {
5227                            pushFollow(FOLLOW_link_in_heading_inlineelement1799);
5228                            l=link();
5229                            _fsp--;
5230                            if (failed) return element;
5231                            if ( backtracking==0 ) {
5232                              element = l; 
5233                            }
5234    
5235                            }
5236                            break;
5237                    case 2 :
5238                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:334:4: i= image
5239                            {
5240                            pushFollow(FOLLOW_image_in_heading_inlineelement1809);
5241                            i=image();
5242                            _fsp--;
5243                            if (failed) return element;
5244                            if ( backtracking==0 ) {
5245                              element = i; 
5246                            }
5247    
5248                            }
5249                            break;
5250                    case 3 :
5251                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:335:4: nwi= nowiki_inline
5252                            {
5253                            pushFollow(FOLLOW_nowiki_inline_in_heading_inlineelement1820);
5254                            nwi=nowiki_inline();
5255                            _fsp--;
5256                            if (failed) return element;
5257                            if ( backtracking==0 ) {
5258                              element = nwi; 
5259                            }
5260    
5261                            }
5262                            break;
5263    
5264                    }
5265            }
5266            catch (RecognitionException re) {
5267                    reportError(re);
5268                    recover(input,re);
5269            }
5270            finally {
5271            }
5272            return element;
5273            }
5274            // $ANTLR end heading_inlineelement
5275    
5276    
5277            // $ANTLR start heading_unformatted_text
5278            // /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 ) )+ ;
5279            public final StringBundler heading_unformatted_text() throws RecognitionException {
5280            StringBundler text =  new StringBundler();
5281    
5282            Token c=null;
5283    
5284            try {
5285                    // /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 ) )+ )
5286                    // /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 ) )+
5287                    {
5288                    // /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 ) )+
5289                    int cnt66=0;
5290                    loop66:
5291                    do {
5292                    int alt66=2;
5293                    switch ( input.LA(1) ) {
5294                    case STAR:
5295                            {
5296                            alt66=1;
5297                            }
5298                            break;
5299                    case BLANKS:
5300                            {
5301                            alt66=1;
5302                            }
5303                            break;
5304                    case ITAL:
5305                            {
5306                            alt66=1;
5307                            }
5308                            break;
5309                    case FORCED_END_OF_LINE:
5310                    case HEADING_SECTION:
5311                    case HORIZONTAL_SECTION:
5312                    case LIST_ITEM:
5313                    case LIST_ITEM_PART:
5314                    case NOWIKI_SECTION:
5315                    case SCAPE_NODE:
5316                    case TEXT_NODE:
5317                    case UNORDERED_LIST:
5318                    case UNFORMATTED_TEXT:
5319                    case WIKI:
5320                    case POUND:
5321                    case PIPE:
5322                    case EXTENSION:
5323                    case FORCED_LINEBREAK:
5324                    case NOWIKI_BLOCK_CLOSE:
5325                    case NOWIKI_CLOSE:
5326                    case LINK_CLOSE:
5327                    case IMAGE_CLOSE:
5328                    case TABLE_OF_CONTENTS_TEXT:
5329                    case DASH:
5330                    case CR:
5331                    case LF:
5332                    case SPACE:
5333                    case TABULATOR:
5334                    case COLON_SLASH:
5335                    case SLASH:
5336                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
5337                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
5338                    case INSIGNIFICANT_CHAR:
5339                    case 43:
5340                    case 44:
5341                    case 45:
5342                    case 46:
5343                    case 47:
5344                    case 48:
5345                    case 49:
5346                    case 50:
5347                    case 51:
5348                    case 52:
5349                    case 53:
5350                    case 54:
5351                    case 55:
5352                    case 56:
5353                    case 57:
5354                    case 58:
5355                    case 59:
5356                    case 60:
5357                    case 61:
5358                    case 62:
5359                    case 63:
5360                    case 64:
5361                    case 65:
5362                    case 66:
5363                    case 67:
5364                    case 68:
5365                    case 69:
5366                    case 70:
5367                    case 71:
5368                    case 72:
5369                    case 73:
5370                    case 74:
5371                    case 75:
5372                    case 76:
5373                    case 77:
5374                    case 78:
5375                            {
5376                            alt66=1;
5377                            }
5378                            break;
5379    
5380                    }
5381    
5382                    switch (alt66) {
5383                    case 1 :
5384                            // /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 )
5385                            {
5386                            c=(Token)input.LT(1);
5387                            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)<=78) ) {
5388                            input.consume();
5389                            errorRecovery=false;failed=false;
5390                            }
5391                            else {
5392                            if (backtracking>0) {failed=true; return text;}
5393                            MismatchedSetException mse =
5394                                    new MismatchedSetException(null,input);
5395                            recoverFromMismatchedSet(input,mse,FOLLOW_set_in_heading_unformatted_text1845); throw mse;
5396                            }
5397    
5398                            if ( backtracking==0 ) {
5399                              text.append(c.getText());
5400                            }
5401    
5402                            }
5403                            break;
5404    
5405                    default :
5406                            if ( cnt66 >= 1 ) break loop66;
5407                            if (backtracking>0) {failed=true; return text;}
5408                            EarlyExitException eee =
5409                                    new EarlyExitException(66, input);
5410                            throw eee;
5411                    }
5412                    cnt66++;
5413                    } while (true);
5414    
5415    
5416                    }
5417    
5418            }
5419            catch (RecognitionException re) {
5420                    reportError(re);
5421                    recover(input,re);
5422            }
5423            finally {
5424            }
5425            return text;
5426            }
5427            // $ANTLR end heading_unformatted_text
5428    
5429    
5430            // $ANTLR start list_ord
5431            // /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 )? ;
5432            public final OrderedListNode list_ord() throws RecognitionException {
5433            OrderedListNode orderedList =  new OrderedListNode();
5434    
5435            ASTNode elem = null;
5436    
5437    
5438            try {
5439                    // /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 )? )
5440                    // /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 )?
5441                    {
5442                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:346:4: (elem= list_ordelem )+
5443                    int cnt67=0;
5444                    loop67:
5445                    do {
5446                    int alt67=2;
5447                    int LA67_0 = input.LA(1);
5448    
5449                    if ( (LA67_0==POUND) ) {
5450                            alt67=1;
5451                    }
5452    
5453    
5454                    switch (alt67) {
5455                    case 1 :
5456                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:346:6: elem= list_ordelem
5457                            {
5458                            pushFollow(FOLLOW_list_ordelem_in_list_ord1904);
5459                            elem=list_ordelem();
5460                            _fsp--;
5461                            if (failed) return orderedList;
5462                            if ( backtracking==0 ) {
5463                               orderedList.addChildASTNode(elem);  
5464                            }
5465    
5466                            }
5467                            break;
5468    
5469                    default :
5470                            if ( cnt67 >= 1 ) break loop67;
5471                            if (backtracking>0) {failed=true; return orderedList;}
5472                            EarlyExitException eee =
5473                                    new EarlyExitException(67, input);
5474                            throw eee;
5475                    }
5476                    cnt67++;
5477                    } while (true);
5478    
5479                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:346:77: ( end_of_list )?
5480                    int alt68=2;
5481                    int LA68_0 = input.LA(1);
5482    
5483                    if ( (LA68_0==NEWLINE) ) {
5484                    alt68=1;
5485                    }
5486                    else if ( (LA68_0==EOF) ) {
5487                    alt68=1;
5488                    }
5489                    switch (alt68) {
5490                    case 1 :
5491                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:346:79: end_of_list
5492                            {
5493                            pushFollow(FOLLOW_end_of_list_in_list_ord1914);
5494                            end_of_list();
5495                            _fsp--;
5496                            if (failed) return orderedList;
5497    
5498                            }
5499                            break;
5500    
5501                    }
5502    
5503    
5504                    }
5505    
5506            }
5507            catch (RecognitionException re) {
5508                    reportError(re);
5509                    recover(input,re);
5510            }
5511            finally {
5512            }
5513            return orderedList;
5514            }
5515            // $ANTLR end list_ord
5516    
5517    
5518            // $ANTLR start list_ordelem
5519            // /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 ;
5520            public final ASTNode list_ordelem() throws RecognitionException {
5521            CountLevel_stack.push(new CountLevel_scope());
5522    
5523            ASTNode item =  null;
5524    
5525            list_ordelem_markup_return om = null;
5526    
5527            CollectionNode elem = null;
5528    
5529    
5530                            
5531                            ((CountLevel_scope)CountLevel_stack.peek()).level = 0;
5532                            ((CountLevel_scope)CountLevel_stack.peek()).groups = new String();
5533                    
5534            try {
5535                    // /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 )
5536                    // /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
5537                    {
5538                    pushFollow(FOLLOW_list_ordelem_markup_in_list_ordelem1947);
5539                    om=list_ordelem_markup();
5540                    _fsp--;
5541                    if (failed) return item;
5542                    if ( backtracking==0 ) {
5543                      ++((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);
5544                    }
5545                    pushFollow(FOLLOW_list_elem_in_list_ordelem1955);
5546                    elem=list_elem();
5547                    _fsp--;
5548                    if (failed) return item;
5549                    if ( backtracking==0 ) {
5550                       item = new OrderedListItemNode(((CountLevel_scope)CountLevel_stack.peek()).level, elem);
5551                    }
5552    
5553                    }
5554    
5555            }
5556            catch (RecognitionException re) {
5557                    reportError(re);
5558                    recover(input,re);
5559            }
5560            finally {
5561                    CountLevel_stack.pop();
5562    
5563            }
5564            return item;
5565            }
5566            // $ANTLR end list_ordelem
5567    
5568    
5569            // $ANTLR start list_unord
5570            // /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 )? ;
5571            public final UnorderedListNode list_unord() throws RecognitionException {
5572            UnorderedListNode unorderedList =  new UnorderedListNode();
5573    
5574            UnorderedListItemNode elem = null;
5575    
5576    
5577            try {
5578                    // /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 )? )
5579                    // /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 )?
5580                    {
5581                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:358:4: (elem= list_unordelem )+
5582                    int cnt69=0;
5583                    loop69:
5584                    do {
5585                    int alt69=2;
5586                    int LA69_0 = input.LA(1);
5587    
5588                    if ( (LA69_0==STAR) ) {
5589                            alt69=1;
5590                    }
5591    
5592    
5593                    switch (alt69) {
5594                    case 1 :
5595                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:358:6: elem= list_unordelem
5596                            {
5597                            pushFollow(FOLLOW_list_unordelem_in_list_unord1979);
5598                            elem=list_unordelem();
5599                            _fsp--;
5600                            if (failed) return unorderedList;
5601                            if ( backtracking==0 ) {
5602                               unorderedList.addChildASTNode(elem); 
5603                            }
5604    
5605                            }
5606                            break;
5607    
5608                    default :
5609                            if ( cnt69 >= 1 ) break loop69;
5610                            if (backtracking>0) {failed=true; return unorderedList;}
5611                            EarlyExitException eee =
5612                                    new EarlyExitException(69, input);
5613                            throw eee;
5614                    }
5615                    cnt69++;
5616                    } while (true);
5617    
5618                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:358:80: ( end_of_list )?
5619                    int alt70=2;
5620                    int LA70_0 = input.LA(1);
5621    
5622                    if ( (LA70_0==NEWLINE) ) {
5623                    alt70=1;
5624                    }
5625                    else if ( (LA70_0==EOF) ) {
5626                    alt70=1;
5627                    }
5628                    switch (alt70) {
5629                    case 1 :
5630                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:358:82: end_of_list
5631                            {
5632                            pushFollow(FOLLOW_end_of_list_in_list_unord1989);
5633                            end_of_list();
5634                            _fsp--;
5635                            if (failed) return unorderedList;
5636    
5637                            }
5638                            break;
5639    
5640                    }
5641    
5642    
5643                    }
5644    
5645            }
5646            catch (RecognitionException re) {
5647                    reportError(re);
5648                    recover(input,re);
5649            }
5650            finally {
5651            }
5652            return unorderedList;
5653            }
5654            // $ANTLR end list_unord
5655    
5656    
5657            // $ANTLR start list_unordelem
5658            // /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 ;
5659            public final UnorderedListItemNode list_unordelem() throws RecognitionException {
5660            CountLevel_stack.push(new CountLevel_scope());
5661    
5662            UnorderedListItemNode item =  null;
5663    
5664            list_unordelem_markup_return um = null;
5665    
5666            CollectionNode elem = null;
5667    
5668    
5669    
5670                            ((CountLevel_scope)CountLevel_stack.peek()).level = 0;
5671                    
5672            try {
5673                    // /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 )
5674                    // /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
5675                    {
5676                    pushFollow(FOLLOW_list_unordelem_markup_in_list_unordelem2022);
5677                    um=list_unordelem_markup();
5678                    _fsp--;
5679                    if (failed) return item;
5680                    if ( backtracking==0 ) {
5681                      ++((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);
5682                    }
5683                    pushFollow(FOLLOW_list_elem_in_list_unordelem2029);
5684                    elem=list_elem();
5685                    _fsp--;
5686                    if (failed) return item;
5687                    if ( backtracking==0 ) {
5688                       item = new UnorderedListItemNode(((CountLevel_scope)CountLevel_stack.peek()).level, elem);
5689                    }
5690    
5691                    }
5692    
5693            }
5694            catch (RecognitionException re) {
5695                    reportError(re);
5696                    recover(input,re);
5697            }
5698            finally {
5699                    CountLevel_stack.pop();
5700    
5701            }
5702            return item;
5703            }
5704            // $ANTLR end list_unordelem
5705    
5706    
5707            // $ANTLR start list_elem
5708            // /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 ;
5709            public final CollectionNode list_elem() throws RecognitionException {
5710            CollectionNode items =  null;
5711    
5712            list_elem_markup_return m = null;
5713    
5714            CollectionNode c = null;
5715    
5716    
5717            try {
5718                    // /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 )
5719                    // /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
5720                    {
5721                    // /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 )*
5722                    loop71:
5723                    do {
5724                    int alt71=2;
5725                    int LA71_0 = input.LA(1);
5726    
5727                    if ( (LA71_0==STAR) ) {
5728                            alt71=1;
5729                    }
5730                    else if ( (LA71_0==POUND) ) {
5731                            alt71=1;
5732                    }
5733    
5734    
5735                    switch (alt71) {
5736                    case 1 :
5737                            // /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
5738                            {
5739                            pushFollow(FOLLOW_list_elem_markup_in_list_elem2054);
5740                            m=list_elem_markup();
5741                            _fsp--;
5742                            if (failed) return items;
5743                            if ( backtracking==0 ) {
5744    
5745                                                             ++((CountLevel_scope)CountLevel_stack.peek()).level;
5746                                                             if(!input.toString(m.start,m.stop).equals(((CountLevel_scope)CountLevel_stack.peek()).currentMarkup)) {                                   
5747                                                    ((CountLevel_scope)CountLevel_stack.peek()).groups+= GROUPING_SEPARATOR;
5748                                                             }
5749                                                             ((CountLevel_scope)CountLevel_stack.peek()).groups+= input.toString(m.start,m.stop);
5750                                                             ((CountLevel_scope)CountLevel_stack.peek()).currentMarkup = input.toString(m.start,m.stop);
5751                                                      
5752                            }
5753    
5754                            }
5755                            break;
5756    
5757                    default :
5758                            break loop71;
5759                    }
5760                    } while (true);
5761    
5762                    pushFollow(FOLLOW_list_elemcontent_in_list_elem2065);
5763                    c=list_elemcontent();
5764                    _fsp--;
5765                    if (failed) return items;
5766                    if ( backtracking==0 ) {
5767                      items = c; 
5768                    }
5769                    pushFollow(FOLLOW_list_elemseparator_in_list_elem2070);
5770                    list_elemseparator();
5771                    _fsp--;
5772                    if (failed) return items;
5773    
5774                    }
5775    
5776            }
5777            catch (RecognitionException re) {
5778                    reportError(re);
5779                    recover(input,re);
5780            }
5781            finally {
5782            }
5783            return items;
5784            }
5785            // $ANTLR end list_elem
5786    
5787            public static class list_elem_markup_return extends ParserRuleReturnScope {
5788            };
5789    
5790            // $ANTLR start list_elem_markup
5791            // /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 );
5792            public final list_elem_markup_return list_elem_markup() throws RecognitionException {
5793            list_elem_markup_return retval = new list_elem_markup_return();
5794            retval.start = input.LT(1);
5795    
5796            try {
5797                    // /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 )
5798                    int alt72=2;
5799                    int LA72_0 = input.LA(1);
5800    
5801                    if ( (LA72_0==POUND) ) {
5802                    alt72=1;
5803                    }
5804                    else if ( (LA72_0==STAR) ) {
5805                    alt72=2;
5806                    }
5807                    else {
5808                    if (backtracking>0) {failed=true; return retval;}
5809                    NoViableAltException nvae =
5810                            new NoViableAltException("377:1: list_elem_markup : ( list_ordelem_markup | list_unordelem_markup );", 72, 0, input);
5811    
5812                    throw nvae;
5813                    }
5814                    switch (alt72) {
5815                    case 1 :
5816                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:378:4: list_ordelem_markup
5817                            {
5818                            pushFollow(FOLLOW_list_ordelem_markup_in_list_elem_markup2080);
5819                            list_ordelem_markup();
5820                            _fsp--;
5821                            if (failed) return retval;
5822    
5823                            }
5824                            break;
5825                    case 2 :
5826                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:379:4: list_unordelem_markup
5827                            {
5828                            pushFollow(FOLLOW_list_unordelem_markup_in_list_elem_markup2085);
5829                            list_unordelem_markup();
5830                            _fsp--;
5831                            if (failed) return retval;
5832    
5833                            }
5834                            break;
5835    
5836                    }
5837                    retval.stop = input.LT(-1);
5838    
5839            }
5840            catch (RecognitionException re) {
5841                    reportError(re);
5842                    recover(input,re);
5843            }
5844            finally {
5845            }
5846            return retval;
5847            }
5848            // $ANTLR end list_elem_markup
5849    
5850    
5851            // $ANTLR start list_elemcontent
5852            // /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 )* ;
5853            public final CollectionNode list_elemcontent() throws RecognitionException {
5854            CollectionNode items =  new CollectionNode();
5855    
5856            ASTNode part = null;
5857    
5858    
5859            try {
5860                    // /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 )* )
5861                    // /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 )*
5862                    {
5863                    pushFollow(FOLLOW_onestar_in_list_elemcontent2099);
5864                    onestar();
5865                    _fsp--;
5866                    if (failed) return items;
5867                    // /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 )*
5868                    loop73:
5869                    do {
5870                    int alt73=2;
5871                    int LA73_0 = input.LA(1);
5872    
5873                    if ( ((LA73_0>=FORCED_END_OF_LINE && LA73_0<=WIKI)||(LA73_0>=POUND && LA73_0<=78)) ) {
5874                            alt73=1;
5875                    }
5876    
5877    
5878                    switch (alt73) {
5879                    case 1 :
5880                            // /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
5881                            {
5882                            pushFollow(FOLLOW_list_elemcontentpart_in_list_elemcontent2108);
5883                            part=list_elemcontentpart();
5884                            _fsp--;
5885                            if (failed) return items;
5886                            if ( backtracking==0 ) {
5887                               items.add(part); 
5888                            }
5889                            pushFollow(FOLLOW_onestar_in_list_elemcontent2113);
5890                            onestar();
5891                            _fsp--;
5892                            if (failed) return items;
5893    
5894                            }
5895                            break;
5896    
5897                    default :
5898                            break loop73;
5899                    }
5900                    } while (true);
5901    
5902    
5903                    }
5904    
5905            }
5906            catch (RecognitionException re) {
5907                    reportError(re);
5908                    recover(input,re);
5909            }
5910            finally {
5911            }
5912            return items;
5913            }
5914            // $ANTLR end list_elemcontent
5915    
5916    
5917            // $ANTLR start list_elemcontentpart
5918            // /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 );
5919            public final ASTNode list_elemcontentpart() throws RecognitionException {
5920            ASTNode node =  null;
5921    
5922            ASTNode tuf = null;
5923    
5924            CollectionNode tf = null;
5925    
5926    
5927            try {
5928                    // /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 )
5929                    int alt74=2;
5930                    int LA74_0 = input.LA(1);
5931    
5932                    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<=78)) ) {
5933                    alt74=1;
5934                    }
5935                    else if ( (LA74_0==STAR||LA74_0==ITAL) ) {
5936                    alt74=2;
5937                    }
5938                    else {
5939                    if (backtracking>0) {failed=true; return node;}
5940                    NoViableAltException nvae =
5941                            new NoViableAltException("384:1: list_elemcontentpart returns [ASTNode node = null] : (tuf= text_unformattedelement | tf= list_formatted_elem );", 74, 0, input);
5942    
5943                    throw nvae;
5944                    }
5945                    switch (alt74) {
5946                    case 1 :
5947                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:385:4: tuf= text_unformattedelement
5948                            {
5949                            pushFollow(FOLLOW_text_unformattedelement_in_list_elemcontentpart2134);
5950                            tuf=text_unformattedelement();
5951                            _fsp--;
5952                            if (failed) return node;
5953                            if ( backtracking==0 ) {
5954                               
5955                                                    if(tuf instanceof CollectionNode)
5956                                                            node = new UnformattedTextNode(tuf);
5957                                                    else
5958                                                            node = tuf;
5959                                                    
5960                            }
5961    
5962                            }
5963                            break;
5964                    case 2 :
5965                            // /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
5966                            {
5967                            pushFollow(FOLLOW_list_formatted_elem_in_list_elemcontentpart2145);
5968                            tf=list_formatted_elem();
5969                            _fsp--;
5970                            if (failed) return node;
5971                            if ( backtracking==0 ) {
5972                               node = new FormattedTextNode(tf);
5973                            }
5974    
5975                            }
5976                            break;
5977    
5978                    }
5979            }
5980            catch (RecognitionException re) {
5981                    reportError(re);
5982                    recover(input,re);
5983            }
5984            finally {
5985            }
5986            return node;
5987            }
5988            // $ANTLR end list_elemcontentpart
5989    
5990    
5991            // $ANTLR start list_formatted_elem
5992            // /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 )? );
5993            public final CollectionNode list_formatted_elem() throws RecognitionException {
5994            CollectionNode contents =  new CollectionNode();
5995    
5996            ASTNode boldContents = null;
5997    
5998            ASTNode italContents = null;
5999    
6000    
6001            try {
6002                    // /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 )? )
6003                    int alt79=2;
6004                    int LA79_0 = input.LA(1);
6005    
6006                    if ( (LA79_0==STAR) ) {
6007                    alt79=1;
6008                    }
6009                    else if ( (LA79_0==ITAL) ) {
6010                    alt79=2;
6011                    }
6012                    else {
6013                    if (backtracking>0) {failed=true; return contents;}
6014                    NoViableAltException nvae =
6015                            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);
6016    
6017                    throw nvae;
6018                    }
6019                    switch (alt79) {
6020                    case 1 :
6021                            // /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 )?
6022                            {
6023                            pushFollow(FOLLOW_bold_markup_in_list_formatted_elem2162);
6024                            bold_markup();
6025                            _fsp--;
6026                            if (failed) return contents;
6027                            pushFollow(FOLLOW_onestar_in_list_formatted_elem2165);
6028                            onestar();
6029                            _fsp--;
6030                            if (failed) return contents;
6031                            // /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 )*
6032                            loop75:
6033                            do {
6034                            int alt75=2;
6035                            switch ( input.LA(1) ) {
6036                            case FORCED_END_OF_LINE:
6037                            case HEADING_SECTION:
6038                            case HORIZONTAL_SECTION:
6039                            case LIST_ITEM:
6040                            case LIST_ITEM_PART:
6041                            case NOWIKI_SECTION:
6042                            case SCAPE_NODE:
6043                            case TEXT_NODE:
6044                            case UNORDERED_LIST:
6045                            case UNFORMATTED_TEXT:
6046                            case WIKI:
6047                            case POUND:
6048                            case EQUAL:
6049                            case PIPE:
6050                            case NOWIKI_BLOCK_CLOSE:
6051                            case NOWIKI_CLOSE:
6052                            case LINK_CLOSE:
6053                            case IMAGE_CLOSE:
6054                            case BLANKS:
6055                            case TABLE_OF_CONTENTS_TEXT:
6056                            case DASH:
6057                            case CR:
6058                            case LF:
6059                            case SPACE:
6060                            case TABULATOR:
6061                            case COLON_SLASH:
6062                            case SLASH:
6063                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
6064                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
6065                            case INSIGNIFICANT_CHAR:
6066                            case 43:
6067                            case 44:
6068                            case 45:
6069                            case 46:
6070                            case 47:
6071                            case 48:
6072                            case 49:
6073                            case 50:
6074                            case 51:
6075                            case 52:
6076                            case 53:
6077                            case 54:
6078                            case 55:
6079                            case 56:
6080                            case 57:
6081                            case 58:
6082                            case 59:
6083                            case 60:
6084                            case 61:
6085                            case 62:
6086                            case 63:
6087                            case 64:
6088                            case 65:
6089                            case 66:
6090                            case 67:
6091                            case 68:
6092                            case 69:
6093                            case 70:
6094                            case 71:
6095                            case 72:
6096                            case 73:
6097                            case 74:
6098                            case 75:
6099                            case 76:
6100                            case 77:
6101                            case 78:
6102                                    {
6103                                    alt75=1;
6104                                    }
6105                                    break;
6106                            case FORCED_LINEBREAK:
6107                                    {
6108                                    alt75=1;
6109                                    }
6110                                    break;
6111                            case ESCAPE:
6112                                    {
6113                                    alt75=1;
6114                                    }
6115                                    break;
6116                            case LINK_OPEN:
6117                                    {
6118                                    alt75=1;
6119                                    }
6120                                    break;
6121                            case IMAGE_OPEN:
6122                                    {
6123                                    alt75=1;
6124                                    }
6125                                    break;
6126                            case EXTENSION:
6127                                    {
6128                                    alt75=1;
6129                                    }
6130                                    break;
6131                            case NOWIKI_OPEN:
6132                                    {
6133                                    alt75=1;
6134                                    }
6135                                    break;
6136                            case ITAL:
6137                                    {
6138                                    alt75=1;
6139                                    }
6140                                    break;
6141    
6142                            }
6143    
6144                            switch (alt75) {
6145                            case 1 :
6146                                    // /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
6147                                    {
6148                                    pushFollow(FOLLOW_list_boldcontentpart_in_list_formatted_elem2174);
6149                                    boldContents=list_boldcontentpart();
6150                                    _fsp--;
6151                                    if (failed) return contents;
6152                                    if ( backtracking==0 ) {
6153                                       
6154                                                                            BoldTextNode add = null;
6155                                                                            if(boldContents instanceof CollectionNode){
6156                                                                                     add = new BoldTextNode(boldContents);                      
6157                                                                            }else{                                             
6158                                                                                    CollectionNode c = new CollectionNode();
6159                                                                                    c.add(boldContents);
6160                                                                                    add = new BoldTextNode(c);                  
6161                                                                            }
6162                                                                            contents.add(add);                                              
6163                                                                            
6164                                    }
6165                                    pushFollow(FOLLOW_onestar_in_list_formatted_elem2184);
6166                                    onestar();
6167                                    _fsp--;
6168                                    if (failed) return contents;
6169    
6170                                    }
6171                                    break;
6172    
6173                            default :
6174                                    break loop75;
6175                            }
6176                            } while (true);
6177    
6178                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:406:3: ( bold_markup )?
6179                            int alt76=2;
6180                            int LA76_0 = input.LA(1);
6181    
6182                            if ( (LA76_0==STAR) ) {
6183                            int LA76_1 = input.LA(2);
6184    
6185                            if ( (LA76_1==STAR) ) {
6186                                    alt76=1;
6187                            }
6188                            }
6189                            switch (alt76) {
6190                            case 1 :
6191                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:406:5: bold_markup
6192                                    {
6193                                    pushFollow(FOLLOW_bold_markup_in_list_formatted_elem2193);
6194                                    bold_markup();
6195                                    _fsp--;
6196                                    if (failed) return contents;
6197    
6198                                    }
6199                                    break;
6200    
6201                            }
6202    
6203    
6204                            }
6205                            break;
6206                    case 2 :
6207                            // /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 )?
6208                            {
6209                            pushFollow(FOLLOW_ital_markup_in_list_formatted_elem2201);
6210                            ital_markup();
6211                            _fsp--;
6212                            if (failed) return contents;
6213                            pushFollow(FOLLOW_onestar_in_list_formatted_elem2206);
6214                            onestar();
6215                            _fsp--;
6216                            if (failed) return contents;
6217                            // /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 )*
6218                            loop77:
6219                            do {
6220                            int alt77=2;
6221                            switch ( input.LA(1) ) {
6222                            case STAR:
6223                                    {
6224                                    alt77=1;
6225                                    }
6226                                    break;
6227                            case FORCED_END_OF_LINE:
6228                            case HEADING_SECTION:
6229                            case HORIZONTAL_SECTION:
6230                            case LIST_ITEM:
6231                            case LIST_ITEM_PART:
6232                            case NOWIKI_SECTION:
6233                            case SCAPE_NODE:
6234                            case TEXT_NODE:
6235                            case UNORDERED_LIST:
6236                            case UNFORMATTED_TEXT:
6237                            case WIKI:
6238                            case POUND:
6239                            case EQUAL:
6240                            case PIPE:
6241                            case NOWIKI_BLOCK_CLOSE:
6242                            case NOWIKI_CLOSE:
6243                            case LINK_CLOSE:
6244                            case IMAGE_CLOSE:
6245                            case BLANKS:
6246                            case TABLE_OF_CONTENTS_TEXT:
6247                            case DASH:
6248                            case CR:
6249                            case LF:
6250                            case SPACE:
6251                            case TABULATOR:
6252                            case COLON_SLASH:
6253                            case SLASH:
6254                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
6255                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
6256                            case INSIGNIFICANT_CHAR:
6257                            case 43:
6258                            case 44:
6259                            case 45:
6260                            case 46:
6261                            case 47:
6262                            case 48:
6263                            case 49:
6264                            case 50:
6265                            case 51:
6266                            case 52:
6267                            case 53:
6268                            case 54:
6269                            case 55:
6270                            case 56:
6271                            case 57:
6272                            case 58:
6273                            case 59:
6274                            case 60:
6275                            case 61:
6276                            case 62:
6277                            case 63:
6278                            case 64:
6279                            case 65:
6280                            case 66:
6281                            case 67:
6282                            case 68:
6283                            case 69:
6284                            case 70:
6285                            case 71:
6286                            case 72:
6287                            case 73:
6288                            case 74:
6289                            case 75:
6290                            case 76:
6291                            case 77:
6292                            case 78:
6293                                    {
6294                                    alt77=1;
6295                                    }
6296                                    break;
6297                            case FORCED_LINEBREAK:
6298                                    {
6299                                    alt77=1;
6300                                    }
6301                                    break;
6302                            case ESCAPE:
6303                                    {
6304                                    alt77=1;
6305                                    }
6306                                    break;
6307                            case LINK_OPEN:
6308                                    {
6309                                    alt77=1;
6310                                    }
6311                                    break;
6312                            case IMAGE_OPEN:
6313                                    {
6314                                    alt77=1;
6315                                    }
6316                                    break;
6317                            case EXTENSION:
6318                                    {
6319                                    alt77=1;
6320                                    }
6321                                    break;
6322                            case NOWIKI_OPEN:
6323                                    {
6324                                    alt77=1;
6325                                    }
6326                                    break;
6327    
6328                            }
6329    
6330                            switch (alt77) {
6331                            case 1 :
6332                                    // /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
6333                                    {
6334                                    pushFollow(FOLLOW_list_italcontentpart_in_list_formatted_elem2215);
6335                                    italContents=list_italcontentpart();
6336                                    _fsp--;
6337                                    if (failed) return contents;
6338                                    if ( backtracking==0 ) {
6339    
6340                                                                            ItalicTextNode add = null;
6341                                                                            if(italContents instanceof CollectionNode){
6342                                                                                    add = new ItalicTextNode(italContents);
6343                                                                            }else{
6344                                                                                      CollectionNode c = new CollectionNode();
6345                                                                                      c.add(italContents);
6346                                                                                      add = new ItalicTextNode(c);
6347                                                                            }
6348                                                                            contents.add(add); 
6349                                                                            
6350                                    }
6351                                    pushFollow(FOLLOW_onestar_in_list_formatted_elem2224);
6352                                    onestar();
6353                                    _fsp--;
6354                                    if (failed) return contents;
6355    
6356                                    }
6357                                    break;
6358    
6359                            default :
6360                                    break loop77;
6361                            }
6362                            } while (true);
6363    
6364                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:418:3: ( ital_markup )?
6365                            int alt78=2;
6366                            int LA78_0 = input.LA(1);
6367    
6368                            if ( (LA78_0==ITAL) ) {
6369                            alt78=1;
6370                            }
6371                            switch (alt78) {
6372                            case 1 :
6373                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:418:5: ital_markup
6374                                    {
6375                                    pushFollow(FOLLOW_ital_markup_in_list_formatted_elem2233);
6376                                    ital_markup();
6377                                    _fsp--;
6378                                    if (failed) return contents;
6379    
6380                                    }
6381                                    break;
6382    
6383                            }
6384    
6385    
6386                            }
6387                            break;
6388    
6389                    }
6390            }
6391            catch (RecognitionException re) {
6392                    reportError(re);
6393                    recover(input,re);
6394            }
6395            finally {
6396            }
6397            return contents;
6398            }
6399            // $ANTLR end list_formatted_elem
6400    
6401            protected static class list_boldcontentpart_scope {
6402            List<ASTNode> elements;
6403            }
6404            protected Stack list_boldcontentpart_stack = new Stack();
6405    
6406    
6407            // $ANTLR start list_boldcontentpart
6408            // /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 )+ );
6409            public final ASTNode list_boldcontentpart() throws RecognitionException {
6410            list_boldcontentpart_stack.push(new list_boldcontentpart_scope());
6411            ASTNode contents =  null;
6412    
6413            ASTNode c = null;
6414    
6415            ASTNode t = null;
6416    
6417    
6418    
6419                    ((list_boldcontentpart_scope)list_boldcontentpart_stack.peek()).elements = new ArrayList<ASTNode>();         
6420    
6421            try {
6422                    // /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 )+ )
6423                    int alt82=2;
6424                    int LA82_0 = input.LA(1);
6425    
6426                    if ( (LA82_0==ITAL) ) {
6427                    alt82=1;
6428                    }
6429                    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<=78)) ) {
6430                    alt82=2;
6431                    }
6432                    else {
6433                    if (backtracking>0) {failed=true; return contents;}
6434                    NoViableAltException nvae =
6435                            new NoViableAltException("421:1: list_boldcontentpart returns [ASTNode contents = null] : ( ital_markup c= list_bolditalcontent ( ital_markup )? | (t= text_unformattedelement )+ );", 82, 0, input);
6436    
6437                    throw nvae;
6438                    }
6439                    switch (alt82) {
6440                    case 1 :
6441                            // /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 )?
6442                            {
6443                            pushFollow(FOLLOW_ital_markup_in_list_boldcontentpart2259);
6444                            ital_markup();
6445                            _fsp--;
6446                            if (failed) return contents;
6447                            pushFollow(FOLLOW_list_bolditalcontent_in_list_boldcontentpart2266);
6448                            c=list_bolditalcontent();
6449                            _fsp--;
6450                            if (failed) return contents;
6451                            if ( backtracking==0 ) {
6452                              contents = new ItalicTextNode(c);
6453                            }
6454                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:428:86: ( ital_markup )?
6455                            int alt80=2;
6456                            int LA80_0 = input.LA(1);
6457    
6458                            if ( (LA80_0==ITAL) ) {
6459                            alt80=1;
6460                            }
6461                            switch (alt80) {
6462                            case 1 :
6463                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:428:88: ital_markup
6464                                    {
6465                                    pushFollow(FOLLOW_ital_markup_in_list_boldcontentpart2273);
6466                                    ital_markup();
6467                                    _fsp--;
6468                                    if (failed) return contents;
6469    
6470                                    }
6471                                    break;
6472    
6473                            }
6474    
6475    
6476                            }
6477                            break;
6478                    case 2 :
6479                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:429:4: (t= text_unformattedelement )+
6480                            {
6481                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:429:4: (t= text_unformattedelement )+
6482                            int cnt81=0;
6483                            loop81:
6484                            do {
6485                            int alt81=2;
6486                            switch ( input.LA(1) ) {
6487                            case FORCED_END_OF_LINE:
6488                            case HEADING_SECTION:
6489                            case HORIZONTAL_SECTION:
6490                            case LIST_ITEM:
6491                            case LIST_ITEM_PART:
6492                            case NOWIKI_SECTION:
6493                            case SCAPE_NODE:
6494                            case TEXT_NODE:
6495                            case UNORDERED_LIST:
6496                            case UNFORMATTED_TEXT:
6497                            case WIKI:
6498                            case POUND:
6499                            case EQUAL:
6500                            case PIPE:
6501                            case NOWIKI_BLOCK_CLOSE:
6502                            case NOWIKI_CLOSE:
6503                            case LINK_CLOSE:
6504                            case IMAGE_CLOSE:
6505                            case BLANKS:
6506                            case TABLE_OF_CONTENTS_TEXT:
6507                            case DASH:
6508                            case CR:
6509                            case LF:
6510                            case SPACE:
6511                            case TABULATOR:
6512                            case COLON_SLASH:
6513                            case SLASH:
6514                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
6515                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
6516                            case INSIGNIFICANT_CHAR:
6517                            case 43:
6518                            case 44:
6519                            case 45:
6520                            case 46:
6521                            case 47:
6522                            case 48:
6523                            case 49:
6524                            case 50:
6525                            case 51:
6526                            case 52:
6527                            case 53:
6528                            case 54:
6529                            case 55:
6530                            case 56:
6531                            case 57:
6532                            case 58:
6533                            case 59:
6534                            case 60:
6535                            case 61:
6536                            case 62:
6537                            case 63:
6538                            case 64:
6539                            case 65:
6540                            case 66:
6541                            case 67:
6542                            case 68:
6543                            case 69:
6544                            case 70:
6545                            case 71:
6546                            case 72:
6547                            case 73:
6548                            case 74:
6549                            case 75:
6550                            case 76:
6551                            case 77:
6552                            case 78:
6553                                    {
6554                                    alt81=1;
6555                                    }
6556                                    break;
6557                            case FORCED_LINEBREAK:
6558                                    {
6559                                    alt81=1;
6560                                    }
6561                                    break;
6562                            case ESCAPE:
6563                                    {
6564                                    alt81=1;
6565                                    }
6566                                    break;
6567                            case LINK_OPEN:
6568                                    {
6569                                    alt81=1;
6570                                    }
6571                                    break;
6572                            case IMAGE_OPEN:
6573                                    {
6574                                    alt81=1;
6575                                    }
6576                                    break;
6577                            case EXTENSION:
6578                                    {
6579                                    alt81=1;
6580                                    }
6581                                    break;
6582                            case NOWIKI_OPEN:
6583                                    {
6584                                    alt81=1;
6585                                    }
6586                                    break;
6587    
6588                            }
6589    
6590                            switch (alt81) {
6591                            case 1 :
6592                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:429:6: t= text_unformattedelement
6593                                    {
6594                                    pushFollow(FOLLOW_text_unformattedelement_in_list_boldcontentpart2288);
6595                                    t=text_unformattedelement();
6596                                    _fsp--;
6597                                    if (failed) return contents;
6598                                    if ( backtracking==0 ) {
6599                                       ((list_boldcontentpart_scope)list_boldcontentpart_stack.peek()).elements.add(t); 
6600                                    }
6601    
6602                                    }
6603                                    break;
6604    
6605                            default :
6606                                    if ( cnt81 >= 1 ) break loop81;
6607                                    if (backtracking>0) {failed=true; return contents;}
6608                                    EarlyExitException eee =
6609                                            new EarlyExitException(81, input);
6610                                    throw eee;
6611                            }
6612                            cnt81++;
6613                            } while (true);
6614    
6615                            if ( backtracking==0 ) {
6616                              contents = new CollectionNode(((list_boldcontentpart_scope)list_boldcontentpart_stack.peek()).elements); 
6617                            }
6618    
6619                            }
6620                            break;
6621    
6622                    }
6623            }
6624            catch (RecognitionException re) {
6625                    reportError(re);
6626                    recover(input,re);
6627            }
6628            finally {
6629                    list_boldcontentpart_stack.pop();
6630            }
6631            return contents;
6632            }
6633            // $ANTLR end list_boldcontentpart
6634    
6635    
6636            // $ANTLR start list_bolditalcontent
6637            // /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 )+ ;
6638            public final ASTNode list_bolditalcontent() throws RecognitionException {
6639            ASTNode text =  null;
6640    
6641            ASTNode t = null;
6642    
6643    
6644            try {
6645                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:434:2: ( (t= text_unformattedelement )+ )
6646                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:434:4: (t= text_unformattedelement )+
6647                    {
6648                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:434:4: (t= text_unformattedelement )+
6649                    int cnt83=0;
6650                    loop83:
6651                    do {
6652                    int alt83=2;
6653                    switch ( input.LA(1) ) {
6654                    case FORCED_END_OF_LINE:
6655                    case HEADING_SECTION:
6656                    case HORIZONTAL_SECTION:
6657                    case LIST_ITEM:
6658                    case LIST_ITEM_PART:
6659                    case NOWIKI_SECTION:
6660                    case SCAPE_NODE:
6661                    case TEXT_NODE:
6662                    case UNORDERED_LIST:
6663                    case UNFORMATTED_TEXT:
6664                    case WIKI:
6665                    case POUND:
6666                    case EQUAL:
6667                    case PIPE:
6668                    case NOWIKI_BLOCK_CLOSE:
6669                    case NOWIKI_CLOSE:
6670                    case LINK_CLOSE:
6671                    case IMAGE_CLOSE:
6672                    case BLANKS:
6673                    case TABLE_OF_CONTENTS_TEXT:
6674                    case DASH:
6675                    case CR:
6676                    case LF:
6677                    case SPACE:
6678                    case TABULATOR:
6679                    case COLON_SLASH:
6680                    case SLASH:
6681                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
6682                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
6683                    case INSIGNIFICANT_CHAR:
6684                    case 43:
6685                    case 44:
6686                    case 45:
6687                    case 46:
6688                    case 47:
6689                    case 48:
6690                    case 49:
6691                    case 50:
6692                    case 51:
6693                    case 52:
6694                    case 53:
6695                    case 54:
6696                    case 55:
6697                    case 56:
6698                    case 57:
6699                    case 58:
6700                    case 59:
6701                    case 60:
6702                    case 61:
6703                    case 62:
6704                    case 63:
6705                    case 64:
6706                    case 65:
6707                    case 66:
6708                    case 67:
6709                    case 68:
6710                    case 69:
6711                    case 70:
6712                    case 71:
6713                    case 72:
6714                    case 73:
6715                    case 74:
6716                    case 75:
6717                    case 76:
6718                    case 77:
6719                    case 78:
6720                            {
6721                            alt83=1;
6722                            }
6723                            break;
6724                    case FORCED_LINEBREAK:
6725                            {
6726                            alt83=1;
6727                            }
6728                            break;
6729                    case ESCAPE:
6730                            {
6731                            alt83=1;
6732                            }
6733                            break;
6734                    case LINK_OPEN:
6735                            {
6736                            alt83=1;
6737                            }
6738                            break;
6739                    case IMAGE_OPEN:
6740                            {
6741                            alt83=1;
6742                            }
6743                            break;
6744                    case EXTENSION:
6745                            {
6746                            alt83=1;
6747                            }
6748                            break;
6749                    case NOWIKI_OPEN:
6750                            {
6751                            alt83=1;
6752                            }
6753                            break;
6754    
6755                    }
6756    
6757                    switch (alt83) {
6758                    case 1 :
6759                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:434:6: t= text_unformattedelement
6760                            {
6761                            pushFollow(FOLLOW_text_unformattedelement_in_list_bolditalcontent2320);
6762                            t=text_unformattedelement();
6763                            _fsp--;
6764                            if (failed) return text;
6765                            if ( backtracking==0 ) {
6766                               text = t; 
6767                            }
6768    
6769                            }
6770                            break;
6771    
6772                    default :
6773                            if ( cnt83 >= 1 ) break loop83;
6774                            if (backtracking>0) {failed=true; return text;}
6775                            EarlyExitException eee =
6776                                    new EarlyExitException(83, input);
6777                            throw eee;
6778                    }
6779                    cnt83++;
6780                    } while (true);
6781    
6782    
6783                    }
6784    
6785            }
6786            catch (RecognitionException re) {
6787                    reportError(re);
6788                    recover(input,re);
6789            }
6790            finally {
6791            }
6792            return text;
6793            }
6794            // $ANTLR end list_bolditalcontent
6795    
6796            protected static class list_italcontentpart_scope {
6797            List<ASTNode> elements;
6798            }
6799            protected Stack list_italcontentpart_stack = new Stack();
6800    
6801    
6802            // $ANTLR start list_italcontentpart
6803            // /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 )+ );
6804            public final ASTNode list_italcontentpart() throws RecognitionException {
6805            list_italcontentpart_stack.push(new list_italcontentpart_scope());
6806            ASTNode contents =  null;
6807    
6808            ASTNode c = null;
6809    
6810            ASTNode t = null;
6811    
6812    
6813    
6814                    ((list_italcontentpart_scope)list_italcontentpart_stack.peek()).elements = new ArrayList<ASTNode>();
6815    
6816            try {
6817                    // /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 )+ )
6818                    int alt86=2;
6819                    int LA86_0 = input.LA(1);
6820    
6821                    if ( (LA86_0==STAR) ) {
6822                    alt86=1;
6823                    }
6824                    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<=78)) ) {
6825                    alt86=2;
6826                    }
6827                    else {
6828                    if (backtracking>0) {failed=true; return contents;}
6829                    NoViableAltException nvae =
6830                            new NoViableAltException("437:1: list_italcontentpart returns [ASTNode contents = null] : ( bold_markup c= list_bolditalcontent ( bold_markup )? | (t= text_unformattedelement )+ );", 86, 0, input);
6831    
6832                    throw nvae;
6833                    }
6834                    switch (alt86) {
6835                    case 1 :
6836                            // /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 )?
6837                            {
6838                            pushFollow(FOLLOW_bold_markup_in_list_italcontentpart2350);
6839                            bold_markup();
6840                            _fsp--;
6841                            if (failed) return contents;
6842                            pushFollow(FOLLOW_list_bolditalcontent_in_list_italcontentpart2357);
6843                            c=list_bolditalcontent();
6844                            _fsp--;
6845                            if (failed) return contents;
6846                            if ( backtracking==0 ) {
6847                               contents = new BoldTextNode(c); 
6848                            }
6849                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:444:86: ( bold_markup )?
6850                            int alt84=2;
6851                            int LA84_0 = input.LA(1);
6852    
6853                            if ( (LA84_0==STAR) ) {
6854                            int LA84_1 = input.LA(2);
6855    
6856                            if ( (LA84_1==STAR) ) {
6857                                    alt84=1;
6858                            }
6859                            }
6860                            switch (alt84) {
6861                            case 1 :
6862                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:444:88: bold_markup
6863                                    {
6864                                    pushFollow(FOLLOW_bold_markup_in_list_italcontentpart2364);
6865                                    bold_markup();
6866                                    _fsp--;
6867                                    if (failed) return contents;
6868    
6869                                    }
6870                                    break;
6871    
6872                            }
6873    
6874    
6875                            }
6876                            break;
6877                    case 2 :
6878                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:445:4: (t= text_unformattedelement )+
6879                            {
6880                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:445:4: (t= text_unformattedelement )+
6881                            int cnt85=0;
6882                            loop85:
6883                            do {
6884                            int alt85=2;
6885                            switch ( input.LA(1) ) {
6886                            case FORCED_END_OF_LINE:
6887                            case HEADING_SECTION:
6888                            case HORIZONTAL_SECTION:
6889                            case LIST_ITEM:
6890                            case LIST_ITEM_PART:
6891                            case NOWIKI_SECTION:
6892                            case SCAPE_NODE:
6893                            case TEXT_NODE:
6894                            case UNORDERED_LIST:
6895                            case UNFORMATTED_TEXT:
6896                            case WIKI:
6897                            case POUND:
6898                            case EQUAL:
6899                            case PIPE:
6900                            case NOWIKI_BLOCK_CLOSE:
6901                            case NOWIKI_CLOSE:
6902                            case LINK_CLOSE:
6903                            case IMAGE_CLOSE:
6904                            case BLANKS:
6905                            case TABLE_OF_CONTENTS_TEXT:
6906                            case DASH:
6907                            case CR:
6908                            case LF:
6909                            case SPACE:
6910                            case TABULATOR:
6911                            case COLON_SLASH:
6912                            case SLASH:
6913                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
6914                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
6915                            case INSIGNIFICANT_CHAR:
6916                            case 43:
6917                            case 44:
6918                            case 45:
6919                            case 46:
6920                            case 47:
6921                            case 48:
6922                            case 49:
6923                            case 50:
6924                            case 51:
6925                            case 52:
6926                            case 53:
6927                            case 54:
6928                            case 55:
6929                            case 56:
6930                            case 57:
6931                            case 58:
6932                            case 59:
6933                            case 60:
6934                            case 61:
6935                            case 62:
6936                            case 63:
6937                            case 64:
6938                            case 65:
6939                            case 66:
6940                            case 67:
6941                            case 68:
6942                            case 69:
6943                            case 70:
6944                            case 71:
6945                            case 72:
6946                            case 73:
6947                            case 74:
6948                            case 75:
6949                            case 76:
6950                            case 77:
6951                            case 78:
6952                                    {
6953                                    alt85=1;
6954                                    }
6955                                    break;
6956                            case FORCED_LINEBREAK:
6957                                    {
6958                                    alt85=1;
6959                                    }
6960                                    break;
6961                            case ESCAPE:
6962                                    {
6963                                    alt85=1;
6964                                    }
6965                                    break;
6966                            case LINK_OPEN:
6967                                    {
6968                                    alt85=1;
6969                                    }
6970                                    break;
6971                            case IMAGE_OPEN:
6972                                    {
6973                                    alt85=1;
6974                                    }
6975                                    break;
6976                            case EXTENSION:
6977                                    {
6978                                    alt85=1;
6979                                    }
6980                                    break;
6981                            case NOWIKI_OPEN:
6982                                    {
6983                                    alt85=1;
6984                                    }
6985                                    break;
6986    
6987                            }
6988    
6989                            switch (alt85) {
6990                            case 1 :
6991                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:445:6: t= text_unformattedelement
6992                                    {
6993                                    pushFollow(FOLLOW_text_unformattedelement_in_list_italcontentpart2378);
6994                                    t=text_unformattedelement();
6995                                    _fsp--;
6996                                    if (failed) return contents;
6997                                    if ( backtracking==0 ) {
6998                                       ((list_italcontentpart_scope)list_italcontentpart_stack.peek()).elements.add(t); 
6999                                    }
7000    
7001                                    }
7002                                    break;
7003    
7004                            default :
7005                                    if ( cnt85 >= 1 ) break loop85;
7006                                    if (backtracking>0) {failed=true; return contents;}
7007                                    EarlyExitException eee =
7008                                            new EarlyExitException(85, input);
7009                                    throw eee;
7010                            }
7011                            cnt85++;
7012                            } while (true);
7013    
7014                            if ( backtracking==0 ) {
7015                               contents = new CollectionNode(((list_italcontentpart_scope)list_italcontentpart_stack.peek()).elements); 
7016                            }
7017    
7018                            }
7019                            break;
7020    
7021                    }
7022            }
7023            catch (RecognitionException re) {
7024                    reportError(re);
7025                    recover(input,re);
7026            }
7027            finally {
7028                    list_italcontentpart_stack.pop();
7029            }
7030            return contents;
7031            }
7032            // $ANTLR end list_italcontentpart
7033    
7034    
7035            // $ANTLR start table
7036            // /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 )+ ;
7037            public final TableNode table() throws RecognitionException {
7038            TableNode table =  new TableNode();
7039    
7040            CollectionNode tr = null;
7041    
7042    
7043            try {
7044                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:450:2: ( (tr= table_row )+ )
7045                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:450:4: (tr= table_row )+
7046                    {
7047                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:450:4: (tr= table_row )+
7048                    int cnt87=0;
7049                    loop87:
7050                    do {
7051                    int alt87=2;
7052                    int LA87_0 = input.LA(1);
7053    
7054                    if ( (LA87_0==PIPE) ) {
7055                            alt87=1;
7056                    }
7057    
7058    
7059                    switch (alt87) {
7060                    case 1 :
7061                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:450:6: tr= table_row
7062                            {
7063                            pushFollow(FOLLOW_table_row_in_table2408);
7064                            tr=table_row();
7065                            _fsp--;
7066                            if (failed) return table;
7067                            if ( backtracking==0 ) {
7068                              table.addChildASTNode(tr);
7069                            }
7070    
7071                            }
7072                            break;
7073    
7074                    default :
7075                            if ( cnt87 >= 1 ) break loop87;
7076                            if (backtracking>0) {failed=true; return table;}
7077                            EarlyExitException eee =
7078                                    new EarlyExitException(87, input);
7079                            throw eee;
7080                    }
7081                    cnt87++;
7082                    } while (true);
7083    
7084    
7085                    }
7086    
7087            }
7088            catch (RecognitionException re) {
7089                    reportError(re);
7090                    recover(input,re);
7091            }
7092            finally {
7093            }
7094            return table;
7095            }
7096            // $ANTLR end table
7097    
7098    
7099            // $ANTLR start table_row
7100            // /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 ;
7101            public final CollectionNode table_row() throws RecognitionException {
7102            CollectionNode row =  new CollectionNode();
7103    
7104            TableCellNode tc = null;
7105    
7106    
7107            try {
7108                    // /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 )
7109                    // /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
7110                    {
7111                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:453:4: (tc= table_cell )+
7112                    int cnt88=0;
7113                    loop88:
7114                    do {
7115                    int alt88=2;
7116                    int LA88_0 = input.LA(1);
7117    
7118                    if ( (LA88_0==PIPE) ) {
7119                            alt88=1;
7120                    }
7121    
7122    
7123                    switch (alt88) {
7124                    case 1 :
7125                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:453:6: tc= table_cell
7126                            {
7127                            pushFollow(FOLLOW_table_cell_in_table_row2434);
7128                            tc=table_cell();
7129                            _fsp--;
7130                            if (failed) return row;
7131                            if ( backtracking==0 ) {
7132                               row.add(tc); 
7133                            }
7134    
7135                            }
7136                            break;
7137    
7138                    default :
7139                            if ( cnt88 >= 1 ) break loop88;
7140                            if (backtracking>0) {failed=true; return row;}
7141                            EarlyExitException eee =
7142                                    new EarlyExitException(88, input);
7143                            throw eee;
7144                    }
7145                    cnt88++;
7146                    } while (true);
7147    
7148                    pushFollow(FOLLOW_table_rowseparator_in_table_row2442);
7149                    table_rowseparator();
7150                    _fsp--;
7151                    if (failed) return row;
7152    
7153                    }
7154    
7155            }
7156            catch (RecognitionException re) {
7157                    reportError(re);
7158                    recover(input,re);
7159            }
7160            finally {
7161            }
7162            return row;
7163            }
7164            // $ANTLR end table_row
7165    
7166    
7167            // $ANTLR start table_cell
7168            // /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 );
7169            public final TableCellNode table_cell() throws RecognitionException {
7170            TableCellNode cell =  null;
7171    
7172            TableHeaderNode th = null;
7173    
7174            TableDataNode tc = null;
7175    
7176    
7177            try {
7178                    // /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 )
7179                    int alt89=2;
7180                    int LA89_0 = input.LA(1);
7181    
7182                    if ( (LA89_0==PIPE) ) {
7183                    int LA89_1 = input.LA(2);
7184    
7185                    if ( (LA89_1==EQUAL) ) {
7186                            int LA89_2 = input.LA(3);
7187    
7188                            if ( ( input.LA(2) == EQUAL ) ) {
7189                            alt89=1;
7190                            }
7191                            else if ( (true) ) {
7192                            alt89=2;
7193                            }
7194                            else {
7195                            if (backtracking>0) {failed=true; return cell;}
7196                            NoViableAltException nvae =
7197                                    new NoViableAltException("455:1: table_cell returns [TableCellNode cell = null] : ({...}?th= table_headercell | tc= table_normalcell );", 89, 2, input);
7198    
7199                            throw nvae;
7200                            }
7201                    }
7202                    else if ( (LA89_1==EOF||(LA89_1>=FORCED_END_OF_LINE && LA89_1<=STAR)||(LA89_1>=PIPE && LA89_1<=78)) ) {
7203                            alt89=2;
7204                    }
7205                    else {
7206                            if (backtracking>0) {failed=true; return cell;}
7207                            NoViableAltException nvae =
7208                            new NoViableAltException("455:1: table_cell returns [TableCellNode cell = null] : ({...}?th= table_headercell | tc= table_normalcell );", 89, 1, input);
7209    
7210                            throw nvae;
7211                    }
7212                    }
7213                    else {
7214                    if (backtracking>0) {failed=true; return cell;}
7215                    NoViableAltException nvae =
7216                            new NoViableAltException("455:1: table_cell returns [TableCellNode cell = null] : ({...}?th= table_headercell | tc= table_normalcell );", 89, 0, input);
7217    
7218                    throw nvae;
7219                    }
7220                    switch (alt89) {
7221                    case 1 :
7222                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:456:4: {...}?th= table_headercell
7223                            {
7224                            if ( !( input.LA(2) == EQUAL ) ) {
7225                            if (backtracking>0) {failed=true; return cell;}
7226                            throw new FailedPredicateException(input, "table_cell", " input.LA(2) == EQUAL ");
7227                            }
7228                            pushFollow(FOLLOW_table_headercell_in_table_cell2463);
7229                            th=table_headercell();
7230                            _fsp--;
7231                            if (failed) return cell;
7232                            if ( backtracking==0 ) {
7233                              cell = th;
7234                            }
7235    
7236                            }
7237                            break;
7238                    case 2 :
7239                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:457:4: tc= table_normalcell
7240                            {
7241                            pushFollow(FOLLOW_table_normalcell_in_table_cell2474);
7242                            tc=table_normalcell();
7243                            _fsp--;
7244                            if (failed) return cell;
7245                            if ( backtracking==0 ) {
7246                              cell = tc; 
7247                            }
7248    
7249                            }
7250                            break;
7251    
7252                    }
7253            }
7254            catch (RecognitionException re) {
7255                    reportError(re);
7256                    recover(input,re);
7257            }
7258            finally {
7259            }
7260            return cell;
7261            }
7262            // $ANTLR end table_cell
7263    
7264    
7265            // $ANTLR start table_headercell
7266            // /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 ;
7267            public final TableHeaderNode table_headercell() throws RecognitionException {
7268            TableHeaderNode header =  null;
7269    
7270            CollectionNode tc = null;
7271    
7272    
7273            try {
7274                    // /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 )
7275                    // /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
7276                    {
7277                    pushFollow(FOLLOW_table_headercell_markup_in_table_headercell2490);
7278                    table_headercell_markup();
7279                    _fsp--;
7280                    if (failed) return header;
7281                    pushFollow(FOLLOW_table_cellcontent_in_table_headercell2497);
7282                    tc=table_cellcontent();
7283                    _fsp--;
7284                    if (failed) return header;
7285                    if ( backtracking==0 ) {
7286                      header = new TableHeaderNode(tc);
7287                    }
7288    
7289                    }
7290    
7291            }
7292            catch (RecognitionException re) {
7293                    reportError(re);
7294                    recover(input,re);
7295            }
7296            finally {
7297            }
7298            return header;
7299            }
7300            // $ANTLR end table_headercell
7301    
7302    
7303            // $ANTLR start table_normalcell
7304            // /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 ;
7305            public final TableDataNode table_normalcell() throws RecognitionException {
7306            TableDataNode cell =  null;
7307    
7308            CollectionNode tc = null;
7309    
7310    
7311            try {
7312                    // /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 )
7313                    // /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
7314                    {
7315                    pushFollow(FOLLOW_table_cell_markup_in_table_normalcell2513);
7316                    table_cell_markup();
7317                    _fsp--;
7318                    if (failed) return cell;
7319                    pushFollow(FOLLOW_table_cellcontent_in_table_normalcell2520);
7320                    tc=table_cellcontent();
7321                    _fsp--;
7322                    if (failed) return cell;
7323                    if ( backtracking==0 ) {
7324                       cell = new TableDataNode(tc); 
7325                    }
7326    
7327                    }
7328    
7329            }
7330            catch (RecognitionException re) {
7331                    reportError(re);
7332                    recover(input,re);
7333            }
7334            finally {
7335            }
7336            return cell;
7337            }
7338            // $ANTLR end table_normalcell
7339    
7340    
7341            // $ANTLR start table_cellcontent
7342            // /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 )* ;
7343            public final CollectionNode table_cellcontent() throws RecognitionException {
7344            CollectionNode items =  new CollectionNode();
7345    
7346            ASTNode tcp = null;
7347    
7348    
7349            try {
7350                    // /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 )* )
7351                    // /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 )*
7352                    {
7353                    pushFollow(FOLLOW_onestar_in_table_cellcontent2536);
7354                    onestar();
7355                    _fsp--;
7356                    if (failed) return items;
7357                    // /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 )*
7358                    loop90:
7359                    do {
7360                    int alt90=2;
7361                    int LA90_0 = input.LA(1);
7362    
7363                    if ( ((LA90_0>=FORCED_END_OF_LINE && LA90_0<=WIKI)||(LA90_0>=POUND && LA90_0<=EQUAL)||(LA90_0>=ITAL && LA90_0<=78)) ) {
7364                            alt90=1;
7365                    }
7366    
7367    
7368                    switch (alt90) {
7369                    case 1 :
7370                            // /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
7371                            {
7372                            pushFollow(FOLLOW_table_cellcontentpart_in_table_cellcontent2545);
7373                            tcp=table_cellcontentpart();
7374                            _fsp--;
7375                            if (failed) return items;
7376                            if ( backtracking==0 ) {
7377                              items.add(tcp); 
7378                            }
7379                            pushFollow(FOLLOW_onestar_in_table_cellcontent2550);
7380                            onestar();
7381                            _fsp--;
7382                            if (failed) return items;
7383    
7384                            }
7385                            break;
7386    
7387                    default :
7388                            break loop90;
7389                    }
7390                    } while (true);
7391    
7392    
7393                    }
7394    
7395            }
7396            catch (RecognitionException re) {
7397                    reportError(re);
7398                    recover(input,re);
7399            }
7400            finally {
7401            }
7402            return items;
7403            }
7404            // $ANTLR end table_cellcontent
7405    
7406    
7407            // $ANTLR start table_cellcontentpart
7408            // /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 );
7409            public final ASTNode table_cellcontentpart() throws RecognitionException {
7410            ASTNode node =  null;
7411    
7412            ASTNode tf = null;
7413    
7414            ASTNode tu = null;
7415    
7416    
7417            try {
7418                    // /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 )
7419                    int alt91=2;
7420                    int LA91_0 = input.LA(1);
7421    
7422                    if ( (LA91_0==STAR||LA91_0==ITAL) ) {
7423                    alt91=1;
7424                    }
7425                    else if ( ((LA91_0>=FORCED_END_OF_LINE && LA91_0<=WIKI)||LA91_0==POUND||LA91_0==EQUAL||(LA91_0>=LINK_OPEN && LA91_0<=78)) ) {
7426                    alt91=2;
7427                    }
7428                    else {
7429                    if (backtracking>0) {failed=true; return node;}
7430                    NoViableAltException nvae =
7431                            new NoViableAltException("468:1: table_cellcontentpart returns [ASTNode node = null] : (tf= table_formattedelement | tu= table_unformattedelement );", 91, 0, input);
7432    
7433                    throw nvae;
7434                    }
7435                    switch (alt91) {
7436                    case 1 :
7437                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:469:4: tf= table_formattedelement
7438                            {
7439                            pushFollow(FOLLOW_table_formattedelement_in_table_cellcontentpart2571);
7440                            tf=table_formattedelement();
7441                            _fsp--;
7442                            if (failed) return node;
7443                            if ( backtracking==0 ) {
7444                              node =tf;
7445                            }
7446    
7447                            }
7448                            break;
7449                    case 2 :
7450                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:470:4: tu= table_unformattedelement
7451                            {
7452                            pushFollow(FOLLOW_table_unformattedelement_in_table_cellcontentpart2582);
7453                            tu=table_unformattedelement();
7454                            _fsp--;
7455                            if (failed) return node;
7456                            if ( backtracking==0 ) {
7457                              node =tu;
7458                            }
7459    
7460                            }
7461                            break;
7462    
7463                    }
7464            }
7465            catch (RecognitionException re) {
7466                    reportError(re);
7467                    recover(input,re);
7468            }
7469            finally {
7470            }
7471            return node;
7472            }
7473            // $ANTLR end table_cellcontentpart
7474    
7475    
7476            // $ANTLR start table_formattedelement
7477            // /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 )? );
7478            public final ASTNode table_formattedelement() throws RecognitionException {
7479            ASTNode content =  null;
7480    
7481            CollectionNode tic = null;
7482    
7483            CollectionNode tbc = null;
7484    
7485    
7486            try {
7487                    // /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 )? )
7488                    int alt96=2;
7489                    int LA96_0 = input.LA(1);
7490    
7491                    if ( (LA96_0==ITAL) ) {
7492                    alt96=1;
7493                    }
7494                    else if ( (LA96_0==STAR) ) {
7495                    alt96=2;
7496                    }
7497                    else {
7498                    if (backtracking>0) {failed=true; return content;}
7499                    NoViableAltException nvae =
7500                            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);
7501    
7502                    throw nvae;
7503                    }
7504                    switch (alt96) {
7505                    case 1 :
7506                            // /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 )?
7507                            {
7508                            pushFollow(FOLLOW_ital_markup_in_table_formattedelement2598);
7509                            ital_markup();
7510                            _fsp--;
7511                            if (failed) return content;
7512                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:473:18: (tic= table_italcontent )?
7513                            int alt92=2;
7514                            switch ( input.LA(1) ) {
7515                            case STAR:
7516                                    {
7517                                    alt92=1;
7518                                    }
7519                                    break;
7520                            case FORCED_END_OF_LINE:
7521                            case HEADING_SECTION:
7522                            case HORIZONTAL_SECTION:
7523                            case LIST_ITEM:
7524                            case LIST_ITEM_PART:
7525                            case NOWIKI_SECTION:
7526                            case SCAPE_NODE:
7527                            case TEXT_NODE:
7528                            case UNORDERED_LIST:
7529                            case UNFORMATTED_TEXT:
7530                            case WIKI:
7531                            case POUND:
7532                            case EQUAL:
7533                            case NOWIKI_BLOCK_CLOSE:
7534                            case NOWIKI_CLOSE:
7535                            case LINK_CLOSE:
7536                            case IMAGE_CLOSE:
7537                            case BLANKS:
7538                            case TABLE_OF_CONTENTS_TEXT:
7539                            case DASH:
7540                            case CR:
7541                            case LF:
7542                            case SPACE:
7543                            case TABULATOR:
7544                            case COLON_SLASH:
7545                            case SLASH:
7546                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
7547                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
7548                            case INSIGNIFICANT_CHAR:
7549                            case 43:
7550                            case 44:
7551                            case 45:
7552                            case 46:
7553                            case 47:
7554                            case 48:
7555                            case 49:
7556                            case 50:
7557                            case 51:
7558                            case 52:
7559                            case 53:
7560                            case 54:
7561                            case 55:
7562                            case 56:
7563                            case 57:
7564                            case 58:
7565                            case 59:
7566                            case 60:
7567                            case 61:
7568                            case 62:
7569                            case 63:
7570                            case 64:
7571                            case 65:
7572                            case 66:
7573                            case 67:
7574                            case 68:
7575                            case 69:
7576                            case 70:
7577                            case 71:
7578                            case 72:
7579                            case 73:
7580                            case 74:
7581                            case 75:
7582                            case 76:
7583                            case 77:
7584                            case 78:
7585                                    {
7586                                    alt92=1;
7587                                    }
7588                                    break;
7589                            case FORCED_LINEBREAK:
7590                                    {
7591                                    alt92=1;
7592                                    }
7593                                    break;
7594                            case ESCAPE:
7595                                    {
7596                                    alt92=1;
7597                                    }
7598                                    break;
7599                            case LINK_OPEN:
7600                                    {
7601                                    alt92=1;
7602                                    }
7603                                    break;
7604                            case IMAGE_OPEN:
7605                                    {
7606                                    alt92=1;
7607                                    }
7608                                    break;
7609                            case EXTENSION:
7610                                    {
7611                                    alt92=1;
7612                                    }
7613                                    break;
7614                            case NOWIKI_OPEN:
7615                                    {
7616                                    alt92=1;
7617                                    }
7618                                    break;
7619                            case EOF:
7620                                    {
7621                                    alt92=1;
7622                                    }
7623                                    break;
7624                            }
7625    
7626                            switch (alt92) {
7627                            case 1 :
7628                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:473:20: tic= table_italcontent
7629                                    {
7630                                    pushFollow(FOLLOW_table_italcontent_in_table_formattedelement2608);
7631                                    tic=table_italcontent();
7632                                    _fsp--;
7633                                    if (failed) return content;
7634                                    if ( backtracking==0 ) {
7635                                       content = new ItalicTextNode(tic); 
7636                                    }
7637    
7638                                    }
7639                                    break;
7640    
7641                            }
7642    
7643                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:473:94: ( ital_markup )?
7644                            int alt93=2;
7645                            int LA93_0 = input.LA(1);
7646    
7647                            if ( (LA93_0==ITAL) ) {
7648                            alt93=1;
7649                            }
7650                            switch (alt93) {
7651                            case 1 :
7652                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:473:96: ital_markup
7653                                    {
7654                                    pushFollow(FOLLOW_ital_markup_in_table_formattedelement2617);
7655                                    ital_markup();
7656                                    _fsp--;
7657                                    if (failed) return content;
7658    
7659                                    }
7660                                    break;
7661    
7662                            }
7663    
7664    
7665                            }
7666                            break;
7667                    case 2 :
7668                            // /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 )?
7669                            {
7670                            pushFollow(FOLLOW_bold_markup_in_table_formattedelement2625);
7671                            bold_markup();
7672                            _fsp--;
7673                            if (failed) return content;
7674                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:474:16: (tbc= table_boldcontent )?
7675                            int alt94=2;
7676                            switch ( input.LA(1) ) {
7677                            case STAR:
7678                                    {
7679                                    int LA94_1 = input.LA(2);
7680    
7681                                    if ( ( input.LA(2) != STAR ) ) {
7682                                    alt94=1;
7683                                    }
7684                                    }
7685                                    break;
7686                            case FORCED_END_OF_LINE:
7687                            case HEADING_SECTION:
7688                            case HORIZONTAL_SECTION:
7689                            case LIST_ITEM:
7690                            case LIST_ITEM_PART:
7691                            case NOWIKI_SECTION:
7692                            case SCAPE_NODE:
7693                            case TEXT_NODE:
7694                            case UNORDERED_LIST:
7695                            case UNFORMATTED_TEXT:
7696                            case WIKI:
7697                            case POUND:
7698                            case EQUAL:
7699                            case NOWIKI_BLOCK_CLOSE:
7700                            case NOWIKI_CLOSE:
7701                            case LINK_CLOSE:
7702                            case IMAGE_CLOSE:
7703                            case BLANKS:
7704                            case TABLE_OF_CONTENTS_TEXT:
7705                            case DASH:
7706                            case CR:
7707                            case LF:
7708                            case SPACE:
7709                            case TABULATOR:
7710                            case COLON_SLASH:
7711                            case SLASH:
7712                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
7713                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
7714                            case INSIGNIFICANT_CHAR:
7715                            case 43:
7716                            case 44:
7717                            case 45:
7718                            case 46:
7719                            case 47:
7720                            case 48:
7721                            case 49:
7722                            case 50:
7723                            case 51:
7724                            case 52:
7725                            case 53:
7726                            case 54:
7727                            case 55:
7728                            case 56:
7729                            case 57:
7730                            case 58:
7731                            case 59:
7732                            case 60:
7733                            case 61:
7734                            case 62:
7735                            case 63:
7736                            case 64:
7737                            case 65:
7738                            case 66:
7739                            case 67:
7740                            case 68:
7741                            case 69:
7742                            case 70:
7743                            case 71:
7744                            case 72:
7745                            case 73:
7746                            case 74:
7747                            case 75:
7748                            case 76:
7749                            case 77:
7750                            case 78:
7751                                    {
7752                                    alt94=1;
7753                                    }
7754                                    break;
7755                            case FORCED_LINEBREAK:
7756                                    {
7757                                    alt94=1;
7758                                    }
7759                                    break;
7760                            case ESCAPE:
7761                                    {
7762                                    alt94=1;
7763                                    }
7764                                    break;
7765                            case LINK_OPEN:
7766                                    {
7767                                    alt94=1;
7768                                    }
7769                                    break;
7770                            case IMAGE_OPEN:
7771                                    {
7772                                    alt94=1;
7773                                    }
7774                                    break;
7775                            case EXTENSION:
7776                                    {
7777                                    alt94=1;
7778                                    }
7779                                    break;
7780                            case NOWIKI_OPEN:
7781                                    {
7782                                    alt94=1;
7783                                    }
7784                                    break;
7785                            case ITAL:
7786                                    {
7787                                    alt94=1;
7788                                    }
7789                                    break;
7790                            case EOF:
7791                                    {
7792                                    alt94=1;
7793                                    }
7794                                    break;
7795                            }
7796    
7797                            switch (alt94) {
7798                            case 1 :
7799                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:474:18: tbc= table_boldcontent
7800                                    {
7801                                    pushFollow(FOLLOW_table_boldcontent_in_table_formattedelement2632);
7802                                    tbc=table_boldcontent();
7803                                    _fsp--;
7804                                    if (failed) return content;
7805                                    if ( backtracking==0 ) {
7806                                      content = new BoldTextNode(tbc);
7807                                    }
7808    
7809                                    }
7810                                    break;
7811    
7812                            }
7813    
7814                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:474:88: ( bold_markup )?
7815                            int alt95=2;
7816                            int LA95_0 = input.LA(1);
7817    
7818                            if ( (LA95_0==STAR) ) {
7819                            int LA95_1 = input.LA(2);
7820    
7821                            if ( (LA95_1==STAR) ) {
7822                                    alt95=1;
7823                            }
7824                            }
7825                            switch (alt95) {
7826                            case 1 :
7827                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:474:90: bold_markup
7828                                    {
7829                                    pushFollow(FOLLOW_bold_markup_in_table_formattedelement2642);
7830                                    bold_markup();
7831                                    _fsp--;
7832                                    if (failed) return content;
7833    
7834                                    }
7835                                    break;
7836    
7837                            }
7838    
7839    
7840                            }
7841                            break;
7842    
7843                    }
7844            }
7845            catch (RecognitionException re) {
7846                    reportError(re);
7847                    recover(input,re);
7848            }
7849            finally {
7850            }
7851            return content;
7852            }
7853            // $ANTLR end table_formattedelement
7854    
7855    
7856            // $ANTLR start table_boldcontent
7857            // /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 );
7858            public final CollectionNode table_boldcontent() throws RecognitionException {
7859            CollectionNode items =  new CollectionNode();
7860    
7861            ASTNode tb = null;
7862    
7863    
7864            try {
7865                    // /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 )
7866                    int alt98=2;
7867                    int LA98_0 = input.LA(1);
7868    
7869                    if ( ((LA98_0>=FORCED_END_OF_LINE && LA98_0<=WIKI)||(LA98_0>=POUND && LA98_0<=EQUAL)||(LA98_0>=ITAL && LA98_0<=78)) ) {
7870                    alt98=1;
7871                    }
7872                    else if ( (LA98_0==EOF) ) {
7873                    alt98=2;
7874                    }
7875                    else {
7876                    if (backtracking>0) {failed=true; return items;}
7877                    NoViableAltException nvae =
7878                            new NoViableAltException("476:1: table_boldcontent returns [CollectionNode items = new CollectionNode()] : ( onestar (tb= table_boldcontentpart onestar )+ | EOF );", 98, 0, input);
7879    
7880                    throw nvae;
7881                    }
7882                    switch (alt98) {
7883                    case 1 :
7884                            // /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 )+
7885                            {
7886                            pushFollow(FOLLOW_onestar_in_table_boldcontent2659);
7887                            onestar();
7888                            _fsp--;
7889                            if (failed) return items;
7890                            // /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 )+
7891                            int cnt97=0;
7892                            loop97:
7893                            do {
7894                            int alt97=2;
7895                            switch ( input.LA(1) ) {
7896                            case ITAL:
7897                                    {
7898                                    alt97=1;
7899                                    }
7900                                    break;
7901                            case FORCED_END_OF_LINE:
7902                            case HEADING_SECTION:
7903                            case HORIZONTAL_SECTION:
7904                            case LIST_ITEM:
7905                            case LIST_ITEM_PART:
7906                            case NOWIKI_SECTION:
7907                            case SCAPE_NODE:
7908                            case TEXT_NODE:
7909                            case UNORDERED_LIST:
7910                            case UNFORMATTED_TEXT:
7911                            case WIKI:
7912                            case POUND:
7913                            case EQUAL:
7914                            case NOWIKI_BLOCK_CLOSE:
7915                            case NOWIKI_CLOSE:
7916                            case LINK_CLOSE:
7917                            case IMAGE_CLOSE:
7918                            case BLANKS:
7919                            case TABLE_OF_CONTENTS_TEXT:
7920                            case DASH:
7921                            case CR:
7922                            case LF:
7923                            case SPACE:
7924                            case TABULATOR:
7925                            case COLON_SLASH:
7926                            case SLASH:
7927                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
7928                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
7929                            case INSIGNIFICANT_CHAR:
7930                            case 43:
7931                            case 44:
7932                            case 45:
7933                            case 46:
7934                            case 47:
7935                            case 48:
7936                            case 49:
7937                            case 50:
7938                            case 51:
7939                            case 52:
7940                            case 53:
7941                            case 54:
7942                            case 55:
7943                            case 56:
7944                            case 57:
7945                            case 58:
7946                            case 59:
7947                            case 60:
7948                            case 61:
7949                            case 62:
7950                            case 63:
7951                            case 64:
7952                            case 65:
7953                            case 66:
7954                            case 67:
7955                            case 68:
7956                            case 69:
7957                            case 70:
7958                            case 71:
7959                            case 72:
7960                            case 73:
7961                            case 74:
7962                            case 75:
7963                            case 76:
7964                            case 77:
7965                            case 78:
7966                                    {
7967                                    alt97=1;
7968                                    }
7969                                    break;
7970                            case FORCED_LINEBREAK:
7971                                    {
7972                                    alt97=1;
7973                                    }
7974                                    break;
7975                            case ESCAPE:
7976                                    {
7977                                    alt97=1;
7978                                    }
7979                                    break;
7980                            case LINK_OPEN:
7981                                    {
7982                                    alt97=1;
7983                                    }
7984                                    break;
7985                            case IMAGE_OPEN:
7986                                    {
7987                                    alt97=1;
7988                                    }
7989                                    break;
7990                            case EXTENSION:
7991                                    {
7992                                    alt97=1;
7993                                    }
7994                                    break;
7995                            case NOWIKI_OPEN:
7996                                    {
7997                                    alt97=1;
7998                                    }
7999                                    break;
8000    
8001                            }
8002    
8003                            switch (alt97) {
8004                            case 1 :
8005                                    // /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
8006                                    {
8007                                    pushFollow(FOLLOW_table_boldcontentpart_in_table_boldcontent2668);
8008                                    tb=table_boldcontentpart();
8009                                    _fsp--;
8010                                    if (failed) return items;
8011                                    if ( backtracking==0 ) {
8012                                       items.add(tb); 
8013                                    }
8014                                    pushFollow(FOLLOW_onestar_in_table_boldcontent2673);
8015                                    onestar();
8016                                    _fsp--;
8017                                    if (failed) return items;
8018    
8019                                    }
8020                                    break;
8021    
8022                            default :
8023                                    if ( cnt97 >= 1 ) break loop97;
8024                                    if (backtracking>0) {failed=true; return items;}
8025                                    EarlyExitException eee =
8026                                            new EarlyExitException(97, input);
8027                                    throw eee;
8028                            }
8029                            cnt97++;
8030                            } while (true);
8031    
8032    
8033                            }
8034                            break;
8035                    case 2 :
8036                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:478:4: EOF
8037                            {
8038                            match(input,EOF,FOLLOW_EOF_in_table_boldcontent2681); if (failed) return items;
8039    
8040                            }
8041                            break;
8042    
8043                    }
8044            }
8045            catch (RecognitionException re) {
8046                    reportError(re);
8047                    recover(input,re);
8048            }
8049            finally {
8050            }
8051            return items;
8052            }
8053            // $ANTLR end table_boldcontent
8054    
8055    
8056            // $ANTLR start table_italcontent
8057            // /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 );
8058            public final CollectionNode table_italcontent() throws RecognitionException {
8059            CollectionNode items =  new CollectionNode();
8060    
8061            ASTNode ti = null;
8062    
8063    
8064            try {
8065                    // /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 )
8066                    int alt100=2;
8067                    int LA100_0 = input.LA(1);
8068    
8069                    if ( ((LA100_0>=FORCED_END_OF_LINE && LA100_0<=WIKI)||(LA100_0>=POUND && LA100_0<=EQUAL)||(LA100_0>=LINK_OPEN && LA100_0<=78)) ) {
8070                    alt100=1;
8071                    }
8072                    else if ( (LA100_0==EOF) ) {
8073                    alt100=2;
8074                    }
8075                    else {
8076                    if (backtracking>0) {failed=true; return items;}
8077                    NoViableAltException nvae =
8078                            new NoViableAltException("480:1: table_italcontent returns [CollectionNode items = new CollectionNode()] : ( onestar (ti= table_italcontentpart onestar )+ | EOF );", 100, 0, input);
8079    
8080                    throw nvae;
8081                    }
8082                    switch (alt100) {
8083                    case 1 :
8084                            // /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 )+
8085                            {
8086                            pushFollow(FOLLOW_onestar_in_table_italcontent2695);
8087                            onestar();
8088                            _fsp--;
8089                            if (failed) return items;
8090                            // /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 )+
8091                            int cnt99=0;
8092                            loop99:
8093                            do {
8094                            int alt99=2;
8095                            switch ( input.LA(1) ) {
8096                            case STAR:
8097                                    {
8098                                    alt99=1;
8099                                    }
8100                                    break;
8101                            case FORCED_END_OF_LINE:
8102                            case HEADING_SECTION:
8103                            case HORIZONTAL_SECTION:
8104                            case LIST_ITEM:
8105                            case LIST_ITEM_PART:
8106                            case NOWIKI_SECTION:
8107                            case SCAPE_NODE:
8108                            case TEXT_NODE:
8109                            case UNORDERED_LIST:
8110                            case UNFORMATTED_TEXT:
8111                            case WIKI:
8112                            case POUND:
8113                            case EQUAL:
8114                            case NOWIKI_BLOCK_CLOSE:
8115                            case NOWIKI_CLOSE:
8116                            case LINK_CLOSE:
8117                            case IMAGE_CLOSE:
8118                            case BLANKS:
8119                            case TABLE_OF_CONTENTS_TEXT:
8120                            case DASH:
8121                            case CR:
8122                            case LF:
8123                            case SPACE:
8124                            case TABULATOR:
8125                            case COLON_SLASH:
8126                            case SLASH:
8127                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
8128                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
8129                            case INSIGNIFICANT_CHAR:
8130                            case 43:
8131                            case 44:
8132                            case 45:
8133                            case 46:
8134                            case 47:
8135                            case 48:
8136                            case 49:
8137                            case 50:
8138                            case 51:
8139                            case 52:
8140                            case 53:
8141                            case 54:
8142                            case 55:
8143                            case 56:
8144                            case 57:
8145                            case 58:
8146                            case 59:
8147                            case 60:
8148                            case 61:
8149                            case 62:
8150                            case 63:
8151                            case 64:
8152                            case 65:
8153                            case 66:
8154                            case 67:
8155                            case 68:
8156                            case 69:
8157                            case 70:
8158                            case 71:
8159                            case 72:
8160                            case 73:
8161                            case 74:
8162                            case 75:
8163                            case 76:
8164                            case 77:
8165                            case 78:
8166                                    {
8167                                    alt99=1;
8168                                    }
8169                                    break;
8170                            case FORCED_LINEBREAK:
8171                                    {
8172                                    alt99=1;
8173                                    }
8174                                    break;
8175                            case ESCAPE:
8176                                    {
8177                                    alt99=1;
8178                                    }
8179                                    break;
8180                            case LINK_OPEN:
8181                                    {
8182                                    alt99=1;
8183                                    }
8184                                    break;
8185                            case IMAGE_OPEN:
8186                                    {
8187                                    alt99=1;
8188                                    }
8189                                    break;
8190                            case EXTENSION:
8191                                    {
8192                                    alt99=1;
8193                                    }
8194                                    break;
8195                            case NOWIKI_OPEN:
8196                                    {
8197                                    alt99=1;
8198                                    }
8199                                    break;
8200    
8201                            }
8202    
8203                            switch (alt99) {
8204                            case 1 :
8205                                    // /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
8206                                    {
8207                                    pushFollow(FOLLOW_table_italcontentpart_in_table_italcontent2704);
8208                                    ti=table_italcontentpart();
8209                                    _fsp--;
8210                                    if (failed) return items;
8211                                    if ( backtracking==0 ) {
8212                                       items.add(ti); 
8213                                    }
8214                                    pushFollow(FOLLOW_onestar_in_table_italcontent2709);
8215                                    onestar();
8216                                    _fsp--;
8217                                    if (failed) return items;
8218    
8219                                    }
8220                                    break;
8221    
8222                            default :
8223                                    if ( cnt99 >= 1 ) break loop99;
8224                                    if (backtracking>0) {failed=true; return items;}
8225                                    EarlyExitException eee =
8226                                            new EarlyExitException(99, input);
8227                                    throw eee;
8228                            }
8229                            cnt99++;
8230                            } while (true);
8231    
8232    
8233                            }
8234                            break;
8235                    case 2 :
8236                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:482:4: EOF
8237                            {
8238                            match(input,EOF,FOLLOW_EOF_in_table_italcontent2717); if (failed) return items;
8239    
8240                            }
8241                            break;
8242    
8243                    }
8244            }
8245            catch (RecognitionException re) {
8246                    reportError(re);
8247                    recover(input,re);
8248            }
8249            finally {
8250            }
8251            return items;
8252            }
8253            // $ANTLR end table_italcontent
8254    
8255    
8256            // $ANTLR start table_boldcontentpart
8257            // /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 )? );
8258            public final ASTNode table_boldcontentpart() throws RecognitionException {
8259            ASTNode node =  null;
8260    
8261            CollectionNode tf = null;
8262    
8263            CollectionNode tb = null;
8264    
8265    
8266            try {
8267                    // /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 )? )
8268                    int alt102=2;
8269                    int LA102_0 = input.LA(1);
8270    
8271                    if ( ((LA102_0>=FORCED_END_OF_LINE && LA102_0<=WIKI)||LA102_0==POUND||LA102_0==EQUAL||(LA102_0>=LINK_OPEN && LA102_0<=78)) ) {
8272                    alt102=1;
8273                    }
8274                    else if ( (LA102_0==ITAL) ) {
8275                    alt102=2;
8276                    }
8277                    else {
8278                    if (backtracking>0) {failed=true; return node;}
8279                    NoViableAltException nvae =
8280                            new NoViableAltException("484:1: table_boldcontentpart returns [ASTNode node = null] : (tf= table_formattedcontent | ital_markup tb= table_bolditalcontent ( ital_markup )? );", 102, 0, input);
8281    
8282                    throw nvae;
8283                    }
8284                    switch (alt102) {
8285                    case 1 :
8286                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:485:4: tf= table_formattedcontent
8287                            {
8288                            pushFollow(FOLLOW_table_formattedcontent_in_table_boldcontentpart2735);
8289                            tf=table_formattedcontent();
8290                            _fsp--;
8291                            if (failed) return node;
8292                            if ( backtracking==0 ) {
8293                              node = tf; 
8294                            }
8295    
8296                            }
8297                            break;
8298                    case 2 :
8299                            // /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 )?
8300                            {
8301                            pushFollow(FOLLOW_ital_markup_in_table_boldcontentpart2742);
8302                            ital_markup();
8303                            _fsp--;
8304                            if (failed) return node;
8305                            pushFollow(FOLLOW_table_bolditalcontent_in_table_boldcontentpart2749);
8306                            tb=table_bolditalcontent();
8307                            _fsp--;
8308                            if (failed) return node;
8309                            if ( backtracking==0 ) {
8310                               node = new ItalicTextNode(tb);  
8311                            }
8312                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:486:92: ( ital_markup )?
8313                            int alt101=2;
8314                            int LA101_0 = input.LA(1);
8315    
8316                            if ( (LA101_0==ITAL) ) {
8317                            alt101=1;
8318                            }
8319                            switch (alt101) {
8320                            case 1 :
8321                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:486:94: ital_markup
8322                                    {
8323                                    pushFollow(FOLLOW_ital_markup_in_table_boldcontentpart2756);
8324                                    ital_markup();
8325                                    _fsp--;
8326                                    if (failed) return node;
8327    
8328                                    }
8329                                    break;
8330    
8331                            }
8332    
8333    
8334                            }
8335                            break;
8336    
8337                    }
8338            }
8339            catch (RecognitionException re) {
8340                    reportError(re);
8341                    recover(input,re);
8342            }
8343            finally {
8344            }
8345            return node;
8346            }
8347            // $ANTLR end table_boldcontentpart
8348    
8349    
8350            // $ANTLR start table_italcontentpart
8351            // /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 );
8352            public final ASTNode table_italcontentpart() throws RecognitionException {
8353            ASTNode node =  null;
8354    
8355            CollectionNode tb = null;
8356    
8357            CollectionNode tf = null;
8358    
8359    
8360            try {
8361                    // /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 )
8362                    int alt104=2;
8363                    int LA104_0 = input.LA(1);
8364    
8365                    if ( (LA104_0==STAR) ) {
8366                    alt104=1;
8367                    }
8368                    else if ( ((LA104_0>=FORCED_END_OF_LINE && LA104_0<=WIKI)||LA104_0==POUND||LA104_0==EQUAL||(LA104_0>=LINK_OPEN && LA104_0<=78)) ) {
8369                    alt104=2;
8370                    }
8371                    else {
8372                    if (backtracking>0) {failed=true; return node;}
8373                    NoViableAltException nvae =
8374                            new NoViableAltException("488:1: table_italcontentpart returns [ASTNode node = null] : ( bold_markup tb= table_bolditalcontent ( bold_markup )? | tf= table_formattedcontent );", 104, 0, input);
8375    
8376                    throw nvae;
8377                    }
8378                    switch (alt104) {
8379                    case 1 :
8380                            // /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 )?
8381                            {
8382                            pushFollow(FOLLOW_bold_markup_in_table_italcontentpart2773);
8383                            bold_markup();
8384                            _fsp--;
8385                            if (failed) return node;
8386                            pushFollow(FOLLOW_table_bolditalcontent_in_table_italcontentpart2780);
8387                            tb=table_bolditalcontent();
8388                            _fsp--;
8389                            if (failed) return node;
8390                            if ( backtracking==0 ) {
8391                              node = new BoldTextNode(tb); 
8392                            }
8393                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:489:88: ( bold_markup )?
8394                            int alt103=2;
8395                            int LA103_0 = input.LA(1);
8396    
8397                            if ( (LA103_0==STAR) ) {
8398                            int LA103_1 = input.LA(2);
8399    
8400                            if ( (LA103_1==STAR) ) {
8401                                    alt103=1;
8402                            }
8403                            }
8404                            switch (alt103) {
8405                            case 1 :
8406                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:489:90: bold_markup
8407                                    {
8408                                    pushFollow(FOLLOW_bold_markup_in_table_italcontentpart2787);
8409                                    bold_markup();
8410                                    _fsp--;
8411                                    if (failed) return node;
8412    
8413                                    }
8414                                    break;
8415    
8416                            }
8417    
8418    
8419                            }
8420                            break;
8421                    case 2 :
8422                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:490:4: tf= table_formattedcontent
8423                            {
8424                            pushFollow(FOLLOW_table_formattedcontent_in_table_italcontentpart2799);
8425                            tf=table_formattedcontent();
8426                            _fsp--;
8427                            if (failed) return node;
8428                            if ( backtracking==0 ) {
8429                               node = tf; 
8430                            }
8431    
8432                            }
8433                            break;
8434    
8435                    }
8436            }
8437            catch (RecognitionException re) {
8438                    reportError(re);
8439                    recover(input,re);
8440            }
8441            finally {
8442            }
8443            return node;
8444            }
8445            // $ANTLR end table_italcontentpart
8446    
8447    
8448            // $ANTLR start table_bolditalcontent
8449            // /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 );
8450            public final CollectionNode table_bolditalcontent() throws RecognitionException {
8451            CollectionNode elements =  null;
8452    
8453            CollectionNode tfc = null;
8454    
8455    
8456            try {
8457                    // /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 )
8458                    int alt106=2;
8459                    int LA106_0 = input.LA(1);
8460    
8461                    if ( ((LA106_0>=FORCED_END_OF_LINE && LA106_0<=EQUAL)||(LA106_0>=ITAL && LA106_0<=78)) ) {
8462                    alt106=1;
8463                    }
8464                    else if ( (LA106_0==EOF||LA106_0==PIPE) ) {
8465                    alt106=1;
8466                    }
8467                    else {
8468                    if (backtracking>0) {failed=true; return elements;}
8469                    NoViableAltException nvae =
8470                            new NoViableAltException("492:1: table_bolditalcontent returns [CollectionNode elements = null] : ( onestar (tfc= table_formattedcontent onestar )? | EOF );", 106, 0, input);
8471    
8472                    throw nvae;
8473                    }
8474                    switch (alt106) {
8475                    case 1 :
8476                            // /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 )?
8477                            {
8478                            pushFollow(FOLLOW_onestar_in_table_bolditalcontent2815);
8479                            onestar();
8480                            _fsp--;
8481                            if (failed) return elements;
8482                            // /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 )?
8483                            int alt105=2;
8484                            switch ( input.LA(1) ) {
8485                            case FORCED_END_OF_LINE:
8486                            case HEADING_SECTION:
8487                            case HORIZONTAL_SECTION:
8488                            case LIST_ITEM:
8489                            case LIST_ITEM_PART:
8490                            case NOWIKI_SECTION:
8491                            case SCAPE_NODE:
8492                            case TEXT_NODE:
8493                            case UNORDERED_LIST:
8494                            case UNFORMATTED_TEXT:
8495                            case WIKI:
8496                            case POUND:
8497                            case EQUAL:
8498                            case NOWIKI_BLOCK_CLOSE:
8499                            case NOWIKI_CLOSE:
8500                            case LINK_CLOSE:
8501                            case IMAGE_CLOSE:
8502                            case BLANKS:
8503                            case TABLE_OF_CONTENTS_TEXT:
8504                            case DASH:
8505                            case CR:
8506                            case LF:
8507                            case SPACE:
8508                            case TABULATOR:
8509                            case COLON_SLASH:
8510                            case SLASH:
8511                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
8512                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
8513                            case INSIGNIFICANT_CHAR:
8514                            case 43:
8515                            case 44:
8516                            case 45:
8517                            case 46:
8518                            case 47:
8519                            case 48:
8520                            case 49:
8521                            case 50:
8522                            case 51:
8523                            case 52:
8524                            case 53:
8525                            case 54:
8526                            case 55:
8527                            case 56:
8528                            case 57:
8529                            case 58:
8530                            case 59:
8531                            case 60:
8532                            case 61:
8533                            case 62:
8534                            case 63:
8535                            case 64:
8536                            case 65:
8537                            case 66:
8538                            case 67:
8539                            case 68:
8540                            case 69:
8541                            case 70:
8542                            case 71:
8543                            case 72:
8544                            case 73:
8545                            case 74:
8546                            case 75:
8547                            case 76:
8548                            case 77:
8549                            case 78:
8550                                    {
8551                                    alt105=1;
8552                                    }
8553                                    break;
8554                            case FORCED_LINEBREAK:
8555                                    {
8556                                    alt105=1;
8557                                    }
8558                                    break;
8559                            case ESCAPE:
8560                                    {
8561                                    alt105=1;
8562                                    }
8563                                    break;
8564                            case LINK_OPEN:
8565                                    {
8566                                    alt105=1;
8567                                    }
8568                                    break;
8569                            case IMAGE_OPEN:
8570                                    {
8571                                    alt105=1;
8572                                    }
8573                                    break;
8574                            case EXTENSION:
8575                                    {
8576                                    alt105=1;
8577                                    }
8578                                    break;
8579                            case NOWIKI_OPEN:
8580                                    {
8581                                    alt105=1;
8582                                    }
8583                                    break;
8584                            }
8585    
8586                            switch (alt105) {
8587                            case 1 :
8588                                    // /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
8589                                    {
8590                                    pushFollow(FOLLOW_table_formattedcontent_in_table_bolditalcontent2824);
8591                                    tfc=table_formattedcontent();
8592                                    _fsp--;
8593                                    if (failed) return elements;
8594                                    if ( backtracking==0 ) {
8595                                       elements = tfc; 
8596                                    }
8597                                    pushFollow(FOLLOW_onestar_in_table_bolditalcontent2829);
8598                                    onestar();
8599                                    _fsp--;
8600                                    if (failed) return elements;
8601    
8602                                    }
8603                                    break;
8604    
8605                            }
8606    
8607    
8608                            }
8609                            break;
8610                    case 2 :
8611                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:494:4: EOF
8612                            {
8613                            match(input,EOF,FOLLOW_EOF_in_table_bolditalcontent2837); if (failed) return elements;
8614    
8615                            }
8616                            break;
8617    
8618                    }
8619            }
8620            catch (RecognitionException re) {
8621                    reportError(re);
8622                    recover(input,re);
8623            }
8624            finally {
8625            }
8626            return elements;
8627            }
8628            // $ANTLR end table_bolditalcontent
8629    
8630    
8631            // $ANTLR start table_formattedcontent
8632            // /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 )+ ;
8633            public final CollectionNode table_formattedcontent() throws RecognitionException {
8634            CollectionNode elements =  new CollectionNode();
8635    
8636            ASTNode tu = null;
8637    
8638    
8639            try {
8640                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:497:2: ( (tu= table_unformattedelement )+ )
8641                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:497:4: (tu= table_unformattedelement )+
8642                    {
8643                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:497:4: (tu= table_unformattedelement )+
8644                    int cnt107=0;
8645                    loop107:
8646                    do {
8647                    int alt107=2;
8648                    switch ( input.LA(1) ) {
8649                    case FORCED_END_OF_LINE:
8650                    case HEADING_SECTION:
8651                    case HORIZONTAL_SECTION:
8652                    case LIST_ITEM:
8653                    case LIST_ITEM_PART:
8654                    case NOWIKI_SECTION:
8655                    case SCAPE_NODE:
8656                    case TEXT_NODE:
8657                    case UNORDERED_LIST:
8658                    case UNFORMATTED_TEXT:
8659                    case WIKI:
8660                    case POUND:
8661                    case EQUAL:
8662                    case NOWIKI_BLOCK_CLOSE:
8663                    case NOWIKI_CLOSE:
8664                    case LINK_CLOSE:
8665                    case IMAGE_CLOSE:
8666                    case BLANKS:
8667                    case TABLE_OF_CONTENTS_TEXT:
8668                    case DASH:
8669                    case CR:
8670                    case LF:
8671                    case SPACE:
8672                    case TABULATOR:
8673                    case COLON_SLASH:
8674                    case SLASH:
8675                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
8676                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
8677                    case INSIGNIFICANT_CHAR:
8678                    case 43:
8679                    case 44:
8680                    case 45:
8681                    case 46:
8682                    case 47:
8683                    case 48:
8684                    case 49:
8685                    case 50:
8686                    case 51:
8687                    case 52:
8688                    case 53:
8689                    case 54:
8690                    case 55:
8691                    case 56:
8692                    case 57:
8693                    case 58:
8694                    case 59:
8695                    case 60:
8696                    case 61:
8697                    case 62:
8698                    case 63:
8699                    case 64:
8700                    case 65:
8701                    case 66:
8702                    case 67:
8703                    case 68:
8704                    case 69:
8705                    case 70:
8706                    case 71:
8707                    case 72:
8708                    case 73:
8709                    case 74:
8710                    case 75:
8711                    case 76:
8712                    case 77:
8713                    case 78:
8714                            {
8715                            alt107=1;
8716                            }
8717                            break;
8718                    case FORCED_LINEBREAK:
8719                            {
8720                            alt107=1;
8721                            }
8722                            break;
8723                    case ESCAPE:
8724                            {
8725                            alt107=1;
8726                            }
8727                            break;
8728                    case LINK_OPEN:
8729                            {
8730                            alt107=1;
8731                            }
8732                            break;
8733                    case IMAGE_OPEN:
8734                            {
8735                            alt107=1;
8736                            }
8737                            break;
8738                    case EXTENSION:
8739                            {
8740                            alt107=1;
8741                            }
8742                            break;
8743                    case NOWIKI_OPEN:
8744                            {
8745                            alt107=1;
8746                            }
8747                            break;
8748    
8749                    }
8750    
8751                    switch (alt107) {
8752                    case 1 :
8753                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:497:6: tu= table_unformattedelement
8754                            {
8755                            pushFollow(FOLLOW_table_unformattedelement_in_table_formattedcontent2857);
8756                            tu=table_unformattedelement();
8757                            _fsp--;
8758                            if (failed) return elements;
8759                            if ( backtracking==0 ) {
8760                               elements.add(tu); 
8761                            }
8762    
8763                            }
8764                            break;
8765    
8766                    default :
8767                            if ( cnt107 >= 1 ) break loop107;
8768                            if (backtracking>0) {failed=true; return elements;}
8769                            EarlyExitException eee =
8770                                    new EarlyExitException(107, input);
8771                            throw eee;
8772                    }
8773                    cnt107++;
8774                    } while (true);
8775    
8776    
8777                    }
8778    
8779            }
8780            catch (RecognitionException re) {
8781                    reportError(re);
8782                    recover(input,re);
8783            }
8784            finally {
8785            }
8786            return elements;
8787            }
8788            // $ANTLR end table_formattedcontent
8789    
8790    
8791            // $ANTLR start table_unformattedelement
8792            // /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 );
8793            public final ASTNode table_unformattedelement() throws RecognitionException {
8794            ASTNode content =  null;
8795    
8796            CollectionNode tu = null;
8797    
8798            ASTNode ti = null;
8799    
8800    
8801            try {
8802                    // /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 )
8803                    int alt108=2;
8804                    int LA108_0 = input.LA(1);
8805    
8806                    if ( ((LA108_0>=FORCED_END_OF_LINE && LA108_0<=WIKI)||LA108_0==POUND||LA108_0==EQUAL||(LA108_0>=FORCED_LINEBREAK && LA108_0<=78)) ) {
8807                    alt108=1;
8808                    }
8809                    else if ( ((LA108_0>=LINK_OPEN && LA108_0<=EXTENSION)) ) {
8810                    alt108=2;
8811                    }
8812                    else {
8813                    if (backtracking>0) {failed=true; return content;}
8814                    NoViableAltException nvae =
8815                            new NoViableAltException("499:1: table_unformattedelement returns [ASTNode content = null] : (tu= table_unformatted | ti= table_inlineelement );", 108, 0, input);
8816    
8817                    throw nvae;
8818                    }
8819                    switch (alt108) {
8820                    case 1 :
8821                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:500:4: tu= table_unformatted
8822                            {
8823                            pushFollow(FOLLOW_table_unformatted_in_table_unformattedelement2880);
8824                            tu=table_unformatted();
8825                            _fsp--;
8826                            if (failed) return content;
8827                            if ( backtracking==0 ) {
8828                              content = new UnformattedTextNode(tu);
8829                            }
8830    
8831                            }
8832                            break;
8833                    case 2 :
8834                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:501:4: ti= table_inlineelement
8835                            {
8836                            pushFollow(FOLLOW_table_inlineelement_in_table_unformattedelement2892);
8837                            ti=table_inlineelement();
8838                            _fsp--;
8839                            if (failed) return content;
8840                            if ( backtracking==0 ) {
8841                              content = ti;
8842                            }
8843    
8844                            }
8845                            break;
8846    
8847                    }
8848            }
8849            catch (RecognitionException re) {
8850                    reportError(re);
8851                    recover(input,re);
8852            }
8853            finally {
8854            }
8855            return content;
8856            }
8857            // $ANTLR end table_unformattedelement
8858    
8859    
8860            // $ANTLR start table_inlineelement
8861            // /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 );
8862            public final ASTNode table_inlineelement() throws RecognitionException {
8863            ASTNode element =  null;
8864    
8865            LinkNode l = null;
8866    
8867            ImageNode i = null;
8868    
8869            ASTNode e = null;
8870    
8871            NoWikiSectionNode nw = null;
8872    
8873    
8874            try {
8875                    // /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 )
8876                    int alt109=4;
8877                    switch ( input.LA(1) ) {
8878                    case LINK_OPEN:
8879                    {
8880                    alt109=1;
8881                    }
8882                    break;
8883                    case IMAGE_OPEN:
8884                    {
8885                    alt109=2;
8886                    }
8887                    break;
8888                    case EXTENSION:
8889                    {
8890                    alt109=3;
8891                    }
8892                    break;
8893                    case NOWIKI_OPEN:
8894                    {
8895                    alt109=4;
8896                    }
8897                    break;
8898                    default:
8899                    if (backtracking>0) {failed=true; return element;}
8900                    NoViableAltException nvae =
8901                            new NoViableAltException("503:1: table_inlineelement returns [ASTNode element = null] : (l= link | i= image | e= extension | nw= nowiki_inline );", 109, 0, input);
8902    
8903                    throw nvae;
8904                    }
8905    
8906                    switch (alt109) {
8907                    case 1 :
8908                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:504:4: l= link
8909                            {
8910                            pushFollow(FOLLOW_link_in_table_inlineelement2913);
8911                            l=link();
8912                            _fsp--;
8913                            if (failed) return element;
8914                            if ( backtracking==0 ) {
8915                              element = l; 
8916                            }
8917    
8918                            }
8919                            break;
8920                    case 2 :
8921                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:505:4: i= image
8922                            {
8923                            pushFollow(FOLLOW_image_in_table_inlineelement2923);
8924                            i=image();
8925                            _fsp--;
8926                            if (failed) return element;
8927                            if ( backtracking==0 ) {
8928                              element = i; 
8929                            }
8930    
8931                            }
8932                            break;
8933                    case 3 :
8934                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:506:4: e= extension
8935                            {
8936                            pushFollow(FOLLOW_extension_in_table_inlineelement2934);
8937                            e=extension();
8938                            _fsp--;
8939                            if (failed) return element;
8940                            if ( backtracking==0 ) {
8941                              element = e; 
8942                            }
8943    
8944                            }
8945                            break;
8946                    case 4 :
8947                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:507:4: nw= nowiki_inline
8948                            {
8949                            pushFollow(FOLLOW_nowiki_inline_in_table_inlineelement2944);
8950                            nw=nowiki_inline();
8951                            _fsp--;
8952                            if (failed) return element;
8953                            if ( backtracking==0 ) {
8954                              element = nw; 
8955                            }
8956    
8957                            }
8958                            break;
8959    
8960                    }
8961            }
8962            catch (RecognitionException re) {
8963                    reportError(re);
8964                    recover(input,re);
8965            }
8966            finally {
8967            }
8968            return element;
8969            }
8970            // $ANTLR end table_inlineelement
8971    
8972    
8973            // $ANTLR start table_unformatted
8974            // /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 )+ );
8975            public final CollectionNode table_unformatted() throws RecognitionException {
8976            CollectionNode text =  new CollectionNode();
8977    
8978            StringBundler t = null;
8979    
8980            ScapedNode e = null;
8981    
8982    
8983            try {
8984                    // /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 )+ )
8985                    int alt111=2;
8986                    int LA111_0 = input.LA(1);
8987    
8988                    if ( ((LA111_0>=FORCED_END_OF_LINE && LA111_0<=WIKI)||LA111_0==POUND||LA111_0==EQUAL||(LA111_0>=NOWIKI_BLOCK_CLOSE && LA111_0<=78)) ) {
8989                    alt111=1;
8990                    }
8991                    else if ( ((LA111_0>=FORCED_LINEBREAK && LA111_0<=ESCAPE)) ) {
8992                    alt111=2;
8993                    }
8994                    else {
8995                    if (backtracking>0) {failed=true; return text;}
8996                    NoViableAltException nvae =
8997                            new NoViableAltException("509:1: table_unformatted returns [CollectionNode text = new CollectionNode()] : (t= table_unformatted_text | ( forced_linebreak | e= escaped )+ );", 111, 0, input);
8998    
8999                    throw nvae;
9000                    }
9001                    switch (alt111) {
9002                    case 1 :
9003                            // /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
9004                            {
9005                            pushFollow(FOLLOW_table_unformatted_text_in_table_unformatted2966);
9006                            t=table_unformatted_text();
9007                            _fsp--;
9008                            if (failed) return text;
9009                            if ( backtracking==0 ) {
9010                               text.add(new UnformattedTextNode(t.toString()));
9011                            }
9012    
9013                            }
9014                            break;
9015                    case 2 :
9016                            // /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 )+
9017                            {
9018                            // /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 )+
9019                            int cnt110=0;
9020                            loop110:
9021                            do {
9022                            int alt110=3;
9023                            int LA110_0 = input.LA(1);
9024    
9025                            if ( (LA110_0==FORCED_LINEBREAK) ) {
9026                                    alt110=1;
9027                            }
9028                            else if ( (LA110_0==ESCAPE) ) {
9029                                    alt110=2;
9030                            }
9031    
9032    
9033                            switch (alt110) {
9034                            case 1 :
9035                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:511:6: forced_linebreak
9036                                    {
9037                                    pushFollow(FOLLOW_forced_linebreak_in_table_unformatted2975);
9038                                    forced_linebreak();
9039                                    _fsp--;
9040                                    if (failed) return text;
9041                                    if ( backtracking==0 ) {
9042                                      text.add(new ForcedEndOfLineNode());
9043                                    }
9044    
9045                                    }
9046                                    break;
9047                            case 2 :
9048                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:512:5: e= escaped
9049                                    {
9050                                    pushFollow(FOLLOW_escaped_in_table_unformatted2988);
9051                                    e=escaped();
9052                                    _fsp--;
9053                                    if (failed) return text;
9054                                    if ( backtracking==0 ) {
9055                                      text.add(e);
9056                                    }
9057    
9058                                    }
9059                                    break;
9060    
9061                            default :
9062                                    if ( cnt110 >= 1 ) break loop110;
9063                                    if (backtracking>0) {failed=true; return text;}
9064                                    EarlyExitException eee =
9065                                            new EarlyExitException(110, input);
9066                                    throw eee;
9067                            }
9068                            cnt110++;
9069                            } while (true);
9070    
9071    
9072                            }
9073                            break;
9074    
9075                    }
9076            }
9077            catch (RecognitionException re) {
9078                    reportError(re);
9079                    recover(input,re);
9080            }
9081            finally {
9082            }
9083            return text;
9084            }
9085            // $ANTLR end table_unformatted
9086    
9087    
9088            // $ANTLR start table_unformatted_text
9089            // /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 ) )+ ;
9090            public final StringBundler table_unformatted_text() throws RecognitionException {
9091            StringBundler text =  new StringBundler();
9092    
9093            Token c=null;
9094    
9095            try {
9096                    // /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 ) )+ )
9097                    // /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 ) )+
9098                    {
9099                    // /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 ) )+
9100                    int cnt112=0;
9101                    loop112:
9102                    do {
9103                    int alt112=2;
9104                    int LA112_0 = input.LA(1);
9105    
9106                    if ( ((LA112_0>=FORCED_END_OF_LINE && LA112_0<=WIKI)||LA112_0==POUND||LA112_0==EQUAL||(LA112_0>=NOWIKI_BLOCK_CLOSE && LA112_0<=78)) ) {
9107                            alt112=1;
9108                    }
9109    
9110    
9111                    switch (alt112) {
9112                    case 1 :
9113                            // /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 )
9114                            {
9115                            c=(Token)input.LT(1);
9116                            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)<=78) ) {
9117                            input.consume();
9118                            errorRecovery=false;failed=false;
9119                            }
9120                            else {
9121                            if (backtracking>0) {failed=true; return text;}
9122                            MismatchedSetException mse =
9123                                    new MismatchedSetException(null,input);
9124                            recoverFromMismatchedSet(input,mse,FOLLOW_set_in_table_unformatted_text3014);    throw mse;
9125                            }
9126    
9127                            if ( backtracking==0 ) {
9128                              text.append(c.getText());
9129                            }
9130    
9131                            }
9132                            break;
9133    
9134                    default :
9135                            if ( cnt112 >= 1 ) break loop112;
9136                            if (backtracking>0) {failed=true; return text;}
9137                            EarlyExitException eee =
9138                                    new EarlyExitException(112, input);
9139                            throw eee;
9140                    }
9141                    cnt112++;
9142                    } while (true);
9143    
9144    
9145                    }
9146    
9147            }
9148            catch (RecognitionException re) {
9149                    reportError(re);
9150                    recover(input,re);
9151            }
9152            finally {
9153            }
9154            return text;
9155            }
9156            // $ANTLR end table_unformatted_text
9157    
9158    
9159            // $ANTLR start nowiki_block
9160            // /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 ;
9161            public final NoWikiSectionNode nowiki_block() throws RecognitionException {
9162            NoWikiSectionNode nowikiNode = null;
9163    
9164            nowiki_block_contents_return contents = null;
9165    
9166    
9167            try {
9168                    // /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 )
9169                    // /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
9170                    {
9171                    pushFollow(FOLLOW_nowikiblock_open_markup_in_nowiki_block3111);
9172                    nowikiblock_open_markup();
9173                    _fsp--;
9174                    if (failed) return nowikiNode;
9175                    pushFollow(FOLLOW_nowiki_block_contents_in_nowiki_block3118);
9176                    contents=nowiki_block_contents();
9177                    _fsp--;
9178                    if (failed) return nowikiNode;
9179                    if ( backtracking==0 ) {
9180                      nowikiNode = new NoWikiSectionNode(input.toString(contents.start,contents.stop).toString());
9181                    }
9182                    pushFollow(FOLLOW_nowikiblock_close_markup_in_nowiki_block3124);
9183                    nowikiblock_close_markup();
9184                    _fsp--;
9185                    if (failed) return nowikiNode;
9186                    pushFollow(FOLLOW_paragraph_separator_in_nowiki_block3127);
9187                    paragraph_separator();
9188                    _fsp--;
9189                    if (failed) return nowikiNode;
9190    
9191                    }
9192    
9193            }
9194            catch (RecognitionException re) {
9195                    reportError(re);
9196                    recover(input,re);
9197            }
9198            finally {
9199            }
9200            return nowikiNode;
9201            }
9202            // $ANTLR end nowiki_block
9203    
9204    
9205            // $ANTLR start nowikiblock_open_markup
9206            // /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 ;
9207            public final void nowikiblock_open_markup() throws RecognitionException {
9208            try {
9209                    // /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 )
9210                    // /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
9211                    {
9212                    pushFollow(FOLLOW_nowiki_open_markup_in_nowikiblock_open_markup3142);
9213                    nowiki_open_markup();
9214                    _fsp--;
9215                    if (failed) return ;
9216                    pushFollow(FOLLOW_newline_in_nowikiblock_open_markup3145);
9217                    newline();
9218                    _fsp--;
9219                    if (failed) return ;
9220    
9221                    }
9222    
9223            }
9224            catch (RecognitionException re) {
9225                    reportError(re);
9226                    recover(input,re);
9227            }
9228            finally {
9229            }
9230            return ;
9231            }
9232            // $ANTLR end nowikiblock_open_markup
9233    
9234    
9235            // $ANTLR start nowikiblock_close_markup
9236            // /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 ;
9237            public final void nowikiblock_close_markup() throws RecognitionException {
9238            try {
9239                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:540:2: ( NOWIKI_BLOCK_CLOSE )
9240                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:540:4: NOWIKI_BLOCK_CLOSE
9241                    {
9242                    match(input,NOWIKI_BLOCK_CLOSE,FOLLOW_NOWIKI_BLOCK_CLOSE_in_nowikiblock_close_markup3157); if (failed) return ;
9243    
9244                    }
9245    
9246            }
9247            catch (RecognitionException re) {
9248                    reportError(re);
9249                    recover(input,re);
9250            }
9251            finally {
9252            }
9253            return ;
9254            }
9255            // $ANTLR end nowikiblock_close_markup
9256    
9257    
9258            // $ANTLR start nowiki_inline
9259            // /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 ;
9260            public final NoWikiSectionNode nowiki_inline() throws RecognitionException {
9261            NoWikiSectionNode nowiki =  null;
9262    
9263            StringBundler t = null;
9264    
9265    
9266            try {
9267                    // /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 )
9268                    // /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
9269                    {
9270                    pushFollow(FOLLOW_nowiki_open_markup_in_nowiki_inline3172);
9271                    nowiki_open_markup();
9272                    _fsp--;
9273                    if (failed) return nowiki;
9274                    pushFollow(FOLLOW_nowiki_inline_contents_in_nowiki_inline3179);
9275                    t=nowiki_inline_contents();
9276                    _fsp--;
9277                    if (failed) return nowiki;
9278                    pushFollow(FOLLOW_nowiki_close_markup_in_nowiki_inline3184);
9279                    nowiki_close_markup();
9280                    _fsp--;
9281                    if (failed) return nowiki;
9282                    if ( backtracking==0 ) {
9283                      nowiki = new NoWikiSectionNode(t.toString());
9284                    }
9285    
9286                    }
9287    
9288            }
9289            catch (RecognitionException re) {
9290                    reportError(re);
9291                    recover(input,re);
9292            }
9293            finally {
9294            }
9295            return nowiki;
9296            }
9297            // $ANTLR end nowiki_inline
9298    
9299            public static class nowiki_block_contents_return extends ParserRuleReturnScope {
9300            public StringBundler contents = new StringBundler();
9301            };
9302    
9303            // $ANTLR start nowiki_block_contents
9304            // /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 ) )* ;
9305            public final nowiki_block_contents_return nowiki_block_contents() throws RecognitionException {
9306            nowiki_block_contents_return retval = new nowiki_block_contents_return();
9307            retval.start = input.LT(1);
9308    
9309            Token c=null;
9310    
9311            try {
9312                    // /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 ) )* )
9313                    // /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 ) )*
9314                    {
9315                    // /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 ) )*
9316                    loop113:
9317                    do {
9318                    int alt113=2;
9319                    int LA113_0 = input.LA(1);
9320    
9321                    if ( ((LA113_0>=FORCED_END_OF_LINE && LA113_0<=ESCAPE)||(LA113_0>=NOWIKI_CLOSE && LA113_0<=78)) ) {
9322                            alt113=1;
9323                    }
9324    
9325    
9326                    switch (alt113) {
9327                    case 1 :
9328                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:548:5: c=~ ( NOWIKI_BLOCK_CLOSE | EOF )
9329                            {
9330                            c=(Token)input.LT(1);
9331                            if ( (input.LA(1)>=FORCED_END_OF_LINE && input.LA(1)<=ESCAPE)||(input.LA(1)>=NOWIKI_CLOSE && input.LA(1)<=78) ) {
9332                            input.consume();
9333                            errorRecovery=false;failed=false;
9334                            }
9335                            else {
9336                            if (backtracking>0) {failed=true; return retval;}
9337                            MismatchedSetException mse =
9338                                    new MismatchedSetException(null,input);
9339                            recoverFromMismatchedSet(input,mse,FOLLOW_set_in_nowiki_block_contents3204);    throw mse;
9340                            }
9341    
9342                            if ( backtracking==0 ) {
9343                              retval.contents.append(c.getText());
9344                            }
9345    
9346                            }
9347                            break;
9348    
9349                    default :
9350                            break loop113;
9351                    }
9352                    } while (true);
9353    
9354    
9355                    }
9356    
9357                    retval.stop = input.LT(-1);
9358    
9359            }
9360            catch (RecognitionException re) {
9361                    reportError(re);
9362                    recover(input,re);
9363            }
9364            finally {
9365            }
9366            return retval;
9367            }
9368            // $ANTLR end nowiki_block_contents
9369    
9370    
9371            // $ANTLR start nowiki_inline_contents
9372            // /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 ) )* ;
9373            public final StringBundler nowiki_inline_contents() throws RecognitionException {
9374            StringBundler text =  new StringBundler();
9375    
9376            Token c=null;
9377    
9378            try {
9379                    // /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 ) )* )
9380                    // /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 ) )*
9381                    {
9382                    // /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 ) )*
9383                    loop114:
9384                    do {
9385                    int alt114=2;
9386                    int LA114_0 = input.LA(1);
9387    
9388                    if ( ((LA114_0>=FORCED_END_OF_LINE && LA114_0<=WIKI)||(LA114_0>=POUND && LA114_0<=NOWIKI_BLOCK_CLOSE)||(LA114_0>=LINK_CLOSE && LA114_0<=78)) ) {
9389                            alt114=1;
9390                    }
9391    
9392    
9393                    switch (alt114) {
9394                    case 1 :
9395                            // /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 )
9396                            {
9397                            c=(Token)input.LT(1);
9398                            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)<=78) ) {
9399                            input.consume();
9400                            errorRecovery=false;failed=false;
9401                            }
9402                            else {
9403                            if (backtracking>0) {failed=true; return text;}
9404                            MismatchedSetException mse =
9405                                    new MismatchedSetException(null,input);
9406                            recoverFromMismatchedSet(input,mse,FOLLOW_set_in_nowiki_inline_contents3238);    throw mse;
9407                            }
9408    
9409                            if ( backtracking==0 ) {
9410                               text.append(c.getText()); 
9411                            }
9412    
9413                            }
9414                            break;
9415    
9416                    default :
9417                            break loop114;
9418                    }
9419                    } while (true);
9420    
9421    
9422                    }
9423    
9424            }
9425            catch (RecognitionException re) {
9426                    reportError(re);
9427                    recover(input,re);
9428            }
9429            finally {
9430            }
9431            return text;
9432            }
9433            // $ANTLR end nowiki_inline_contents
9434    
9435    
9436            // $ANTLR start horizontalrule
9437            // /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 ;
9438            public final ASTNode horizontalrule() throws RecognitionException {
9439            ASTNode horizontal =  null;
9440    
9441            try {
9442                    // /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 )
9443                    // /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
9444                    {
9445                    pushFollow(FOLLOW_horizontalrule_markup_in_horizontalrule3275);
9446                    horizontalrule_markup();
9447                    _fsp--;
9448                    if (failed) return horizontal;
9449                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:560:27: ( blanks )?
9450                    int alt115=2;
9451                    int LA115_0 = input.LA(1);
9452    
9453                    if ( (LA115_0==BLANKS) ) {
9454                    alt115=1;
9455                    }
9456                    switch (alt115) {
9457                    case 1 :
9458                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:560:29: blanks
9459                            {
9460                            pushFollow(FOLLOW_blanks_in_horizontalrule3280);
9461                            blanks();
9462                            _fsp--;
9463                            if (failed) return horizontal;
9464    
9465                            }
9466                            break;
9467    
9468                    }
9469    
9470                    pushFollow(FOLLOW_paragraph_separator_in_horizontalrule3286);
9471                    paragraph_separator();
9472                    _fsp--;
9473                    if (failed) return horizontal;
9474                    if ( backtracking==0 ) {
9475                      horizontal = new HorizontalNode();
9476                    }
9477    
9478                    }
9479    
9480            }
9481            catch (RecognitionException re) {
9482                    reportError(re);
9483                    recover(input,re);
9484            }
9485            finally {
9486            }
9487            return horizontal;
9488            }
9489            // $ANTLR end horizontalrule
9490    
9491    
9492            // $ANTLR start link
9493            // /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 ;
9494            public final LinkNode link() throws RecognitionException {
9495            LinkNode link =  null;
9496    
9497            LinkNode a = null;
9498    
9499            CollectionNode d = null;
9500    
9501    
9502            try {
9503                    // /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 )
9504                    // /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
9505                    {
9506                    pushFollow(FOLLOW_link_open_markup_in_link3308);
9507                    link_open_markup();
9508                    _fsp--;
9509                    if (failed) return link;
9510                    pushFollow(FOLLOW_link_address_in_link3314);
9511                    a=link_address();
9512                    _fsp--;
9513                    if (failed) return link;
9514                    if ( backtracking==0 ) {
9515                      link = a; 
9516                    }
9517                    // /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 )?
9518                    int alt116=2;
9519                    int LA116_0 = input.LA(1);
9520    
9521                    if ( (LA116_0==PIPE) ) {
9522                    alt116=1;
9523                    }
9524                    switch (alt116) {
9525                    case 1 :
9526                            // /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
9527                            {
9528                            pushFollow(FOLLOW_link_description_markup_in_link3320);
9529                            link_description_markup();
9530                            _fsp--;
9531                            if (failed) return link;
9532                            pushFollow(FOLLOW_link_description_in_link3330);
9533                            d=link_description();
9534                            _fsp--;
9535                            if (failed) return link;
9536                            if ( backtracking==0 ) {
9537    
9538                                            if(link == null) { // recover from possible errors
9539                                                    link = new LinkNode();
9540                                            }
9541                                            link.setAltCollectionNode(d); 
9542                                            
9543                                            
9544                            }
9545    
9546                            }
9547                            break;
9548    
9549                    }
9550    
9551                    pushFollow(FOLLOW_link_close_markup_in_link3338);
9552                    link_close_markup();
9553                    _fsp--;
9554                    if (failed) return link;
9555    
9556                    }
9557    
9558            }
9559            catch (RecognitionException re) {
9560                    reportError(re);
9561                    recover(input,re);
9562            }
9563            finally {
9564            }
9565            return link;
9566            }
9567            // $ANTLR end link
9568    
9569    
9570            // $ANTLR start link_address
9571            // /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 );
9572            public final LinkNode link_address() throws RecognitionException {
9573            LinkNode link = null;
9574    
9575            InterwikiLinkNode li = null;
9576    
9577            StringBundler p = null;
9578    
9579            StringBundler lu = null;
9580    
9581    
9582            try {
9583                    // /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 )
9584                    int alt117=2;
9585                    switch ( input.LA(1) ) {
9586                    case 44:
9587                    {
9588                    int LA117_1 = input.LA(2);
9589    
9590                    if ( (LA117_1==45) ) {
9591                            int LA117_16 = input.LA(3);
9592    
9593                            if ( (LA117_16==43) ) {
9594                            int LA117_34 = input.LA(4);
9595    
9596                            if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
9597                                    alt117=2;
9598                            }
9599                            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<=78)) ) {
9600                                    alt117=1;
9601                            }
9602                            else {
9603                                    if (backtracking>0) {failed=true; return link;}
9604                                    NoViableAltException nvae =
9605                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
9606    
9607                                    throw nvae;
9608                            }
9609                            }
9610                            else if ( ((LA117_16>=FORCED_END_OF_LINE && LA117_16<=WIKI)||(LA117_16>=POUND && LA117_16<=INSIGNIFICANT_CHAR)||(LA117_16>=44 && LA117_16<=78)) ) {
9611                            alt117=2;
9612                            }
9613                            else {
9614                            if (backtracking>0) {failed=true; return link;}
9615                            NoViableAltException nvae =
9616                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 16, input);
9617    
9618                            throw nvae;
9619                            }
9620                    }
9621                    else if ( ((LA117_1>=FORCED_END_OF_LINE && LA117_1<=WIKI)||(LA117_1>=POUND && LA117_1<=44)||(LA117_1>=46 && LA117_1<=78)) ) {
9622                            alt117=2;
9623                    }
9624                    else {
9625                            if (backtracking>0) {failed=true; return link;}
9626                            NoViableAltException nvae =
9627                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 1, input);
9628    
9629                            throw nvae;
9630                    }
9631                    }
9632                    break;
9633                    case 46:
9634                    {
9635                    int LA117_2 = input.LA(2);
9636    
9637                    if ( (LA117_2==47) ) {
9638                            int LA117_17 = input.LA(3);
9639    
9640                            if ( (LA117_17==48) ) {
9641                            int LA117_35 = input.LA(4);
9642    
9643                            if ( (LA117_35==49) ) {
9644                                    int LA117_55 = input.LA(5);
9645    
9646                                    if ( (LA117_55==50) ) {
9647                                    int LA117_74 = input.LA(6);
9648    
9649                                    if ( (LA117_74==51) ) {
9650                                            int LA117_93 = input.LA(7);
9651    
9652                                            if ( (LA117_93==48) ) {
9653                                            int LA117_109 = input.LA(8);
9654    
9655                                            if ( (LA117_109==51) ) {
9656                                                    int LA117_120 = input.LA(9);
9657    
9658                                                    if ( (LA117_120==43) ) {
9659                                                    int LA117_34 = input.LA(10);
9660    
9661                                                    if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
9662                                                            alt117=2;
9663                                                    }
9664                                                    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<=78)) ) {
9665                                                            alt117=1;
9666                                                    }
9667                                                    else {
9668                                                            if (backtracking>0) {failed=true; return link;}
9669                                                            NoViableAltException nvae =
9670                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
9671    
9672                                                            throw nvae;
9673                                                    }
9674                                                    }
9675                                                    else if ( ((LA117_120>=FORCED_END_OF_LINE && LA117_120<=WIKI)||(LA117_120>=POUND && LA117_120<=INSIGNIFICANT_CHAR)||(LA117_120>=44 && LA117_120<=78)) ) {
9676                                                    alt117=2;
9677                                                    }
9678                                                    else {
9679                                                    if (backtracking>0) {failed=true; return link;}
9680                                                    NoViableAltException nvae =
9681                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 120, input);
9682    
9683                                                    throw nvae;
9684                                                    }
9685                                            }
9686                                            else if ( ((LA117_109>=FORCED_END_OF_LINE && LA117_109<=WIKI)||(LA117_109>=POUND && LA117_109<=50)||(LA117_109>=52 && LA117_109<=78)) ) {
9687                                                    alt117=2;
9688                                            }
9689                                            else {
9690                                                    if (backtracking>0) {failed=true; return link;}
9691                                                    NoViableAltException nvae =
9692                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 109, input);
9693    
9694                                                    throw nvae;
9695                                            }
9696                                            }
9697                                            else if ( ((LA117_93>=FORCED_END_OF_LINE && LA117_93<=WIKI)||(LA117_93>=POUND && LA117_93<=47)||(LA117_93>=49 && LA117_93<=78)) ) {
9698                                            alt117=2;
9699                                            }
9700                                            else {
9701                                            if (backtracking>0) {failed=true; return link;}
9702                                            NoViableAltException nvae =
9703                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 93, input);
9704    
9705                                            throw nvae;
9706                                            }
9707                                    }
9708                                    else if ( ((LA117_74>=FORCED_END_OF_LINE && LA117_74<=WIKI)||(LA117_74>=POUND && LA117_74<=50)||(LA117_74>=52 && LA117_74<=78)) ) {
9709                                            alt117=2;
9710                                    }
9711                                    else {
9712                                            if (backtracking>0) {failed=true; return link;}
9713                                            NoViableAltException nvae =
9714                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 74, input);
9715    
9716                                            throw nvae;
9717                                    }
9718                                    }
9719                                    else if ( ((LA117_55>=FORCED_END_OF_LINE && LA117_55<=WIKI)||(LA117_55>=POUND && LA117_55<=49)||(LA117_55>=51 && LA117_55<=78)) ) {
9720                                    alt117=2;
9721                                    }
9722                                    else {
9723                                    if (backtracking>0) {failed=true; return link;}
9724                                    NoViableAltException nvae =
9725                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 55, input);
9726    
9727                                    throw nvae;
9728                                    }
9729                            }
9730                            else if ( ((LA117_35>=FORCED_END_OF_LINE && LA117_35<=WIKI)||(LA117_35>=POUND && LA117_35<=48)||(LA117_35>=50 && LA117_35<=78)) ) {
9731                                    alt117=2;
9732                            }
9733                            else {
9734                                    if (backtracking>0) {failed=true; return link;}
9735                                    NoViableAltException nvae =
9736                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 35, input);
9737    
9738                                    throw nvae;
9739                            }
9740                            }
9741                            else if ( ((LA117_17>=FORCED_END_OF_LINE && LA117_17<=WIKI)||(LA117_17>=POUND && LA117_17<=47)||(LA117_17>=49 && LA117_17<=78)) ) {
9742                            alt117=2;
9743                            }
9744                            else {
9745                            if (backtracking>0) {failed=true; return link;}
9746                            NoViableAltException nvae =
9747                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 17, input);
9748    
9749                            throw nvae;
9750                            }
9751                    }
9752                    else if ( ((LA117_2>=FORCED_END_OF_LINE && LA117_2<=WIKI)||(LA117_2>=POUND && LA117_2<=46)||(LA117_2>=48 && LA117_2<=78)) ) {
9753                            alt117=2;
9754                    }
9755                    else {
9756                            if (backtracking>0) {failed=true; return link;}
9757                            NoViableAltException nvae =
9758                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 2, input);
9759    
9760                            throw nvae;
9761                    }
9762                    }
9763                    break;
9764                    case 52:
9765                    {
9766                    int LA117_3 = input.LA(2);
9767    
9768                    if ( (LA117_3==53) ) {
9769                            int LA117_18 = input.LA(3);
9770    
9771                            if ( (LA117_18==51) ) {
9772                            int LA117_36 = input.LA(4);
9773    
9774                            if ( (LA117_36==54) ) {
9775                                    int LA117_56 = input.LA(5);
9776    
9777                                    if ( (LA117_56==48) ) {
9778                                    int LA117_75 = input.LA(6);
9779    
9780                                    if ( (LA117_75==55) ) {
9781                                            int LA117_94 = input.LA(7);
9782    
9783                                            if ( (LA117_94==43) ) {
9784                                            int LA117_34 = input.LA(8);
9785    
9786                                            if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
9787                                                    alt117=2;
9788                                            }
9789                                            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<=78)) ) {
9790                                                    alt117=1;
9791                                            }
9792                                            else {
9793                                                    if (backtracking>0) {failed=true; return link;}
9794                                                    NoViableAltException nvae =
9795                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
9796    
9797                                                    throw nvae;
9798                                            }
9799                                            }
9800                                            else if ( ((LA117_94>=FORCED_END_OF_LINE && LA117_94<=WIKI)||(LA117_94>=POUND && LA117_94<=INSIGNIFICANT_CHAR)||(LA117_94>=44 && LA117_94<=78)) ) {
9801                                            alt117=2;
9802                                            }
9803                                            else {
9804                                            if (backtracking>0) {failed=true; return link;}
9805                                            NoViableAltException nvae =
9806                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 94, input);
9807    
9808                                            throw nvae;
9809                                            }
9810                                    }
9811                                    else if ( ((LA117_75>=FORCED_END_OF_LINE && LA117_75<=WIKI)||(LA117_75>=POUND && LA117_75<=54)||(LA117_75>=56 && LA117_75<=78)) ) {
9812                                            alt117=2;
9813                                    }
9814                                    else {
9815                                            if (backtracking>0) {failed=true; return link;}
9816                                            NoViableAltException nvae =
9817                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 75, input);
9818    
9819                                            throw nvae;
9820                                    }
9821                                    }
9822                                    else if ( ((LA117_56>=FORCED_END_OF_LINE && LA117_56<=WIKI)||(LA117_56>=POUND && LA117_56<=47)||(LA117_56>=49 && LA117_56<=78)) ) {
9823                                    alt117=2;
9824                                    }
9825                                    else {
9826                                    if (backtracking>0) {failed=true; return link;}
9827                                    NoViableAltException nvae =
9828                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 56, input);
9829    
9830                                    throw nvae;
9831                                    }
9832                            }
9833                            else if ( ((LA117_36>=FORCED_END_OF_LINE && LA117_36<=WIKI)||(LA117_36>=POUND && LA117_36<=53)||(LA117_36>=55 && LA117_36<=78)) ) {
9834                                    alt117=2;
9835                            }
9836                            else {
9837                                    if (backtracking>0) {failed=true; return link;}
9838                                    NoViableAltException nvae =
9839                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 36, input);
9840    
9841                                    throw nvae;
9842                            }
9843                            }
9844                            else if ( ((LA117_18>=FORCED_END_OF_LINE && LA117_18<=WIKI)||(LA117_18>=POUND && LA117_18<=50)||(LA117_18>=52 && LA117_18<=78)) ) {
9845                            alt117=2;
9846                            }
9847                            else {
9848                            if (backtracking>0) {failed=true; return link;}
9849                            NoViableAltException nvae =
9850                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 18, input);
9851    
9852                            throw nvae;
9853                            }
9854                    }
9855                    else if ( ((LA117_3>=FORCED_END_OF_LINE && LA117_3<=WIKI)||(LA117_3>=POUND && LA117_3<=52)||(LA117_3>=54 && LA117_3<=78)) ) {
9856                            alt117=2;
9857                    }
9858                    else {
9859                            if (backtracking>0) {failed=true; return link;}
9860                            NoViableAltException nvae =
9861                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 3, input);
9862    
9863                            throw nvae;
9864                    }
9865                    }
9866                    break;
9867                    case 56:
9868                    {
9869                    int LA117_4 = input.LA(2);
9870    
9871                    if ( (LA117_4==47) ) {
9872                            int LA117_19 = input.LA(3);
9873    
9874                            if ( (LA117_19==47) ) {
9875                            int LA117_37 = input.LA(4);
9876    
9877                            if ( (LA117_37==57) ) {
9878                                    int LA117_57 = input.LA(5);
9879    
9880                                    if ( (LA117_57==53) ) {
9881                                    int LA117_76 = input.LA(6);
9882    
9883                                    if ( (LA117_76==58) ) {
9884                                            int LA117_95 = input.LA(7);
9885    
9886                                            if ( (LA117_95==43) ) {
9887                                            int LA117_34 = input.LA(8);
9888    
9889                                            if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
9890                                                    alt117=2;
9891                                            }
9892                                            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<=78)) ) {
9893                                                    alt117=1;
9894                                            }
9895                                            else {
9896                                                    if (backtracking>0) {failed=true; return link;}
9897                                                    NoViableAltException nvae =
9898                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
9899    
9900                                                    throw nvae;
9901                                            }
9902                                            }
9903                                            else if ( ((LA117_95>=FORCED_END_OF_LINE && LA117_95<=WIKI)||(LA117_95>=POUND && LA117_95<=INSIGNIFICANT_CHAR)||(LA117_95>=44 && LA117_95<=78)) ) {
9904                                            alt117=2;
9905                                            }
9906                                            else {
9907                                            if (backtracking>0) {failed=true; return link;}
9908                                            NoViableAltException nvae =
9909                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 95, input);
9910    
9911                                            throw nvae;
9912                                            }
9913                                    }
9914                                    else if ( ((LA117_76>=FORCED_END_OF_LINE && LA117_76<=WIKI)||(LA117_76>=POUND && LA117_76<=57)||(LA117_76>=59 && LA117_76<=78)) ) {
9915                                            alt117=2;
9916                                    }
9917                                    else {
9918                                            if (backtracking>0) {failed=true; return link;}
9919                                            NoViableAltException nvae =
9920                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 76, input);
9921    
9922                                            throw nvae;
9923                                    }
9924                                    }
9925                                    else if ( ((LA117_57>=FORCED_END_OF_LINE && LA117_57<=WIKI)||(LA117_57>=POUND && LA117_57<=52)||(LA117_57>=54 && LA117_57<=78)) ) {
9926                                    alt117=2;
9927                                    }
9928                                    else {
9929                                    if (backtracking>0) {failed=true; return link;}
9930                                    NoViableAltException nvae =
9931                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 57, input);
9932    
9933                                    throw nvae;
9934                                    }
9935                            }
9936                            else if ( ((LA117_37>=FORCED_END_OF_LINE && LA117_37<=WIKI)||(LA117_37>=POUND && LA117_37<=56)||(LA117_37>=58 && LA117_37<=78)) ) {
9937                                    alt117=2;
9938                            }
9939                            else {
9940                                    if (backtracking>0) {failed=true; return link;}
9941                                    NoViableAltException nvae =
9942                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 37, input);
9943    
9944                                    throw nvae;
9945                            }
9946                            }
9947                            else if ( ((LA117_19>=FORCED_END_OF_LINE && LA117_19<=WIKI)||(LA117_19>=POUND && LA117_19<=46)||(LA117_19>=48 && LA117_19<=78)) ) {
9948                            alt117=2;
9949                            }
9950                            else {
9951                            if (backtracking>0) {failed=true; return link;}
9952                            NoViableAltException nvae =
9953                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 19, input);
9954    
9955                            throw nvae;
9956                            }
9957                    }
9958                    else if ( ((LA117_4>=FORCED_END_OF_LINE && LA117_4<=WIKI)||(LA117_4>=POUND && LA117_4<=46)||(LA117_4>=48 && LA117_4<=78)) ) {
9959                            alt117=2;
9960                    }
9961                    else {
9962                            if (backtracking>0) {failed=true; return link;}
9963                            NoViableAltException nvae =
9964                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 4, input);
9965    
9966                            throw nvae;
9967                    }
9968                    }
9969                    break;
9970                    case 59:
9971                    {
9972                    int LA117_5 = input.LA(2);
9973    
9974                    if ( (LA117_5==60) ) {
9975                            int LA117_20 = input.LA(3);
9976    
9977                            if ( (LA117_20==61) ) {
9978                            int LA117_38 = input.LA(4);
9979    
9980                            if ( (LA117_38==50) ) {
9981                                    int LA117_58 = input.LA(5);
9982    
9983                                    if ( (LA117_58==51) ) {
9984                                    int LA117_77 = input.LA(6);
9985    
9986                                    if ( (LA117_77==48) ) {
9987                                            int LA117_96 = input.LA(7);
9988    
9989                                            if ( (LA117_96==51) ) {
9990                                            int LA117_110 = input.LA(8);
9991    
9992                                            if ( (LA117_110==43) ) {
9993                                                    int LA117_34 = input.LA(9);
9994    
9995                                                    if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
9996                                                    alt117=2;
9997                                                    }
9998                                                    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<=78)) ) {
9999                                                    alt117=1;
10000                                                    }
10001                                                    else {
10002                                                    if (backtracking>0) {failed=true; return link;}
10003                                                    NoViableAltException nvae =
10004                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
10005    
10006                                                    throw nvae;
10007                                                    }
10008                                            }
10009                                            else if ( ((LA117_110>=FORCED_END_OF_LINE && LA117_110<=WIKI)||(LA117_110>=POUND && LA117_110<=INSIGNIFICANT_CHAR)||(LA117_110>=44 && LA117_110<=78)) ) {
10010                                                    alt117=2;
10011                                            }
10012                                            else {
10013                                                    if (backtracking>0) {failed=true; return link;}
10014                                                    NoViableAltException nvae =
10015                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 110, input);
10016    
10017                                                    throw nvae;
10018                                            }
10019                                            }
10020                                            else if ( ((LA117_96>=FORCED_END_OF_LINE && LA117_96<=WIKI)||(LA117_96>=POUND && LA117_96<=50)||(LA117_96>=52 && LA117_96<=78)) ) {
10021                                            alt117=2;
10022                                            }
10023                                            else {
10024                                            if (backtracking>0) {failed=true; return link;}
10025                                            NoViableAltException nvae =
10026                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 96, input);
10027    
10028                                            throw nvae;
10029                                            }
10030                                    }
10031                                    else if ( ((LA117_77>=FORCED_END_OF_LINE && LA117_77<=WIKI)||(LA117_77>=POUND && LA117_77<=47)||(LA117_77>=49 && LA117_77<=78)) ) {
10032                                            alt117=2;
10033                                    }
10034                                    else {
10035                                            if (backtracking>0) {failed=true; return link;}
10036                                            NoViableAltException nvae =
10037                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 77, input);
10038    
10039                                            throw nvae;
10040                                    }
10041                                    }
10042                                    else if ( ((LA117_58>=FORCED_END_OF_LINE && LA117_58<=WIKI)||(LA117_58>=POUND && LA117_58<=50)||(LA117_58>=52 && LA117_58<=78)) ) {
10043                                    alt117=2;
10044                                    }
10045                                    else {
10046                                    if (backtracking>0) {failed=true; return link;}
10047                                    NoViableAltException nvae =
10048                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 58, input);
10049    
10050                                    throw nvae;
10051                                    }
10052                            }
10053                            else if ( ((LA117_38>=FORCED_END_OF_LINE && LA117_38<=WIKI)||(LA117_38>=POUND && LA117_38<=49)||(LA117_38>=51 && LA117_38<=78)) ) {
10054                                    alt117=2;
10055                            }
10056                            else {
10057                                    if (backtracking>0) {failed=true; return link;}
10058                                    NoViableAltException nvae =
10059                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 38, input);
10060    
10061                                    throw nvae;
10062                            }
10063                            }
10064                            else if ( ((LA117_20>=FORCED_END_OF_LINE && LA117_20<=WIKI)||(LA117_20>=POUND && LA117_20<=60)||(LA117_20>=62 && LA117_20<=78)) ) {
10065                            alt117=2;
10066                            }
10067                            else {
10068                            if (backtracking>0) {failed=true; return link;}
10069                            NoViableAltException nvae =
10070                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 20, input);
10071    
10072                            throw nvae;
10073                            }
10074                    }
10075                    else if ( ((LA117_5>=FORCED_END_OF_LINE && LA117_5<=WIKI)||(LA117_5>=POUND && LA117_5<=59)||(LA117_5>=61 && LA117_5<=78)) ) {
10076                            alt117=2;
10077                    }
10078                    else {
10079                            if (backtracking>0) {failed=true; return link;}
10080                            NoViableAltException nvae =
10081                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 5, input);
10082    
10083                            throw nvae;
10084                    }
10085                    }
10086                    break;
10087                    case 62:
10088                    {
10089                    switch ( input.LA(2) ) {
10090                    case 58:
10091                            {
10092                            switch ( input.LA(3) ) {
10093                            case 63:
10094                            {
10095                            int LA117_39 = input.LA(4);
10096    
10097                            if ( (LA117_39==64) ) {
10098                                    int LA117_59 = input.LA(5);
10099    
10100                                    if ( (LA117_59==65) ) {
10101                                    int LA117_78 = input.LA(6);
10102    
10103                                    if ( (LA117_78==63) ) {
10104                                            int LA117_97 = input.LA(7);
10105    
10106                                            if ( (LA117_97==53) ) {
10107                                            int LA117_111 = input.LA(8);
10108    
10109                                            if ( (LA117_111==53) ) {
10110                                                    int LA117_121 = input.LA(9);
10111    
10112                                                    if ( (LA117_121==43) ) {
10113                                                    int LA117_34 = input.LA(10);
10114    
10115                                                    if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
10116                                                            alt117=2;
10117                                                    }
10118                                                    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<=78)) ) {
10119                                                            alt117=1;
10120                                                    }
10121                                                    else {
10122                                                            if (backtracking>0) {failed=true; return link;}
10123                                                            NoViableAltException nvae =
10124                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
10125    
10126                                                            throw nvae;
10127                                                    }
10128                                                    }
10129                                                    else if ( ((LA117_121>=FORCED_END_OF_LINE && LA117_121<=WIKI)||(LA117_121>=POUND && LA117_121<=INSIGNIFICANT_CHAR)||(LA117_121>=44 && LA117_121<=78)) ) {
10130                                                    alt117=2;
10131                                                    }
10132                                                    else {
10133                                                    if (backtracking>0) {failed=true; return link;}
10134                                                    NoViableAltException nvae =
10135                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 121, input);
10136    
10137                                                    throw nvae;
10138                                                    }
10139                                            }
10140                                            else if ( ((LA117_111>=FORCED_END_OF_LINE && LA117_111<=WIKI)||(LA117_111>=POUND && LA117_111<=52)||(LA117_111>=54 && LA117_111<=78)) ) {
10141                                                    alt117=2;
10142                                            }
10143                                            else {
10144                                                    if (backtracking>0) {failed=true; return link;}
10145                                                    NoViableAltException nvae =
10146                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 111, input);
10147    
10148                                                    throw nvae;
10149                                            }
10150                                            }
10151                                            else if ( ((LA117_97>=FORCED_END_OF_LINE && LA117_97<=WIKI)||(LA117_97>=POUND && LA117_97<=52)||(LA117_97>=54 && LA117_97<=78)) ) {
10152                                            alt117=2;
10153                                            }
10154                                            else {
10155                                            if (backtracking>0) {failed=true; return link;}
10156                                            NoViableAltException nvae =
10157                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 97, input);
10158    
10159                                            throw nvae;
10160                                            }
10161                                    }
10162                                    else if ( ((LA117_78>=FORCED_END_OF_LINE && LA117_78<=WIKI)||(LA117_78>=POUND && LA117_78<=62)||(LA117_78>=64 && LA117_78<=78)) ) {
10163                                            alt117=2;
10164                                    }
10165                                    else {
10166                                            if (backtracking>0) {failed=true; return link;}
10167                                            NoViableAltException nvae =
10168                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 78, input);
10169    
10170                                            throw nvae;
10171                                    }
10172                                    }
10173                                    else if ( ((LA117_59>=FORCED_END_OF_LINE && LA117_59<=WIKI)||(LA117_59>=POUND && LA117_59<=64)||(LA117_59>=66 && LA117_59<=78)) ) {
10174                                    alt117=2;
10175                                    }
10176                                    else {
10177                                    if (backtracking>0) {failed=true; return link;}
10178                                    NoViableAltException nvae =
10179                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 59, input);
10180    
10181                                    throw nvae;
10182                                    }
10183                            }
10184                            else if ( ((LA117_39>=FORCED_END_OF_LINE && LA117_39<=WIKI)||(LA117_39>=POUND && LA117_39<=63)||(LA117_39>=65 && LA117_39<=78)) ) {
10185                                    alt117=2;
10186                            }
10187                            else {
10188                                    if (backtracking>0) {failed=true; return link;}
10189                                    NoViableAltException nvae =
10190                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 39, input);
10191    
10192                                    throw nvae;
10193                            }
10194                            }
10195                            break;
10196                            case 66:
10197                            {
10198                            int LA117_40 = input.LA(4);
10199    
10200                            if ( (LA117_40==51) ) {
10201                                    int LA117_60 = input.LA(5);
10202    
10203                                    if ( (LA117_60==63) ) {
10204                                    int LA117_79 = input.LA(6);
10205    
10206                                    if ( (LA117_79==50) ) {
10207                                            int LA117_98 = input.LA(7);
10208    
10209                                            if ( (LA117_98==51) ) {
10210                                            int LA117_112 = input.LA(8);
10211    
10212                                            if ( (LA117_112==48) ) {
10213                                                    int LA117_122 = input.LA(9);
10214    
10215                                                    if ( (LA117_122==51) ) {
10216                                                    int LA117_129 = input.LA(10);
10217    
10218                                                    if ( (LA117_129==43) ) {
10219                                                            int LA117_34 = input.LA(11);
10220    
10221                                                            if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
10222                                                            alt117=2;
10223                                                            }
10224                                                            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<=78)) ) {
10225                                                            alt117=1;
10226                                                            }
10227                                                            else {
10228                                                            if (backtracking>0) {failed=true; return link;}
10229                                                            NoViableAltException nvae =
10230                                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
10231    
10232                                                            throw nvae;
10233                                                            }
10234                                                    }
10235                                                    else if ( ((LA117_129>=FORCED_END_OF_LINE && LA117_129<=WIKI)||(LA117_129>=POUND && LA117_129<=INSIGNIFICANT_CHAR)||(LA117_129>=44 && LA117_129<=78)) ) {
10236                                                            alt117=2;
10237                                                    }
10238                                                    else {
10239                                                            if (backtracking>0) {failed=true; return link;}
10240                                                            NoViableAltException nvae =
10241                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 129, input);
10242    
10243                                                            throw nvae;
10244                                                    }
10245                                                    }
10246                                                    else if ( ((LA117_122>=FORCED_END_OF_LINE && LA117_122<=WIKI)||(LA117_122>=POUND && LA117_122<=50)||(LA117_122>=52 && LA117_122<=78)) ) {
10247                                                    alt117=2;
10248                                                    }
10249                                                    else {
10250                                                    if (backtracking>0) {failed=true; return link;}
10251                                                    NoViableAltException nvae =
10252                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 122, input);
10253    
10254                                                    throw nvae;
10255                                                    }
10256                                            }
10257                                            else if ( ((LA117_112>=FORCED_END_OF_LINE && LA117_112<=WIKI)||(LA117_112>=POUND && LA117_112<=47)||(LA117_112>=49 && LA117_112<=78)) ) {
10258                                                    alt117=2;
10259                                            }
10260                                            else {
10261                                                    if (backtracking>0) {failed=true; return link;}
10262                                                    NoViableAltException nvae =
10263                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 112, input);
10264    
10265                                                    throw nvae;
10266                                            }
10267                                            }
10268                                            else if ( ((LA117_98>=FORCED_END_OF_LINE && LA117_98<=WIKI)||(LA117_98>=POUND && LA117_98<=50)||(LA117_98>=52 && LA117_98<=78)) ) {
10269                                            alt117=2;
10270                                            }
10271                                            else {
10272                                            if (backtracking>0) {failed=true; return link;}
10273                                            NoViableAltException nvae =
10274                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 98, input);
10275    
10276                                            throw nvae;
10277                                            }
10278                                    }
10279                                    else if ( ((LA117_79>=FORCED_END_OF_LINE && LA117_79<=WIKI)||(LA117_79>=POUND && LA117_79<=49)||(LA117_79>=51 && LA117_79<=78)) ) {
10280                                            alt117=2;
10281                                    }
10282                                    else {
10283                                            if (backtracking>0) {failed=true; return link;}
10284                                            NoViableAltException nvae =
10285                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 79, input);
10286    
10287                                            throw nvae;
10288                                    }
10289                                    }
10290                                    else if ( ((LA117_60>=FORCED_END_OF_LINE && LA117_60<=WIKI)||(LA117_60>=POUND && LA117_60<=62)||(LA117_60>=64 && LA117_60<=78)) ) {
10291                                    alt117=2;
10292                                    }
10293                                    else {
10294                                    if (backtracking>0) {failed=true; return link;}
10295                                    NoViableAltException nvae =
10296                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 60, input);
10297    
10298                                    throw nvae;
10299                                    }
10300                            }
10301                            else if ( ((LA117_40>=FORCED_END_OF_LINE && LA117_40<=WIKI)||(LA117_40>=POUND && LA117_40<=50)||(LA117_40>=52 && LA117_40<=78)) ) {
10302                                    alt117=2;
10303                            }
10304                            else {
10305                                    if (backtracking>0) {failed=true; return link;}
10306                                    NoViableAltException nvae =
10307                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 40, input);
10308    
10309                                    throw nvae;
10310                            }
10311                            }
10312                            break;
10313                            case FORCED_END_OF_LINE:
10314                            case HEADING_SECTION:
10315                            case HORIZONTAL_SECTION:
10316                            case LIST_ITEM:
10317                            case LIST_ITEM_PART:
10318                            case NOWIKI_SECTION:
10319                            case SCAPE_NODE:
10320                            case TEXT_NODE:
10321                            case UNORDERED_LIST:
10322                            case UNFORMATTED_TEXT:
10323                            case WIKI:
10324                            case POUND:
10325                            case STAR:
10326                            case EQUAL:
10327                            case PIPE:
10328                            case ITAL:
10329                            case LINK_OPEN:
10330                            case IMAGE_OPEN:
10331                            case NOWIKI_OPEN:
10332                            case EXTENSION:
10333                            case FORCED_LINEBREAK:
10334                            case ESCAPE:
10335                            case NOWIKI_BLOCK_CLOSE:
10336                            case NOWIKI_CLOSE:
10337                            case LINK_CLOSE:
10338                            case IMAGE_CLOSE:
10339                            case BLANKS:
10340                            case TABLE_OF_CONTENTS_TEXT:
10341                            case DASH:
10342                            case CR:
10343                            case LF:
10344                            case SPACE:
10345                            case TABULATOR:
10346                            case COLON_SLASH:
10347                            case SLASH:
10348                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
10349                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
10350                            case INSIGNIFICANT_CHAR:
10351                            case 43:
10352                            case 44:
10353                            case 45:
10354                            case 46:
10355                            case 47:
10356                            case 48:
10357                            case 49:
10358                            case 50:
10359                            case 51:
10360                            case 52:
10361                            case 53:
10362                            case 54:
10363                            case 55:
10364                            case 56:
10365                            case 57:
10366                            case 58:
10367                            case 59:
10368                            case 60:
10369                            case 61:
10370                            case 62:
10371                            case 64:
10372                            case 65:
10373                            case 67:
10374                            case 68:
10375                            case 69:
10376                            case 70:
10377                            case 71:
10378                            case 72:
10379                            case 73:
10380                            case 74:
10381                            case 75:
10382                            case 76:
10383                            case 77:
10384                            case 78:
10385                            {
10386                            alt117=2;
10387                            }
10388                            break;
10389                            default:
10390                            if (backtracking>0) {failed=true; return link;}
10391                            NoViableAltException nvae =
10392                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 21, input);
10393    
10394                            throw nvae;
10395                            }
10396    
10397                            }
10398                            break;
10399                    case 47:
10400                            {
10401                            int LA117_22 = input.LA(3);
10402    
10403                            if ( (LA117_22==51) ) {
10404                            int LA117_41 = input.LA(4);
10405    
10406                            if ( (LA117_41==67) ) {
10407                                    int LA117_61 = input.LA(5);
10408    
10409                                    if ( (LA117_61==62) ) {
10410                                    int LA117_80 = input.LA(6);
10411    
10412                                    if ( (LA117_80==47) ) {
10413                                            int LA117_99 = input.LA(7);
10414    
10415                                            if ( (LA117_99==51) ) {
10416                                            int LA117_113 = input.LA(8);
10417    
10418                                            if ( (LA117_113==67) ) {
10419                                                    int LA117_123 = input.LA(9);
10420    
10421                                                    if ( (LA117_123==43) ) {
10422                                                    int LA117_34 = input.LA(10);
10423    
10424                                                    if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
10425                                                            alt117=2;
10426                                                    }
10427                                                    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<=78)) ) {
10428                                                            alt117=1;
10429                                                    }
10430                                                    else {
10431                                                            if (backtracking>0) {failed=true; return link;}
10432                                                            NoViableAltException nvae =
10433                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
10434    
10435                                                            throw nvae;
10436                                                    }
10437                                                    }
10438                                                    else if ( ((LA117_123>=FORCED_END_OF_LINE && LA117_123<=WIKI)||(LA117_123>=POUND && LA117_123<=INSIGNIFICANT_CHAR)||(LA117_123>=44 && LA117_123<=78)) ) {
10439                                                    alt117=2;
10440                                                    }
10441                                                    else {
10442                                                    if (backtracking>0) {failed=true; return link;}
10443                                                    NoViableAltException nvae =
10444                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 123, input);
10445    
10446                                                    throw nvae;
10447                                                    }
10448                                            }
10449                                            else if ( ((LA117_113>=FORCED_END_OF_LINE && LA117_113<=WIKI)||(LA117_113>=POUND && LA117_113<=66)||(LA117_113>=68 && LA117_113<=78)) ) {
10450                                                    alt117=2;
10451                                            }
10452                                            else {
10453                                                    if (backtracking>0) {failed=true; return link;}
10454                                                    NoViableAltException nvae =
10455                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 113, input);
10456    
10457                                                    throw nvae;
10458                                            }
10459                                            }
10460                                            else if ( ((LA117_99>=FORCED_END_OF_LINE && LA117_99<=WIKI)||(LA117_99>=POUND && LA117_99<=50)||(LA117_99>=52 && LA117_99<=78)) ) {
10461                                            alt117=2;
10462                                            }
10463                                            else {
10464                                            if (backtracking>0) {failed=true; return link;}
10465                                            NoViableAltException nvae =
10466                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 99, input);
10467    
10468                                            throw nvae;
10469                                            }
10470                                    }
10471                                    else if ( ((LA117_80>=FORCED_END_OF_LINE && LA117_80<=WIKI)||(LA117_80>=POUND && LA117_80<=46)||(LA117_80>=48 && LA117_80<=78)) ) {
10472                                            alt117=2;
10473                                    }
10474                                    else {
10475                                            if (backtracking>0) {failed=true; return link;}
10476                                            NoViableAltException nvae =
10477                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 80, input);
10478    
10479                                            throw nvae;
10480                                    }
10481                                    }
10482                                    else if ( ((LA117_61>=FORCED_END_OF_LINE && LA117_61<=WIKI)||(LA117_61>=POUND && LA117_61<=61)||(LA117_61>=63 && LA117_61<=78)) ) {
10483                                    alt117=2;
10484                                    }
10485                                    else {
10486                                    if (backtracking>0) {failed=true; return link;}
10487                                    NoViableAltException nvae =
10488                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 61, input);
10489    
10490                                    throw nvae;
10491                                    }
10492                            }
10493                            else if ( ((LA117_41>=FORCED_END_OF_LINE && LA117_41<=WIKI)||(LA117_41>=POUND && LA117_41<=66)||(LA117_41>=68 && LA117_41<=78)) ) {
10494                                    alt117=2;
10495                            }
10496                            else {
10497                                    if (backtracking>0) {failed=true; return link;}
10498                                    NoViableAltException nvae =
10499                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 41, input);
10500    
10501                                    throw nvae;
10502                            }
10503                            }
10504                            else if ( ((LA117_22>=FORCED_END_OF_LINE && LA117_22<=WIKI)||(LA117_22>=POUND && LA117_22<=50)||(LA117_22>=52 && LA117_22<=78)) ) {
10505                            alt117=2;
10506                            }
10507                            else {
10508                            if (backtracking>0) {failed=true; return link;}
10509                            NoViableAltException nvae =
10510                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 22, input);
10511    
10512                            throw nvae;
10513                            }
10514                            }
10515                            break;
10516                    case FORCED_END_OF_LINE:
10517                    case HEADING_SECTION:
10518                    case HORIZONTAL_SECTION:
10519                    case LIST_ITEM:
10520                    case LIST_ITEM_PART:
10521                    case NOWIKI_SECTION:
10522                    case SCAPE_NODE:
10523                    case TEXT_NODE:
10524                    case UNORDERED_LIST:
10525                    case UNFORMATTED_TEXT:
10526                    case WIKI:
10527                    case POUND:
10528                    case STAR:
10529                    case EQUAL:
10530                    case PIPE:
10531                    case ITAL:
10532                    case LINK_OPEN:
10533                    case IMAGE_OPEN:
10534                    case NOWIKI_OPEN:
10535                    case EXTENSION:
10536                    case FORCED_LINEBREAK:
10537                    case ESCAPE:
10538                    case NOWIKI_BLOCK_CLOSE:
10539                    case NOWIKI_CLOSE:
10540                    case LINK_CLOSE:
10541                    case IMAGE_CLOSE:
10542                    case BLANKS:
10543                    case TABLE_OF_CONTENTS_TEXT:
10544                    case DASH:
10545                    case CR:
10546                    case LF:
10547                    case SPACE:
10548                    case TABULATOR:
10549                    case COLON_SLASH:
10550                    case SLASH:
10551                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
10552                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
10553                    case INSIGNIFICANT_CHAR:
10554                    case 43:
10555                    case 44:
10556                    case 45:
10557                    case 46:
10558                    case 48:
10559                    case 49:
10560                    case 50:
10561                    case 51:
10562                    case 52:
10563                    case 53:
10564                    case 54:
10565                    case 55:
10566                    case 56:
10567                    case 57:
10568                    case 59:
10569                    case 60:
10570                    case 61:
10571                    case 62:
10572                    case 63:
10573                    case 64:
10574                    case 65:
10575                    case 66:
10576                    case 67:
10577                    case 68:
10578                    case 69:
10579                    case 70:
10580                    case 71:
10581                    case 72:
10582                    case 73:
10583                    case 74:
10584                    case 75:
10585                    case 76:
10586                    case 77:
10587                    case 78:
10588                            {
10589                            alt117=2;
10590                            }
10591                            break;
10592                    default:
10593                            if (backtracking>0) {failed=true; return link;}
10594                            NoViableAltException nvae =
10595                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 6, input);
10596    
10597                            throw nvae;
10598                    }
10599    
10600                    }
10601                    break;
10602                    case 68:
10603                    {
10604                    switch ( input.LA(2) ) {
10605                    case 71:
10606                            {
10607                            int LA117_23 = input.LA(3);
10608    
10609                            if ( (LA117_23==63) ) {
10610                            int LA117_42 = input.LA(4);
10611    
10612                            if ( (LA117_42==67) ) {
10613                                    int LA117_62 = input.LA(5);
10614    
10615                                    if ( (LA117_62==63) ) {
10616                                    int LA117_81 = input.LA(6);
10617    
10618                                    if ( (LA117_81==43) ) {
10619                                            int LA117_34 = input.LA(7);
10620    
10621                                            if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
10622                                            alt117=2;
10623                                            }
10624                                            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<=78)) ) {
10625                                            alt117=1;
10626                                            }
10627                                            else {
10628                                            if (backtracking>0) {failed=true; return link;}
10629                                            NoViableAltException nvae =
10630                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
10631    
10632                                            throw nvae;
10633                                            }
10634                                    }
10635                                    else if ( ((LA117_81>=FORCED_END_OF_LINE && LA117_81<=WIKI)||(LA117_81>=POUND && LA117_81<=INSIGNIFICANT_CHAR)||(LA117_81>=44 && LA117_81<=78)) ) {
10636                                            alt117=2;
10637                                    }
10638                                    else {
10639                                            if (backtracking>0) {failed=true; return link;}
10640                                            NoViableAltException nvae =
10641                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 81, input);
10642    
10643                                            throw nvae;
10644                                    }
10645                                    }
10646                                    else if ( ((LA117_62>=FORCED_END_OF_LINE && LA117_62<=WIKI)||(LA117_62>=POUND && LA117_62<=62)||(LA117_62>=64 && LA117_62<=78)) ) {
10647                                    alt117=2;
10648                                    }
10649                                    else {
10650                                    if (backtracking>0) {failed=true; return link;}
10651                                    NoViableAltException nvae =
10652                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 62, input);
10653    
10654                                    throw nvae;
10655                                    }
10656                            }
10657                            else if ( ((LA117_42>=FORCED_END_OF_LINE && LA117_42<=WIKI)||(LA117_42>=POUND && LA117_42<=66)||(LA117_42>=68 && LA117_42<=78)) ) {
10658                                    alt117=2;
10659                            }
10660                            else {
10661                                    if (backtracking>0) {failed=true; return link;}
10662                                    NoViableAltException nvae =
10663                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 42, input);
10664    
10665                                    throw nvae;
10666                            }
10667                            }
10668                            else if ( ((LA117_23>=FORCED_END_OF_LINE && LA117_23<=WIKI)||(LA117_23>=POUND && LA117_23<=62)||(LA117_23>=64 && LA117_23<=78)) ) {
10669                            alt117=2;
10670                            }
10671                            else {
10672                            if (backtracking>0) {failed=true; return link;}
10673                            NoViableAltException nvae =
10674                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 23, input);
10675    
10676                            throw nvae;
10677                            }
10678                            }
10679                            break;
10680                    case 66:
10681                            {
10682                            int LA117_24 = input.LA(3);
10683    
10684                            if ( (LA117_24==66) ) {
10685                            int LA117_43 = input.LA(4);
10686    
10687                            if ( (LA117_43==69) ) {
10688                                    int LA117_63 = input.LA(5);
10689    
10690                                    if ( (LA117_63==49) ) {
10691                                    int LA117_82 = input.LA(6);
10692    
10693                                    if ( (LA117_82==70) ) {
10694                                            int LA117_100 = input.LA(7);
10695    
10696                                            if ( (LA117_100==58) ) {
10697                                            int LA117_114 = input.LA(8);
10698    
10699                                            if ( ((LA117_114>=FORCED_END_OF_LINE && LA117_114<=WIKI)||(LA117_114>=POUND && LA117_114<=INSIGNIFICANT_CHAR)||(LA117_114>=44 && LA117_114<=78)) ) {
10700                                                    alt117=2;
10701                                            }
10702                                            else if ( (LA117_114==43) ) {
10703                                                    int LA117_34 = input.LA(9);
10704    
10705                                                    if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
10706                                                    alt117=2;
10707                                                    }
10708                                                    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<=78)) ) {
10709                                                    alt117=1;
10710                                                    }
10711                                                    else {
10712                                                    if (backtracking>0) {failed=true; return link;}
10713                                                    NoViableAltException nvae =
10714                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
10715    
10716                                                    throw nvae;
10717                                                    }
10718                                            }
10719                                            else {
10720                                                    if (backtracking>0) {failed=true; return link;}
10721                                                    NoViableAltException nvae =
10722                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 114, input);
10723    
10724                                                    throw nvae;
10725                                            }
10726                                            }
10727                                            else if ( ((LA117_100>=FORCED_END_OF_LINE && LA117_100<=WIKI)||(LA117_100>=POUND && LA117_100<=57)||(LA117_100>=59 && LA117_100<=78)) ) {
10728                                            alt117=2;
10729                                            }
10730                                            else {
10731                                            if (backtracking>0) {failed=true; return link;}
10732                                            NoViableAltException nvae =
10733                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 100, input);
10734    
10735                                            throw nvae;
10736                                            }
10737                                    }
10738                                    else if ( ((LA117_82>=FORCED_END_OF_LINE && LA117_82<=WIKI)||(LA117_82>=POUND && LA117_82<=69)||(LA117_82>=71 && LA117_82<=78)) ) {
10739                                            alt117=2;
10740                                    }
10741                                    else {
10742                                            if (backtracking>0) {failed=true; return link;}
10743                                            NoViableAltException nvae =
10744                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 82, input);
10745    
10746                                            throw nvae;
10747                                    }
10748                                    }
10749                                    else if ( ((LA117_63>=FORCED_END_OF_LINE && LA117_63<=WIKI)||(LA117_63>=POUND && LA117_63<=48)||(LA117_63>=50 && LA117_63<=78)) ) {
10750                                    alt117=2;
10751                                    }
10752                                    else {
10753                                    if (backtracking>0) {failed=true; return link;}
10754                                    NoViableAltException nvae =
10755                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 63, input);
10756    
10757                                    throw nvae;
10758                                    }
10759                            }
10760                            else if ( ((LA117_43>=FORCED_END_OF_LINE && LA117_43<=WIKI)||(LA117_43>=POUND && LA117_43<=68)||(LA117_43>=70 && LA117_43<=78)) ) {
10761                                    alt117=2;
10762                            }
10763                            else {
10764                                    if (backtracking>0) {failed=true; return link;}
10765                                    NoViableAltException nvae =
10766                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 43, input);
10767    
10768                                    throw nvae;
10769                            }
10770                            }
10771                            else if ( ((LA117_24>=FORCED_END_OF_LINE && LA117_24<=WIKI)||(LA117_24>=POUND && LA117_24<=65)||(LA117_24>=67 && LA117_24<=78)) ) {
10772                            alt117=2;
10773                            }
10774                            else {
10775                            if (backtracking>0) {failed=true; return link;}
10776                            NoViableAltException nvae =
10777                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 24, input);
10778    
10779                            throw nvae;
10780                            }
10781                            }
10782                            break;
10783                    case FORCED_END_OF_LINE:
10784                    case HEADING_SECTION:
10785                    case HORIZONTAL_SECTION:
10786                    case LIST_ITEM:
10787                    case LIST_ITEM_PART:
10788                    case NOWIKI_SECTION:
10789                    case SCAPE_NODE:
10790                    case TEXT_NODE:
10791                    case UNORDERED_LIST:
10792                    case UNFORMATTED_TEXT:
10793                    case WIKI:
10794                    case POUND:
10795                    case STAR:
10796                    case EQUAL:
10797                    case PIPE:
10798                    case ITAL:
10799                    case LINK_OPEN:
10800                    case IMAGE_OPEN:
10801                    case NOWIKI_OPEN:
10802                    case EXTENSION:
10803                    case FORCED_LINEBREAK:
10804                    case ESCAPE:
10805                    case NOWIKI_BLOCK_CLOSE:
10806                    case NOWIKI_CLOSE:
10807                    case LINK_CLOSE:
10808                    case IMAGE_CLOSE:
10809                    case BLANKS:
10810                    case TABLE_OF_CONTENTS_TEXT:
10811                    case DASH:
10812                    case CR:
10813                    case LF:
10814                    case SPACE:
10815                    case TABULATOR:
10816                    case COLON_SLASH:
10817                    case SLASH:
10818                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
10819                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
10820                    case INSIGNIFICANT_CHAR:
10821                    case 43:
10822                    case 44:
10823                    case 45:
10824                    case 46:
10825                    case 47:
10826                    case 48:
10827                    case 49:
10828                    case 50:
10829                    case 51:
10830                    case 52:
10831                    case 53:
10832                    case 54:
10833                    case 55:
10834                    case 56:
10835                    case 57:
10836                    case 58:
10837                    case 59:
10838                    case 60:
10839                    case 61:
10840                    case 62:
10841                    case 63:
10842                    case 64:
10843                    case 65:
10844                    case 67:
10845                    case 68:
10846                    case 69:
10847                    case 70:
10848                    case 72:
10849                    case 73:
10850                    case 74:
10851                    case 75:
10852                    case 76:
10853                    case 77:
10854                    case 78:
10855                            {
10856                            alt117=2;
10857                            }
10858                            break;
10859                    default:
10860                            if (backtracking>0) {failed=true; return link;}
10861                            NoViableAltException nvae =
10862                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 7, input);
10863    
10864                            throw nvae;
10865                    }
10866    
10867                    }
10868                    break;
10869                    case 61:
10870                    {
10871                    switch ( input.LA(2) ) {
10872                    case 69:
10873                            {
10874                            int LA117_25 = input.LA(3);
10875    
10876                            if ( (LA117_25==50) ) {
10877                            int LA117_44 = input.LA(4);
10878    
10879                            if ( (LA117_44==51) ) {
10880                                    int LA117_64 = input.LA(5);
10881    
10882                                    if ( (LA117_64==48) ) {
10883                                    int LA117_83 = input.LA(6);
10884    
10885                                    if ( (LA117_83==51) ) {
10886                                            int LA117_101 = input.LA(7);
10887    
10888                                            if ( (LA117_101==43) ) {
10889                                            int LA117_34 = input.LA(8);
10890    
10891                                            if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
10892                                                    alt117=2;
10893                                            }
10894                                            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<=78)) ) {
10895                                                    alt117=1;
10896                                            }
10897                                            else {
10898                                                    if (backtracking>0) {failed=true; return link;}
10899                                                    NoViableAltException nvae =
10900                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
10901    
10902                                                    throw nvae;
10903                                            }
10904                                            }
10905                                            else if ( ((LA117_101>=FORCED_END_OF_LINE && LA117_101<=WIKI)||(LA117_101>=POUND && LA117_101<=INSIGNIFICANT_CHAR)||(LA117_101>=44 && LA117_101<=78)) ) {
10906                                            alt117=2;
10907                                            }
10908                                            else {
10909                                            if (backtracking>0) {failed=true; return link;}
10910                                            NoViableAltException nvae =
10911                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 101, input);
10912    
10913                                            throw nvae;
10914                                            }
10915                                    }
10916                                    else if ( ((LA117_83>=FORCED_END_OF_LINE && LA117_83<=WIKI)||(LA117_83>=POUND && LA117_83<=50)||(LA117_83>=52 && LA117_83<=78)) ) {
10917                                            alt117=2;
10918                                    }
10919                                    else {
10920                                            if (backtracking>0) {failed=true; return link;}
10921                                            NoViableAltException nvae =
10922                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 83, input);
10923    
10924                                            throw nvae;
10925                                    }
10926                                    }
10927                                    else if ( ((LA117_64>=FORCED_END_OF_LINE && LA117_64<=WIKI)||(LA117_64>=POUND && LA117_64<=47)||(LA117_64>=49 && LA117_64<=78)) ) {
10928                                    alt117=2;
10929                                    }
10930                                    else {
10931                                    if (backtracking>0) {failed=true; return link;}
10932                                    NoViableAltException nvae =
10933                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 64, input);
10934    
10935                                    throw nvae;
10936                                    }
10937                            }
10938                            else if ( ((LA117_44>=FORCED_END_OF_LINE && LA117_44<=WIKI)||(LA117_44>=POUND && LA117_44<=50)||(LA117_44>=52 && LA117_44<=78)) ) {
10939                                    alt117=2;
10940                            }
10941                            else {
10942                                    if (backtracking>0) {failed=true; return link;}
10943                                    NoViableAltException nvae =
10944                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 44, input);
10945    
10946                                    throw nvae;
10947                            }
10948                            }
10949                            else if ( ((LA117_25>=FORCED_END_OF_LINE && LA117_25<=WIKI)||(LA117_25>=POUND && LA117_25<=49)||(LA117_25>=51 && LA117_25<=78)) ) {
10950                            alt117=2;
10951                            }
10952                            else {
10953                            if (backtracking>0) {failed=true; return link;}
10954                            NoViableAltException nvae =
10955                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 25, input);
10956    
10957                            throw nvae;
10958                            }
10959                            }
10960                            break;
10961                    case 49:
10962                            {
10963                            switch ( input.LA(3) ) {
10964                            case 55:
10965                            {
10966                            int LA117_45 = input.LA(4);
10967    
10968                            if ( (LA117_45==72) ) {
10969                                    int LA117_65 = input.LA(5);
10970    
10971                                    if ( (LA117_65==53) ) {
10972                                    int LA117_84 = input.LA(6);
10973    
10974                                    if ( (LA117_84==58) ) {
10975                                            int LA117_102 = input.LA(7);
10976    
10977                                            if ( (LA117_102==50) ) {
10978                                            int LA117_115 = input.LA(8);
10979    
10980                                            if ( (LA117_115==51) ) {
10981                                                    int LA117_124 = input.LA(9);
10982    
10983                                                    if ( (LA117_124==48) ) {
10984                                                    int LA117_130 = input.LA(10);
10985    
10986                                                    if ( (LA117_130==51) ) {
10987                                                            int LA117_133 = input.LA(11);
10988    
10989                                                            if ( (LA117_133==43) ) {
10990                                                            int LA117_34 = input.LA(12);
10991    
10992                                                            if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
10993                                                                    alt117=2;
10994                                                            }
10995                                                            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<=78)) ) {
10996                                                                    alt117=1;
10997                                                            }
10998                                                            else {
10999                                                                    if (backtracking>0) {failed=true; return link;}
11000                                                                    NoViableAltException nvae =
11001                                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
11002    
11003                                                                    throw nvae;
11004                                                            }
11005                                                            }
11006                                                            else if ( ((LA117_133>=FORCED_END_OF_LINE && LA117_133<=WIKI)||(LA117_133>=POUND && LA117_133<=INSIGNIFICANT_CHAR)||(LA117_133>=44 && LA117_133<=78)) ) {
11007                                                            alt117=2;
11008                                                            }
11009                                                            else {
11010                                                            if (backtracking>0) {failed=true; return link;}
11011                                                            NoViableAltException nvae =
11012                                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 133, input);
11013    
11014                                                            throw nvae;
11015                                                            }
11016                                                    }
11017                                                    else if ( ((LA117_130>=FORCED_END_OF_LINE && LA117_130<=WIKI)||(LA117_130>=POUND && LA117_130<=50)||(LA117_130>=52 && LA117_130<=78)) ) {
11018                                                            alt117=2;
11019                                                    }
11020                                                    else {
11021                                                            if (backtracking>0) {failed=true; return link;}
11022                                                            NoViableAltException nvae =
11023                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 130, input);
11024    
11025                                                            throw nvae;
11026                                                    }
11027                                                    }
11028                                                    else if ( ((LA117_124>=FORCED_END_OF_LINE && LA117_124<=WIKI)||(LA117_124>=POUND && LA117_124<=47)||(LA117_124>=49 && LA117_124<=78)) ) {
11029                                                    alt117=2;
11030                                                    }
11031                                                    else {
11032                                                    if (backtracking>0) {failed=true; return link;}
11033                                                    NoViableAltException nvae =
11034                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 124, input);
11035    
11036                                                    throw nvae;
11037                                                    }
11038                                            }
11039                                            else if ( ((LA117_115>=FORCED_END_OF_LINE && LA117_115<=WIKI)||(LA117_115>=POUND && LA117_115<=50)||(LA117_115>=52 && LA117_115<=78)) ) {
11040                                                    alt117=2;
11041                                            }
11042                                            else {
11043                                                    if (backtracking>0) {failed=true; return link;}
11044                                                    NoViableAltException nvae =
11045                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 115, input);
11046    
11047                                                    throw nvae;
11048                                            }
11049                                            }
11050                                            else if ( ((LA117_102>=FORCED_END_OF_LINE && LA117_102<=WIKI)||(LA117_102>=POUND && LA117_102<=49)||(LA117_102>=51 && LA117_102<=78)) ) {
11051                                            alt117=2;
11052                                            }
11053                                            else {
11054                                            if (backtracking>0) {failed=true; return link;}
11055                                            NoViableAltException nvae =
11056                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 102, input);
11057    
11058                                            throw nvae;
11059                                            }
11060                                    }
11061                                    else if ( ((LA117_84>=FORCED_END_OF_LINE && LA117_84<=WIKI)||(LA117_84>=POUND && LA117_84<=57)||(LA117_84>=59 && LA117_84<=78)) ) {
11062                                            alt117=2;
11063                                    }
11064                                    else {
11065                                            if (backtracking>0) {failed=true; return link;}
11066                                            NoViableAltException nvae =
11067                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 84, input);
11068    
11069                                            throw nvae;
11070                                    }
11071                                    }
11072                                    else if ( ((LA117_65>=FORCED_END_OF_LINE && LA117_65<=WIKI)||(LA117_65>=POUND && LA117_65<=52)||(LA117_65>=54 && LA117_65<=78)) ) {
11073                                    alt117=2;
11074                                    }
11075                                    else {
11076                                    if (backtracking>0) {failed=true; return link;}
11077                                    NoViableAltException nvae =
11078                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 65, input);
11079    
11080                                    throw nvae;
11081                                    }
11082                            }
11083                            else if ( ((LA117_45>=FORCED_END_OF_LINE && LA117_45<=WIKI)||(LA117_45>=POUND && LA117_45<=71)||(LA117_45>=73 && LA117_45<=78)) ) {
11084                                    alt117=2;
11085                            }
11086                            else {
11087                                    if (backtracking>0) {failed=true; return link;}
11088                                    NoViableAltException nvae =
11089                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 45, input);
11090    
11091                                    throw nvae;
11092                            }
11093                            }
11094                            break;
11095                            case 48:
11096                            {
11097                            int LA117_46 = input.LA(4);
11098    
11099                            if ( (LA117_46==51) ) {
11100                                    int LA117_66 = input.LA(5);
11101    
11102                                    if ( (LA117_66==50) ) {
11103                                    int LA117_85 = input.LA(6);
11104    
11105                                    if ( (LA117_85==51) ) {
11106                                            int LA117_103 = input.LA(7);
11107    
11108                                            if ( (LA117_103==48) ) {
11109                                            int LA117_116 = input.LA(8);
11110    
11111                                            if ( (LA117_116==51) ) {
11112                                                    int LA117_125 = input.LA(9);
11113    
11114                                                    if ( (LA117_125==43) ) {
11115                                                    int LA117_34 = input.LA(10);
11116    
11117                                                    if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
11118                                                            alt117=2;
11119                                                    }
11120                                                    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<=78)) ) {
11121                                                            alt117=1;
11122                                                    }
11123                                                    else {
11124                                                            if (backtracking>0) {failed=true; return link;}
11125                                                            NoViableAltException nvae =
11126                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
11127    
11128                                                            throw nvae;
11129                                                    }
11130                                                    }
11131                                                    else if ( ((LA117_125>=FORCED_END_OF_LINE && LA117_125<=WIKI)||(LA117_125>=POUND && LA117_125<=INSIGNIFICANT_CHAR)||(LA117_125>=44 && LA117_125<=78)) ) {
11132                                                    alt117=2;
11133                                                    }
11134                                                    else {
11135                                                    if (backtracking>0) {failed=true; return link;}
11136                                                    NoViableAltException nvae =
11137                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 125, input);
11138    
11139                                                    throw nvae;
11140                                                    }
11141                                            }
11142                                            else if ( ((LA117_116>=FORCED_END_OF_LINE && LA117_116<=WIKI)||(LA117_116>=POUND && LA117_116<=50)||(LA117_116>=52 && LA117_116<=78)) ) {
11143                                                    alt117=2;
11144                                            }
11145                                            else {
11146                                                    if (backtracking>0) {failed=true; return link;}
11147                                                    NoViableAltException nvae =
11148                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 116, input);
11149    
11150                                                    throw nvae;
11151                                            }
11152                                            }
11153                                            else if ( ((LA117_103>=FORCED_END_OF_LINE && LA117_103<=WIKI)||(LA117_103>=POUND && LA117_103<=47)||(LA117_103>=49 && LA117_103<=78)) ) {
11154                                            alt117=2;
11155                                            }
11156                                            else {
11157                                            if (backtracking>0) {failed=true; return link;}
11158                                            NoViableAltException nvae =
11159                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 103, input);
11160    
11161                                            throw nvae;
11162                                            }
11163                                    }
11164                                    else if ( ((LA117_85>=FORCED_END_OF_LINE && LA117_85<=WIKI)||(LA117_85>=POUND && LA117_85<=50)||(LA117_85>=52 && LA117_85<=78)) ) {
11165                                            alt117=2;
11166                                    }
11167                                    else {
11168                                            if (backtracking>0) {failed=true; return link;}
11169                                            NoViableAltException nvae =
11170                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 85, input);
11171    
11172                                            throw nvae;
11173                                    }
11174                                    }
11175                                    else if ( ((LA117_66>=FORCED_END_OF_LINE && LA117_66<=WIKI)||(LA117_66>=POUND && LA117_66<=49)||(LA117_66>=51 && LA117_66<=78)) ) {
11176                                    alt117=2;
11177                                    }
11178                                    else {
11179                                    if (backtracking>0) {failed=true; return link;}
11180                                    NoViableAltException nvae =
11181                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 66, input);
11182    
11183                                    throw nvae;
11184                                    }
11185                            }
11186                            else if ( ((LA117_46>=FORCED_END_OF_LINE && LA117_46<=WIKI)||(LA117_46>=POUND && LA117_46<=50)||(LA117_46>=52 && LA117_46<=78)) ) {
11187                                    alt117=2;
11188                            }
11189                            else {
11190                                    if (backtracking>0) {failed=true; return link;}
11191                                    NoViableAltException nvae =
11192                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 46, input);
11193    
11194                                    throw nvae;
11195                            }
11196                            }
11197                            break;
11198                            case FORCED_END_OF_LINE:
11199                            case HEADING_SECTION:
11200                            case HORIZONTAL_SECTION:
11201                            case LIST_ITEM:
11202                            case LIST_ITEM_PART:
11203                            case NOWIKI_SECTION:
11204                            case SCAPE_NODE:
11205                            case TEXT_NODE:
11206                            case UNORDERED_LIST:
11207                            case UNFORMATTED_TEXT:
11208                            case WIKI:
11209                            case POUND:
11210                            case STAR:
11211                            case EQUAL:
11212                            case PIPE:
11213                            case ITAL:
11214                            case LINK_OPEN:
11215                            case IMAGE_OPEN:
11216                            case NOWIKI_OPEN:
11217                            case EXTENSION:
11218                            case FORCED_LINEBREAK:
11219                            case ESCAPE:
11220                            case NOWIKI_BLOCK_CLOSE:
11221                            case NOWIKI_CLOSE:
11222                            case LINK_CLOSE:
11223                            case IMAGE_CLOSE:
11224                            case BLANKS:
11225                            case TABLE_OF_CONTENTS_TEXT:
11226                            case DASH:
11227                            case CR:
11228                            case LF:
11229                            case SPACE:
11230                            case TABULATOR:
11231                            case COLON_SLASH:
11232                            case SLASH:
11233                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
11234                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
11235                            case INSIGNIFICANT_CHAR:
11236                            case 43:
11237                            case 44:
11238                            case 45:
11239                            case 46:
11240                            case 47:
11241                            case 49:
11242                            case 50:
11243                            case 51:
11244                            case 52:
11245                            case 53:
11246                            case 54:
11247                            case 56:
11248                            case 57:
11249                            case 58:
11250                            case 59:
11251                            case 60:
11252                            case 61:
11253                            case 62:
11254                            case 63:
11255                            case 64:
11256                            case 65:
11257                            case 66:
11258                            case 67:
11259                            case 68:
11260                            case 69:
11261                            case 70:
11262                            case 71:
11263                            case 72:
11264                            case 73:
11265                            case 74:
11266                            case 75:
11267                            case 76:
11268                            case 77:
11269                            case 78:
11270                            {
11271                            alt117=2;
11272                            }
11273                            break;
11274                            default:
11275                            if (backtracking>0) {failed=true; return link;}
11276                            NoViableAltException nvae =
11277                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 26, input);
11278    
11279                            throw nvae;
11280                            }
11281    
11282                            }
11283                            break;
11284                    case FORCED_END_OF_LINE:
11285                    case HEADING_SECTION:
11286                    case HORIZONTAL_SECTION:
11287                    case LIST_ITEM:
11288                    case LIST_ITEM_PART:
11289                    case NOWIKI_SECTION:
11290                    case SCAPE_NODE:
11291                    case TEXT_NODE:
11292                    case UNORDERED_LIST:
11293                    case UNFORMATTED_TEXT:
11294                    case WIKI:
11295                    case POUND:
11296                    case STAR:
11297                    case EQUAL:
11298                    case PIPE:
11299                    case ITAL:
11300                    case LINK_OPEN:
11301                    case IMAGE_OPEN:
11302                    case NOWIKI_OPEN:
11303                    case EXTENSION:
11304                    case FORCED_LINEBREAK:
11305                    case ESCAPE:
11306                    case NOWIKI_BLOCK_CLOSE:
11307                    case NOWIKI_CLOSE:
11308                    case LINK_CLOSE:
11309                    case IMAGE_CLOSE:
11310                    case BLANKS:
11311                    case TABLE_OF_CONTENTS_TEXT:
11312                    case DASH:
11313                    case CR:
11314                    case LF:
11315                    case SPACE:
11316                    case TABULATOR:
11317                    case COLON_SLASH:
11318                    case SLASH:
11319                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
11320                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
11321                    case INSIGNIFICANT_CHAR:
11322                    case 43:
11323                    case 44:
11324                    case 45:
11325                    case 46:
11326                    case 47:
11327                    case 48:
11328                    case 50:
11329                    case 51:
11330                    case 52:
11331                    case 53:
11332                    case 54:
11333                    case 55:
11334                    case 56:
11335                    case 57:
11336                    case 58:
11337                    case 59:
11338                    case 60:
11339                    case 61:
11340                    case 62:
11341                    case 63:
11342                    case 64:
11343                    case 65:
11344                    case 66:
11345                    case 67:
11346                    case 68:
11347                    case 70:
11348                    case 71:
11349                    case 72:
11350                    case 73:
11351                    case 74:
11352                    case 75:
11353                    case 76:
11354                    case 77:
11355                    case 78:
11356                            {
11357                            alt117=2;
11358                            }
11359                            break;
11360                    default:
11361                            if (backtracking>0) {failed=true; return link;}
11362                            NoViableAltException nvae =
11363                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 8, input);
11364    
11365                            throw nvae;
11366                    }
11367    
11368                    }
11369                    break;
11370                    case 73:
11371                    {
11372                    int LA117_9 = input.LA(2);
11373    
11374                    if ( (LA117_9==63) ) {
11375                            int LA117_27 = input.LA(3);
11376    
11377                            if ( (LA117_27==66) ) {
11378                            int LA117_47 = input.LA(4);
11379    
11380                            if ( (LA117_47==58) ) {
11381                                    int LA117_67 = input.LA(5);
11382    
11383                                    if ( (LA117_67==47) ) {
11384                                    int LA117_86 = input.LA(6);
11385    
11386                                    if ( (LA117_86==74) ) {
11387                                            int LA117_104 = input.LA(7);
11388    
11389                                            if ( (LA117_104==43) ) {
11390                                            int LA117_34 = input.LA(8);
11391    
11392                                            if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
11393                                                    alt117=2;
11394                                            }
11395                                            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<=78)) ) {
11396                                                    alt117=1;
11397                                            }
11398                                            else {
11399                                                    if (backtracking>0) {failed=true; return link;}
11400                                                    NoViableAltException nvae =
11401                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
11402    
11403                                                    throw nvae;
11404                                            }
11405                                            }
11406                                            else if ( ((LA117_104>=FORCED_END_OF_LINE && LA117_104<=WIKI)||(LA117_104>=POUND && LA117_104<=INSIGNIFICANT_CHAR)||(LA117_104>=44 && LA117_104<=78)) ) {
11407                                            alt117=2;
11408                                            }
11409                                            else {
11410                                            if (backtracking>0) {failed=true; return link;}
11411                                            NoViableAltException nvae =
11412                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 104, input);
11413    
11414                                            throw nvae;
11415                                            }
11416                                    }
11417                                    else if ( ((LA117_86>=FORCED_END_OF_LINE && LA117_86<=WIKI)||(LA117_86>=POUND && LA117_86<=73)||(LA117_86>=75 && LA117_86<=78)) ) {
11418                                            alt117=2;
11419                                    }
11420                                    else {
11421                                            if (backtracking>0) {failed=true; return link;}
11422                                            NoViableAltException nvae =
11423                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 86, input);
11424    
11425                                            throw nvae;
11426                                    }
11427                                    }
11428                                    else if ( ((LA117_67>=FORCED_END_OF_LINE && LA117_67<=WIKI)||(LA117_67>=POUND && LA117_67<=46)||(LA117_67>=48 && LA117_67<=78)) ) {
11429                                    alt117=2;
11430                                    }
11431                                    else {
11432                                    if (backtracking>0) {failed=true; return link;}
11433                                    NoViableAltException nvae =
11434                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 67, input);
11435    
11436                                    throw nvae;
11437                                    }
11438                            }
11439                            else if ( ((LA117_47>=FORCED_END_OF_LINE && LA117_47<=WIKI)||(LA117_47>=POUND && LA117_47<=57)||(LA117_47>=59 && LA117_47<=78)) ) {
11440                                    alt117=2;
11441                            }
11442                            else {
11443                                    if (backtracking>0) {failed=true; return link;}
11444                                    NoViableAltException nvae =
11445                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 47, input);
11446    
11447                                    throw nvae;
11448                            }
11449                            }
11450                            else if ( ((LA117_27>=FORCED_END_OF_LINE && LA117_27<=WIKI)||(LA117_27>=POUND && LA117_27<=65)||(LA117_27>=67 && LA117_27<=78)) ) {
11451                            alt117=2;
11452                            }
11453                            else {
11454                            if (backtracking>0) {failed=true; return link;}
11455                            NoViableAltException nvae =
11456                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 27, input);
11457    
11458                            throw nvae;
11459                            }
11460                    }
11461                    else if ( ((LA117_9>=FORCED_END_OF_LINE && LA117_9<=WIKI)||(LA117_9>=POUND && LA117_9<=62)||(LA117_9>=64 && LA117_9<=78)) ) {
11462                            alt117=2;
11463                    }
11464                    else {
11465                            if (backtracking>0) {failed=true; return link;}
11466                            NoViableAltException nvae =
11467                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 9, input);
11468    
11469                            throw nvae;
11470                    }
11471                    }
11472                    break;
11473                    case 60:
11474                    {
11475                    int LA117_10 = input.LA(2);
11476    
11477                    if ( (LA117_10==67) ) {
11478                            int LA117_28 = input.LA(3);
11479    
11480                            if ( (LA117_28==51) ) {
11481                            int LA117_48 = input.LA(4);
11482    
11483                            if ( (LA117_48==72) ) {
11484                                    int LA117_68 = input.LA(5);
11485    
11486                                    if ( (LA117_68==60) ) {
11487                                    int LA117_87 = input.LA(6);
11488    
11489                                    if ( (LA117_87==67) ) {
11490                                            int LA117_105 = input.LA(7);
11491    
11492                                            if ( (LA117_105==63) ) {
11493                                            int LA117_117 = input.LA(8);
11494    
11495                                            if ( (LA117_117==72) ) {
11496                                                    int LA117_126 = input.LA(9);
11497    
11498                                                    if ( (LA117_126==43) ) {
11499                                                    int LA117_34 = input.LA(10);
11500    
11501                                                    if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
11502                                                            alt117=2;
11503                                                    }
11504                                                    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<=78)) ) {
11505                                                            alt117=1;
11506                                                    }
11507                                                    else {
11508                                                            if (backtracking>0) {failed=true; return link;}
11509                                                            NoViableAltException nvae =
11510                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
11511    
11512                                                            throw nvae;
11513                                                    }
11514                                                    }
11515                                                    else if ( ((LA117_126>=FORCED_END_OF_LINE && LA117_126<=WIKI)||(LA117_126>=POUND && LA117_126<=INSIGNIFICANT_CHAR)||(LA117_126>=44 && LA117_126<=78)) ) {
11516                                                    alt117=2;
11517                                                    }
11518                                                    else {
11519                                                    if (backtracking>0) {failed=true; return link;}
11520                                                    NoViableAltException nvae =
11521                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 126, input);
11522    
11523                                                    throw nvae;
11524                                                    }
11525                                            }
11526                                            else if ( ((LA117_117>=FORCED_END_OF_LINE && LA117_117<=WIKI)||(LA117_117>=POUND && LA117_117<=71)||(LA117_117>=73 && LA117_117<=78)) ) {
11527                                                    alt117=2;
11528                                            }
11529                                            else {
11530                                                    if (backtracking>0) {failed=true; return link;}
11531                                                    NoViableAltException nvae =
11532                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 117, input);
11533    
11534                                                    throw nvae;
11535                                            }
11536                                            }
11537                                            else if ( ((LA117_105>=FORCED_END_OF_LINE && LA117_105<=WIKI)||(LA117_105>=POUND && LA117_105<=62)||(LA117_105>=64 && LA117_105<=78)) ) {
11538                                            alt117=2;
11539                                            }
11540                                            else {
11541                                            if (backtracking>0) {failed=true; return link;}
11542                                            NoViableAltException nvae =
11543                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 105, input);
11544    
11545                                            throw nvae;
11546                                            }
11547                                    }
11548                                    else if ( ((LA117_87>=FORCED_END_OF_LINE && LA117_87<=WIKI)||(LA117_87>=POUND && LA117_87<=66)||(LA117_87>=68 && LA117_87<=78)) ) {
11549                                            alt117=2;
11550                                    }
11551                                    else {
11552                                            if (backtracking>0) {failed=true; return link;}
11553                                            NoViableAltException nvae =
11554                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 87, input);
11555    
11556                                            throw nvae;
11557                                    }
11558                                    }
11559                                    else if ( ((LA117_68>=FORCED_END_OF_LINE && LA117_68<=WIKI)||(LA117_68>=POUND && LA117_68<=59)||(LA117_68>=61 && LA117_68<=78)) ) {
11560                                    alt117=2;
11561                                    }
11562                                    else {
11563                                    if (backtracking>0) {failed=true; return link;}
11564                                    NoViableAltException nvae =
11565                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 68, input);
11566    
11567                                    throw nvae;
11568                                    }
11569                            }
11570                            else if ( ((LA117_48>=FORCED_END_OF_LINE && LA117_48<=WIKI)||(LA117_48>=POUND && LA117_48<=71)||(LA117_48>=73 && LA117_48<=78)) ) {
11571                                    alt117=2;
11572                            }
11573                            else {
11574                                    if (backtracking>0) {failed=true; return link;}
11575                                    NoViableAltException nvae =
11576                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 48, input);
11577    
11578                                    throw nvae;
11579                            }
11580                            }
11581                            else if ( ((LA117_28>=FORCED_END_OF_LINE && LA117_28<=WIKI)||(LA117_28>=POUND && LA117_28<=50)||(LA117_28>=52 && LA117_28<=78)) ) {
11582                            alt117=2;
11583                            }
11584                            else {
11585                            if (backtracking>0) {failed=true; return link;}
11586                            NoViableAltException nvae =
11587                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 28, input);
11588    
11589                            throw nvae;
11590                            }
11591                    }
11592                    else if ( ((LA117_10>=FORCED_END_OF_LINE && LA117_10<=WIKI)||(LA117_10>=POUND && LA117_10<=66)||(LA117_10>=68 && LA117_10<=78)) ) {
11593                            alt117=2;
11594                    }
11595                    else {
11596                            if (backtracking>0) {failed=true; return link;}
11597                            NoViableAltException nvae =
11598                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 10, input);
11599    
11600                            throw nvae;
11601                    }
11602                    }
11603                    break;
11604                    case 75:
11605                    {
11606                    switch ( input.LA(2) ) {
11607                    case 50:
11608                            {
11609                            int LA117_29 = input.LA(3);
11610    
11611                            if ( (LA117_29==51) ) {
11612                            int LA117_49 = input.LA(4);
11613    
11614                            if ( (LA117_49==48) ) {
11615                                    int LA117_69 = input.LA(5);
11616    
11617                                    if ( (LA117_69==51) ) {
11618                                    int LA117_88 = input.LA(6);
11619    
11620                                    if ( (LA117_88==43) ) {
11621                                            int LA117_34 = input.LA(7);
11622    
11623                                            if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
11624                                            alt117=2;
11625                                            }
11626                                            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<=78)) ) {
11627                                            alt117=1;
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, 34, input);
11633    
11634                                            throw nvae;
11635                                            }
11636                                    }
11637                                    else if ( ((LA117_88>=FORCED_END_OF_LINE && LA117_88<=WIKI)||(LA117_88>=POUND && LA117_88<=INSIGNIFICANT_CHAR)||(LA117_88>=44 && LA117_88<=78)) ) {
11638                                            alt117=2;
11639                                    }
11640                                    else {
11641                                            if (backtracking>0) {failed=true; return link;}
11642                                            NoViableAltException nvae =
11643                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 88, input);
11644    
11645                                            throw nvae;
11646                                    }
11647                                    }
11648                                    else if ( ((LA117_69>=FORCED_END_OF_LINE && LA117_69<=WIKI)||(LA117_69>=POUND && LA117_69<=50)||(LA117_69>=52 && LA117_69<=78)) ) {
11649                                    alt117=2;
11650                                    }
11651                                    else {
11652                                    if (backtracking>0) {failed=true; return link;}
11653                                    NoViableAltException nvae =
11654                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 69, input);
11655    
11656                                    throw nvae;
11657                                    }
11658                            }
11659                            else if ( ((LA117_49>=FORCED_END_OF_LINE && LA117_49<=WIKI)||(LA117_49>=POUND && LA117_49<=47)||(LA117_49>=49 && LA117_49<=78)) ) {
11660                                    alt117=2;
11661                            }
11662                            else {
11663                                    if (backtracking>0) {failed=true; return link;}
11664                                    NoViableAltException nvae =
11665                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 49, input);
11666    
11667                                    throw nvae;
11668                            }
11669                            }
11670                            else if ( ((LA117_29>=FORCED_END_OF_LINE && LA117_29<=WIKI)||(LA117_29>=POUND && LA117_29<=50)||(LA117_29>=52 && LA117_29<=78)) ) {
11671                            alt117=2;
11672                            }
11673                            else {
11674                            if (backtracking>0) {failed=true; return link;}
11675                            NoViableAltException nvae =
11676                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 29, input);
11677    
11678                            throw nvae;
11679                            }
11680                            }
11681                            break;
11682                    case 51:
11683                            {
11684                            int LA117_30 = input.LA(3);
11685    
11686                            if ( (LA117_30==66) ) {
11687                            int LA117_50 = input.LA(4);
11688    
11689                            if ( (LA117_50==66) ) {
11690                                    int LA117_70 = input.LA(5);
11691    
11692                                    if ( (LA117_70==53) ) {
11693                                    int LA117_89 = input.LA(6);
11694    
11695                                    if ( (LA117_89==76) ) {
11696                                            int LA117_106 = input.LA(7);
11697    
11698                                            if ( (LA117_106==50) ) {
11699                                            int LA117_118 = input.LA(8);
11700    
11701                                            if ( (LA117_118==51) ) {
11702                                                    int LA117_127 = input.LA(9);
11703    
11704                                                    if ( (LA117_127==48) ) {
11705                                                    int LA117_131 = input.LA(10);
11706    
11707                                                    if ( (LA117_131==51) ) {
11708                                                            int LA117_134 = input.LA(11);
11709    
11710                                                            if ( (LA117_134==43) ) {
11711                                                            int LA117_34 = input.LA(12);
11712    
11713                                                            if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
11714                                                                    alt117=2;
11715                                                            }
11716                                                            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<=78)) ) {
11717                                                                    alt117=1;
11718                                                            }
11719                                                            else {
11720                                                                    if (backtracking>0) {failed=true; return link;}
11721                                                                    NoViableAltException nvae =
11722                                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
11723    
11724                                                                    throw nvae;
11725                                                            }
11726                                                            }
11727                                                            else if ( ((LA117_134>=FORCED_END_OF_LINE && LA117_134<=WIKI)||(LA117_134>=POUND && LA117_134<=INSIGNIFICANT_CHAR)||(LA117_134>=44 && LA117_134<=78)) ) {
11728                                                            alt117=2;
11729                                                            }
11730                                                            else {
11731                                                            if (backtracking>0) {failed=true; return link;}
11732                                                            NoViableAltException nvae =
11733                                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 134, input);
11734    
11735                                                            throw nvae;
11736                                                            }
11737                                                    }
11738                                                    else if ( ((LA117_131>=FORCED_END_OF_LINE && LA117_131<=WIKI)||(LA117_131>=POUND && LA117_131<=50)||(LA117_131>=52 && LA117_131<=78)) ) {
11739                                                            alt117=2;
11740                                                    }
11741                                                    else {
11742                                                            if (backtracking>0) {failed=true; return link;}
11743                                                            NoViableAltException nvae =
11744                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 131, input);
11745    
11746                                                            throw nvae;
11747                                                    }
11748                                                    }
11749                                                    else if ( ((LA117_127>=FORCED_END_OF_LINE && LA117_127<=WIKI)||(LA117_127>=POUND && LA117_127<=47)||(LA117_127>=49 && LA117_127<=78)) ) {
11750                                                    alt117=2;
11751                                                    }
11752                                                    else {
11753                                                    if (backtracking>0) {failed=true; return link;}
11754                                                    NoViableAltException nvae =
11755                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 127, input);
11756    
11757                                                    throw nvae;
11758                                                    }
11759                                            }
11760                                            else if ( ((LA117_118>=FORCED_END_OF_LINE && LA117_118<=WIKI)||(LA117_118>=POUND && LA117_118<=50)||(LA117_118>=52 && LA117_118<=78)) ) {
11761                                                    alt117=2;
11762                                            }
11763                                            else {
11764                                                    if (backtracking>0) {failed=true; return link;}
11765                                                    NoViableAltException nvae =
11766                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 118, input);
11767    
11768                                                    throw nvae;
11769                                            }
11770                                            }
11771                                            else if ( ((LA117_106>=FORCED_END_OF_LINE && LA117_106<=WIKI)||(LA117_106>=POUND && LA117_106<=49)||(LA117_106>=51 && LA117_106<=78)) ) {
11772                                            alt117=2;
11773                                            }
11774                                            else {
11775                                            if (backtracking>0) {failed=true; return link;}
11776                                            NoViableAltException nvae =
11777                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 106, input);
11778    
11779                                            throw nvae;
11780                                            }
11781                                    }
11782                                    else if ( ((LA117_89>=FORCED_END_OF_LINE && LA117_89<=WIKI)||(LA117_89>=POUND && LA117_89<=75)||(LA117_89>=77 && LA117_89<=78)) ) {
11783                                            alt117=2;
11784                                    }
11785                                    else {
11786                                            if (backtracking>0) {failed=true; return link;}
11787                                            NoViableAltException nvae =
11788                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 89, input);
11789    
11790                                            throw nvae;
11791                                    }
11792                                    }
11793                                    else if ( ((LA117_70>=FORCED_END_OF_LINE && LA117_70<=WIKI)||(LA117_70>=POUND && LA117_70<=52)||(LA117_70>=54 && LA117_70<=78)) ) {
11794                                    alt117=2;
11795                                    }
11796                                    else {
11797                                    if (backtracking>0) {failed=true; return link;}
11798                                    NoViableAltException nvae =
11799                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 70, input);
11800    
11801                                    throw nvae;
11802                                    }
11803                            }
11804                            else if ( ((LA117_50>=FORCED_END_OF_LINE && LA117_50<=WIKI)||(LA117_50>=POUND && LA117_50<=65)||(LA117_50>=67 && LA117_50<=78)) ) {
11805                                    alt117=2;
11806                            }
11807                            else {
11808                                    if (backtracking>0) {failed=true; return link;}
11809                                    NoViableAltException nvae =
11810                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 50, input);
11811    
11812                                    throw nvae;
11813                            }
11814                            }
11815                            else if ( ((LA117_30>=FORCED_END_OF_LINE && LA117_30<=WIKI)||(LA117_30>=POUND && LA117_30<=65)||(LA117_30>=67 && LA117_30<=78)) ) {
11816                            alt117=2;
11817                            }
11818                            else {
11819                            if (backtracking>0) {failed=true; return link;}
11820                            NoViableAltException nvae =
11821                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 30, input);
11822    
11823                            throw nvae;
11824                            }
11825                            }
11826                            break;
11827                    case FORCED_END_OF_LINE:
11828                    case HEADING_SECTION:
11829                    case HORIZONTAL_SECTION:
11830                    case LIST_ITEM:
11831                    case LIST_ITEM_PART:
11832                    case NOWIKI_SECTION:
11833                    case SCAPE_NODE:
11834                    case TEXT_NODE:
11835                    case UNORDERED_LIST:
11836                    case UNFORMATTED_TEXT:
11837                    case WIKI:
11838                    case POUND:
11839                    case STAR:
11840                    case EQUAL:
11841                    case PIPE:
11842                    case ITAL:
11843                    case LINK_OPEN:
11844                    case IMAGE_OPEN:
11845                    case NOWIKI_OPEN:
11846                    case EXTENSION:
11847                    case FORCED_LINEBREAK:
11848                    case ESCAPE:
11849                    case NOWIKI_BLOCK_CLOSE:
11850                    case NOWIKI_CLOSE:
11851                    case LINK_CLOSE:
11852                    case IMAGE_CLOSE:
11853                    case BLANKS:
11854                    case TABLE_OF_CONTENTS_TEXT:
11855                    case DASH:
11856                    case CR:
11857                    case LF:
11858                    case SPACE:
11859                    case TABULATOR:
11860                    case COLON_SLASH:
11861                    case SLASH:
11862                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
11863                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
11864                    case INSIGNIFICANT_CHAR:
11865                    case 43:
11866                    case 44:
11867                    case 45:
11868                    case 46:
11869                    case 47:
11870                    case 48:
11871                    case 49:
11872                    case 52:
11873                    case 53:
11874                    case 54:
11875                    case 55:
11876                    case 56:
11877                    case 57:
11878                    case 58:
11879                    case 59:
11880                    case 60:
11881                    case 61:
11882                    case 62:
11883                    case 63:
11884                    case 64:
11885                    case 65:
11886                    case 66:
11887                    case 67:
11888                    case 68:
11889                    case 69:
11890                    case 70:
11891                    case 71:
11892                    case 72:
11893                    case 73:
11894                    case 74:
11895                    case 75:
11896                    case 76:
11897                    case 77:
11898                    case 78:
11899                            {
11900                            alt117=2;
11901                            }
11902                            break;
11903                    default:
11904                            if (backtracking>0) {failed=true; return link;}
11905                            NoViableAltException nvae =
11906                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 11, input);
11907    
11908                            throw nvae;
11909                    }
11910    
11911                    }
11912                    break;
11913                    case 77:
11914                    {
11915                    int LA117_12 = input.LA(2);
11916    
11917                    if ( (LA117_12==70) ) {
11918                            int LA117_31 = input.LA(3);
11919    
11920                            if ( (LA117_31==58) ) {
11921                            int LA117_51 = input.LA(4);
11922    
11923                            if ( (LA117_51==69) ) {
11924                                    int LA117_71 = input.LA(5);
11925    
11926                                    if ( (LA117_71==47) ) {
11927                                    int LA117_90 = input.LA(6);
11928    
11929                                    if ( (LA117_90==66) ) {
11930                                            int LA117_107 = input.LA(7);
11931    
11932                                            if ( (LA117_107==43) ) {
11933                                            int LA117_34 = input.LA(8);
11934    
11935                                            if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
11936                                                    alt117=2;
11937                                            }
11938                                            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<=78)) ) {
11939                                                    alt117=1;
11940                                            }
11941                                            else {
11942                                                    if (backtracking>0) {failed=true; return link;}
11943                                                    NoViableAltException nvae =
11944                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
11945    
11946                                                    throw nvae;
11947                                            }
11948                                            }
11949                                            else if ( ((LA117_107>=FORCED_END_OF_LINE && LA117_107<=WIKI)||(LA117_107>=POUND && LA117_107<=INSIGNIFICANT_CHAR)||(LA117_107>=44 && LA117_107<=78)) ) {
11950                                            alt117=2;
11951                                            }
11952                                            else {
11953                                            if (backtracking>0) {failed=true; return link;}
11954                                            NoViableAltException nvae =
11955                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 107, input);
11956    
11957                                            throw nvae;
11958                                            }
11959                                    }
11960                                    else if ( ((LA117_90>=FORCED_END_OF_LINE && LA117_90<=WIKI)||(LA117_90>=POUND && LA117_90<=65)||(LA117_90>=67 && LA117_90<=78)) ) {
11961                                            alt117=2;
11962                                    }
11963                                    else {
11964                                            if (backtracking>0) {failed=true; return link;}
11965                                            NoViableAltException nvae =
11966                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 90, input);
11967    
11968                                            throw nvae;
11969                                    }
11970                                    }
11971                                    else if ( ((LA117_71>=FORCED_END_OF_LINE && LA117_71<=WIKI)||(LA117_71>=POUND && LA117_71<=46)||(LA117_71>=48 && LA117_71<=78)) ) {
11972                                    alt117=2;
11973                                    }
11974                                    else {
11975                                    if (backtracking>0) {failed=true; return link;}
11976                                    NoViableAltException nvae =
11977                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 71, input);
11978    
11979                                    throw nvae;
11980                                    }
11981                            }
11982                            else if ( ((LA117_51>=FORCED_END_OF_LINE && LA117_51<=WIKI)||(LA117_51>=POUND && LA117_51<=68)||(LA117_51>=70 && LA117_51<=78)) ) {
11983                                    alt117=2;
11984                            }
11985                            else {
11986                                    if (backtracking>0) {failed=true; return link;}
11987                                    NoViableAltException nvae =
11988                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 51, input);
11989    
11990                                    throw nvae;
11991                            }
11992                            }
11993                            else if ( ((LA117_31>=FORCED_END_OF_LINE && LA117_31<=WIKI)||(LA117_31>=POUND && LA117_31<=57)||(LA117_31>=59 && LA117_31<=78)) ) {
11994                            alt117=2;
11995                            }
11996                            else {
11997                            if (backtracking>0) {failed=true; return link;}
11998                            NoViableAltException nvae =
11999                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 31, input);
12000    
12001                            throw nvae;
12002                            }
12003                    }
12004                    else if ( ((LA117_12>=FORCED_END_OF_LINE && LA117_12<=WIKI)||(LA117_12>=POUND && LA117_12<=69)||(LA117_12>=71 && LA117_12<=78)) ) {
12005                            alt117=2;
12006                    }
12007                    else {
12008                            if (backtracking>0) {failed=true; return link;}
12009                            NoViableAltException nvae =
12010                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 12, input);
12011    
12012                            throw nvae;
12013                    }
12014                    }
12015                    break;
12016                    case 50:
12017                    {
12018                    int LA117_13 = input.LA(2);
12019    
12020                    if ( (LA117_13==51) ) {
12021                            int LA117_32 = input.LA(3);
12022    
12023                            if ( (LA117_32==48) ) {
12024                            int LA117_52 = input.LA(4);
12025    
12026                            if ( (LA117_52==51) ) {
12027                                    int LA117_72 = input.LA(5);
12028    
12029                                    if ( (LA117_72==72) ) {
12030                                    int LA117_91 = input.LA(6);
12031    
12032                                    if ( (LA117_91==58) ) {
12033                                            int LA117_108 = input.LA(7);
12034    
12035                                            if ( (LA117_108==66) ) {
12036                                            int LA117_119 = input.LA(8);
12037    
12038                                            if ( (LA117_119==51) ) {
12039                                                    int LA117_128 = input.LA(9);
12040    
12041                                                    if ( (LA117_128==63) ) {
12042                                                    int LA117_132 = input.LA(10);
12043    
12044                                                    if ( (LA117_132==43) ) {
12045                                                            int LA117_34 = input.LA(11);
12046    
12047                                                            if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
12048                                                            alt117=2;
12049                                                            }
12050                                                            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<=78)) ) {
12051                                                            alt117=1;
12052                                                            }
12053                                                            else {
12054                                                            if (backtracking>0) {failed=true; return link;}
12055                                                            NoViableAltException nvae =
12056                                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
12057    
12058                                                            throw nvae;
12059                                                            }
12060                                                    }
12061                                                    else if ( ((LA117_132>=FORCED_END_OF_LINE && LA117_132<=WIKI)||(LA117_132>=POUND && LA117_132<=INSIGNIFICANT_CHAR)||(LA117_132>=44 && LA117_132<=78)) ) {
12062                                                            alt117=2;
12063                                                    }
12064                                                    else {
12065                                                            if (backtracking>0) {failed=true; return link;}
12066                                                            NoViableAltException nvae =
12067                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 132, input);
12068    
12069                                                            throw nvae;
12070                                                    }
12071                                                    }
12072                                                    else if ( ((LA117_128>=FORCED_END_OF_LINE && LA117_128<=WIKI)||(LA117_128>=POUND && LA117_128<=62)||(LA117_128>=64 && LA117_128<=78)) ) {
12073                                                    alt117=2;
12074                                                    }
12075                                                    else {
12076                                                    if (backtracking>0) {failed=true; return link;}
12077                                                    NoViableAltException nvae =
12078                                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 128, input);
12079    
12080                                                    throw nvae;
12081                                                    }
12082                                            }
12083                                            else if ( ((LA117_119>=FORCED_END_OF_LINE && LA117_119<=WIKI)||(LA117_119>=POUND && LA117_119<=50)||(LA117_119>=52 && LA117_119<=78)) ) {
12084                                                    alt117=2;
12085                                            }
12086                                            else {
12087                                                    if (backtracking>0) {failed=true; return link;}
12088                                                    NoViableAltException nvae =
12089                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 119, input);
12090    
12091                                                    throw nvae;
12092                                            }
12093                                            }
12094                                            else if ( ((LA117_108>=FORCED_END_OF_LINE && LA117_108<=WIKI)||(LA117_108>=POUND && LA117_108<=65)||(LA117_108>=67 && LA117_108<=78)) ) {
12095                                            alt117=2;
12096                                            }
12097                                            else {
12098                                            if (backtracking>0) {failed=true; return link;}
12099                                            NoViableAltException nvae =
12100                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 108, input);
12101    
12102                                            throw nvae;
12103                                            }
12104                                    }
12105                                    else if ( ((LA117_91>=FORCED_END_OF_LINE && LA117_91<=WIKI)||(LA117_91>=POUND && LA117_91<=57)||(LA117_91>=59 && LA117_91<=78)) ) {
12106                                            alt117=2;
12107                                    }
12108                                    else {
12109                                            if (backtracking>0) {failed=true; return link;}
12110                                            NoViableAltException nvae =
12111                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 91, input);
12112    
12113                                            throw nvae;
12114                                    }
12115                                    }
12116                                    else if ( ((LA117_72>=FORCED_END_OF_LINE && LA117_72<=WIKI)||(LA117_72>=POUND && LA117_72<=71)||(LA117_72>=73 && LA117_72<=78)) ) {
12117                                    alt117=2;
12118                                    }
12119                                    else {
12120                                    if (backtracking>0) {failed=true; return link;}
12121                                    NoViableAltException nvae =
12122                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 72, input);
12123    
12124                                    throw nvae;
12125                                    }
12126                            }
12127                            else if ( ((LA117_52>=FORCED_END_OF_LINE && LA117_52<=WIKI)||(LA117_52>=POUND && LA117_52<=50)||(LA117_52>=52 && LA117_52<=78)) ) {
12128                                    alt117=2;
12129                            }
12130                            else {
12131                                    if (backtracking>0) {failed=true; return link;}
12132                                    NoViableAltException nvae =
12133                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 52, input);
12134    
12135                                    throw nvae;
12136                            }
12137                            }
12138                            else if ( ((LA117_32>=FORCED_END_OF_LINE && LA117_32<=WIKI)||(LA117_32>=POUND && LA117_32<=47)||(LA117_32>=49 && LA117_32<=78)) ) {
12139                            alt117=2;
12140                            }
12141                            else {
12142                            if (backtracking>0) {failed=true; return link;}
12143                            NoViableAltException nvae =
12144                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 32, input);
12145    
12146                            throw nvae;
12147                            }
12148                    }
12149                    else if ( ((LA117_13>=FORCED_END_OF_LINE && LA117_13<=WIKI)||(LA117_13>=POUND && LA117_13<=50)||(LA117_13>=52 && LA117_13<=78)) ) {
12150                            alt117=2;
12151                    }
12152                    else {
12153                            if (backtracking>0) {failed=true; return link;}
12154                            NoViableAltException nvae =
12155                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 13, input);
12156    
12157                            throw nvae;
12158                    }
12159                    }
12160                    break;
12161                    case 78:
12162                    {
12163                    int LA117_14 = input.LA(2);
12164    
12165                    if ( (LA117_14==50) ) {
12166                            int LA117_33 = input.LA(3);
12167    
12168                            if ( (LA117_33==51) ) {
12169                            int LA117_53 = input.LA(4);
12170    
12171                            if ( (LA117_53==48) ) {
12172                                    int LA117_73 = input.LA(5);
12173    
12174                                    if ( (LA117_73==51) ) {
12175                                    int LA117_92 = input.LA(6);
12176    
12177                                    if ( (LA117_92==43) ) {
12178                                            int LA117_34 = input.LA(7);
12179    
12180                                            if ( (LA117_34==PIPE||LA117_34==LINK_CLOSE) ) {
12181                                            alt117=2;
12182                                            }
12183                                            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<=78)) ) {
12184                                            alt117=1;
12185                                            }
12186                                            else {
12187                                            if (backtracking>0) {failed=true; return link;}
12188                                            NoViableAltException nvae =
12189                                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 34, input);
12190    
12191                                            throw nvae;
12192                                            }
12193                                    }
12194                                    else if ( ((LA117_92>=FORCED_END_OF_LINE && LA117_92<=WIKI)||(LA117_92>=POUND && LA117_92<=INSIGNIFICANT_CHAR)||(LA117_92>=44 && LA117_92<=78)) ) {
12195                                            alt117=2;
12196                                    }
12197                                    else {
12198                                            if (backtracking>0) {failed=true; return link;}
12199                                            NoViableAltException nvae =
12200                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 92, input);
12201    
12202                                            throw nvae;
12203                                    }
12204                                    }
12205                                    else if ( ((LA117_73>=FORCED_END_OF_LINE && LA117_73<=WIKI)||(LA117_73>=POUND && LA117_73<=50)||(LA117_73>=52 && LA117_73<=78)) ) {
12206                                    alt117=2;
12207                                    }
12208                                    else {
12209                                    if (backtracking>0) {failed=true; return link;}
12210                                    NoViableAltException nvae =
12211                                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 73, input);
12212    
12213                                    throw nvae;
12214                                    }
12215                            }
12216                            else if ( ((LA117_53>=FORCED_END_OF_LINE && LA117_53<=WIKI)||(LA117_53>=POUND && LA117_53<=47)||(LA117_53>=49 && LA117_53<=78)) ) {
12217                                    alt117=2;
12218                            }
12219                            else {
12220                                    if (backtracking>0) {failed=true; return link;}
12221                                    NoViableAltException nvae =
12222                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 53, input);
12223    
12224                                    throw nvae;
12225                            }
12226                            }
12227                            else if ( ((LA117_33>=FORCED_END_OF_LINE && LA117_33<=WIKI)||(LA117_33>=POUND && LA117_33<=50)||(LA117_33>=52 && LA117_33<=78)) ) {
12228                            alt117=2;
12229                            }
12230                            else {
12231                            if (backtracking>0) {failed=true; return link;}
12232                            NoViableAltException nvae =
12233                                    new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 33, input);
12234    
12235                            throw nvae;
12236                            }
12237                    }
12238                    else if ( ((LA117_14>=FORCED_END_OF_LINE && LA117_14<=WIKI)||(LA117_14>=POUND && LA117_14<=49)||(LA117_14>=51 && LA117_14<=78)) ) {
12239                            alt117=2;
12240                    }
12241                    else {
12242                            if (backtracking>0) {failed=true; return link;}
12243                            NoViableAltException nvae =
12244                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 14, input);
12245    
12246                            throw nvae;
12247                    }
12248                    }
12249                    break;
12250                    case FORCED_END_OF_LINE:
12251                    case HEADING_SECTION:
12252                    case HORIZONTAL_SECTION:
12253                    case LIST_ITEM:
12254                    case LIST_ITEM_PART:
12255                    case NOWIKI_SECTION:
12256                    case SCAPE_NODE:
12257                    case TEXT_NODE:
12258                    case UNORDERED_LIST:
12259                    case UNFORMATTED_TEXT:
12260                    case WIKI:
12261                    case POUND:
12262                    case STAR:
12263                    case EQUAL:
12264                    case ITAL:
12265                    case LINK_OPEN:
12266                    case IMAGE_OPEN:
12267                    case NOWIKI_OPEN:
12268                    case EXTENSION:
12269                    case FORCED_LINEBREAK:
12270                    case ESCAPE:
12271                    case NOWIKI_BLOCK_CLOSE:
12272                    case NOWIKI_CLOSE:
12273                    case IMAGE_CLOSE:
12274                    case BLANKS:
12275                    case TABLE_OF_CONTENTS_TEXT:
12276                    case DASH:
12277                    case CR:
12278                    case LF:
12279                    case SPACE:
12280                    case TABULATOR:
12281                    case COLON_SLASH:
12282                    case SLASH:
12283                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
12284                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
12285                    case INSIGNIFICANT_CHAR:
12286                    case 43:
12287                    case 45:
12288                    case 47:
12289                    case 48:
12290                    case 49:
12291                    case 51:
12292                    case 53:
12293                    case 54:
12294                    case 55:
12295                    case 57:
12296                    case 58:
12297                    case 63:
12298                    case 64:
12299                    case 65:
12300                    case 66:
12301                    case 67:
12302                    case 69:
12303                    case 70:
12304                    case 71:
12305                    case 72:
12306                    case 74:
12307                    case 76:
12308                    {
12309                    alt117=2;
12310                    }
12311                    break;
12312                    default:
12313                    if (backtracking>0) {failed=true; return link;}
12314                    NoViableAltException nvae =
12315                            new NoViableAltException("578:1: link_address returns [LinkNode link =null] : (li= link_interwiki_uri ':' p= link_interwiki_pagename | lu= link_uri );", 117, 0, input);
12316    
12317                    throw nvae;
12318                    }
12319    
12320                    switch (alt117) {
12321                    case 1 :
12322                            // /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
12323                            {
12324                            pushFollow(FOLLOW_link_interwiki_uri_in_link_address3357);
12325                            li=link_interwiki_uri();
12326                            _fsp--;
12327                            if (failed) return link;
12328                            match(input,43,FOLLOW_43_in_link_address3360); if (failed) return link;
12329                            pushFollow(FOLLOW_link_interwiki_pagename_in_link_address3367);
12330                            p=link_interwiki_pagename();
12331                            _fsp--;
12332                            if (failed) return link;
12333                            if ( backtracking==0 ) {
12334                               
12335                                                                    li.setUri(p.toString());
12336                                                                    link = li;
12337                                                            
12338                            }
12339    
12340                            }
12341                            break;
12342                    case 2 :
12343                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:583:4: lu= link_uri
12344                            {
12345                            pushFollow(FOLLOW_link_uri_in_link_address3378);
12346                            lu=link_uri();
12347                            _fsp--;
12348                            if (failed) return link;
12349                            if ( backtracking==0 ) {
12350                              link = new LinkNode(lu.toString()); 
12351                            }
12352    
12353                            }
12354                            break;
12355    
12356                    }
12357            }
12358            catch (RecognitionException re) {
12359                    reportError(re);
12360                    recover(input,re);
12361            }
12362            finally {
12363            }
12364            return link;
12365            }
12366            // $ANTLR end link_address
12367    
12368    
12369            // $ANTLR start link_interwiki_uri
12370            // /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' );
12371            public final InterwikiLinkNode link_interwiki_uri() throws RecognitionException {
12372            InterwikiLinkNode interwiki =  null;
12373    
12374            try {
12375                    // /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' )
12376                    int alt118=20;
12377                    switch ( input.LA(1) ) {
12378                    case 44:
12379                    {
12380                    alt118=1;
12381                    }
12382                    break;
12383                    case 46:
12384                    {
12385                    alt118=2;
12386                    }
12387                    break;
12388                    case 52:
12389                    {
12390                    alt118=3;
12391                    }
12392                    break;
12393                    case 56:
12394                    {
12395                    alt118=4;
12396                    }
12397                    break;
12398                    case 59:
12399                    {
12400                    alt118=5;
12401                    }
12402                    break;
12403                    case 62:
12404                    {
12405                    int LA118_6 = input.LA(2);
12406    
12407                    if ( (LA118_6==58) ) {
12408                            int LA118_15 = input.LA(3);
12409    
12410                            if ( (LA118_15==66) ) {
12411                            alt118=7;
12412                            }
12413                            else if ( (LA118_15==63) ) {
12414                            alt118=6;
12415                            }
12416                            else {
12417                            if (backtracking>0) {failed=true; return interwiki;}
12418                            NoViableAltException nvae =
12419                                    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);
12420    
12421                            throw nvae;
12422                            }
12423                    }
12424                    else if ( (LA118_6==47) ) {
12425                            alt118=8;
12426                    }
12427                    else {
12428                            if (backtracking>0) {failed=true; return interwiki;}
12429                            NoViableAltException nvae =
12430                            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);
12431    
12432                            throw nvae;
12433                    }
12434                    }
12435                    break;
12436                    case 68:
12437                    {
12438                    int LA118_7 = input.LA(2);
12439    
12440                    if ( (LA118_7==66) ) {
12441                            alt118=9;
12442                    }
12443                    else if ( (LA118_7==71) ) {
12444                            alt118=10;
12445                    }
12446                    else {
12447                            if (backtracking>0) {failed=true; return interwiki;}
12448                            NoViableAltException nvae =
12449                            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);
12450    
12451                            throw nvae;
12452                    }
12453                    }
12454                    break;
12455                    case 61:
12456                    {
12457                    int LA118_8 = input.LA(2);
12458    
12459                    if ( (LA118_8==49) ) {
12460                            int LA118_19 = input.LA(3);
12461    
12462                            if ( (LA118_19==55) ) {
12463                            alt118=13;
12464                            }
12465                            else if ( (LA118_19==48) ) {
12466                            alt118=12;
12467                            }
12468                            else {
12469                            if (backtracking>0) {failed=true; return interwiki;}
12470                            NoViableAltException nvae =
12471                                    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);
12472    
12473                            throw nvae;
12474                            }
12475                    }
12476                    else if ( (LA118_8==69) ) {
12477                            alt118=11;
12478                    }
12479                    else {
12480                            if (backtracking>0) {failed=true; return interwiki;}
12481                            NoViableAltException nvae =
12482                            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);
12483    
12484                            throw nvae;
12485                    }
12486                    }
12487                    break;
12488                    case 73:
12489                    {
12490                    alt118=14;
12491                    }
12492                    break;
12493                    case 60:
12494                    {
12495                    alt118=15;
12496                    }
12497                    break;
12498                    case 75:
12499                    {
12500                    int LA118_11 = input.LA(2);
12501    
12502                    if ( (LA118_11==50) ) {
12503                            alt118=17;
12504                    }
12505                    else if ( (LA118_11==51) ) {
12506                            alt118=16;
12507                    }
12508                    else {
12509                            if (backtracking>0) {failed=true; return interwiki;}
12510                            NoViableAltException nvae =
12511                            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);
12512    
12513                            throw nvae;
12514                    }
12515                    }
12516                    break;
12517                    case 77:
12518                    {
12519                    alt118=18;
12520                    }
12521                    break;
12522                    case 50:
12523                    {
12524                    alt118=19;
12525                    }
12526                    break;
12527                    case 78:
12528                    {
12529                    alt118=20;
12530                    }
12531                    break;
12532                    default:
12533                    if (backtracking>0) {failed=true; return interwiki;}
12534                    NoViableAltException nvae =
12535                            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);
12536    
12537                    throw nvae;
12538                    }
12539    
12540                    switch (alt118) {
12541                    case 1 :
12542                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:586:4: 'C' '2'
12543                            {
12544                            match(input,44,FOLLOW_44_in_link_interwiki_uri3394); if (failed) return interwiki;
12545                            match(input,45,FOLLOW_45_in_link_interwiki_uri3396); if (failed) return interwiki;
12546    
12547                            }
12548                            break;
12549                    case 2 :
12550                            // /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'
12551                            {
12552                            match(input,46,FOLLOW_46_in_link_interwiki_uri3401); if (failed) return interwiki;
12553                            match(input,47,FOLLOW_47_in_link_interwiki_uri3403); if (failed) return interwiki;
12554                            match(input,48,FOLLOW_48_in_link_interwiki_uri3405); if (failed) return interwiki;
12555                            match(input,49,FOLLOW_49_in_link_interwiki_uri3407); if (failed) return interwiki;
12556                            match(input,50,FOLLOW_50_in_link_interwiki_uri3409); if (failed) return interwiki;
12557                            match(input,51,FOLLOW_51_in_link_interwiki_uri3411); if (failed) return interwiki;
12558                            match(input,48,FOLLOW_48_in_link_interwiki_uri3413); if (failed) return interwiki;
12559                            match(input,51,FOLLOW_51_in_link_interwiki_uri3415); if (failed) return interwiki;
12560    
12561                            }
12562                            break;
12563                    case 3 :
12564                            // /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'
12565                            {
12566                            match(input,52,FOLLOW_52_in_link_interwiki_uri3420); if (failed) return interwiki;
12567                            match(input,53,FOLLOW_53_in_link_interwiki_uri3422); if (failed) return interwiki;
12568                            match(input,51,FOLLOW_51_in_link_interwiki_uri3424); if (failed) return interwiki;
12569                            match(input,54,FOLLOW_54_in_link_interwiki_uri3426); if (failed) return interwiki;
12570                            match(input,48,FOLLOW_48_in_link_interwiki_uri3428); if (failed) return interwiki;
12571                            match(input,55,FOLLOW_55_in_link_interwiki_uri3430); if (failed) return interwiki;
12572    
12573                            }
12574                            break;
12575                    case 4 :
12576                            // /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'
12577                            {
12578                            match(input,56,FOLLOW_56_in_link_interwiki_uri3435); if (failed) return interwiki;
12579                            match(input,47,FOLLOW_47_in_link_interwiki_uri3437); if (failed) return interwiki;
12580                            match(input,47,FOLLOW_47_in_link_interwiki_uri3439); if (failed) return interwiki;
12581                            match(input,57,FOLLOW_57_in_link_interwiki_uri3441); if (failed) return interwiki;
12582                            match(input,53,FOLLOW_53_in_link_interwiki_uri3443); if (failed) return interwiki;
12583                            match(input,58,FOLLOW_58_in_link_interwiki_uri3445); if (failed) return interwiki;
12584    
12585                            }
12586                            break;
12587                    case 5 :
12588                            // /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'
12589                            {
12590                            match(input,59,FOLLOW_59_in_link_interwiki_uri3450); if (failed) return interwiki;
12591                            match(input,60,FOLLOW_60_in_link_interwiki_uri3452); if (failed) return interwiki;
12592                            match(input,61,FOLLOW_61_in_link_interwiki_uri3454); if (failed) return interwiki;
12593                            match(input,50,FOLLOW_50_in_link_interwiki_uri3456); if (failed) return interwiki;
12594                            match(input,51,FOLLOW_51_in_link_interwiki_uri3458); if (failed) return interwiki;
12595                            match(input,48,FOLLOW_48_in_link_interwiki_uri3460); if (failed) return interwiki;
12596                            match(input,51,FOLLOW_51_in_link_interwiki_uri3462); if (failed) return interwiki;
12597    
12598                            }
12599                            break;
12600                    case 6 :
12601                            // /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'
12602                            {
12603                            match(input,62,FOLLOW_62_in_link_interwiki_uri3467); if (failed) return interwiki;
12604                            match(input,58,FOLLOW_58_in_link_interwiki_uri3469); if (failed) return interwiki;
12605                            match(input,63,FOLLOW_63_in_link_interwiki_uri3471); if (failed) return interwiki;
12606                            match(input,64,FOLLOW_64_in_link_interwiki_uri3473); if (failed) return interwiki;
12607                            match(input,65,FOLLOW_65_in_link_interwiki_uri3475); if (failed) return interwiki;
12608                            match(input,63,FOLLOW_63_in_link_interwiki_uri3477); if (failed) return interwiki;
12609                            match(input,53,FOLLOW_53_in_link_interwiki_uri3479); if (failed) return interwiki;
12610                            match(input,53,FOLLOW_53_in_link_interwiki_uri3481); if (failed) return interwiki;
12611    
12612                            }
12613                            break;
12614                    case 7 :
12615                            // /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'
12616                            {
12617                            match(input,62,FOLLOW_62_in_link_interwiki_uri3486); if (failed) return interwiki;
12618                            match(input,58,FOLLOW_58_in_link_interwiki_uri3488); if (failed) return interwiki;
12619                            match(input,66,FOLLOW_66_in_link_interwiki_uri3490); if (failed) return interwiki;
12620                            match(input,51,FOLLOW_51_in_link_interwiki_uri3492); if (failed) return interwiki;
12621                            match(input,63,FOLLOW_63_in_link_interwiki_uri3494); if (failed) return interwiki;
12622                            match(input,50,FOLLOW_50_in_link_interwiki_uri3496); if (failed) return interwiki;
12623                            match(input,51,FOLLOW_51_in_link_interwiki_uri3498); if (failed) return interwiki;
12624                            match(input,48,FOLLOW_48_in_link_interwiki_uri3500); if (failed) return interwiki;
12625                            match(input,51,FOLLOW_51_in_link_interwiki_uri3502); if (failed) return interwiki;
12626    
12627                            }
12628                            break;
12629                    case 8 :
12630                            // /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'
12631                            {
12632                            match(input,62,FOLLOW_62_in_link_interwiki_uri3507); if (failed) return interwiki;
12633                            match(input,47,FOLLOW_47_in_link_interwiki_uri3509); if (failed) return interwiki;
12634                            match(input,51,FOLLOW_51_in_link_interwiki_uri3511); if (failed) return interwiki;
12635                            match(input,67,FOLLOW_67_in_link_interwiki_uri3513); if (failed) return interwiki;
12636                            match(input,62,FOLLOW_62_in_link_interwiki_uri3515); if (failed) return interwiki;
12637                            match(input,47,FOLLOW_47_in_link_interwiki_uri3517); if (failed) return interwiki;
12638                            match(input,51,FOLLOW_51_in_link_interwiki_uri3519); if (failed) return interwiki;
12639                            match(input,67,FOLLOW_67_in_link_interwiki_uri3521); if (failed) return interwiki;
12640    
12641                            }
12642                            break;
12643                    case 9 :
12644                            // /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'
12645                            {
12646                            match(input,68,FOLLOW_68_in_link_interwiki_uri3526); if (failed) return interwiki;
12647                            match(input,66,FOLLOW_66_in_link_interwiki_uri3528); if (failed) return interwiki;
12648                            match(input,66,FOLLOW_66_in_link_interwiki_uri3530); if (failed) return interwiki;
12649                            match(input,69,FOLLOW_69_in_link_interwiki_uri3532); if (failed) return interwiki;
12650                            match(input,49,FOLLOW_49_in_link_interwiki_uri3534); if (failed) return interwiki;
12651                            match(input,70,FOLLOW_70_in_link_interwiki_uri3536); if (failed) return interwiki;
12652                            match(input,58,FOLLOW_58_in_link_interwiki_uri3538); if (failed) return interwiki;
12653    
12654                            }
12655                            break;
12656                    case 10 :
12657                            // /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'
12658                            {
12659                            match(input,68,FOLLOW_68_in_link_interwiki_uri3543); if (failed) return interwiki;
12660                            match(input,71,FOLLOW_71_in_link_interwiki_uri3545); if (failed) return interwiki;
12661                            match(input,63,FOLLOW_63_in_link_interwiki_uri3547); if (failed) return interwiki;
12662                            match(input,67,FOLLOW_67_in_link_interwiki_uri3549); if (failed) return interwiki;
12663                            match(input,63,FOLLOW_63_in_link_interwiki_uri3551); if (failed) return interwiki;
12664    
12665                            }
12666                            break;
12667                    case 11 :
12668                            // /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'
12669                            {
12670                            match(input,61,FOLLOW_61_in_link_interwiki_uri3556); if (failed) return interwiki;
12671                            match(input,69,FOLLOW_69_in_link_interwiki_uri3558); if (failed) return interwiki;
12672                            match(input,50,FOLLOW_50_in_link_interwiki_uri3560); if (failed) return interwiki;
12673                            match(input,51,FOLLOW_51_in_link_interwiki_uri3562); if (failed) return interwiki;
12674                            match(input,48,FOLLOW_48_in_link_interwiki_uri3564); if (failed) return interwiki;
12675                            match(input,51,FOLLOW_51_in_link_interwiki_uri3566); if (failed) return interwiki;
12676    
12677                            }
12678                            break;
12679                    case 12 :
12680                            // /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'
12681                            {
12682                            match(input,61,FOLLOW_61_in_link_interwiki_uri3571); if (failed) return interwiki;
12683                            match(input,49,FOLLOW_49_in_link_interwiki_uri3573); if (failed) return interwiki;
12684                            match(input,48,FOLLOW_48_in_link_interwiki_uri3575); if (failed) return interwiki;
12685                            match(input,51,FOLLOW_51_in_link_interwiki_uri3577); if (failed) return interwiki;
12686                            match(input,50,FOLLOW_50_in_link_interwiki_uri3579); if (failed) return interwiki;
12687                            match(input,51,FOLLOW_51_in_link_interwiki_uri3581); if (failed) return interwiki;
12688                            match(input,48,FOLLOW_48_in_link_interwiki_uri3583); if (failed) return interwiki;
12689                            match(input,51,FOLLOW_51_in_link_interwiki_uri3585); if (failed) return interwiki;
12690    
12691                            }
12692                            break;
12693                    case 13 :
12694                            // /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'
12695                            {
12696                            match(input,61,FOLLOW_61_in_link_interwiki_uri3590); if (failed) return interwiki;
12697                            match(input,49,FOLLOW_49_in_link_interwiki_uri3592); if (failed) return interwiki;
12698                            match(input,55,FOLLOW_55_in_link_interwiki_uri3594); if (failed) return interwiki;
12699                            match(input,72,FOLLOW_72_in_link_interwiki_uri3596); if (failed) return interwiki;
12700                            match(input,53,FOLLOW_53_in_link_interwiki_uri3598); if (failed) return interwiki;
12701                            match(input,58,FOLLOW_58_in_link_interwiki_uri3600); if (failed) return interwiki;
12702                            match(input,50,FOLLOW_50_in_link_interwiki_uri3602); if (failed) return interwiki;
12703                            match(input,51,FOLLOW_51_in_link_interwiki_uri3604); if (failed) return interwiki;
12704                            match(input,48,FOLLOW_48_in_link_interwiki_uri3606); if (failed) return interwiki;
12705                            match(input,51,FOLLOW_51_in_link_interwiki_uri3608); if (failed) return interwiki;
12706    
12707                            }
12708                            break;
12709                    case 14 :
12710                            // /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'
12711                            {
12712                            match(input,73,FOLLOW_73_in_link_interwiki_uri3613); if (failed) return interwiki;
12713                            match(input,63,FOLLOW_63_in_link_interwiki_uri3615); if (failed) return interwiki;
12714                            match(input,66,FOLLOW_66_in_link_interwiki_uri3617); if (failed) return interwiki;
12715                            match(input,58,FOLLOW_58_in_link_interwiki_uri3619); if (failed) return interwiki;
12716                            match(input,47,FOLLOW_47_in_link_interwiki_uri3621); if (failed) return interwiki;
12717                            match(input,74,FOLLOW_74_in_link_interwiki_uri3623); if (failed) return interwiki;
12718    
12719                            }
12720                            break;
12721                    case 15 :
12722                            // /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'
12723                            {
12724                            match(input,60,FOLLOW_60_in_link_interwiki_uri3628); if (failed) return interwiki;
12725                            match(input,67,FOLLOW_67_in_link_interwiki_uri3630); if (failed) return interwiki;
12726                            match(input,51,FOLLOW_51_in_link_interwiki_uri3632); if (failed) return interwiki;
12727                            match(input,72,FOLLOW_72_in_link_interwiki_uri3634); if (failed) return interwiki;
12728                            match(input,60,FOLLOW_60_in_link_interwiki_uri3636); if (failed) return interwiki;
12729                            match(input,67,FOLLOW_67_in_link_interwiki_uri3638); if (failed) return interwiki;
12730                            match(input,63,FOLLOW_63_in_link_interwiki_uri3640); if (failed) return interwiki;
12731                            match(input,72,FOLLOW_72_in_link_interwiki_uri3642); if (failed) return interwiki;
12732    
12733                            }
12734                            break;
12735                    case 16 :
12736                            // /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'
12737                            {
12738                            match(input,75,FOLLOW_75_in_link_interwiki_uri3647); if (failed) return interwiki;
12739                            match(input,51,FOLLOW_51_in_link_interwiki_uri3649); if (failed) return interwiki;
12740                            match(input,66,FOLLOW_66_in_link_interwiki_uri3651); if (failed) return interwiki;
12741                            match(input,66,FOLLOW_66_in_link_interwiki_uri3653); if (failed) return interwiki;
12742                            match(input,53,FOLLOW_53_in_link_interwiki_uri3655); if (failed) return interwiki;
12743                            match(input,76,FOLLOW_76_in_link_interwiki_uri3657); if (failed) return interwiki;
12744                            match(input,50,FOLLOW_50_in_link_interwiki_uri3659); if (failed) return interwiki;
12745                            match(input,51,FOLLOW_51_in_link_interwiki_uri3661); if (failed) return interwiki;
12746                            match(input,48,FOLLOW_48_in_link_interwiki_uri3663); if (failed) return interwiki;
12747                            match(input,51,FOLLOW_51_in_link_interwiki_uri3665); if (failed) return interwiki;
12748    
12749                            }
12750                            break;
12751                    case 17 :
12752                            // /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'
12753                            {
12754                            match(input,75,FOLLOW_75_in_link_interwiki_uri3670); if (failed) return interwiki;
12755                            match(input,50,FOLLOW_50_in_link_interwiki_uri3672); if (failed) return interwiki;
12756                            match(input,51,FOLLOW_51_in_link_interwiki_uri3674); if (failed) return interwiki;
12757                            match(input,48,FOLLOW_48_in_link_interwiki_uri3676); if (failed) return interwiki;
12758                            match(input,51,FOLLOW_51_in_link_interwiki_uri3678); if (failed) return interwiki;
12759    
12760                            }
12761                            break;
12762                    case 18 :
12763                            // /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'
12764                            {
12765                            match(input,77,FOLLOW_77_in_link_interwiki_uri3683); if (failed) return interwiki;
12766                            match(input,70,FOLLOW_70_in_link_interwiki_uri3685); if (failed) return interwiki;
12767                            match(input,58,FOLLOW_58_in_link_interwiki_uri3687); if (failed) return interwiki;
12768                            match(input,69,FOLLOW_69_in_link_interwiki_uri3689); if (failed) return interwiki;
12769                            match(input,47,FOLLOW_47_in_link_interwiki_uri3691); if (failed) return interwiki;
12770                            match(input,66,FOLLOW_66_in_link_interwiki_uri3693); if (failed) return interwiki;
12771    
12772                            }
12773                            break;
12774                    case 19 :
12775                            // /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'
12776                            {
12777                            match(input,50,FOLLOW_50_in_link_interwiki_uri3698); if (failed) return interwiki;
12778                            match(input,51,FOLLOW_51_in_link_interwiki_uri3700); if (failed) return interwiki;
12779                            match(input,48,FOLLOW_48_in_link_interwiki_uri3702); if (failed) return interwiki;
12780                            match(input,51,FOLLOW_51_in_link_interwiki_uri3704); if (failed) return interwiki;
12781                            match(input,72,FOLLOW_72_in_link_interwiki_uri3706); if (failed) return interwiki;
12782                            match(input,58,FOLLOW_58_in_link_interwiki_uri3708); if (failed) return interwiki;
12783                            match(input,66,FOLLOW_66_in_link_interwiki_uri3710); if (failed) return interwiki;
12784                            match(input,51,FOLLOW_51_in_link_interwiki_uri3712); if (failed) return interwiki;
12785                            match(input,63,FOLLOW_63_in_link_interwiki_uri3714); if (failed) return interwiki;
12786    
12787                            }
12788                            break;
12789                    case 20 :
12790                            // /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'
12791                            {
12792                            match(input,78,FOLLOW_78_in_link_interwiki_uri3719); if (failed) return interwiki;
12793                            match(input,50,FOLLOW_50_in_link_interwiki_uri3721); if (failed) return interwiki;
12794                            match(input,51,FOLLOW_51_in_link_interwiki_uri3723); if (failed) return interwiki;
12795                            match(input,48,FOLLOW_48_in_link_interwiki_uri3725); if (failed) return interwiki;
12796                            match(input,51,FOLLOW_51_in_link_interwiki_uri3727); if (failed) return interwiki;
12797    
12798                            }
12799                            break;
12800    
12801                    }
12802            }
12803            catch (RecognitionException re) {
12804                    reportError(re);
12805                    recover(input,re);
12806            }
12807            finally {
12808            }
12809            return interwiki;
12810            }
12811            // $ANTLR end link_interwiki_uri
12812    
12813    
12814            // $ANTLR start link_interwiki_pagename
12815            // /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 ) )+ ;
12816            public final StringBundler link_interwiki_pagename() throws RecognitionException {
12817            StringBundler text =  new StringBundler();
12818    
12819            Token c=null;
12820    
12821            try {
12822                    // /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 ) )+ )
12823                    // /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 ) )+
12824                    {
12825                    // /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 ) )+
12826                    int cnt119=0;
12827                    loop119:
12828                    do {
12829                    int alt119=2;
12830                    int LA119_0 = input.LA(1);
12831    
12832                    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<=78)) ) {
12833                            alt119=1;
12834                    }
12835    
12836    
12837                    switch (alt119) {
12838                    case 1 :
12839                            // /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 )
12840                            {
12841                            c=(Token)input.LT(1);
12842                            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)<=78) ) {
12843                            input.consume();
12844                            errorRecovery=false;failed=false;
12845                            }
12846                            else {
12847                            if (backtracking>0) {failed=true; return text;}
12848                            MismatchedSetException mse =
12849                                    new MismatchedSetException(null,input);
12850                            recoverFromMismatchedSet(input,mse,FOLLOW_set_in_link_interwiki_pagename3747);    throw mse;
12851                            }
12852    
12853                            if ( backtracking==0 ) {
12854                               text.append(c.getText()); 
12855                            }
12856    
12857                            }
12858                            break;
12859    
12860                    default :
12861                            if ( cnt119 >= 1 ) break loop119;
12862                            if (backtracking>0) {failed=true; return text;}
12863                            EarlyExitException eee =
12864                                    new EarlyExitException(119, input);
12865                            throw eee;
12866                    }
12867                    cnt119++;
12868                    } while (true);
12869    
12870    
12871                    }
12872    
12873            }
12874            catch (RecognitionException re) {
12875                    reportError(re);
12876                    recover(input,re);
12877            }
12878            finally {
12879            }
12880            return text;
12881            }
12882            // $ANTLR end link_interwiki_pagename
12883    
12884    
12885            // $ANTLR start link_description
12886            // /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 )+ ;
12887            public final CollectionNode link_description() throws RecognitionException {
12888            CollectionNode node =  new CollectionNode();
12889    
12890            ASTNode l = null;
12891    
12892            ImageNode i = null;
12893    
12894    
12895            try {
12896                    // /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 )+ )
12897                    // /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 )+
12898                    {
12899                    // /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 )+
12900                    int cnt120=0;
12901                    loop120:
12902                    do {
12903                    int alt120=3;
12904                    int LA120_0 = input.LA(1);
12905    
12906                    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<=78)) ) {
12907                            alt120=1;
12908                    }
12909                    else if ( (LA120_0==IMAGE_OPEN) ) {
12910                            alt120=2;
12911                    }
12912    
12913    
12914                    switch (alt120) {
12915                    case 1 :
12916                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:611:6: l= link_descriptionpart
12917                            {
12918                            pushFollow(FOLLOW_link_descriptionpart_in_link_description3790);
12919                            l=link_descriptionpart();
12920                            _fsp--;
12921                            if (failed) return node;
12922                            if ( backtracking==0 ) {
12923    
12924                                                            // Recover code: some bad syntax could include null elements in the collection            
12925                                                            if(l != null) {
12926                                                                    node.add(l);
12927                                                            }
12928                                                    
12929                            }
12930    
12931                            }
12932                            break;
12933                    case 2 :
12934                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:617:5: i= image
12935                            {
12936                            pushFollow(FOLLOW_image_in_link_description3802);
12937                            i=image();
12938                            _fsp--;
12939                            if (failed) return node;
12940                            if ( backtracking==0 ) {
12941                              node.add(i);
12942                            }
12943    
12944                            }
12945                            break;
12946    
12947                    default :
12948                            if ( cnt120 >= 1 ) break loop120;
12949                            if (backtracking>0) {failed=true; return node;}
12950                            EarlyExitException eee =
12951                                    new EarlyExitException(120, input);
12952                            throw eee;
12953                    }
12954                    cnt120++;
12955                    } while (true);
12956    
12957    
12958                    }
12959    
12960            }
12961            catch (RecognitionException re) {
12962                    reportError(re);
12963                    recover(input,re);
12964            }
12965            finally {
12966            }
12967            return node;
12968            }
12969            // $ANTLR end link_description
12970    
12971            protected static class link_descriptionpart_scope {
12972            CollectionNode element;
12973            }
12974            protected Stack link_descriptionpart_stack = new Stack();
12975    
12976    
12977            // $ANTLR start link_descriptionpart
12978            // /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 )+ );
12979            public final ASTNode link_descriptionpart() throws RecognitionException {
12980            link_descriptionpart_stack.push(new link_descriptionpart_scope());
12981            ASTNode text =  null;
12982    
12983            ASTNode lb = null;
12984    
12985            ASTNode li = null;
12986    
12987            CollectionNode t = null;
12988    
12989    
12990    
12991                    ((link_descriptionpart_scope)link_descriptionpart_stack.peek()).element = new CollectionNode();
12992    
12993            try {
12994                    // /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 )+ )
12995                    int alt124=3;
12996                    switch ( input.LA(1) ) {
12997                    case STAR:
12998                    {
12999                    int LA124_1 = input.LA(2);
13000    
13001                    if ( (LA124_1==STAR) ) {
13002                            alt124=1;
13003                    }
13004                    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<=78)) ) {
13005                            alt124=3;
13006                    }
13007                    else {
13008                            if (backtracking>0) {failed=true; return text;}
13009                            NoViableAltException nvae =
13010                            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);
13011    
13012                            throw nvae;
13013                    }
13014                    }
13015                    break;
13016                    case ITAL:
13017                    {
13018                    alt124=2;
13019                    }
13020                    break;
13021                    case FORCED_END_OF_LINE:
13022                    case HEADING_SECTION:
13023                    case HORIZONTAL_SECTION:
13024                    case LIST_ITEM:
13025                    case LIST_ITEM_PART:
13026                    case NOWIKI_SECTION:
13027                    case SCAPE_NODE:
13028                    case TEXT_NODE:
13029                    case UNORDERED_LIST:
13030                    case UNFORMATTED_TEXT:
13031                    case WIKI:
13032                    case POUND:
13033                    case EQUAL:
13034                    case PIPE:
13035                    case FORCED_LINEBREAK:
13036                    case ESCAPE:
13037                    case NOWIKI_BLOCK_CLOSE:
13038                    case NOWIKI_CLOSE:
13039                    case IMAGE_CLOSE:
13040                    case BLANKS:
13041                    case TABLE_OF_CONTENTS_TEXT:
13042                    case DASH:
13043                    case CR:
13044                    case LF:
13045                    case SPACE:
13046                    case TABULATOR:
13047                    case COLON_SLASH:
13048                    case SLASH:
13049                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
13050                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
13051                    case INSIGNIFICANT_CHAR:
13052                    case 43:
13053                    case 44:
13054                    case 45:
13055                    case 46:
13056                    case 47:
13057                    case 48:
13058                    case 49:
13059                    case 50:
13060                    case 51:
13061                    case 52:
13062                    case 53:
13063                    case 54:
13064                    case 55:
13065                    case 56:
13066                    case 57:
13067                    case 58:
13068                    case 59:
13069                    case 60:
13070                    case 61:
13071                    case 62:
13072                    case 63:
13073                    case 64:
13074                    case 65:
13075                    case 66:
13076                    case 67:
13077                    case 68:
13078                    case 69:
13079                    case 70:
13080                    case 71:
13081                    case 72:
13082                    case 73:
13083                    case 74:
13084                    case 75:
13085                    case 76:
13086                    case 77:
13087                    case 78:
13088                    {
13089                    alt124=3;
13090                    }
13091                    break;
13092                    default:
13093                    if (backtracking>0) {failed=true; return text;}
13094                    NoViableAltException nvae =
13095                            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);
13096    
13097                    throw nvae;
13098                    }
13099    
13100                    switch (alt124) {
13101                    case 1 :
13102                            // /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
13103                            {
13104                            pushFollow(FOLLOW_bold_markup_in_link_descriptionpart3827);
13105                            bold_markup();
13106                            _fsp--;
13107                            if (failed) return text;
13108                            pushFollow(FOLLOW_onestar_in_link_descriptionpart3830);
13109                            onestar();
13110                            _fsp--;
13111                            if (failed) return text;
13112                            // /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 )+
13113                            int cnt121=0;
13114                            loop121:
13115                            do {
13116                            int alt121=2;
13117                            int LA121_0 = input.LA(1);
13118    
13119                            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<=78)) ) {
13120                                    alt121=1;
13121                            }
13122    
13123    
13124                            switch (alt121) {
13125                            case 1 :
13126                                    // /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
13127                                    {
13128                                    pushFollow(FOLLOW_link_bold_descriptionpart_in_link_descriptionpart3838);
13129                                    lb=link_bold_descriptionpart();
13130                                    _fsp--;
13131                                    if (failed) return text;
13132                                    if ( backtracking==0 ) {
13133                                      ((link_descriptionpart_scope)link_descriptionpart_stack.peek()).element.add(lb);
13134                                    }
13135                                    pushFollow(FOLLOW_onestar_in_link_descriptionpart3843);
13136                                    onestar();
13137                                    _fsp--;
13138                                    if (failed) return text;
13139    
13140                                    }
13141                                    break;
13142    
13143                            default :
13144                                    if ( cnt121 >= 1 ) break loop121;
13145                                    if (backtracking>0) {failed=true; return text;}
13146                                    EarlyExitException eee =
13147                                            new EarlyExitException(121, input);
13148                                    throw eee;
13149                            }
13150                            cnt121++;
13151                            } while (true);
13152    
13153                            if ( backtracking==0 ) {
13154                              text = new BoldTextNode(((link_descriptionpart_scope)link_descriptionpart_stack.peek()).element);
13155                            }
13156                            pushFollow(FOLLOW_bold_markup_in_link_descriptionpart3853);
13157                            bold_markup();
13158                            _fsp--;
13159                            if (failed) return text;
13160    
13161                            }
13162                            break;
13163                    case 2 :
13164                            // /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
13165                            {
13166                            pushFollow(FOLLOW_ital_markup_in_link_descriptionpart3858);
13167                            ital_markup();
13168                            _fsp--;
13169                            if (failed) return text;
13170                            pushFollow(FOLLOW_onestar_in_link_descriptionpart3861);
13171                            onestar();
13172                            _fsp--;
13173                            if (failed) return text;
13174                            // /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 )+
13175                            int cnt122=0;
13176                            loop122:
13177                            do {
13178                            int alt122=2;
13179                            int LA122_0 = input.LA(1);
13180    
13181                            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<=78)) ) {
13182                                    alt122=1;
13183                            }
13184    
13185    
13186                            switch (alt122) {
13187                            case 1 :
13188                                    // /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
13189                                    {
13190                                    pushFollow(FOLLOW_link_ital_descriptionpart_in_link_descriptionpart3870);
13191                                    li=link_ital_descriptionpart();
13192                                    _fsp--;
13193                                    if (failed) return text;
13194                                    if ( backtracking==0 ) {
13195                                      ((link_descriptionpart_scope)link_descriptionpart_stack.peek()).element.add(li);
13196                                    }
13197                                    pushFollow(FOLLOW_onestar_in_link_descriptionpart3875);
13198                                    onestar();
13199                                    _fsp--;
13200                                    if (failed) return text;
13201    
13202                                    }
13203                                    break;
13204    
13205                            default :
13206                                    if ( cnt122 >= 1 ) break loop122;
13207                                    if (backtracking>0) {failed=true; return text;}
13208                                    EarlyExitException eee =
13209                                            new EarlyExitException(122, input);
13210                                    throw eee;
13211                            }
13212                            cnt122++;
13213                            } while (true);
13214    
13215                            if ( backtracking==0 ) {
13216                              text = new ItalicTextNode(((link_descriptionpart_scope)link_descriptionpart_stack.peek()).element);
13217                            }
13218                            pushFollow(FOLLOW_ital_markup_in_link_descriptionpart3884);
13219                            ital_markup();
13220                            _fsp--;
13221                            if (failed) return text;
13222    
13223                            }
13224                            break;
13225                    case 3 :
13226                            // /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 )+
13227                            {
13228                            pushFollow(FOLLOW_onestar_in_link_descriptionpart3889);
13229                            onestar();
13230                            _fsp--;
13231                            if (failed) return text;
13232                            // /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 )+
13233                            int cnt123=0;
13234                            loop123:
13235                            do {
13236                            int alt123=2;
13237                            switch ( input.LA(1) ) {
13238                            case FORCED_END_OF_LINE:
13239                            case HEADING_SECTION:
13240                            case HORIZONTAL_SECTION:
13241                            case LIST_ITEM:
13242                            case LIST_ITEM_PART:
13243                            case NOWIKI_SECTION:
13244                            case SCAPE_NODE:
13245                            case TEXT_NODE:
13246                            case UNORDERED_LIST:
13247                            case UNFORMATTED_TEXT:
13248                            case WIKI:
13249                            case POUND:
13250                            case EQUAL:
13251                            case PIPE:
13252                            case NOWIKI_BLOCK_CLOSE:
13253                            case NOWIKI_CLOSE:
13254                            case IMAGE_CLOSE:
13255                            case BLANKS:
13256                            case TABLE_OF_CONTENTS_TEXT:
13257                            case DASH:
13258                            case CR:
13259                            case LF:
13260                            case SPACE:
13261                            case TABULATOR:
13262                            case COLON_SLASH:
13263                            case SLASH:
13264                            case TABLE_OF_CONTENTS_OPEN_MARKUP:
13265                            case TABLE_OF_CONTENTS_CLOSE_MARKUP:
13266                            case INSIGNIFICANT_CHAR:
13267                            case 43:
13268                            case 44:
13269                            case 45:
13270                            case 46:
13271                            case 47:
13272                            case 48:
13273                            case 49:
13274                            case 50:
13275                            case 51:
13276                            case 52:
13277                            case 53:
13278                            case 54:
13279                            case 55:
13280                            case 56:
13281                            case 57:
13282                            case 58:
13283                            case 59:
13284                            case 60:
13285                            case 61:
13286                            case 62:
13287                            case 63:
13288                            case 64:
13289                            case 65:
13290                            case 66:
13291                            case 67:
13292                            case 68:
13293                            case 69:
13294                            case 70:
13295                            case 71:
13296                            case 72:
13297                            case 73:
13298                            case 74:
13299                            case 75:
13300                            case 76:
13301                            case 77:
13302                            case 78:
13303                                    {
13304                                    alt123=1;
13305                                    }
13306                                    break;
13307                            case FORCED_LINEBREAK:
13308                                    {
13309                                    alt123=1;
13310                                    }
13311                                    break;
13312                            case ESCAPE:
13313                                    {
13314                                    alt123=1;
13315                                    }
13316                                    break;
13317    
13318                            }
13319    
13320                            switch (alt123) {
13321                            case 1 :
13322                                    // /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
13323                                    {
13324                                    pushFollow(FOLLOW_link_descriptiontext_in_link_descriptionpart3898);
13325                                    t=link_descriptiontext();
13326                                    _fsp--;
13327                                    if (failed) return text;
13328                                    pushFollow(FOLLOW_onestar_in_link_descriptionpart3901);
13329                                    onestar();
13330                                    _fsp--;
13331                                    if (failed) return text;
13332                                    if ( backtracking==0 ) {
13333                                      ((link_descriptionpart_scope)link_descriptionpart_stack.peek()).element.add(t);
13334                                    }
13335    
13336                                    }
13337                                    break;
13338    
13339                            default :
13340                                    if ( cnt123 >= 1 ) break loop123;
13341                                    if (backtracking>0) {failed=true; return text;}
13342                                    EarlyExitException eee =
13343                                            new EarlyExitException(123, input);
13344                                    throw eee;
13345                            }
13346                            cnt123++;
13347                            } while (true);
13348    
13349                            if ( backtracking==0 ) {
13350                              text = new UnformattedTextNode(((link_descriptionpart_scope)link_descriptionpart_stack.peek()).element);
13351                            }
13352    
13353                            }
13354                            break;
13355    
13356                    }
13357            }
13358            catch (RecognitionException re) {
13359                    reportError(re);
13360                    recover(input,re);
13361            }
13362            finally {
13363                    link_descriptionpart_stack.pop();
13364            }
13365            return text;
13366            }
13367            // $ANTLR end link_descriptionpart
13368    
13369    
13370            // $ANTLR start link_bold_descriptionpart
13371            // /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 );
13372            public final ASTNode link_bold_descriptionpart() throws RecognitionException {
13373            ASTNode text =  null;
13374    
13375            CollectionNode t = null;
13376    
13377            CollectionNode ld = null;
13378    
13379    
13380            try {
13381                    // /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 )
13382                    int alt125=2;
13383                    int LA125_0 = input.LA(1);
13384    
13385                    if ( (LA125_0==ITAL) ) {
13386                    alt125=1;
13387                    }
13388                    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<=78)) ) {
13389                    alt125=2;
13390                    }
13391                    else {
13392                    if (backtracking>0) {failed=true; return text;}
13393                    NoViableAltException nvae =
13394                            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);
13395    
13396                    throw nvae;
13397                    }
13398                    switch (alt125) {
13399                    case 1 :
13400                            // /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
13401                            {
13402                            pushFollow(FOLLOW_ital_markup_in_link_bold_descriptionpart3921);
13403                            ital_markup();
13404                            _fsp--;
13405                            if (failed) return text;
13406                            pushFollow(FOLLOW_link_boldital_description_in_link_bold_descriptionpart3928);
13407                            t=link_boldital_description();
13408                            _fsp--;
13409                            if (failed) return text;
13410                            if ( backtracking==0 ) {
13411                              text = new ItalicTextNode(t);
13412                            }
13413                            pushFollow(FOLLOW_ital_markup_in_link_bold_descriptionpart3933);
13414                            ital_markup();
13415                            _fsp--;
13416                            if (failed) return text;
13417    
13418                            }
13419                            break;
13420                    case 2 :
13421                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:634:4: ld= link_descriptiontext
13422                            {
13423                            pushFollow(FOLLOW_link_descriptiontext_in_link_bold_descriptionpart3942);
13424                            ld=link_descriptiontext();
13425                            _fsp--;
13426                            if (failed) return text;
13427                            if ( backtracking==0 ) {
13428                              text =ld;
13429                            }
13430    
13431                            }
13432                            break;
13433    
13434                    }
13435            }
13436            catch (RecognitionException re) {
13437                    reportError(re);
13438                    recover(input,re);
13439            }
13440            finally {
13441            }
13442            return text;
13443            }
13444            // $ANTLR end link_bold_descriptionpart
13445    
13446    
13447            // $ANTLR start link_ital_descriptionpart
13448            // /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 );
13449            public final ASTNode link_ital_descriptionpart() throws RecognitionException {
13450            ASTNode text =  null;
13451    
13452            CollectionNode td = null;
13453    
13454            CollectionNode t = null;
13455    
13456    
13457            try {
13458                    // /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 )
13459                    int alt126=2;
13460                    int LA126_0 = input.LA(1);
13461    
13462                    if ( (LA126_0==STAR) ) {
13463                    alt126=1;
13464                    }
13465                    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<=78)) ) {
13466                    alt126=2;
13467                    }
13468                    else {
13469                    if (backtracking>0) {failed=true; return text;}
13470                    NoViableAltException nvae =
13471                            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);
13472    
13473                    throw nvae;
13474                    }
13475                    switch (alt126) {
13476                    case 1 :
13477                            // /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
13478                            {
13479                            pushFollow(FOLLOW_bold_markup_in_link_ital_descriptionpart3958);
13480                            bold_markup();
13481                            _fsp--;
13482                            if (failed) return text;
13483                            pushFollow(FOLLOW_link_boldital_description_in_link_ital_descriptionpart3965);
13484                            td=link_boldital_description();
13485                            _fsp--;
13486                            if (failed) return text;
13487                            pushFollow(FOLLOW_bold_markup_in_link_ital_descriptionpart3968);
13488                            bold_markup();
13489                            _fsp--;
13490                            if (failed) return text;
13491                            if ( backtracking==0 ) {
13492                              text = new BoldTextNode(td);
13493                            }
13494    
13495                            }
13496                            break;
13497                    case 2 :
13498                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:638:4: t= link_descriptiontext
13499                            {
13500                            pushFollow(FOLLOW_link_descriptiontext_in_link_ital_descriptionpart3979);
13501                            t=link_descriptiontext();
13502                            _fsp--;
13503                            if (failed) return text;
13504                            if ( backtracking==0 ) {
13505                              text = t; 
13506                            }
13507    
13508                            }
13509                            break;
13510    
13511                    }
13512            }
13513            catch (RecognitionException re) {
13514                    reportError(re);
13515                    recover(input,re);
13516            }
13517            finally {
13518            }
13519            return text;
13520            }
13521            // $ANTLR end link_ital_descriptionpart
13522    
13523    
13524            // $ANTLR start link_boldital_description
13525            // /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 )+ ;
13526            public final CollectionNode link_boldital_description() throws RecognitionException {
13527            CollectionNode text =  new CollectionNode();
13528    
13529            CollectionNode t = null;
13530    
13531    
13532            try {
13533                    // /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 )+ )
13534                    // /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 )+
13535                    {
13536                    pushFollow(FOLLOW_onestar_in_link_boldital_description3995);
13537                    onestar();
13538                    _fsp--;
13539                    if (failed) return text;
13540                    // /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 )+
13541                    int cnt127=0;
13542                    loop127:
13543                    do {
13544                    int alt127=2;
13545                    int LA127_0 = input.LA(1);
13546    
13547                    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<=78)) ) {
13548                            alt127=1;
13549                    }
13550    
13551    
13552                    switch (alt127) {
13553                    case 1 :
13554                            // /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
13555                            {
13556                            pushFollow(FOLLOW_link_descriptiontext_in_link_boldital_description4004);
13557                            t=link_descriptiontext();
13558                            _fsp--;
13559                            if (failed) return text;
13560                            pushFollow(FOLLOW_onestar_in_link_boldital_description4007);
13561                            onestar();
13562                            _fsp--;
13563                            if (failed) return text;
13564                            if ( backtracking==0 ) {
13565    
13566                                                            for (ASTNode item:t.getASTNodes()) {
13567                                                                    text.add(item);
13568                                                            }
13569                                                                       
13570                            }
13571    
13572                            }
13573                            break;
13574    
13575                    default :
13576                            if ( cnt127 >= 1 ) break loop127;
13577                            if (backtracking>0) {failed=true; return text;}
13578                            EarlyExitException eee =
13579                                    new EarlyExitException(127, input);
13580                            throw eee;
13581                    }
13582                    cnt127++;
13583                    } while (true);
13584    
13585    
13586                    }
13587    
13588            }
13589            catch (RecognitionException re) {
13590                    reportError(re);
13591                    recover(input,re);
13592            }
13593            finally {
13594            }
13595            return text;
13596            }
13597            // $ANTLR end link_boldital_description
13598    
13599    
13600            // $ANTLR start link_descriptiontext
13601            // /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 )+ );
13602            public final CollectionNode link_descriptiontext() throws RecognitionException {
13603            CollectionNode text =  new CollectionNode();
13604    
13605            StringBundler t = null;
13606    
13607            ScapedNode e = null;
13608    
13609    
13610            try {
13611                    // /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 )+ )
13612                    int alt129=2;
13613                    int LA129_0 = input.LA(1);
13614    
13615                    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<=78)) ) {
13616                    alt129=1;
13617                    }
13618                    else if ( ((LA129_0>=FORCED_LINEBREAK && LA129_0<=ESCAPE)) ) {
13619                    alt129=2;
13620                    }
13621                    else {
13622                    if (backtracking>0) {failed=true; return text;}
13623                    NoViableAltException nvae =
13624                            new NoViableAltException("647:1: link_descriptiontext returns [CollectionNode text = new CollectionNode()] : (t= link_descriptiontext_simple | ( forced_linebreak | e= escaped )+ );", 129, 0, input);
13625    
13626                    throw nvae;
13627                    }
13628                    switch (alt129) {
13629                    case 1 :
13630                            // /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
13631                            {
13632                            pushFollow(FOLLOW_link_descriptiontext_simple_in_link_descriptiontext4030);
13633                            t=link_descriptiontext_simple();
13634                            _fsp--;
13635                            if (failed) return text;
13636                            if ( backtracking==0 ) {
13637                               text.add(new UnformattedTextNode(t.toString()));
13638                            }
13639    
13640                            }
13641                            break;
13642                    case 2 :
13643                            // /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 )+
13644                            {
13645                            // /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 )+
13646                            int cnt128=0;
13647                            loop128:
13648                            do {
13649                            int alt128=3;
13650                            int LA128_0 = input.LA(1);
13651    
13652                            if ( (LA128_0==FORCED_LINEBREAK) ) {
13653                                    alt128=1;
13654                            }
13655                            else if ( (LA128_0==ESCAPE) ) {
13656                                    alt128=2;
13657                            }
13658    
13659    
13660                            switch (alt128) {
13661                            case 1 :
13662                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:649:7: forced_linebreak
13663                                    {
13664                                    pushFollow(FOLLOW_forced_linebreak_in_link_descriptiontext4040);
13665                                    forced_linebreak();
13666                                    _fsp--;
13667                                    if (failed) return text;
13668                                    if ( backtracking==0 ) {
13669                                      text.add(new ForcedEndOfLineNode());
13670                                    }
13671    
13672                                    }
13673                                    break;
13674                            case 2 :
13675                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:650:5: e= escaped
13676                                    {
13677                                    pushFollow(FOLLOW_escaped_in_link_descriptiontext4052);
13678                                    e=escaped();
13679                                    _fsp--;
13680                                    if (failed) return text;
13681                                    if ( backtracking==0 ) {
13682                                      text.add(e);
13683                                    }
13684    
13685                                    }
13686                                    break;
13687    
13688                            default :
13689                                    if ( cnt128 >= 1 ) break loop128;
13690                                    if (backtracking>0) {failed=true; return text;}
13691                                    EarlyExitException eee =
13692                                            new EarlyExitException(128, input);
13693                                    throw eee;
13694                            }
13695                            cnt128++;
13696                            } while (true);
13697    
13698    
13699                            }
13700                            break;
13701    
13702                    }
13703            }
13704            catch (RecognitionException re) {
13705                    reportError(re);
13706                    recover(input,re);
13707            }
13708            finally {
13709            }
13710            return text;
13711            }
13712            // $ANTLR end link_descriptiontext
13713    
13714    
13715            // $ANTLR start link_descriptiontext_simple
13716            // /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 ) )+ ;
13717            public final StringBundler link_descriptiontext_simple() throws RecognitionException {
13718            StringBundler text =  new StringBundler();
13719    
13720            Token c=null;
13721    
13722            try {
13723                    // /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 ) )+ )
13724                    // /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 ) )+
13725                    {
13726                    // /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 ) )+
13727                    int cnt130=0;
13728                    loop130:
13729                    do {
13730                    int alt130=2;
13731                    int LA130_0 = input.LA(1);
13732    
13733                    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<=78)) ) {
13734                            alt130=1;
13735                    }
13736    
13737    
13738                    switch (alt130) {
13739                    case 1 :
13740                            // /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 )
13741                            {
13742                            c=(Token)input.LT(1);
13743                            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)<=78) ) {
13744                            input.consume();
13745                            errorRecovery=false;failed=false;
13746                            }
13747                            else {
13748                            if (backtracking>0) {failed=true; return text;}
13749                            MismatchedSetException mse =
13750                                    new MismatchedSetException(null,input);
13751                            recoverFromMismatchedSet(input,mse,FOLLOW_set_in_link_descriptiontext_simple4077);      throw mse;
13752                            }
13753    
13754                            if ( backtracking==0 ) {
13755                               text.append(c.getText()); 
13756                            }
13757    
13758                            }
13759                            break;
13760    
13761                    default :
13762                            if ( cnt130 >= 1 ) break loop130;
13763                            if (backtracking>0) {failed=true; return text;}
13764                            EarlyExitException eee =
13765                                    new EarlyExitException(130, input);
13766                            throw eee;
13767                    }
13768                    cnt130++;
13769                    } while (true);
13770    
13771    
13772                    }
13773    
13774            }
13775            catch (RecognitionException re) {
13776                    reportError(re);
13777                    recover(input,re);
13778            }
13779            finally {
13780            }
13781            return text;
13782            }
13783            // $ANTLR end link_descriptiontext_simple
13784    
13785    
13786            // $ANTLR start link_uri
13787            // /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 ) )+ ;
13788            public final StringBundler link_uri() throws RecognitionException {
13789            StringBundler text =  new StringBundler();
13790    
13791            Token c=null;
13792    
13793            try {
13794                    // /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 ) )+ )
13795                    // /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 ) )+
13796                    {
13797                    // /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 ) )+
13798                    int cnt131=0;
13799                    loop131:
13800                    do {
13801                    int alt131=2;
13802                    int LA131_0 = input.LA(1);
13803    
13804                    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<=78)) ) {
13805                            alt131=1;
13806                    }
13807    
13808    
13809                    switch (alt131) {
13810                    case 1 :
13811                            // /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 )
13812                            {
13813                            c=(Token)input.LT(1);
13814                            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)<=78) ) {
13815                            input.consume();
13816                            errorRecovery=false;failed=false;
13817                            }
13818                            else {
13819                            if (backtracking>0) {failed=true; return text;}
13820                            MismatchedSetException mse =
13821                                    new MismatchedSetException(null,input);
13822                            recoverFromMismatchedSet(input,mse,FOLLOW_set_in_link_uri4178); throw mse;
13823                            }
13824    
13825                            if ( backtracking==0 ) {
13826                              text.append(c.getText()); 
13827                            }
13828    
13829                            }
13830                            break;
13831    
13832                    default :
13833                            if ( cnt131 >= 1 ) break loop131;
13834                            if (backtracking>0) {failed=true; return text;}
13835                            EarlyExitException eee =
13836                                    new EarlyExitException(131, input);
13837                            throw eee;
13838                    }
13839                    cnt131++;
13840                    } while (true);
13841    
13842    
13843                    }
13844    
13845            }
13846            catch (RecognitionException re) {
13847                    reportError(re);
13848                    recover(input,re);
13849            }
13850            finally {
13851            }
13852            return text;
13853            }
13854            // $ANTLR end link_uri
13855    
13856    
13857            // $ANTLR start image
13858            // /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 ;
13859            public final ImageNode image() throws RecognitionException {
13860            ImageNode image =  new ImageNode();
13861    
13862            StringBundler uri = null;
13863    
13864            CollectionNode alt = null;
13865    
13866    
13867            try {
13868                    // /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 )
13869                    // /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
13870                    {
13871                    pushFollow(FOLLOW_image_open_markup_in_image4219);
13872                    image_open_markup();
13873                    _fsp--;
13874                    if (failed) return image;
13875                    pushFollow(FOLLOW_image_uri_in_image4225);
13876                    uri=image_uri();
13877                    _fsp--;
13878                    if (failed) return image;
13879                    if ( backtracking==0 ) {
13880                      image.setLink(uri.toString());
13881                    }
13882                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:674:79: (alt= image_alternative )?
13883                    int alt132=2;
13884                    int LA132_0 = input.LA(1);
13885    
13886                    if ( (LA132_0==PIPE) ) {
13887                    alt132=1;
13888                    }
13889                    switch (alt132) {
13890                    case 1 :
13891                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:674:81: alt= image_alternative
13892                            {
13893                            pushFollow(FOLLOW_image_alternative_in_image4235);
13894                            alt=image_alternative();
13895                            _fsp--;
13896                            if (failed) return image;
13897                            if ( backtracking==0 ) {
13898                              image.setAltCollectionNode(alt);
13899                            }
13900    
13901                            }
13902                            break;
13903    
13904                    }
13905    
13906                    pushFollow(FOLLOW_image_close_markup_in_image4244);
13907                    image_close_markup();
13908                    _fsp--;
13909                    if (failed) return image;
13910    
13911                    }
13912    
13913            }
13914            catch (RecognitionException re) {
13915                    reportError(re);
13916                    recover(input,re);
13917            }
13918            finally {
13919            }
13920            return image;
13921            }
13922            // $ANTLR end image
13923    
13924    
13925            // $ANTLR start image_uri
13926            // /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 ) )+ ;
13927            public final StringBundler image_uri() throws RecognitionException {
13928            StringBundler link =  new StringBundler();
13929    
13930            Token c=null;
13931    
13932            try {
13933                    // /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 ) )+ )
13934                    // /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 ) )+
13935                    {
13936                    // /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 ) )+
13937                    int cnt133=0;
13938                    loop133:
13939                    do {
13940                    int alt133=2;
13941                    int LA133_0 = input.LA(1);
13942    
13943                    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<=78)) ) {
13944                            alt133=1;
13945                    }
13946    
13947    
13948                    switch (alt133) {
13949                    case 1 :
13950                            // /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 )
13951                            {
13952                            c=(Token)input.LT(1);
13953                            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)<=78) ) {
13954                            input.consume();
13955                            errorRecovery=false;failed=false;
13956                            }
13957                            else {
13958                            if (backtracking>0) {failed=true; return link;}
13959                            MismatchedSetException mse =
13960                                    new MismatchedSetException(null,input);
13961                            recoverFromMismatchedSet(input,mse,FOLLOW_set_in_image_uri4263);        throw mse;
13962                            }
13963    
13964                            if ( backtracking==0 ) {
13965                              link.append(c.getText()); 
13966                            }
13967    
13968                            }
13969                            break;
13970    
13971                    default :
13972                            if ( cnt133 >= 1 ) break loop133;
13973                            if (backtracking>0) {failed=true; return link;}
13974                            EarlyExitException eee =
13975                                    new EarlyExitException(133, input);
13976                            throw eee;
13977                    }
13978                    cnt133++;
13979                    } while (true);
13980    
13981    
13982                    }
13983    
13984            }
13985            catch (RecognitionException re) {
13986                    reportError(re);
13987                    recover(input,re);
13988            }
13989            finally {
13990            }
13991            return link;
13992            }
13993            // $ANTLR end image_uri
13994    
13995    
13996            // $ANTLR start image_alternative
13997            // /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 )+ ;
13998            public final CollectionNode image_alternative() throws RecognitionException {
13999            CollectionNode alternative =  new CollectionNode();
14000    
14001            ASTNode p = null;
14002    
14003    
14004            try {
14005                    // /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 )+ )
14006                    // /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 )+
14007                    {
14008                    pushFollow(FOLLOW_image_alternative_markup_in_image_alternative4298);
14009                    image_alternative_markup();
14010                    _fsp--;
14011                    if (failed) return alternative;
14012                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:681:30: (p= image_alternativepart )+
14013                    int cnt134=0;
14014                    loop134:
14015                    do {
14016                    int alt134=2;
14017                    int LA134_0 = input.LA(1);
14018    
14019                    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<=78)) ) {
14020                            alt134=1;
14021                    }
14022    
14023    
14024                    switch (alt134) {
14025                    case 1 :
14026                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:681:32: p= image_alternativepart
14027                            {
14028                            pushFollow(FOLLOW_image_alternativepart_in_image_alternative4307);
14029                            p=image_alternativepart();
14030                            _fsp--;
14031                            if (failed) return alternative;
14032                            if ( backtracking==0 ) {
14033                              alternative.add(p); 
14034                            }
14035    
14036                            }
14037                            break;
14038    
14039                    default :
14040                            if ( cnt134 >= 1 ) break loop134;
14041                            if (backtracking>0) {failed=true; return alternative;}
14042                            EarlyExitException eee =
14043                                    new EarlyExitException(134, input);
14044                            throw eee;
14045                    }
14046                    cnt134++;
14047                    } while (true);
14048    
14049    
14050                    }
14051    
14052            }
14053            catch (RecognitionException re) {
14054                    reportError(re);
14055                    recover(input,re);
14056            }
14057            finally {
14058            }
14059            return alternative;
14060            }
14061            // $ANTLR end image_alternative
14062    
14063            protected static class image_alternativepart_scope {
14064            CollectionNode elements;
14065            }
14066            protected Stack image_alternativepart_stack = new Stack();
14067    
14068    
14069            // $ANTLR start image_alternativepart
14070            // /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 )+ );
14071            public final ASTNode image_alternativepart() throws RecognitionException {
14072            image_alternativepart_stack.push(new image_alternativepart_scope());
14073            ASTNode item =  null;
14074    
14075            ASTNode t1 = null;
14076    
14077            ASTNode t2 = null;
14078    
14079            CollectionNode t3 = null;
14080    
14081    
14082    
14083               ((image_alternativepart_scope)image_alternativepart_stack.peek()).elements = new CollectionNode();
14084    
14085            try {
14086                    // /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 )+ )
14087                    int alt138=3;
14088                    switch ( input.LA(1) ) {
14089                    case STAR:
14090                    {
14091                    int LA138_1 = input.LA(2);
14092    
14093                    if ( (LA138_1==STAR) ) {
14094                            alt138=1;
14095                    }
14096                    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<=78)) ) {
14097                            alt138=3;
14098                    }
14099                    else {
14100                            if (backtracking>0) {failed=true; return item;}
14101                            NoViableAltException nvae =
14102                            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);
14103    
14104                            throw nvae;
14105                    }
14106                    }
14107                    break;
14108                    case ITAL:
14109                    {
14110                    alt138=2;
14111                    }
14112                    break;
14113                    case FORCED_END_OF_LINE:
14114                    case HEADING_SECTION:
14115                    case HORIZONTAL_SECTION:
14116                    case LIST_ITEM:
14117                    case LIST_ITEM_PART:
14118                    case NOWIKI_SECTION:
14119                    case SCAPE_NODE:
14120                    case TEXT_NODE:
14121                    case UNORDERED_LIST:
14122                    case UNFORMATTED_TEXT:
14123                    case WIKI:
14124                    case POUND:
14125                    case EQUAL:
14126                    case PIPE:
14127                    case FORCED_LINEBREAK:
14128                    case ESCAPE:
14129                    case NOWIKI_BLOCK_CLOSE:
14130                    case NOWIKI_CLOSE:
14131                    case LINK_CLOSE:
14132                    case BLANKS:
14133                    case TABLE_OF_CONTENTS_TEXT:
14134                    case DASH:
14135                    case CR:
14136                    case LF:
14137                    case SPACE:
14138                    case TABULATOR:
14139                    case COLON_SLASH:
14140                    case SLASH:
14141                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
14142                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
14143                    case INSIGNIFICANT_CHAR:
14144                    case 43:
14145                    case 44:
14146                    case 45:
14147                    case 46:
14148                    case 47:
14149                    case 48:
14150                    case 49:
14151                    case 50:
14152                    case 51:
14153                    case 52:
14154                    case 53:
14155                    case 54:
14156                    case 55:
14157                    case 56:
14158                    case 57:
14159                    case 58:
14160                    case 59:
14161                    case 60:
14162                    case 61:
14163                    case 62:
14164                    case 63:
14165                    case 64:
14166                    case 65:
14167                    case 66:
14168                    case 67:
14169                    case 68:
14170                    case 69:
14171                    case 70:
14172                    case 71:
14173                    case 72:
14174                    case 73:
14175                    case 74:
14176                    case 75:
14177                    case 76:
14178                    case 77:
14179                    case 78:
14180                    {
14181                    alt138=3;
14182                    }
14183                    break;
14184                    default:
14185                    if (backtracking>0) {failed=true; return item;}
14186                    NoViableAltException nvae =
14187                            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);
14188    
14189                    throw nvae;
14190                    }
14191    
14192                    switch (alt138) {
14193                    case 1 :
14194                            // /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
14195                            {
14196                            pushFollow(FOLLOW_bold_markup_in_image_alternativepart4333);
14197                            bold_markup();
14198                            _fsp--;
14199                            if (failed) return item;
14200                            pushFollow(FOLLOW_onestar_in_image_alternativepart4336);
14201                            onestar();
14202                            _fsp--;
14203                            if (failed) return item;
14204                            // /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 )+
14205                            int cnt135=0;
14206                            loop135:
14207                            do {
14208                            int alt135=2;
14209                            int LA135_0 = input.LA(1);
14210    
14211                            if ( (LA135_0==STAR) ) {
14212                                    int LA135_1 = input.LA(2);
14213    
14214                                    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<=78)) ) {
14215                                    alt135=1;
14216                                    }
14217    
14218    
14219                            }
14220                            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<=78)) ) {
14221                                    alt135=1;
14222                            }
14223    
14224    
14225                            switch (alt135) {
14226                            case 1 :
14227                                    // /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
14228                                    {
14229                                    pushFollow(FOLLOW_image_bold_alternativepart_in_image_alternativepart4345);
14230                                    t1=image_bold_alternativepart();
14231                                    _fsp--;
14232                                    if (failed) return item;
14233                                    if ( backtracking==0 ) {
14234                                      ((image_alternativepart_scope)image_alternativepart_stack.peek()).elements.add(t1);
14235                                    }
14236                                    pushFollow(FOLLOW_onestar_in_image_alternativepart4350);
14237                                    onestar();
14238                                    _fsp--;
14239                                    if (failed) return item;
14240    
14241                                    }
14242                                    break;
14243    
14244                            default :
14245                                    if ( cnt135 >= 1 ) break loop135;
14246                                    if (backtracking>0) {failed=true; return item;}
14247                                    EarlyExitException eee =
14248                                            new EarlyExitException(135, input);
14249                                    throw eee;
14250                            }
14251                            cnt135++;
14252                            } while (true);
14253    
14254                            pushFollow(FOLLOW_bold_markup_in_image_alternativepart4357);
14255                            bold_markup();
14256                            _fsp--;
14257                            if (failed) return item;
14258                            if ( backtracking==0 ) {
14259                              item = new BoldTextNode(((image_alternativepart_scope)image_alternativepart_stack.peek()).elements);
14260                            }
14261    
14262                            }
14263                            break;
14264                    case 2 :
14265                            // /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
14266                            {
14267                            pushFollow(FOLLOW_ital_markup_in_image_alternativepart4364);
14268                            ital_markup();
14269                            _fsp--;
14270                            if (failed) return item;
14271                            pushFollow(FOLLOW_onestar_in_image_alternativepart4367);
14272                            onestar();
14273                            _fsp--;
14274                            if (failed) return item;
14275                            // /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 )+
14276                            int cnt136=0;
14277                            loop136:
14278                            do {
14279                            int alt136=2;
14280                            int LA136_0 = input.LA(1);
14281    
14282                            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<=78)) ) {
14283                                    alt136=1;
14284                            }
14285    
14286    
14287                            switch (alt136) {
14288                            case 1 :
14289                                    // /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
14290                                    {
14291                                    pushFollow(FOLLOW_image_ital_alternativepart_in_image_alternativepart4377);
14292                                    t2=image_ital_alternativepart();
14293                                    _fsp--;
14294                                    if (failed) return item;
14295                                    if ( backtracking==0 ) {
14296                                      ((image_alternativepart_scope)image_alternativepart_stack.peek()).elements.add(t2);
14297                                    }
14298                                    pushFollow(FOLLOW_onestar_in_image_alternativepart4382);
14299                                    onestar();
14300                                    _fsp--;
14301                                    if (failed) return item;
14302    
14303                                    }
14304                                    break;
14305    
14306                            default :
14307                                    if ( cnt136 >= 1 ) break loop136;
14308                                    if (backtracking>0) {failed=true; return item;}
14309                                    EarlyExitException eee =
14310                                            new EarlyExitException(136, input);
14311                                    throw eee;
14312                            }
14313                            cnt136++;
14314                            } while (true);
14315    
14316                            pushFollow(FOLLOW_ital_markup_in_image_alternativepart4389);
14317                            ital_markup();
14318                            _fsp--;
14319                            if (failed) return item;
14320                            if ( backtracking==0 ) {
14321                              item = new ItalicTextNode(((image_alternativepart_scope)image_alternativepart_stack.peek()).elements);
14322                            }
14323    
14324                            }
14325                            break;
14326                    case 3 :
14327                            // /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 )+
14328                            {
14329                            pushFollow(FOLLOW_onestar_in_image_alternativepart4396);
14330                            onestar();
14331                            _fsp--;
14332                            if (failed) return item;
14333                            // /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 )+
14334                            int cnt137=0;
14335                            loop137:
14336                            do {
14337                            int alt137=2;
14338                            int LA137_0 = input.LA(1);
14339    
14340                            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<=78)) ) {
14341                                    alt137=1;
14342                            }
14343                            else if ( (LA137_0==FORCED_LINEBREAK) ) {
14344                                    alt137=1;
14345                            }
14346    
14347    
14348                            switch (alt137) {
14349                            case 1 :
14350                                    // /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
14351                                    {
14352                                    pushFollow(FOLLOW_image_alternativetext_in_image_alternativepart4403);
14353                                    t3=image_alternativetext();
14354                                    _fsp--;
14355                                    if (failed) return item;
14356                                    if ( backtracking==0 ) {
14357    
14358                                                                    for (ASTNode n: t3.getASTNodes()) {
14359                                                                       ((image_alternativepart_scope)image_alternativepart_stack.peek()).elements.add(n);
14360                                                                     }
14361                                                                              
14362                                    }
14363                                    pushFollow(FOLLOW_onestar_in_image_alternativepart4408);
14364                                    onestar();
14365                                    _fsp--;
14366                                    if (failed) return item;
14367    
14368                                    }
14369                                    break;
14370    
14371                            default :
14372                                    if ( cnt137 >= 1 ) break loop137;
14373                                    if (backtracking>0) {failed=true; return item;}
14374                                    EarlyExitException eee =
14375                                            new EarlyExitException(137, input);
14376                                    throw eee;
14377                            }
14378                            cnt137++;
14379                            } while (true);
14380    
14381                            if ( backtracking==0 ) {
14382                              item =new UnformattedTextNode(((image_alternativepart_scope)image_alternativepart_stack.peek()).elements);
14383                            }
14384    
14385                            }
14386                            break;
14387    
14388                    }
14389            }
14390            catch (RecognitionException re) {
14391                    reportError(re);
14392                    recover(input,re);
14393            }
14394            finally {
14395                    image_alternativepart_stack.pop();
14396            }
14397            return item;
14398            }
14399            // $ANTLR end image_alternativepart
14400    
14401            protected static class image_bold_alternativepart_scope {
14402            CollectionNode elements;
14403            }
14404            protected Stack image_bold_alternativepart_stack = new Stack();
14405    
14406    
14407            // $ANTLR start image_bold_alternativepart
14408            // /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 )+ );
14409            public final ASTNode image_bold_alternativepart() throws RecognitionException {
14410            image_bold_alternativepart_stack.push(new image_bold_alternativepart_scope());
14411            ASTNode text =  null;
14412    
14413            CollectionNode t = null;
14414    
14415            CollectionNode i = null;
14416    
14417    
14418    
14419               ((image_bold_alternativepart_scope)image_bold_alternativepart_stack.peek()).elements = new CollectionNode();
14420    
14421            try {
14422                    // /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 )+ )
14423                    int alt140=2;
14424                    int LA140_0 = input.LA(1);
14425    
14426                    if ( (LA140_0==ITAL) ) {
14427                    alt140=1;
14428                    }
14429                    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<=78)) ) {
14430                    alt140=2;
14431                    }
14432                    else {
14433                    if (backtracking>0) {failed=true; return text;}
14434                    NoViableAltException nvae =
14435                            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);
14436    
14437                    throw nvae;
14438                    }
14439                    switch (alt140) {
14440                    case 1 :
14441                            // /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
14442                            {
14443                            pushFollow(FOLLOW_ital_markup_in_image_bold_alternativepart4434);
14444                            ital_markup();
14445                            _fsp--;
14446                            if (failed) return text;
14447                            pushFollow(FOLLOW_link_boldital_description_in_image_bold_alternativepart4441);
14448                            t=link_boldital_description();
14449                            _fsp--;
14450                            if (failed) return text;
14451                            if ( backtracking==0 ) {
14452                              text = new ItalicTextNode(t); 
14453                            }
14454                            pushFollow(FOLLOW_ital_markup_in_image_bold_alternativepart4446);
14455                            ital_markup();
14456                            _fsp--;
14457                            if (failed) return text;
14458    
14459                            }
14460                            break;
14461                    case 2 :
14462                            // /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 )+
14463                            {
14464                            pushFollow(FOLLOW_onestar_in_image_bold_alternativepart4451);
14465                            onestar();
14466                            _fsp--;
14467                            if (failed) return text;
14468                            // /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 )+
14469                            int cnt139=0;
14470                            loop139:
14471                            do {
14472                            int alt139=2;
14473                            int LA139_0 = input.LA(1);
14474    
14475                            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<=78)) ) {
14476                                    alt139=1;
14477                            }
14478                            else if ( (LA139_0==FORCED_LINEBREAK) ) {
14479                                    alt139=1;
14480                            }
14481    
14482    
14483                            switch (alt139) {
14484                            case 1 :
14485                                    // /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
14486                                    {
14487                                    pushFollow(FOLLOW_image_alternativetext_in_image_bold_alternativepart4460);
14488                                    i=image_alternativetext();
14489                                    _fsp--;
14490                                    if (failed) return text;
14491                                    pushFollow(FOLLOW_onestar_in_image_bold_alternativepart4463);
14492                                    onestar();
14493                                    _fsp--;
14494                                    if (failed) return text;
14495                                    if ( backtracking==0 ) {
14496                                       
14497                                                                    for (ASTNode item:i.getASTNodes()) {
14498                                                                            ((image_ital_alternativepart_scope)image_ital_alternativepart_stack.peek()).elements.add(item);
14499                                                                    }
14500                                                                    
14501                                    }
14502    
14503                                    }
14504                                    break;
14505    
14506                            default :
14507                                    if ( cnt139 >= 1 ) break loop139;
14508                                    if (backtracking>0) {failed=true; return text;}
14509                                    EarlyExitException eee =
14510                                            new EarlyExitException(139, input);
14511                                    throw eee;
14512                            }
14513                            cnt139++;
14514                            } while (true);
14515    
14516                            if ( backtracking==0 ) {
14517                              text = new UnformattedTextNode(((image_bold_alternativepart_scope)image_bold_alternativepart_stack.peek()).elements);
14518                            }
14519    
14520                            }
14521                            break;
14522    
14523                    }
14524            }
14525            catch (RecognitionException re) {
14526                    reportError(re);
14527                    recover(input,re);
14528            }
14529            finally {
14530                    image_bold_alternativepart_stack.pop();
14531            }
14532            return text;
14533            }
14534            // $ANTLR end image_bold_alternativepart
14535    
14536            protected static class image_ital_alternativepart_scope {
14537            CollectionNode elements;
14538            }
14539            protected Stack image_ital_alternativepart_stack = new Stack();
14540    
14541    
14542            // $ANTLR start image_ital_alternativepart
14543            // /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 )+ );
14544            public final ASTNode image_ital_alternativepart() throws RecognitionException {
14545            image_ital_alternativepart_stack.push(new image_ital_alternativepart_scope());
14546            ASTNode text =  null;
14547    
14548            CollectionNode t = null;
14549    
14550            CollectionNode i = null;
14551    
14552    
14553    
14554               ((image_ital_alternativepart_scope)image_ital_alternativepart_stack.peek()).elements = new CollectionNode();
14555    
14556            try {
14557                    // /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 )+ )
14558                    int alt142=2;
14559                    int LA142_0 = input.LA(1);
14560    
14561                    if ( (LA142_0==STAR) ) {
14562                    int LA142_1 = input.LA(2);
14563    
14564                    if ( (LA142_1==STAR) ) {
14565                            alt142=1;
14566                    }
14567                    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<=78)) ) {
14568                            alt142=2;
14569                    }
14570                    else {
14571                            if (backtracking>0) {failed=true; return text;}
14572                            NoViableAltException nvae =
14573                            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);
14574    
14575                            throw nvae;
14576                    }
14577                    }
14578                    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<=78)) ) {
14579                    alt142=2;
14580                    }
14581                    else {
14582                    if (backtracking>0) {failed=true; return text;}
14583                    NoViableAltException nvae =
14584                            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);
14585    
14586                    throw nvae;
14587                    }
14588                    switch (alt142) {
14589                    case 1 :
14590                            // /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
14591                            {
14592                            pushFollow(FOLLOW_bold_markup_in_image_ital_alternativepart4492);
14593                            bold_markup();
14594                            _fsp--;
14595                            if (failed) return text;
14596                            pushFollow(FOLLOW_link_boldital_description_in_image_ital_alternativepart4499);
14597                            t=link_boldital_description();
14598                            _fsp--;
14599                            if (failed) return text;
14600                            if ( backtracking==0 ) {
14601                              text = new BoldTextNode(t); 
14602                            }
14603                            pushFollow(FOLLOW_bold_markup_in_image_ital_alternativepart4504);
14604                            bold_markup();
14605                            _fsp--;
14606                            if (failed) return text;
14607    
14608                            }
14609                            break;
14610                    case 2 :
14611                            // /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 )+
14612                            {
14613                            pushFollow(FOLLOW_onestar_in_image_ital_alternativepart4509);
14614                            onestar();
14615                            _fsp--;
14616                            if (failed) return text;
14617                            // /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 )+
14618                            int cnt141=0;
14619                            loop141:
14620                            do {
14621                            int alt141=2;
14622                            int LA141_0 = input.LA(1);
14623    
14624                            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<=78)) ) {
14625                                    alt141=1;
14626                            }
14627                            else if ( (LA141_0==FORCED_LINEBREAK) ) {
14628                                    alt141=1;
14629                            }
14630    
14631    
14632                            switch (alt141) {
14633                            case 1 :
14634                                    // /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
14635                                    {
14636                                    pushFollow(FOLLOW_image_alternativetext_in_image_ital_alternativepart4518);
14637                                    i=image_alternativetext();
14638                                    _fsp--;
14639                                    if (failed) return text;
14640                                    pushFollow(FOLLOW_onestar_in_image_ital_alternativepart4521);
14641                                    onestar();
14642                                    _fsp--;
14643                                    if (failed) return text;
14644                                    if ( backtracking==0 ) {
14645                                       
14646                                                                    for (ASTNode item:i.getASTNodes()) {
14647                                                                            ((image_ital_alternativepart_scope)image_ital_alternativepart_stack.peek()).elements.add(item);
14648                                                                    }
14649                                                                    
14650                                    }
14651    
14652                                    }
14653                                    break;
14654    
14655                            default :
14656                                    if ( cnt141 >= 1 ) break loop141;
14657                                    if (backtracking>0) {failed=true; return text;}
14658                                    EarlyExitException eee =
14659                                            new EarlyExitException(141, input);
14660                                    throw eee;
14661                            }
14662                            cnt141++;
14663                            } while (true);
14664    
14665                            if ( backtracking==0 ) {
14666                              text = new UnformattedTextNode(((image_ital_alternativepart_scope)image_ital_alternativepart_stack.peek()).elements);
14667                            }
14668    
14669                            }
14670                            break;
14671    
14672                    }
14673            }
14674            catch (RecognitionException re) {
14675                    reportError(re);
14676                    recover(input,re);
14677            }
14678            finally {
14679                    image_ital_alternativepart_stack.pop();
14680            }
14681            return text;
14682            }
14683            // $ANTLR end image_ital_alternativepart
14684    
14685    
14686            // $ANTLR start image_boldital_alternative
14687            // /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 )+ ;
14688            public final CollectionNode image_boldital_alternative() throws RecognitionException {
14689            CollectionNode text =  new CollectionNode();
14690    
14691            CollectionNode i = null;
14692    
14693    
14694            try {
14695                    // /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 )+ )
14696                    // /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 )+
14697                    {
14698                    pushFollow(FOLLOW_onestar_in_image_boldital_alternative4542);
14699                    onestar();
14700                    _fsp--;
14701                    if (failed) return text;
14702                    // /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 )+
14703                    int cnt143=0;
14704                    loop143:
14705                    do {
14706                    int alt143=2;
14707                    int LA143_0 = input.LA(1);
14708    
14709                    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<=78)) ) {
14710                            alt143=1;
14711                    }
14712    
14713    
14714                    switch (alt143) {
14715                    case 1 :
14716                            // /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
14717                            {
14718                            pushFollow(FOLLOW_image_alternativetext_in_image_boldital_alternative4551);
14719                            i=image_alternativetext();
14720                            _fsp--;
14721                            if (failed) return text;
14722                            pushFollow(FOLLOW_onestar_in_image_boldital_alternative4554);
14723                            onestar();
14724                            _fsp--;
14725                            if (failed) return text;
14726                            if ( backtracking==0 ) {
14727    
14728                                                            for (ASTNode item:i.getASTNodes()) {
14729                                                                    text.add(item);
14730                                                            }
14731                                                            
14732                            }
14733    
14734                            }
14735                            break;
14736    
14737                    default :
14738                            if ( cnt143 >= 1 ) break loop143;
14739                            if (backtracking>0) {failed=true; return text;}
14740                            EarlyExitException eee =
14741                                    new EarlyExitException(143, input);
14742                            throw eee;
14743                    }
14744                    cnt143++;
14745                    } while (true);
14746    
14747    
14748                    }
14749    
14750            }
14751            catch (RecognitionException re) {
14752                    reportError(re);
14753                    recover(input,re);
14754            }
14755            finally {
14756            }
14757            return text;
14758            }
14759            // $ANTLR end image_boldital_alternative
14760    
14761    
14762            // $ANTLR start image_alternativetext
14763            // /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 )+ );
14764            public final CollectionNode image_alternativetext() throws RecognitionException {
14765            CollectionNode items =  new CollectionNode();
14766    
14767            StringBundler contents = null;
14768    
14769    
14770            try {
14771                    // /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 )+ )
14772                    int alt145=2;
14773                    int LA145_0 = input.LA(1);
14774    
14775                    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<=78)) ) {
14776                    alt145=1;
14777                    }
14778                    else if ( (LA145_0==FORCED_LINEBREAK) ) {
14779                    alt145=2;
14780                    }
14781                    else {
14782                    if (backtracking>0) {failed=true; return items;}
14783                    NoViableAltException nvae =
14784                            new NoViableAltException("736:1: image_alternativetext returns [CollectionNode items = new CollectionNode()] : (contents= image_alternative_simple_text | ( forced_linebreak )+ );", 145, 0, input);
14785    
14786                    throw nvae;
14787                    }
14788                    switch (alt145) {
14789                    case 1 :
14790                            // /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
14791                            {
14792                            pushFollow(FOLLOW_image_alternative_simple_text_in_image_alternativetext4577);
14793                            contents=image_alternative_simple_text();
14794                            _fsp--;
14795                            if (failed) return items;
14796                            if ( backtracking==0 ) {
14797                              items.add(new UnformattedTextNode(contents.toString())); 
14798                            }
14799    
14800                            }
14801                            break;
14802                    case 2 :
14803                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:738:4: ( forced_linebreak )+
14804                            {
14805                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:738:4: ( forced_linebreak )+
14806                            int cnt144=0;
14807                            loop144:
14808                            do {
14809                            int alt144=2;
14810                            int LA144_0 = input.LA(1);
14811    
14812                            if ( (LA144_0==FORCED_LINEBREAK) ) {
14813                                    alt144=1;
14814                            }
14815    
14816    
14817                            switch (alt144) {
14818                            case 1 :
14819                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:738:5: forced_linebreak
14820                                    {
14821                                    pushFollow(FOLLOW_forced_linebreak_in_image_alternativetext4585);
14822                                    forced_linebreak();
14823                                    _fsp--;
14824                                    if (failed) return items;
14825                                    if ( backtracking==0 ) {
14826                                      items.add(new ForcedEndOfLineNode());
14827                                    }
14828    
14829                                    }
14830                                    break;
14831    
14832                            default :
14833                                    if ( cnt144 >= 1 ) break loop144;
14834                                    if (backtracking>0) {failed=true; return items;}
14835                                    EarlyExitException eee =
14836                                            new EarlyExitException(144, input);
14837                                    throw eee;
14838                            }
14839                            cnt144++;
14840                            } while (true);
14841    
14842    
14843                            }
14844                            break;
14845    
14846                    }
14847            }
14848            catch (RecognitionException re) {
14849                    reportError(re);
14850                    recover(input,re);
14851            }
14852            finally {
14853            }
14854            return items;
14855            }
14856            // $ANTLR end image_alternativetext
14857    
14858    
14859            // $ANTLR start image_alternative_simple_text
14860            // /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 ) )+ ;
14861            public final StringBundler image_alternative_simple_text() throws RecognitionException {
14862            StringBundler text =  new StringBundler();
14863    
14864            Token c=null;
14865    
14866            try {
14867                    // /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 ) )+ )
14868                    // /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 ) )+
14869                    {
14870                    // /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 ) )+
14871                    int cnt146=0;
14872                    loop146:
14873                    do {
14874                    int alt146=2;
14875                    int LA146_0 = input.LA(1);
14876    
14877                    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<=78)) ) {
14878                            alt146=1;
14879                    }
14880    
14881    
14882                    switch (alt146) {
14883                    case 1 :
14884                            // /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 )
14885                            {
14886                            c=(Token)input.LT(1);
14887                            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)<=78) ) {
14888                            input.consume();
14889                            errorRecovery=false;failed=false;
14890                            }
14891                            else {
14892                            if (backtracking>0) {failed=true; return text;}
14893                            MismatchedSetException mse =
14894                                    new MismatchedSetException(null,input);
14895                            recoverFromMismatchedSet(input,mse,FOLLOW_set_in_image_alternative_simple_text4612);    throw mse;
14896                            }
14897    
14898                            if ( backtracking==0 ) {
14899                              text.append(c.getText()); 
14900                            }
14901    
14902                            }
14903                            break;
14904    
14905                    default :
14906                            if ( cnt146 >= 1 ) break loop146;
14907                            if (backtracking>0) {failed=true; return text;}
14908                            EarlyExitException eee =
14909                                    new EarlyExitException(146, input);
14910                            throw eee;
14911                    }
14912                    cnt146++;
14913                    } while (true);
14914    
14915    
14916                    }
14917    
14918            }
14919            catch (RecognitionException re) {
14920                    reportError(re);
14921                    recover(input,re);
14922            }
14923            finally {
14924            }
14925            return text;
14926            }
14927            // $ANTLR end image_alternative_simple_text
14928    
14929    
14930            // $ANTLR start extension
14931            // /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 ;
14932            public final ASTNode extension() throws RecognitionException {
14933            ASTNode node =  null;
14934    
14935            try {
14936                    // /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 )
14937                    // /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
14938                    {
14939                    pushFollow(FOLLOW_extension_markup_in_extension4705);
14940                    extension_markup();
14941                    _fsp--;
14942                    if (failed) return node;
14943                    pushFollow(FOLLOW_extension_handler_in_extension4708);
14944                    extension_handler();
14945                    _fsp--;
14946                    if (failed) return node;
14947                    pushFollow(FOLLOW_blanks_in_extension4711);
14948                    blanks();
14949                    _fsp--;
14950                    if (failed) return node;
14951                    pushFollow(FOLLOW_extension_statement_in_extension4714);
14952                    extension_statement();
14953                    _fsp--;
14954                    if (failed) return node;
14955                    pushFollow(FOLLOW_extension_markup_in_extension4719);
14956                    extension_markup();
14957                    _fsp--;
14958                    if (failed) return node;
14959    
14960                    }
14961    
14962            }
14963            catch (RecognitionException re) {
14964                    reportError(re);
14965                    recover(input,re);
14966            }
14967            finally {
14968            }
14969            return node;
14970            }
14971            // $ANTLR end extension
14972    
14973    
14974            // $ANTLR start extension_handler
14975            // /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 )+ ;
14976            public final void extension_handler() throws RecognitionException {
14977            try {
14978                    // /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 )+ )
14979                    // /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 )+
14980                    {
14981                    // /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 )+
14982                    int cnt147=0;
14983                    loop147:
14984                    do {
14985                    int alt147=3;
14986                    int LA147_0 = input.LA(1);
14987    
14988                    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<=78)) ) {
14989                            alt147=1;
14990                    }
14991                    else if ( (LA147_0==ESCAPE) ) {
14992                            alt147=2;
14993                    }
14994    
14995    
14996                    switch (alt147) {
14997                    case 1 :
14998                            // /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 )
14999                            {
15000                            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)<=78) ) {
15001                            input.consume();
15002                            errorRecovery=false;failed=false;
15003                            }
15004                            else {
15005                            if (backtracking>0) {failed=true; return ;}
15006                            MismatchedSetException mse =
15007                                    new MismatchedSetException(null,input);
15008                            recoverFromMismatchedSet(input,mse,FOLLOW_set_in_extension_handler4731);        throw mse;
15009                            }
15010    
15011    
15012                            }
15013                            break;
15014                    case 2 :
15015                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:762:64: escaped
15016                            {
15017                            pushFollow(FOLLOW_escaped_in_extension_handler4764);
15018                            escaped();
15019                            _fsp--;
15020                            if (failed) return ;
15021    
15022                            }
15023                            break;
15024    
15025                    default :
15026                            if ( cnt147 >= 1 ) break loop147;
15027                            if (backtracking>0) {failed=true; return ;}
15028                            EarlyExitException eee =
15029                                    new EarlyExitException(147, input);
15030                            throw eee;
15031                    }
15032                    cnt147++;
15033                    } while (true);
15034    
15035    
15036                    }
15037    
15038            }
15039            catch (RecognitionException re) {
15040                    reportError(re);
15041                    recover(input,re);
15042            }
15043            finally {
15044            }
15045            return ;
15046            }
15047            // $ANTLR end extension_handler
15048    
15049    
15050            // $ANTLR start extension_statement
15051            // /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 )* ;
15052            public final void extension_statement() throws RecognitionException {
15053            try {
15054                    // /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 )* )
15055                    // /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 )*
15056                    {
15057                    // /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 )*
15058                    loop148:
15059                    do {
15060                    int alt148=3;
15061                    int LA148_0 = input.LA(1);
15062    
15063                    if ( ((LA148_0>=FORCED_END_OF_LINE && LA148_0<=NOWIKI_OPEN)||LA148_0==FORCED_LINEBREAK||(LA148_0>=NOWIKI_BLOCK_CLOSE && LA148_0<=78)) ) {
15064                            alt148=1;
15065                    }
15066                    else if ( (LA148_0==ESCAPE) ) {
15067                            alt148=2;
15068                    }
15069    
15070    
15071                    switch (alt148) {
15072                    case 1 :
15073                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:765:5: ~ ( EXTENSION | ESCAPE | EOF )
15074                            {
15075                            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)<=78) ) {
15076                            input.consume();
15077                            errorRecovery=false;failed=false;
15078                            }
15079                            else {
15080                            if (backtracking>0) {failed=true; return ;}
15081                            MismatchedSetException mse =
15082                                    new MismatchedSetException(null,input);
15083                            recoverFromMismatchedSet(input,mse,FOLLOW_set_in_extension_statement4778);      throw mse;
15084                            }
15085    
15086    
15087                            }
15088                            break;
15089                    case 2 :
15090                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:765:41: escaped
15091                            {
15092                            pushFollow(FOLLOW_escaped_in_extension_statement4799);
15093                            escaped();
15094                            _fsp--;
15095                            if (failed) return ;
15096    
15097                            }
15098                            break;
15099    
15100                    default :
15101                            break loop148;
15102                    }
15103                    } while (true);
15104    
15105    
15106                    }
15107    
15108            }
15109            catch (RecognitionException re) {
15110                    reportError(re);
15111                    recover(input,re);
15112            }
15113            finally {
15114            }
15115            return ;
15116            }
15117            // $ANTLR end extension_statement
15118    
15119    
15120            // $ANTLR start table_of_contents
15121            // /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 ;
15122            public final ASTNode table_of_contents() throws RecognitionException {
15123            ASTNode tableOfContents =  new TableOfContentsNode();
15124    
15125            try {
15126                    // /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 )
15127                    // /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
15128                    {
15129                    match(input,TABLE_OF_CONTENTS_TEXT,FOLLOW_TABLE_OF_CONTENTS_TEXT_in_table_of_contents4822); if (failed) return tableOfContents;
15130    
15131                    }
15132    
15133            }
15134            catch (RecognitionException re) {
15135                    reportError(re);
15136                    recover(input,re);
15137            }
15138            finally {
15139            }
15140            return tableOfContents;
15141            }
15142            // $ANTLR end table_of_contents
15143    
15144    
15145            // $ANTLR start onestar
15146            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:776:1: onestar : ( ({...}? ( STAR )? ) | );
15147            public final void onestar() throws RecognitionException {
15148            try {
15149                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:777:2: ( ({...}? ( STAR )? ) | )
15150                    int alt150=2;
15151                    switch ( input.LA(1) ) {
15152                    case STAR:
15153                    {
15154                    int LA150_1 = input.LA(2);
15155    
15156                    if ( ( input.LA(2) != STAR ) ) {
15157                            alt150=1;
15158                    }
15159                    else if ( (true) ) {
15160                            alt150=2;
15161                    }
15162                    else {
15163                            if (backtracking>0) {failed=true; return ;}
15164                            NoViableAltException nvae =
15165                            new NoViableAltException("776:1: onestar : ( ({...}? ( STAR )? ) | );", 150, 1, input);
15166    
15167                            throw nvae;
15168                    }
15169                    }
15170                    break;
15171                    case BLANKS:
15172                    {
15173                    int LA150_2 = input.LA(2);
15174    
15175                    if ( ( input.LA(2) != STAR ) ) {
15176                            alt150=1;
15177                    }
15178                    else if ( (true) ) {
15179                            alt150=2;
15180                    }
15181                    else {
15182                            if (backtracking>0) {failed=true; return ;}
15183                            NoViableAltException nvae =
15184                            new NoViableAltException("776:1: onestar : ( ({...}? ( STAR )? ) | );", 150, 2, input);
15185    
15186                            throw nvae;
15187                    }
15188                    }
15189                    break;
15190                    case FORCED_LINEBREAK:
15191                    {
15192                    int LA150_3 = input.LA(2);
15193    
15194                    if ( ( input.LA(2) != STAR ) ) {
15195                            alt150=1;
15196                    }
15197                    else if ( (true) ) {
15198                            alt150=2;
15199                    }
15200                    else {
15201                            if (backtracking>0) {failed=true; return ;}
15202                            NoViableAltException nvae =
15203                            new NoViableAltException("776:1: onestar : ( ({...}? ( STAR )? ) | );", 150, 3, input);
15204    
15205                            throw nvae;
15206                    }
15207                    }
15208                    break;
15209                    case ESCAPE:
15210                    {
15211                    int LA150_4 = input.LA(2);
15212    
15213                    if ( ( input.LA(2) != STAR ) ) {
15214                            alt150=1;
15215                    }
15216                    else if ( (true) ) {
15217                            alt150=2;
15218                    }
15219                    else {
15220                            if (backtracking>0) {failed=true; return ;}
15221                            NoViableAltException nvae =
15222                            new NoViableAltException("776:1: onestar : ( ({...}? ( STAR )? ) | );", 150, 4, input);
15223    
15224                            throw nvae;
15225                    }
15226                    }
15227                    break;
15228                    case LINK_OPEN:
15229                    {
15230                    int LA150_5 = input.LA(2);
15231    
15232                    if ( ( input.LA(2) != STAR ) ) {
15233                            alt150=1;
15234                    }
15235                    else if ( (true) ) {
15236                            alt150=2;
15237                    }
15238                    else {
15239                            if (backtracking>0) {failed=true; return ;}
15240                            NoViableAltException nvae =
15241                            new NoViableAltException("776:1: onestar : ( ({...}? ( STAR )? ) | );", 150, 5, input);
15242    
15243                            throw nvae;
15244                    }
15245                    }
15246                    break;
15247                    case IMAGE_OPEN:
15248                    {
15249                    int LA150_6 = input.LA(2);
15250    
15251                    if ( ( input.LA(2) != STAR ) ) {
15252                            alt150=1;
15253                    }
15254                    else if ( (true) ) {
15255                            alt150=2;
15256                    }
15257                    else {
15258                            if (backtracking>0) {failed=true; return ;}
15259                            NoViableAltException nvae =
15260                            new NoViableAltException("776:1: onestar : ( ({...}? ( STAR )? ) | );", 150, 6, input);
15261    
15262                            throw nvae;
15263                    }
15264                    }
15265                    break;
15266                    case EXTENSION:
15267                    {
15268                    int LA150_7 = input.LA(2);
15269    
15270                    if ( ( input.LA(2) != STAR ) ) {
15271                            alt150=1;
15272                    }
15273                    else if ( (true) ) {
15274                            alt150=2;
15275                    }
15276                    else {
15277                            if (backtracking>0) {failed=true; return ;}
15278                            NoViableAltException nvae =
15279                            new NoViableAltException("776:1: onestar : ( ({...}? ( STAR )? ) | );", 150, 7, input);
15280    
15281                            throw nvae;
15282                    }
15283                    }
15284                    break;
15285                    case NOWIKI_OPEN:
15286                    {
15287                    int LA150_8 = input.LA(2);
15288    
15289                    if ( ( input.LA(2) != STAR ) ) {
15290                            alt150=1;
15291                    }
15292                    else if ( (true) ) {
15293                            alt150=2;
15294                    }
15295                    else {
15296                            if (backtracking>0) {failed=true; return ;}
15297                            NoViableAltException nvae =
15298                            new NoViableAltException("776:1: onestar : ( ({...}? ( STAR )? ) | );", 150, 8, input);
15299    
15300                            throw nvae;
15301                    }
15302                    }
15303                    break;
15304                    case NEWLINE:
15305                    {
15306                    int LA150_9 = input.LA(2);
15307    
15308                    if ( ((( input.LA(2) != STAR && input.LA(2) != DASH && input.LA(2) != POUND && 
15309                                    input.LA(2) != EQUAL && input.LA(2) != NEWLINE )|| 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, 9, input);
15319    
15320                            throw nvae;
15321                    }
15322                    }
15323                    break;
15324                    case EOF:
15325                    {
15326                    int LA150_10 = input.LA(2);
15327    
15328                    if ( ((( input.LA(2) != STAR && input.LA(2) != DASH && input.LA(2) != POUND && 
15329                                    input.LA(2) != EQUAL && input.LA(2) != NEWLINE )|| input.LA(2) != STAR )) ) {
15330                            alt150=1;
15331                    }
15332                    else if ( (true) ) {
15333                            alt150=2;
15334                    }
15335                    else {
15336                            if (backtracking>0) {failed=true; return ;}
15337                            NoViableAltException nvae =
15338                            new NoViableAltException("776:1: onestar : ( ({...}? ( STAR )? ) | );", 150, 10, input);
15339    
15340                            throw nvae;
15341                    }
15342                    }
15343                    break;
15344                    case ITAL:
15345                    {
15346                    int LA150_11 = input.LA(2);
15347    
15348                    if ( ( input.LA(2) != STAR ) ) {
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, 11, input);
15358    
15359                            throw nvae;
15360                    }
15361                    }
15362                    break;
15363                    case EQUAL:
15364                    {
15365                    int LA150_12 = input.LA(2);
15366    
15367                    if ( ( input.LA(2) != STAR ) ) {
15368                            alt150=1;
15369                    }
15370                    else if ( (true) ) {
15371                            alt150=2;
15372                    }
15373                    else {
15374                            if (backtracking>0) {failed=true; return ;}
15375                            NoViableAltException nvae =
15376                            new NoViableAltException("776:1: onestar : ( ({...}? ( STAR )? ) | );", 150, 12, input);
15377    
15378                            throw nvae;
15379                    }
15380                    }
15381                    break;
15382                    case FORCED_END_OF_LINE:
15383                    case HEADING_SECTION:
15384                    case HORIZONTAL_SECTION:
15385                    case LIST_ITEM:
15386                    case LIST_ITEM_PART:
15387                    case NOWIKI_SECTION:
15388                    case SCAPE_NODE:
15389                    case TEXT_NODE:
15390                    case UNORDERED_LIST:
15391                    case UNFORMATTED_TEXT:
15392                    case WIKI:
15393                    case POUND:
15394                    case NOWIKI_BLOCK_CLOSE:
15395                    case NOWIKI_CLOSE:
15396                    case TABLE_OF_CONTENTS_TEXT:
15397                    case DASH:
15398                    case CR:
15399                    case LF:
15400                    case SPACE:
15401                    case TABULATOR:
15402                    case COLON_SLASH:
15403                    case SLASH:
15404                    case TABLE_OF_CONTENTS_OPEN_MARKUP:
15405                    case TABLE_OF_CONTENTS_CLOSE_MARKUP:
15406                    case INSIGNIFICANT_CHAR:
15407                    case 43:
15408                    case 44:
15409                    case 45:
15410                    case 46:
15411                    case 47:
15412                    case 48:
15413                    case 49:
15414                    case 50:
15415                    case 51:
15416                    case 52:
15417                    case 53:
15418                    case 54:
15419                    case 55:
15420                    case 56:
15421                    case 57:
15422                    case 58:
15423                    case 59:
15424                    case 60:
15425                    case 61:
15426                    case 62:
15427                    case 63:
15428                    case 64:
15429                    case 65:
15430                    case 66:
15431                    case 67:
15432                    case 68:
15433                    case 69:
15434                    case 70:
15435                    case 71:
15436                    case 72:
15437                    case 73:
15438                    case 74:
15439                    case 75:
15440                    case 76:
15441                    case 77:
15442                    case 78:
15443                    {
15444                    int LA150_13 = input.LA(2);
15445    
15446                    if ( ( input.LA(2) != STAR ) ) {
15447                            alt150=1;
15448                    }
15449                    else if ( (true) ) {
15450                            alt150=2;
15451                    }
15452                    else {
15453                            if (backtracking>0) {failed=true; return ;}
15454                            NoViableAltException nvae =
15455                            new NoViableAltException("776:1: onestar : ( ({...}? ( STAR )? ) | );", 150, 13, input);
15456    
15457                            throw nvae;
15458                    }
15459                    }
15460                    break;
15461                    case PIPE:
15462                    {
15463                    int LA150_14 = input.LA(2);
15464    
15465                    if ( ((( input.LA(2) != STAR && input.LA(2) == EQUAL )|| input.LA(2) != STAR )) ) {
15466                            alt150=1;
15467                    }
15468                    else if ( (true) ) {
15469                            alt150=2;
15470                    }
15471                    else {
15472                            if (backtracking>0) {failed=true; return ;}
15473                            NoViableAltException nvae =
15474                            new NoViableAltException("776:1: onestar : ( ({...}? ( STAR )? ) | );", 150, 14, input);
15475    
15476                            throw nvae;
15477                    }
15478                    }
15479                    break;
15480                    case LINK_CLOSE:
15481                    {
15482                    int LA150_15 = input.LA(2);
15483    
15484                    if ( ( input.LA(2) != STAR ) ) {
15485                            alt150=1;
15486                    }
15487                    else if ( (true) ) {
15488                            alt150=2;
15489                    }
15490                    else {
15491                            if (backtracking>0) {failed=true; return ;}
15492                            NoViableAltException nvae =
15493                            new NoViableAltException("776:1: onestar : ( ({...}? ( STAR )? ) | );", 150, 15, input);
15494    
15495                            throw nvae;
15496                    }
15497                    }
15498                    break;
15499                    case IMAGE_CLOSE:
15500                    {
15501                    int LA150_16 = input.LA(2);
15502    
15503                    if ( ( input.LA(2) != STAR ) ) {
15504                            alt150=1;
15505                    }
15506                    else if ( (true) ) {
15507                            alt150=2;
15508                    }
15509                    else {
15510                            if (backtracking>0) {failed=true; return ;}
15511                            NoViableAltException nvae =
15512                            new NoViableAltException("776:1: onestar : ( ({...}? ( STAR )? ) | );", 150, 16, input);
15513    
15514                            throw nvae;
15515                    }
15516                    }
15517                    break;
15518                    default:
15519                    if (backtracking>0) {failed=true; return ;}
15520                    NoViableAltException nvae =
15521                            new NoViableAltException("776:1: onestar : ( ({...}? ( STAR )? ) | );", 150, 0, input);
15522    
15523                    throw nvae;
15524                    }
15525    
15526                    switch (alt150) {
15527                    case 1 :
15528                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:777:4: ({...}? ( STAR )? )
15529                            {
15530                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:777:4: ({...}? ( STAR )? )
15531                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:777:6: {...}? ( STAR )?
15532                            {
15533                            if ( !( input.LA(2) != STAR ) ) {
15534                            if (backtracking>0) {failed=true; return ;}
15535                            throw new FailedPredicateException(input, "onestar", " input.LA(2) != STAR ");
15536                            }
15537                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:777:32: ( STAR )?
15538                            int alt149=2;
15539                            int LA149_0 = input.LA(1);
15540    
15541                            if ( (LA149_0==STAR) ) {
15542                            alt149=1;
15543                            }
15544                            switch (alt149) {
15545                            case 1 :
15546                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:777:34: STAR
15547                                    {
15548                                    match(input,STAR,FOLLOW_STAR_in_onestar4845); if (failed) return ;
15549    
15550                                    }
15551                                    break;
15552    
15553                            }
15554    
15555    
15556                            }
15557    
15558    
15559                            }
15560                            break;
15561                    case 2 :
15562                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:779:2: 
15563                            {
15564                            }
15565                            break;
15566    
15567                    }
15568            }
15569            catch (RecognitionException re) {
15570                    reportError(re);
15571                    recover(input,re);
15572            }
15573            finally {
15574            }
15575            return ;
15576            }
15577            // $ANTLR end onestar
15578    
15579    
15580            // $ANTLR start escaped
15581            // /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= . ;
15582            public final ScapedNode escaped() throws RecognitionException {
15583            ScapedNode scaped =  new ScapedNode();
15584    
15585            Token c=null;
15586    
15587            try {
15588                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:781:2: ( ESCAPE c= . )
15589                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:781:4: ESCAPE c= .
15590                    {
15591                    match(input,ESCAPE,FOLLOW_ESCAPE_in_escaped4867); if (failed) return scaped;
15592                    c=(Token)input.LT(1);
15593                    matchAny(input); if (failed) return scaped;
15594                    if ( backtracking==0 ) {
15595                       scaped.setContent(c.getText()) ; 
15596                    }
15597    
15598                    }
15599    
15600            }
15601            catch (RecognitionException re) {
15602                    reportError(re);
15603                    recover(input,re);
15604            }
15605            finally {
15606            }
15607            return scaped;
15608            }
15609            // $ANTLR end escaped
15610    
15611    
15612            // $ANTLR start paragraph_separator
15613            // /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 );
15614            public final void paragraph_separator() throws RecognitionException {
15615            try {
15616                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:785:2: ( ( newline )+ | EOF )
15617                    int alt152=2;
15618                    int LA152_0 = input.LA(1);
15619    
15620                    if ( (LA152_0==NEWLINE) ) {
15621                    alt152=1;
15622                    }
15623                    else if ( (LA152_0==EOF) ) {
15624                    alt152=2;
15625                    }
15626                    else {
15627                    if (backtracking>0) {failed=true; return ;}
15628                    NoViableAltException nvae =
15629                            new NoViableAltException("784:1: paragraph_separator : ( ( newline )+ | EOF );", 152, 0, input);
15630    
15631                    throw nvae;
15632                    }
15633                    switch (alt152) {
15634                    case 1 :
15635                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:785:4: ( newline )+
15636                            {
15637                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:785:4: ( newline )+
15638                            int cnt151=0;
15639                            loop151:
15640                            do {
15641                            int alt151=2;
15642                            int LA151_0 = input.LA(1);
15643    
15644                            if ( (LA151_0==NEWLINE) ) {
15645                                    alt151=1;
15646                            }
15647    
15648    
15649                            switch (alt151) {
15650                            case 1 :
15651                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:785:6: newline
15652                                    {
15653                                    pushFollow(FOLLOW_newline_in_paragraph_separator4891);
15654                                    newline();
15655                                    _fsp--;
15656                                    if (failed) return ;
15657    
15658                                    }
15659                                    break;
15660    
15661                            default :
15662                                    if ( cnt151 >= 1 ) break loop151;
15663                                    if (backtracking>0) {failed=true; return ;}
15664                                    EarlyExitException eee =
15665                                            new EarlyExitException(151, input);
15666                                    throw eee;
15667                            }
15668                            cnt151++;
15669                            } while (true);
15670    
15671    
15672                            }
15673                            break;
15674                    case 2 :
15675                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:786:4: EOF
15676                            {
15677                            match(input,EOF,FOLLOW_EOF_in_paragraph_separator4899); if (failed) return ;
15678    
15679                            }
15680                            break;
15681    
15682                    }
15683            }
15684            catch (RecognitionException re) {
15685                    reportError(re);
15686                    recover(input,re);
15687            }
15688            finally {
15689            }
15690            return ;
15691            }
15692            // $ANTLR end paragraph_separator
15693    
15694    
15695            // $ANTLR start whitespaces
15696            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:788:1: whitespaces : ( blanks | newline )+ ;
15697            public final void whitespaces() throws RecognitionException {
15698            try {
15699                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:789:2: ( ( blanks | newline )+ )
15700                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:789:4: ( blanks | newline )+
15701                    {
15702                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:789:4: ( blanks | newline )+
15703                    int cnt153=0;
15704                    loop153:
15705                    do {
15706                    int alt153=3;
15707                    int LA153_0 = input.LA(1);
15708    
15709                    if ( (LA153_0==BLANKS) ) {
15710                            alt153=1;
15711                    }
15712                    else if ( (LA153_0==NEWLINE) ) {
15713                            alt153=2;
15714                    }
15715    
15716    
15717                    switch (alt153) {
15718                    case 1 :
15719                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:789:6: blanks
15720                            {
15721                            pushFollow(FOLLOW_blanks_in_whitespaces4911);
15722                            blanks();
15723                            _fsp--;
15724                            if (failed) return ;
15725    
15726                            }
15727                            break;
15728                    case 2 :
15729                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:789:15: newline
15730                            {
15731                            pushFollow(FOLLOW_newline_in_whitespaces4915);
15732                            newline();
15733                            _fsp--;
15734                            if (failed) return ;
15735    
15736                            }
15737                            break;
15738    
15739                    default :
15740                            if ( cnt153 >= 1 ) break loop153;
15741                            if (backtracking>0) {failed=true; return ;}
15742                            EarlyExitException eee =
15743                                    new EarlyExitException(153, input);
15744                            throw eee;
15745                    }
15746                    cnt153++;
15747                    } while (true);
15748    
15749    
15750                    }
15751    
15752            }
15753            catch (RecognitionException re) {
15754                    reportError(re);
15755                    recover(input,re);
15756            }
15757            finally {
15758            }
15759            return ;
15760            }
15761            // $ANTLR end whitespaces
15762    
15763    
15764            // $ANTLR start blanks
15765            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:791:1: blanks : BLANKS ;
15766            public final void blanks() throws RecognitionException {
15767            try {
15768                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:792:2: ( BLANKS )
15769                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:792:4: BLANKS
15770                    {
15771                    match(input,BLANKS,FOLLOW_BLANKS_in_blanks4928); if (failed) return ;
15772    
15773                    }
15774    
15775            }
15776            catch (RecognitionException re) {
15777                    reportError(re);
15778                    recover(input,re);
15779            }
15780            finally {
15781            }
15782            return ;
15783            }
15784            // $ANTLR end blanks
15785    
15786    
15787            // $ANTLR start text_lineseparator
15788            // /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 );
15789            public final void text_lineseparator() throws RecognitionException {
15790            try {
15791                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:795:2: ( newline ( blanks )? | EOF )
15792                    int alt155=2;
15793                    int LA155_0 = input.LA(1);
15794    
15795                    if ( (LA155_0==NEWLINE) ) {
15796                    alt155=1;
15797                    }
15798                    else if ( (LA155_0==EOF) ) {
15799                    alt155=2;
15800                    }
15801                    else {
15802                    if (backtracking>0) {failed=true; return ;}
15803                    NoViableAltException nvae =
15804                            new NoViableAltException("794:1: text_lineseparator : ( newline ( blanks )? | EOF );", 155, 0, input);
15805    
15806                    throw nvae;
15807                    }
15808                    switch (alt155) {
15809                    case 1 :
15810                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:795:4: newline ( blanks )?
15811                            {
15812                            pushFollow(FOLLOW_newline_in_text_lineseparator4938);
15813                            newline();
15814                            _fsp--;
15815                            if (failed) return ;
15816                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:795:13: ( blanks )?
15817                            int alt154=2;
15818                            int LA154_0 = input.LA(1);
15819    
15820                            if ( (LA154_0==BLANKS) ) {
15821                            alt154=1;
15822                            }
15823                            switch (alt154) {
15824                            case 1 :
15825                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:795:15: blanks
15826                                    {
15827                                    pushFollow(FOLLOW_blanks_in_text_lineseparator4943);
15828                                    blanks();
15829                                    _fsp--;
15830                                    if (failed) return ;
15831    
15832                                    }
15833                                    break;
15834    
15835                            }
15836    
15837    
15838                            }
15839                            break;
15840                    case 2 :
15841                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:796:4: EOF
15842                            {
15843                            match(input,EOF,FOLLOW_EOF_in_text_lineseparator4951); if (failed) return ;
15844    
15845                            }
15846                            break;
15847    
15848                    }
15849            }
15850            catch (RecognitionException re) {
15851                    reportError(re);
15852                    recover(input,re);
15853            }
15854            finally {
15855            }
15856            return ;
15857            }
15858            // $ANTLR end text_lineseparator
15859    
15860    
15861            // $ANTLR start newline
15862            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:798:1: newline : NEWLINE ;
15863            public final void newline() throws RecognitionException {
15864            try {
15865                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:799:2: ( NEWLINE )
15866                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:799:4: NEWLINE
15867                    {
15868                    match(input,NEWLINE,FOLLOW_NEWLINE_in_newline4961); if (failed) return ;
15869    
15870                    }
15871    
15872            }
15873            catch (RecognitionException re) {
15874                    reportError(re);
15875                    recover(input,re);
15876            }
15877            finally {
15878            }
15879            return ;
15880            }
15881            // $ANTLR end newline
15882    
15883    
15884            // $ANTLR start bold_markup
15885            // /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 ;
15886            public final void bold_markup() throws RecognitionException {
15887            try {
15888                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:802:2: ( STAR STAR )
15889                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:802:4: STAR STAR
15890                    {
15891                    match(input,STAR,FOLLOW_STAR_in_bold_markup4971); if (failed) return ;
15892                    match(input,STAR,FOLLOW_STAR_in_bold_markup4974); if (failed) return ;
15893    
15894                    }
15895    
15896            }
15897            catch (RecognitionException re) {
15898                    reportError(re);
15899                    recover(input,re);
15900            }
15901            finally {
15902            }
15903            return ;
15904            }
15905            // $ANTLR end bold_markup
15906    
15907    
15908            // $ANTLR start ital_markup
15909            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:804:1: ital_markup : ITAL ;
15910            public final void ital_markup() throws RecognitionException {
15911            try {
15912                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:805:2: ( ITAL )
15913                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:805:4: ITAL
15914                    {
15915                    match(input,ITAL,FOLLOW_ITAL_in_ital_markup4984); if (failed) return ;
15916    
15917                    }
15918    
15919            }
15920            catch (RecognitionException re) {
15921                    reportError(re);
15922                    recover(input,re);
15923            }
15924            finally {
15925            }
15926            return ;
15927            }
15928            // $ANTLR end ital_markup
15929    
15930    
15931            // $ANTLR start heading_markup
15932            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:807:1: heading_markup : EQUAL ;
15933            public final void heading_markup() throws RecognitionException {
15934            try {
15935                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:808:2: ( EQUAL )
15936                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:808:4: EQUAL
15937                    {
15938                    match(input,EQUAL,FOLLOW_EQUAL_in_heading_markup4994); if (failed) return ;
15939    
15940                    }
15941    
15942            }
15943            catch (RecognitionException re) {
15944                    reportError(re);
15945                    recover(input,re);
15946            }
15947            finally {
15948            }
15949            return ;
15950            }
15951            // $ANTLR end heading_markup
15952    
15953            public static class list_ordelem_markup_return extends ParserRuleReturnScope {
15954            };
15955    
15956            // $ANTLR start list_ordelem_markup
15957            // /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 ;
15958            public final list_ordelem_markup_return list_ordelem_markup() throws RecognitionException {
15959            list_ordelem_markup_return retval = new list_ordelem_markup_return();
15960            retval.start = input.LT(1);
15961    
15962            try {
15963                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:811:2: ( POUND )
15964                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:811:4: POUND
15965                    {
15966                    match(input,POUND,FOLLOW_POUND_in_list_ordelem_markup5004); if (failed) return retval;
15967    
15968                    }
15969    
15970                    retval.stop = input.LT(-1);
15971    
15972            }
15973            catch (RecognitionException re) {
15974                    reportError(re);
15975                    recover(input,re);
15976            }
15977            finally {
15978            }
15979            return retval;
15980            }
15981            // $ANTLR end list_ordelem_markup
15982    
15983            public static class list_unordelem_markup_return extends ParserRuleReturnScope {
15984            };
15985    
15986            // $ANTLR start list_unordelem_markup
15987            // /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 ;
15988            public final list_unordelem_markup_return list_unordelem_markup() throws RecognitionException {
15989            list_unordelem_markup_return retval = new list_unordelem_markup_return();
15990            retval.start = input.LT(1);
15991    
15992            try {
15993                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:814:2: ( STAR )
15994                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:814:4: STAR
15995                    {
15996                    match(input,STAR,FOLLOW_STAR_in_list_unordelem_markup5014); if (failed) return retval;
15997    
15998                    }
15999    
16000                    retval.stop = input.LT(-1);
16001    
16002            }
16003            catch (RecognitionException re) {
16004                    reportError(re);
16005                    recover(input,re);
16006            }
16007            finally {
16008            }
16009            return retval;
16010            }
16011            // $ANTLR end list_unordelem_markup
16012    
16013    
16014            // $ANTLR start list_elemseparator
16015            // /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 );
16016            public final void list_elemseparator() throws RecognitionException {
16017            try {
16018                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:817:2: ( newline ( blanks )? | EOF )
16019                    int alt157=2;
16020                    int LA157_0 = input.LA(1);
16021    
16022                    if ( (LA157_0==NEWLINE) ) {
16023                    alt157=1;
16024                    }
16025                    else if ( (LA157_0==EOF) ) {
16026                    alt157=2;
16027                    }
16028                    else {
16029                    if (backtracking>0) {failed=true; return ;}
16030                    NoViableAltException nvae =
16031                            new NoViableAltException("816:1: list_elemseparator : ( newline ( blanks )? | EOF );", 157, 0, input);
16032    
16033                    throw nvae;
16034                    }
16035                    switch (alt157) {
16036                    case 1 :
16037                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:817:4: newline ( blanks )?
16038                            {
16039                            pushFollow(FOLLOW_newline_in_list_elemseparator5024);
16040                            newline();
16041                            _fsp--;
16042                            if (failed) return ;
16043                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:817:13: ( blanks )?
16044                            int alt156=2;
16045                            int LA156_0 = input.LA(1);
16046    
16047                            if ( (LA156_0==BLANKS) ) {
16048                            alt156=1;
16049                            }
16050                            switch (alt156) {
16051                            case 1 :
16052                                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:817:15: blanks
16053                                    {
16054                                    pushFollow(FOLLOW_blanks_in_list_elemseparator5029);
16055                                    blanks();
16056                                    _fsp--;
16057                                    if (failed) return ;
16058    
16059                                    }
16060                                    break;
16061    
16062                            }
16063    
16064    
16065                            }
16066                            break;
16067                    case 2 :
16068                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:818:4: EOF
16069                            {
16070                            match(input,EOF,FOLLOW_EOF_in_list_elemseparator5037); if (failed) return ;
16071    
16072                            }
16073                            break;
16074    
16075                    }
16076            }
16077            catch (RecognitionException re) {
16078                    reportError(re);
16079                    recover(input,re);
16080            }
16081            finally {
16082            }
16083            return ;
16084            }
16085            // $ANTLR end list_elemseparator
16086    
16087    
16088            // $ANTLR start end_of_list
16089            // /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 );
16090            public final void end_of_list() throws RecognitionException {
16091            try {
16092                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:821:2: ( newline | EOF )
16093                    int alt158=2;
16094                    int LA158_0 = input.LA(1);
16095    
16096                    if ( (LA158_0==NEWLINE) ) {
16097                    alt158=1;
16098                    }
16099                    else if ( (LA158_0==EOF) ) {
16100                    alt158=2;
16101                    }
16102                    else {
16103                    if (backtracking>0) {failed=true; return ;}
16104                    NoViableAltException nvae =
16105                            new NoViableAltException("820:1: end_of_list : ( newline | EOF );", 158, 0, input);
16106    
16107                    throw nvae;
16108                    }
16109                    switch (alt158) {
16110                    case 1 :
16111                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:821:4: newline
16112                            {
16113                            pushFollow(FOLLOW_newline_in_end_of_list5047);
16114                            newline();
16115                            _fsp--;
16116                            if (failed) return ;
16117    
16118                            }
16119                            break;
16120                    case 2 :
16121                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:822:4: EOF
16122                            {
16123                            match(input,EOF,FOLLOW_EOF_in_end_of_list5052); if (failed) return ;
16124    
16125                            }
16126                            break;
16127    
16128                    }
16129            }
16130            catch (RecognitionException re) {
16131                    reportError(re);
16132                    recover(input,re);
16133            }
16134            finally {
16135            }
16136            return ;
16137            }
16138            // $ANTLR end end_of_list
16139    
16140    
16141            // $ANTLR start table_cell_markup
16142            // /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 ;
16143            public final void table_cell_markup() throws RecognitionException {
16144            try {
16145                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:825:2: ( PIPE )
16146                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:825:4: PIPE
16147                    {
16148                    match(input,PIPE,FOLLOW_PIPE_in_table_cell_markup5062); if (failed) return ;
16149    
16150                    }
16151    
16152            }
16153            catch (RecognitionException re) {
16154                    reportError(re);
16155                    recover(input,re);
16156            }
16157            finally {
16158            }
16159            return ;
16160            }
16161            // $ANTLR end table_cell_markup
16162    
16163    
16164            // $ANTLR start table_headercell_markup
16165            // /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 ;
16166            public final void table_headercell_markup() throws RecognitionException {
16167            try {
16168                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:828:2: ( PIPE EQUAL )
16169                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:828:4: PIPE EQUAL
16170                    {
16171                    match(input,PIPE,FOLLOW_PIPE_in_table_headercell_markup5072); if (failed) return ;
16172                    match(input,EQUAL,FOLLOW_EQUAL_in_table_headercell_markup5075); if (failed) return ;
16173    
16174                    }
16175    
16176            }
16177            catch (RecognitionException re) {
16178                    reportError(re);
16179                    recover(input,re);
16180            }
16181            finally {
16182            }
16183            return ;
16184            }
16185            // $ANTLR end table_headercell_markup
16186    
16187    
16188            // $ANTLR start table_rowseparator
16189            // /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 );
16190            public final void table_rowseparator() throws RecognitionException {
16191            try {
16192                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:831:2: ( newline | EOF )
16193                    int alt159=2;
16194                    int LA159_0 = input.LA(1);
16195    
16196                    if ( (LA159_0==NEWLINE) ) {
16197                    alt159=1;
16198                    }
16199                    else if ( (LA159_0==EOF) ) {
16200                    alt159=2;
16201                    }
16202                    else {
16203                    if (backtracking>0) {failed=true; return ;}
16204                    NoViableAltException nvae =
16205                            new NoViableAltException("830:1: table_rowseparator : ( newline | EOF );", 159, 0, input);
16206    
16207                    throw nvae;
16208                    }
16209                    switch (alt159) {
16210                    case 1 :
16211                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:831:4: newline
16212                            {
16213                            pushFollow(FOLLOW_newline_in_table_rowseparator5085);
16214                            newline();
16215                            _fsp--;
16216                            if (failed) return ;
16217    
16218                            }
16219                            break;
16220                    case 2 :
16221                            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:832:4: EOF
16222                            {
16223                            match(input,EOF,FOLLOW_EOF_in_table_rowseparator5090); if (failed) return ;
16224    
16225                            }
16226                            break;
16227    
16228                    }
16229            }
16230            catch (RecognitionException re) {
16231                    reportError(re);
16232                    recover(input,re);
16233            }
16234            finally {
16235            }
16236            return ;
16237            }
16238            // $ANTLR end table_rowseparator
16239    
16240    
16241            // $ANTLR start nowiki_open_markup
16242            // /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 ;
16243            public final void nowiki_open_markup() throws RecognitionException {
16244            try {
16245                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:835:2: ( NOWIKI_OPEN )
16246                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:835:4: NOWIKI_OPEN
16247                    {
16248                    match(input,NOWIKI_OPEN,FOLLOW_NOWIKI_OPEN_in_nowiki_open_markup5100); if (failed) return ;
16249    
16250                    }
16251    
16252            }
16253            catch (RecognitionException re) {
16254                    reportError(re);
16255                    recover(input,re);
16256            }
16257            finally {
16258            }
16259            return ;
16260            }
16261            // $ANTLR end nowiki_open_markup
16262    
16263    
16264            // $ANTLR start nowiki_close_markup
16265            // /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 ;
16266            public final void nowiki_close_markup() throws RecognitionException {
16267            try {
16268                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:838:2: ( NOWIKI_CLOSE )
16269                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:838:4: NOWIKI_CLOSE
16270                    {
16271                    match(input,NOWIKI_CLOSE,FOLLOW_NOWIKI_CLOSE_in_nowiki_close_markup5110); if (failed) return ;
16272    
16273                    }
16274    
16275            }
16276            catch (RecognitionException re) {
16277                    reportError(re);
16278                    recover(input,re);
16279            }
16280            finally {
16281            }
16282            return ;
16283            }
16284            // $ANTLR end nowiki_close_markup
16285    
16286    
16287            // $ANTLR start horizontalrule_markup
16288            // /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 ;
16289            public final void horizontalrule_markup() throws RecognitionException {
16290            try {
16291                    // /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 )
16292                    // /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
16293                    {
16294                    match(input,DASH,FOLLOW_DASH_in_horizontalrule_markup5120); if (failed) return ;
16295                    match(input,DASH,FOLLOW_DASH_in_horizontalrule_markup5123); if (failed) return ;
16296                    match(input,DASH,FOLLOW_DASH_in_horizontalrule_markup5126); if (failed) return ;
16297                    match(input,DASH,FOLLOW_DASH_in_horizontalrule_markup5129); if (failed) return ;
16298    
16299                    }
16300    
16301            }
16302            catch (RecognitionException re) {
16303                    reportError(re);
16304                    recover(input,re);
16305            }
16306            finally {
16307            }
16308            return ;
16309            }
16310            // $ANTLR end horizontalrule_markup
16311    
16312    
16313            // $ANTLR start link_open_markup
16314            // /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 ;
16315            public final void link_open_markup() throws RecognitionException {
16316            try {
16317                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:844:2: ( LINK_OPEN )
16318                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:844:4: LINK_OPEN
16319                    {
16320                    match(input,LINK_OPEN,FOLLOW_LINK_OPEN_in_link_open_markup5139); if (failed) return ;
16321    
16322                    }
16323    
16324            }
16325            catch (RecognitionException re) {
16326                    reportError(re);
16327                    recover(input,re);
16328            }
16329            finally {
16330            }
16331            return ;
16332            }
16333            // $ANTLR end link_open_markup
16334    
16335    
16336            // $ANTLR start link_close_markup
16337            // /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 ;
16338            public final void link_close_markup() throws RecognitionException {
16339            try {
16340                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:847:2: ( LINK_CLOSE )
16341                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:847:4: LINK_CLOSE
16342                    {
16343                    match(input,LINK_CLOSE,FOLLOW_LINK_CLOSE_in_link_close_markup5149); if (failed) return ;
16344    
16345                    }
16346    
16347            }
16348            catch (RecognitionException re) {
16349                    reportError(re);
16350                    recover(input,re);
16351            }
16352            finally {
16353            }
16354            return ;
16355            }
16356            // $ANTLR end link_close_markup
16357    
16358    
16359            // $ANTLR start link_description_markup
16360            // /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 ;
16361            public final void link_description_markup() throws RecognitionException {
16362            try {
16363                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:850:2: ( PIPE )
16364                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:850:4: PIPE
16365                    {
16366                    match(input,PIPE,FOLLOW_PIPE_in_link_description_markup5159); if (failed) return ;
16367    
16368                    }
16369    
16370            }
16371            catch (RecognitionException re) {
16372                    reportError(re);
16373                    recover(input,re);
16374            }
16375            finally {
16376            }
16377            return ;
16378            }
16379            // $ANTLR end link_description_markup
16380    
16381    
16382            // $ANTLR start image_open_markup
16383            // /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 ;
16384            public final void image_open_markup() throws RecognitionException {
16385            try {
16386                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:853:2: ( IMAGE_OPEN )
16387                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:853:4: IMAGE_OPEN
16388                    {
16389                    match(input,IMAGE_OPEN,FOLLOW_IMAGE_OPEN_in_image_open_markup5169); if (failed) return ;
16390    
16391                    }
16392    
16393            }
16394            catch (RecognitionException re) {
16395                    reportError(re);
16396                    recover(input,re);
16397            }
16398            finally {
16399            }
16400            return ;
16401            }
16402            // $ANTLR end image_open_markup
16403    
16404    
16405            // $ANTLR start image_close_markup
16406            // /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 ;
16407            public final void image_close_markup() throws RecognitionException {
16408            try {
16409                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:856:2: ( IMAGE_CLOSE )
16410                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:856:4: IMAGE_CLOSE
16411                    {
16412                    match(input,IMAGE_CLOSE,FOLLOW_IMAGE_CLOSE_in_image_close_markup5179); if (failed) return ;
16413    
16414                    }
16415    
16416            }
16417            catch (RecognitionException re) {
16418                    reportError(re);
16419                    recover(input,re);
16420            }
16421            finally {
16422            }
16423            return ;
16424            }
16425            // $ANTLR end image_close_markup
16426    
16427    
16428            // $ANTLR start image_alternative_markup
16429            // /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 ;
16430            public final void image_alternative_markup() throws RecognitionException {
16431            try {
16432                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:859:2: ( PIPE )
16433                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:859:4: PIPE
16434                    {
16435                    match(input,PIPE,FOLLOW_PIPE_in_image_alternative_markup5189); if (failed) return ;
16436    
16437                    }
16438    
16439            }
16440            catch (RecognitionException re) {
16441                    reportError(re);
16442                    recover(input,re);
16443            }
16444            finally {
16445            }
16446            return ;
16447            }
16448            // $ANTLR end image_alternative_markup
16449    
16450    
16451            // $ANTLR start extension_markup
16452            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:861:1: extension_markup : EXTENSION ;
16453            public final void extension_markup() throws RecognitionException {
16454            try {
16455                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:862:2: ( EXTENSION )
16456                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:862:4: EXTENSION
16457                    {
16458                    match(input,EXTENSION,FOLLOW_EXTENSION_in_extension_markup5199); if (failed) return ;
16459    
16460                    }
16461    
16462            }
16463            catch (RecognitionException re) {
16464                    reportError(re);
16465                    recover(input,re);
16466            }
16467            finally {
16468            }
16469            return ;
16470            }
16471            // $ANTLR end extension_markup
16472    
16473    
16474            // $ANTLR start forced_linebreak
16475            // /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 ;
16476            public final void forced_linebreak() throws RecognitionException {
16477            try {
16478                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:865:2: ( FORCED_LINEBREAK )
16479                    // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:865:4: FORCED_LINEBREAK
16480                    {
16481                    match(input,FORCED_LINEBREAK,FOLLOW_FORCED_LINEBREAK_in_forced_linebreak5209); if (failed) return ;
16482    
16483                    }
16484    
16485            }
16486            catch (RecognitionException re) {
16487                    reportError(re);
16488                    recover(input,re);
16489            }
16490            finally {
16491            }
16492            return ;
16493            }
16494            // $ANTLR end forced_linebreak
16495    
16496            // $ANTLR start synpred1
16497            public final void synpred1_fragment() throws RecognitionException {   
16498            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:143:5: ( NOWIKI_OPEN ~ ( NEWLINE ) )
16499            // /home/migue/development/workspaces/workspace-liferayportal/Archive/portal/portal-impl/src/com/liferay/portal/parsers/creole/grammar/Creole10.g:143:7: NOWIKI_OPEN ~ ( NEWLINE )
16500            {
16501            match(input,NOWIKI_OPEN,FOLLOW_NOWIKI_OPEN_in_synpred1339); if (failed) return ;
16502            if ( (input.LA(1)>=FORCED_END_OF_LINE && input.LA(1)<=WIKI)||(input.LA(1)>=POUND && input.LA(1)<=78) ) {
16503                    input.consume();
16504                    errorRecovery=false;failed=false;
16505            }
16506            else {
16507                    if (backtracking>0) {failed=true; return ;}
16508                    MismatchedSetException mse =
16509                    new MismatchedSetException(null,input);
16510                    recoverFromMismatchedSet(input,mse,FOLLOW_set_in_synpred1342);  throw mse;
16511            }
16512    
16513    
16514            }
16515            }
16516            // $ANTLR end synpred1
16517    
16518            public final boolean synpred1() {
16519            backtracking++;
16520            int start = input.mark();
16521            try {
16522                    synpred1_fragment(); // can never throw exception
16523            } catch (RecognitionException re) {
16524                    System.err.println("impossible: "+re);
16525            }
16526            boolean success = !failed;
16527            input.rewind(start);
16528            backtracking--;
16529            failed=false;
16530            return success;
16531            }
16532    
16533    
16534     
16535    
16536            public static final BitSet FOLLOW_whitespaces_in_wikipage118 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF0L,0x0000000000007FFFL});
16537            public static final BitSet FOLLOW_paragraphs_in_wikipage126 = new BitSet(new long[]{0x0000000000000000L});
16538            public static final BitSet FOLLOW_EOF_in_wikipage131 = new BitSet(new long[]{0x0000000000000002L});
16539            public static final BitSet FOLLOW_paragraph_in_paragraphs149 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF2L,0x0000000000007FFFL});
16540            public static final BitSet FOLLOW_nowiki_block_in_paragraph170 = new BitSet(new long[]{0x0000000000000002L});
16541            public static final BitSet FOLLOW_blanks_in_paragraph177 = new BitSet(new long[]{0x0000000000008000L});
16542            public static final BitSet FOLLOW_paragraph_separator_in_paragraph180 = new BitSet(new long[]{0x0000000000000002L});
16543            public static final BitSet FOLLOW_blanks_in_paragraph187 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF0L,0x0000000000007FFFL});
16544            public static final BitSet FOLLOW_table_of_contents_in_paragraph201 = new BitSet(new long[]{0x0000000000008002L});
16545            public static final BitSet FOLLOW_heading_in_paragraph218 = new BitSet(new long[]{0x0000000000008002L});
16546            public static final BitSet FOLLOW_horizontalrule_in_paragraph237 = new BitSet(new long[]{0x0000000000008002L});
16547            public static final BitSet FOLLOW_list_unord_in_paragraph249 = new BitSet(new long[]{0x0000000000008002L});
16548            public static final BitSet FOLLOW_list_ord_in_paragraph262 = new BitSet(new long[]{0x0000000000008002L});
16549            public static final BitSet FOLLOW_table_in_paragraph275 = new BitSet(new long[]{0x0000000000008002L});
16550            public static final BitSet FOLLOW_text_paragraph_in_paragraph288 = new BitSet(new long[]{0x0000000000008002L});
16551            public static final BitSet FOLLOW_paragraph_separator_in_paragraph301 = new BitSet(new long[]{0x0000000000000002L});
16552            public static final BitSet FOLLOW_text_line_in_text_paragraph329 = new BitSet(new long[]{0xFFFFFFFFFFF27FF2L,0x0000000000007FFFL});
16553            public static final BitSet FOLLOW_nowiki_inline_in_text_paragraph361 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0x0000000000007FFFL});
16554            public static final BitSet FOLLOW_text_element_in_text_paragraph372 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0x0000000000007FFFL});
16555            public static final BitSet FOLLOW_text_lineseparator_in_text_paragraph381 = new BitSet(new long[]{0xFFFFFFFFFFF27FF2L,0x0000000000007FFFL});
16556            public static final BitSet FOLLOW_text_firstelement_in_text_line404 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0x0000000000007FFFL});
16557            public static final BitSet FOLLOW_text_element_in_text_line423 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0x0000000000007FFFL});
16558            public static final BitSet FOLLOW_text_lineseparator_in_text_line438 = new BitSet(new long[]{0x0000000000000002L});
16559            public static final BitSet FOLLOW_text_formattedelement_in_text_firstelement460 = new BitSet(new long[]{0x0000000000000002L});
16560            public static final BitSet FOLLOW_text_first_unformattedelement_in_text_firstelement471 = new BitSet(new long[]{0x0000000000000002L});
16561            public static final BitSet FOLLOW_ital_markup_in_text_formattedelement487 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF2L,0x0000000000007FFFL});
16562            public static final BitSet FOLLOW_text_italcontent_in_text_formattedelement493 = new BitSet(new long[]{0x0000000000108002L});
16563            public static final BitSet FOLLOW_NEWLINE_in_text_formattedelement502 = new BitSet(new long[]{0x0000000000100000L});
16564            public static final BitSet FOLLOW_ital_markup_in_text_formattedelement508 = new BitSet(new long[]{0x0000000000000002L});
16565            public static final BitSet FOLLOW_bold_markup_in_text_formattedelement516 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF2L,0x0000000000007FFFL});
16566            public static final BitSet FOLLOW_text_boldcontent_in_text_formattedelement523 = new BitSet(new long[]{0x0000000000028002L});
16567            public static final BitSet FOLLOW_NEWLINE_in_text_formattedelement532 = new BitSet(new long[]{0x0000000000020000L});
16568            public static final BitSet FOLLOW_bold_markup_in_text_formattedelement538 = new BitSet(new long[]{0x0000000000000002L});
16569            public static final BitSet FOLLOW_NEWLINE_in_text_boldcontent557 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF2L,0x0000000000007FFFL});
16570            public static final BitSet FOLLOW_text_boldcontentpart_in_text_boldcontent569 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF2L,0x0000000000007FFFL});
16571            public static final BitSet FOLLOW_EOF_in_text_boldcontent580 = new BitSet(new long[]{0x0000000000000002L});
16572            public static final BitSet FOLLOW_NEWLINE_in_text_italcontent596 = new BitSet(new long[]{0xFFFFFFFFFFEF7FF2L,0x0000000000007FFFL});
16573            public static final BitSet FOLLOW_text_italcontentpart_in_text_italcontent608 = new BitSet(new long[]{0xFFFFFFFFFFEF7FF2L,0x0000000000007FFFL});
16574            public static final BitSet FOLLOW_EOF_in_text_italcontent619 = new BitSet(new long[]{0x0000000000000002L});
16575            public static final BitSet FOLLOW_onestar_in_text_element634 = new BitSet(new long[]{0xFFFFFFFFFFED7FF0L,0x0000000000007FFFL});
16576            public static final BitSet FOLLOW_text_unformattedelement_in_text_element641 = new BitSet(new long[]{0x0000000000000002L});
16577            public static final BitSet FOLLOW_text_unformattedelement_in_text_element652 = new BitSet(new long[]{0x0000000000020002L});
16578            public static final BitSet FOLLOW_onestar_in_text_element655 = new BitSet(new long[]{0x0000000000000002L});
16579            public static final BitSet FOLLOW_text_formattedelement_in_text_element666 = new BitSet(new long[]{0x0000000000000002L});
16580            public static final BitSet FOLLOW_ital_markup_in_text_boldcontentpart683 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF2L,0x0000000000007FFFL});
16581            public static final BitSet FOLLOW_text_bolditalcontent_in_text_boldcontentpart690 = new BitSet(new long[]{0x0000000000100002L});
16582            public static final BitSet FOLLOW_ital_markup_in_text_boldcontentpart697 = new BitSet(new long[]{0x0000000000000002L});
16583            public static final BitSet FOLLOW_text_formattedcontent_in_text_boldcontentpart709 = new BitSet(new long[]{0x0000000000000002L});
16584            public static final BitSet FOLLOW_bold_markup_in_text_italcontentpart725 = new BitSet(new long[]{0xFFFFFFFFFFEFFFF2L,0x0000000000007FFFL});
16585            public static final BitSet FOLLOW_text_bolditalcontent_in_text_italcontentpart732 = new BitSet(new long[]{0x0000000000020002L});
16586            public static final BitSet FOLLOW_bold_markup_in_text_italcontentpart738 = new BitSet(new long[]{0x0000000000000002L});
16587            public static final BitSet FOLLOW_text_formattedcontent_in_text_italcontentpart750 = new BitSet(new long[]{0x0000000000000002L});
16588            public static final BitSet FOLLOW_NEWLINE_in_text_bolditalcontent768 = new BitSet(new long[]{0xFFFFFFFFFFEF7FF2L,0x0000000000007FFFL});
16589            public static final BitSet FOLLOW_text_formattedcontent_in_text_bolditalcontent779 = new BitSet(new long[]{0x0000000000000002L});
16590            public static final BitSet FOLLOW_EOF_in_text_bolditalcontent789 = new BitSet(new long[]{0x0000000000000002L});
16591            public static final BitSet FOLLOW_onestar_in_text_formattedcontent803 = new BitSet(new long[]{0xFFFFFFFFFFED7FF0L,0x0000000000007FFFL});
16592            public static final BitSet FOLLOW_text_unformattedelement_in_text_formattedcontent812 = new BitSet(new long[]{0xFFFFFFFFFFEFFFF2L,0x0000000000007FFFL});
16593            public static final BitSet FOLLOW_onestar_in_text_formattedcontent817 = new BitSet(new long[]{0xFFFFFFFFFFEDFFF2L,0x0000000000007FFFL});
16594            public static final BitSet FOLLOW_text_linebreak_in_text_formattedcontent822 = new BitSet(new long[]{0xFFFFFFFFFFED7FF2L,0x0000000000007FFFL});
16595            public static final BitSet FOLLOW_text_lineseparator_in_text_linebreak842 = new BitSet(new long[]{0x0000000000000002L});
16596            public static final BitSet FOLLOW_text_first_inlineelement_in_text_inlineelement860 = new BitSet(new long[]{0x0000000000000002L});
16597            public static final BitSet FOLLOW_nowiki_inline_in_text_inlineelement871 = new BitSet(new long[]{0x0000000000000002L});
16598            public static final BitSet FOLLOW_link_in_text_first_inlineelement894 = new BitSet(new long[]{0x0000000000000002L});
16599            public static final BitSet FOLLOW_image_in_text_first_inlineelement905 = new BitSet(new long[]{0x0000000000000002L});
16600            public static final BitSet FOLLOW_extension_in_text_first_inlineelement915 = new BitSet(new long[]{0x0000000000000002L});
16601            public static final BitSet FOLLOW_text_first_unformatted_in_text_first_unformattedelement935 = new BitSet(new long[]{0x0000000000000002L});
16602            public static final BitSet FOLLOW_text_first_inlineelement_in_text_first_unformattedelement946 = new BitSet(new long[]{0x0000000000000002L});
16603            public static final BitSet FOLLOW_text_first_unformmatted_text_in_text_first_unformatted968 = new BitSet(new long[]{0x0000000000000002L});
16604            public static final BitSet FOLLOW_forced_linebreak_in_text_first_unformatted977 = new BitSet(new long[]{0x0000000006000002L});
16605            public static final BitSet FOLLOW_escaped_in_text_first_unformatted989 = new BitSet(new long[]{0x0000000006000002L});
16606            public static final BitSet FOLLOW_set_in_text_first_unformmatted_text1018 = new BitSet(new long[]{0xFFFFFFFFF8007FF2L,0x0000000000007FFFL});
16607            public static final BitSet FOLLOW_text_unformatted_in_text_unformattedelement1133 = new BitSet(new long[]{0x0000000000000002L});
16608            public static final BitSet FOLLOW_text_inlineelement_in_text_unformattedelement1144 = new BitSet(new long[]{0x0000000000000002L});
16609            public static final BitSet FOLLOW_text_unformated_text_in_text_unformatted1166 = new BitSet(new long[]{0x0000000000000002L});
16610            public static final BitSet FOLLOW_forced_linebreak_in_text_unformatted1175 = new BitSet(new long[]{0x0000000006000002L});
16611            public static final BitSet FOLLOW_escaped_in_text_unformatted1187 = new BitSet(new long[]{0x0000000006000002L});
16612            public static final BitSet FOLLOW_set_in_text_unformated_text1214 = new BitSet(new long[]{0xFFFFFFFFF80D7FF2L,0x0000000000007FFFL});
16613            public static final BitSet FOLLOW_heading_markup_in_heading1318 = new BitSet(new long[]{0xFFFFFFFFFBFFFFF0L,0x0000000000007FFFL});
16614            public static final BitSet FOLLOW_heading_content_in_heading1323 = new BitSet(new long[]{0x0000000080048000L});
16615            public static final BitSet FOLLOW_heading_markup_in_heading1330 = new BitSet(new long[]{0x0000000080008000L});
16616            public static final BitSet FOLLOW_blanks_in_heading1338 = new BitSet(new long[]{0x0000000000008000L});
16617            public static final BitSet FOLLOW_paragraph_separator_in_heading1345 = new BitSet(new long[]{0x0000000000000002L});
16618            public static final BitSet FOLLOW_heading_markup_in_heading_content1355 = new BitSet(new long[]{0xFFFFFFFFFBFF7FF0L,0x0000000000007FFFL});
16619            public static final BitSet FOLLOW_heading_content_in_heading_content1360 = new BitSet(new long[]{0x0000000000040002L});
16620            public static final BitSet FOLLOW_heading_markup_in_heading_content1365 = new BitSet(new long[]{0x0000000000000002L});
16621            public static final BitSet FOLLOW_heading_text_in_heading_content1377 = new BitSet(new long[]{0x0000000000000002L});
16622            public static final BitSet FOLLOW_heading_cellcontent_in_heading_text1398 = new BitSet(new long[]{0x0000000000000002L});
16623            public static final BitSet FOLLOW_onestar_in_heading_cellcontent1415 = new BitSet(new long[]{0xFFFFFFFFFBFB7FF2L,0x0000000000007FFFL});
16624            public static final BitSet FOLLOW_heading_cellcontentpart_in_heading_cellcontent1424 = new BitSet(new long[]{0xFFFFFFFFFBFB7FF2L,0x0000000000007FFFL});
16625            public static final BitSet FOLLOW_onestar_in_heading_cellcontent1436 = new BitSet(new long[]{0xFFFFFFFFFBFB7FF2L,0x0000000000007FFFL});
16626            public static final BitSet FOLLOW_heading_formattedelement_in_heading_cellcontentpart1457 = new BitSet(new long[]{0x0000000000000002L});
16627            public static final BitSet FOLLOW_heading_unformattedelement_in_heading_cellcontentpart1468 = new BitSet(new long[]{0x0000000000000002L});
16628            public static final BitSet FOLLOW_ital_markup_in_heading_formattedelement1484 = new BitSet(new long[]{0xFFFFFFFFFBFB7FF2L,0x0000000000007FFFL});
16629            public static final BitSet FOLLOW_heading_italcontent_in_heading_formattedelement1494 = new BitSet(new long[]{0x0000000000100002L});
16630            public static final BitSet FOLLOW_ital_markup_in_heading_formattedelement1503 = new BitSet(new long[]{0x0000000000000002L});
16631            public static final BitSet FOLLOW_bold_markup_in_heading_formattedelement1511 = new BitSet(new long[]{0xFFFFFFFFFBFB7FF2L,0x0000000000007FFFL});
16632            public static final BitSet FOLLOW_heading_boldcontent_in_heading_formattedelement1518 = new BitSet(new long[]{0x0000000000020002L});
16633            public static final BitSet FOLLOW_bold_markup_in_heading_formattedelement1528 = new BitSet(new long[]{0x0000000000000002L});
16634            public static final BitSet FOLLOW_onestar_in_heading_boldcontent1545 = new BitSet(new long[]{0xFFFFFFFFFBFB7FF0L,0x0000000000007FFFL});
16635            public static final BitSet FOLLOW_heading_boldcontentpart_in_heading_boldcontent1554 = new BitSet(new long[]{0xFFFFFFFFFBFB7FF2L,0x0000000000007FFFL});
16636            public static final BitSet FOLLOW_onestar_in_heading_boldcontent1559 = new BitSet(new long[]{0xFFFFFFFFFBFB7FF2L,0x0000000000007FFFL});
16637            public static final BitSet FOLLOW_EOF_in_heading_boldcontent1567 = new BitSet(new long[]{0x0000000000000002L});
16638            public static final BitSet FOLLOW_onestar_in_heading_italcontent1581 = new BitSet(new long[]{0xFFFFFFFFFBFB7FF0L,0x0000000000007FFFL});
16639            public static final BitSet FOLLOW_heading_italcontentpart_in_heading_italcontent1590 = new BitSet(new long[]{0xFFFFFFFFFBFB7FF2L,0x0000000000007FFFL});
16640            public static final BitSet FOLLOW_onestar_in_heading_italcontent1595 = new BitSet(new long[]{0xFFFFFFFFFBFB7FF2L,0x0000000000007FFFL});
16641            public static final BitSet FOLLOW_EOF_in_heading_italcontent1603 = new BitSet(new long[]{0x0000000000000002L});
16642            public static final BitSet FOLLOW_heading_formattedcontent_in_heading_boldcontentpart1621 = new BitSet(new long[]{0x0000000000000002L});
16643            public static final BitSet FOLLOW_ital_markup_in_heading_boldcontentpart1628 = new BitSet(new long[]{0xFFFFFFFFFBFB7FF2L,0x0000000000007FFFL});
16644            public static final BitSet FOLLOW_heading_bolditalcontent_in_heading_boldcontentpart1635 = new BitSet(new long[]{0x0000000000100002L});
16645            public static final BitSet FOLLOW_ital_markup_in_heading_boldcontentpart1642 = new BitSet(new long[]{0x0000000000000002L});
16646            public static final BitSet FOLLOW_bold_markup_in_heading_italcontentpart1659 = new BitSet(new long[]{0xFFFFFFFFFBFB7FF2L,0x0000000000007FFFL});
16647            public static final BitSet FOLLOW_heading_bolditalcontent_in_heading_italcontentpart1666 = new BitSet(new long[]{0x0000000000020002L});
16648            public static final BitSet FOLLOW_bold_markup_in_heading_italcontentpart1673 = new BitSet(new long[]{0x0000000000000002L});
16649            public static final BitSet FOLLOW_heading_formattedcontent_in_heading_italcontentpart1685 = new BitSet(new long[]{0x0000000000000002L});
16650            public static final BitSet FOLLOW_onestar_in_heading_bolditalcontent1701 = new BitSet(new long[]{0xFFFFFFFFFBFB7FF2L,0x0000000000007FFFL});
16651            public static final BitSet FOLLOW_heading_formattedcontent_in_heading_bolditalcontent1710 = new BitSet(new long[]{0x0000000000020002L});
16652            public static final BitSet FOLLOW_onestar_in_heading_bolditalcontent1715 = new BitSet(new long[]{0x0000000000000002L});
16653            public static final BitSet FOLLOW_EOF_in_heading_bolditalcontent1723 = new BitSet(new long[]{0x0000000000000002L});
16654            public static final BitSet FOLLOW_heading_unformattedelement_in_heading_formattedcontent1743 = new BitSet(new long[]{0xFFFFFFFFFBFB7FF2L,0x0000000000007FFFL});
16655            public static final BitSet FOLLOW_heading_unformatted_text_in_heading_unformattedelement1766 = new BitSet(new long[]{0x0000000000000002L});
16656            public static final BitSet FOLLOW_heading_inlineelement_in_heading_unformattedelement1778 = new BitSet(new long[]{0x0000000000000002L});
16657            public static final BitSet FOLLOW_link_in_heading_inlineelement1799 = new BitSet(new long[]{0x0000000000000002L});
16658            public static final BitSet FOLLOW_image_in_heading_inlineelement1809 = new BitSet(new long[]{0x0000000000000002L});
16659            public static final BitSet FOLLOW_nowiki_inline_in_heading_inlineelement1820 = new BitSet(new long[]{0x0000000000000002L});
16660            public static final BitSet FOLLOW_set_in_heading_unformatted_text1845 = new BitSet(new long[]{0xFFFFFFFFFB1B7FF2L,0x0000000000007FFFL});
16661            public static final BitSet FOLLOW_list_ordelem_in_list_ord1904 = new BitSet(new long[]{0x0000000000018002L});
16662            public static final BitSet FOLLOW_end_of_list_in_list_ord1914 = new BitSet(new long[]{0x0000000000000002L});
16663            public static final BitSet FOLLOW_list_ordelem_markup_in_list_ordelem1947 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0x0000000000007FFFL});
16664            public static final BitSet FOLLOW_list_elem_in_list_ordelem1955 = new BitSet(new long[]{0x0000000000000002L});
16665            public static final BitSet FOLLOW_list_unordelem_in_list_unord1979 = new BitSet(new long[]{0x0000000000028002L});
16666            public static final BitSet FOLLOW_end_of_list_in_list_unord1989 = new BitSet(new long[]{0x0000000000000002L});
16667            public static final BitSet FOLLOW_list_unordelem_markup_in_list_unordelem2022 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0x0000000000007FFFL});
16668            public static final BitSet FOLLOW_list_elem_in_list_unordelem2029 = new BitSet(new long[]{0x0000000000000002L});
16669            public static final BitSet FOLLOW_list_elem_markup_in_list_elem2054 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0x0000000000007FFFL});
16670            public static final BitSet FOLLOW_list_elemcontent_in_list_elem2065 = new BitSet(new long[]{0x0000000000008000L});
16671            public static final BitSet FOLLOW_list_elemseparator_in_list_elem2070 = new BitSet(new long[]{0x0000000000000002L});
16672            public static final BitSet FOLLOW_list_ordelem_markup_in_list_elem_markup2080 = new BitSet(new long[]{0x0000000000000002L});
16673            public static final BitSet FOLLOW_list_unordelem_markup_in_list_elem_markup2085 = new BitSet(new long[]{0x0000000000000002L});
16674            public static final BitSet FOLLOW_onestar_in_list_elemcontent2099 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF2L,0x0000000000007FFFL});
16675            public static final BitSet FOLLOW_list_elemcontentpart_in_list_elemcontent2108 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF2L,0x0000000000007FFFL});
16676            public static final BitSet FOLLOW_onestar_in_list_elemcontent2113 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF2L,0x0000000000007FFFL});
16677            public static final BitSet FOLLOW_text_unformattedelement_in_list_elemcontentpart2134 = new BitSet(new long[]{0x0000000000000002L});
16678            public static final BitSet FOLLOW_list_formatted_elem_in_list_elemcontentpart2145 = new BitSet(new long[]{0x0000000000000002L});
16679            public static final BitSet FOLLOW_bold_markup_in_list_formatted_elem2162 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF2L,0x0000000000007FFFL});
16680            public static final BitSet FOLLOW_onestar_in_list_formatted_elem2165 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF2L,0x0000000000007FFFL});
16681            public static final BitSet FOLLOW_list_boldcontentpart_in_list_formatted_elem2174 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF2L,0x0000000000007FFFL});
16682            public static final BitSet FOLLOW_onestar_in_list_formatted_elem2184 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF2L,0x0000000000007FFFL});
16683            public static final BitSet FOLLOW_bold_markup_in_list_formatted_elem2193 = new BitSet(new long[]{0x0000000000000002L});
16684            public static final BitSet FOLLOW_ital_markup_in_list_formatted_elem2201 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF2L,0x0000000000007FFFL});
16685            public static final BitSet FOLLOW_onestar_in_list_formatted_elem2206 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF2L,0x0000000000007FFFL});
16686            public static final BitSet FOLLOW_list_italcontentpart_in_list_formatted_elem2215 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF2L,0x0000000000007FFFL});
16687            public static final BitSet FOLLOW_onestar_in_list_formatted_elem2224 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF2L,0x0000000000007FFFL});
16688            public static final BitSet FOLLOW_ital_markup_in_list_formatted_elem2233 = new BitSet(new long[]{0x0000000000000002L});
16689            public static final BitSet FOLLOW_ital_markup_in_list_boldcontentpart2259 = new BitSet(new long[]{0xFFFFFFFFFFED7FF0L,0x0000000000007FFFL});
16690            public static final BitSet FOLLOW_list_bolditalcontent_in_list_boldcontentpart2266 = new BitSet(new long[]{0x0000000000100002L});
16691            public static final BitSet FOLLOW_ital_markup_in_list_boldcontentpart2273 = new BitSet(new long[]{0x0000000000000002L});
16692            public static final BitSet FOLLOW_text_unformattedelement_in_list_boldcontentpart2288 = new BitSet(new long[]{0xFFFFFFFFFFED7FF2L,0x0000000000007FFFL});
16693            public static final BitSet FOLLOW_text_unformattedelement_in_list_bolditalcontent2320 = new BitSet(new long[]{0xFFFFFFFFFFED7FF2L,0x0000000000007FFFL});
16694            public static final BitSet FOLLOW_bold_markup_in_list_italcontentpart2350 = new BitSet(new long[]{0xFFFFFFFFFFED7FF0L,0x0000000000007FFFL});
16695            public static final BitSet FOLLOW_list_bolditalcontent_in_list_italcontentpart2357 = new BitSet(new long[]{0x0000000000020002L});
16696            public static final BitSet FOLLOW_bold_markup_in_list_italcontentpart2364 = new BitSet(new long[]{0x0000000000000002L});
16697            public static final BitSet FOLLOW_text_unformattedelement_in_list_italcontentpart2378 = new BitSet(new long[]{0xFFFFFFFFFFED7FF2L,0x0000000000007FFFL});
16698            public static final BitSet FOLLOW_table_row_in_table2408 = new BitSet(new long[]{0x0000000000080002L});
16699            public static final BitSet FOLLOW_table_cell_in_table_row2434 = new BitSet(new long[]{0x0000000000088000L});
16700            public static final BitSet FOLLOW_table_rowseparator_in_table_row2442 = new BitSet(new long[]{0x0000000000000002L});
16701            public static final BitSet FOLLOW_table_headercell_in_table_cell2463 = new BitSet(new long[]{0x0000000000000002L});
16702            public static final BitSet FOLLOW_table_normalcell_in_table_cell2474 = new BitSet(new long[]{0x0000000000000002L});
16703            public static final BitSet FOLLOW_table_headercell_markup_in_table_headercell2490 = new BitSet(new long[]{0xFFFFFFFFFFF77FF2L,0x0000000000007FFFL});
16704            public static final BitSet FOLLOW_table_cellcontent_in_table_headercell2497 = new BitSet(new long[]{0x0000000000000002L});
16705            public static final BitSet FOLLOW_table_cell_markup_in_table_normalcell2513 = new BitSet(new long[]{0xFFFFFFFFFFF77FF2L,0x0000000000007FFFL});
16706            public static final BitSet FOLLOW_table_cellcontent_in_table_normalcell2520 = new BitSet(new long[]{0x0000000000000002L});
16707            public static final BitSet FOLLOW_onestar_in_table_cellcontent2536 = new BitSet(new long[]{0xFFFFFFFFFFF77FF2L,0x0000000000007FFFL});
16708            public static final BitSet FOLLOW_table_cellcontentpart_in_table_cellcontent2545 = new BitSet(new long[]{0xFFFFFFFFFFF77FF2L,0x0000000000007FFFL});
16709            public static final BitSet FOLLOW_onestar_in_table_cellcontent2550 = new BitSet(new long[]{0xFFFFFFFFFFF77FF2L,0x0000000000007FFFL});
16710            public static final BitSet FOLLOW_table_formattedelement_in_table_cellcontentpart2571 = new BitSet(new long[]{0x0000000000000002L});
16711            public static final BitSet FOLLOW_table_unformattedelement_in_table_cellcontentpart2582 = new BitSet(new long[]{0x0000000000000002L});
16712            public static final BitSet FOLLOW_ital_markup_in_table_formattedelement2598 = new BitSet(new long[]{0xFFFFFFFFFFF77FF2L,0x0000000000007FFFL});
16713            public static final BitSet FOLLOW_table_italcontent_in_table_formattedelement2608 = new BitSet(new long[]{0x0000000000100002L});
16714            public static final BitSet FOLLOW_ital_markup_in_table_formattedelement2617 = new BitSet(new long[]{0x0000000000000002L});
16715            public static final BitSet FOLLOW_bold_markup_in_table_formattedelement2625 = new BitSet(new long[]{0xFFFFFFFFFFF77FF2L,0x0000000000007FFFL});
16716            public static final BitSet FOLLOW_table_boldcontent_in_table_formattedelement2632 = new BitSet(new long[]{0x0000000000020002L});
16717            public static final BitSet FOLLOW_bold_markup_in_table_formattedelement2642 = new BitSet(new long[]{0x0000000000000002L});
16718            public static final BitSet FOLLOW_onestar_in_table_boldcontent2659 = new BitSet(new long[]{0xFFFFFFFFFFF57FF0L,0x0000000000007FFFL});
16719            public static final BitSet FOLLOW_table_boldcontentpart_in_table_boldcontent2668 = new BitSet(new long[]{0xFFFFFFFFFFF77FF2L,0x0000000000007FFFL});
16720            public static final BitSet FOLLOW_onestar_in_table_boldcontent2673 = new BitSet(new long[]{0xFFFFFFFFFFF57FF2L,0x0000000000007FFFL});
16721            public static final BitSet FOLLOW_EOF_in_table_boldcontent2681 = new BitSet(new long[]{0x0000000000000002L});
16722            public static final BitSet FOLLOW_onestar_in_table_italcontent2695 = new BitSet(new long[]{0xFFFFFFFFFFE77FF0L,0x0000000000007FFFL});
16723            public static final BitSet FOLLOW_table_italcontentpart_in_table_italcontent2704 = new BitSet(new long[]{0xFFFFFFFFFFE77FF2L,0x0000000000007FFFL});
16724            public static final BitSet FOLLOW_onestar_in_table_italcontent2709 = new BitSet(new long[]{0xFFFFFFFFFFE77FF2L,0x0000000000007FFFL});
16725            public static final BitSet FOLLOW_EOF_in_table_italcontent2717 = new BitSet(new long[]{0x0000000000000002L});
16726            public static final BitSet FOLLOW_table_formattedcontent_in_table_boldcontentpart2735 = new BitSet(new long[]{0x0000000000000002L});
16727            public static final BitSet FOLLOW_ital_markup_in_table_boldcontentpart2742 = new BitSet(new long[]{0xFFFFFFFFFFF77FF2L,0x0000000000007FFFL});
16728            public static final BitSet FOLLOW_table_bolditalcontent_in_table_boldcontentpart2749 = new BitSet(new long[]{0x0000000000100002L});
16729            public static final BitSet FOLLOW_ital_markup_in_table_boldcontentpart2756 = new BitSet(new long[]{0x0000000000000002L});
16730            public static final BitSet FOLLOW_bold_markup_in_table_italcontentpart2773 = new BitSet(new long[]{0xFFFFFFFFFFE77FF2L,0x0000000000007FFFL});
16731            public static final BitSet FOLLOW_table_bolditalcontent_in_table_italcontentpart2780 = new BitSet(new long[]{0x0000000000020002L});
16732            public static final BitSet FOLLOW_bold_markup_in_table_italcontentpart2787 = new BitSet(new long[]{0x0000000000000002L});
16733            public static final BitSet FOLLOW_table_formattedcontent_in_table_italcontentpart2799 = new BitSet(new long[]{0x0000000000000002L});
16734            public static final BitSet FOLLOW_onestar_in_table_bolditalcontent2815 = new BitSet(new long[]{0xFFFFFFFFFFE57FF2L,0x0000000000007FFFL});
16735            public static final BitSet FOLLOW_table_formattedcontent_in_table_bolditalcontent2824 = new BitSet(new long[]{0x0000000000020002L});
16736            public static final BitSet FOLLOW_onestar_in_table_bolditalcontent2829 = new BitSet(new long[]{0x0000000000000002L});
16737            public static final BitSet FOLLOW_EOF_in_table_bolditalcontent2837 = new BitSet(new long[]{0x0000000000000002L});
16738            public static final BitSet FOLLOW_table_unformattedelement_in_table_formattedcontent2857 = new BitSet(new long[]{0xFFFFFFFFFFE57FF2L,0x0000000000007FFFL});
16739            public static final BitSet FOLLOW_table_unformatted_in_table_unformattedelement2880 = new BitSet(new long[]{0x0000000000000002L});
16740            public static final BitSet FOLLOW_table_inlineelement_in_table_unformattedelement2892 = new BitSet(new long[]{0x0000000000000002L});
16741            public static final BitSet FOLLOW_link_in_table_inlineelement2913 = new BitSet(new long[]{0x0000000000000002L});
16742            public static final BitSet FOLLOW_image_in_table_inlineelement2923 = new BitSet(new long[]{0x0000000000000002L});
16743            public static final BitSet FOLLOW_extension_in_table_inlineelement2934 = new BitSet(new long[]{0x0000000000000002L});
16744            public static final BitSet FOLLOW_nowiki_inline_in_table_inlineelement2944 = new BitSet(new long[]{0x0000000000000002L});
16745            public static final BitSet FOLLOW_table_unformatted_text_in_table_unformatted2966 = new BitSet(new long[]{0x0000000000000002L});
16746            public static final BitSet FOLLOW_forced_linebreak_in_table_unformatted2975 = new BitSet(new long[]{0x0000000006000002L});
16747            public static final BitSet FOLLOW_escaped_in_table_unformatted2988 = new BitSet(new long[]{0x0000000006000002L});
16748            public static final BitSet FOLLOW_set_in_table_unformatted_text3014 = new BitSet(new long[]{0xFFFFFFFFF8057FF2L,0x0000000000007FFFL});
16749            public static final BitSet FOLLOW_nowikiblock_open_markup_in_nowiki_block3111 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0x0000000000007FFFL});
16750            public static final BitSet FOLLOW_nowiki_block_contents_in_nowiki_block3118 = new BitSet(new long[]{0x0000000008000000L});
16751            public static final BitSet FOLLOW_nowikiblock_close_markup_in_nowiki_block3124 = new BitSet(new long[]{0x0000000000008000L});
16752            public static final BitSet FOLLOW_paragraph_separator_in_nowiki_block3127 = new BitSet(new long[]{0x0000000000000002L});
16753            public static final BitSet FOLLOW_nowiki_open_markup_in_nowikiblock_open_markup3142 = new BitSet(new long[]{0x0000000000008000L});
16754            public static final BitSet FOLLOW_newline_in_nowikiblock_open_markup3145 = new BitSet(new long[]{0x0000000000000002L});
16755            public static final BitSet FOLLOW_NOWIKI_BLOCK_CLOSE_in_nowikiblock_close_markup3157 = new BitSet(new long[]{0x0000000000000002L});
16756            public static final BitSet FOLLOW_nowiki_open_markup_in_nowiki_inline3172 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF0L,0x0000000000007FFFL});
16757            public static final BitSet FOLLOW_nowiki_inline_contents_in_nowiki_inline3179 = new BitSet(new long[]{0x0000000010000000L});
16758            public static final BitSet FOLLOW_nowiki_close_markup_in_nowiki_inline3184 = new BitSet(new long[]{0x0000000000000002L});
16759            public static final BitSet FOLLOW_set_in_nowiki_block_contents3204 = new BitSet(new long[]{0xFFFFFFFFF7FFFFF2L,0x0000000000007FFFL});
16760            public static final BitSet FOLLOW_set_in_nowiki_inline_contents3238 = new BitSet(new long[]{0xFFFFFFFFEFFF7FF2L,0x0000000000007FFFL});
16761            public static final BitSet FOLLOW_horizontalrule_markup_in_horizontalrule3275 = new BitSet(new long[]{0x0000000080008000L});
16762            public static final BitSet FOLLOW_blanks_in_horizontalrule3280 = new BitSet(new long[]{0x0000000000008000L});
16763            public static final BitSet FOLLOW_paragraph_separator_in_horizontalrule3286 = new BitSet(new long[]{0x0000000000000002L});
16764            public static final BitSet FOLLOW_link_open_markup_in_link3308 = new BitSet(new long[]{0xFFFFFFFFDFF77FF0L,0x0000000000007FFFL});
16765            public static final BitSet FOLLOW_link_address_in_link3314 = new BitSet(new long[]{0x0000000020080000L});
16766            public static final BitSet FOLLOW_link_description_markup_in_link3320 = new BitSet(new long[]{0xFFFFFFFFDE5F7FF0L,0x0000000000007FFFL});
16767            public static final BitSet FOLLOW_link_description_in_link3330 = new BitSet(new long[]{0x0000000020000000L});
16768            public static final BitSet FOLLOW_link_close_markup_in_link3338 = new BitSet(new long[]{0x0000000000000002L});
16769            public static final BitSet FOLLOW_link_interwiki_uri_in_link_address3357 = new BitSet(new long[]{0x0000080000000000L});
16770            public static final BitSet FOLLOW_43_in_link_address3360 = new BitSet(new long[]{0xFFFFFFFFDFF77FF0L,0x0000000000007FFFL});
16771            public static final BitSet FOLLOW_link_interwiki_pagename_in_link_address3367 = new BitSet(new long[]{0x0000000000000002L});
16772            public static final BitSet FOLLOW_link_uri_in_link_address3378 = new BitSet(new long[]{0x0000000000000002L});
16773            public static final BitSet FOLLOW_44_in_link_interwiki_uri3394 = new BitSet(new long[]{0x0000200000000000L});
16774            public static final BitSet FOLLOW_45_in_link_interwiki_uri3396 = new BitSet(new long[]{0x0000000000000002L});
16775            public static final BitSet FOLLOW_46_in_link_interwiki_uri3401 = new BitSet(new long[]{0x0000800000000000L});
16776            public static final BitSet FOLLOW_47_in_link_interwiki_uri3403 = new BitSet(new long[]{0x0001000000000000L});
16777            public static final BitSet FOLLOW_48_in_link_interwiki_uri3405 = new BitSet(new long[]{0x0002000000000000L});
16778            public static final BitSet FOLLOW_49_in_link_interwiki_uri3407 = new BitSet(new long[]{0x0004000000000000L});
16779            public static final BitSet FOLLOW_50_in_link_interwiki_uri3409 = new BitSet(new long[]{0x0008000000000000L});
16780            public static final BitSet FOLLOW_51_in_link_interwiki_uri3411 = new BitSet(new long[]{0x0001000000000000L});
16781            public static final BitSet FOLLOW_48_in_link_interwiki_uri3413 = new BitSet(new long[]{0x0008000000000000L});
16782            public static final BitSet FOLLOW_51_in_link_interwiki_uri3415 = new BitSet(new long[]{0x0000000000000002L});
16783            public static final BitSet FOLLOW_52_in_link_interwiki_uri3420 = new BitSet(new long[]{0x0020000000000000L});
16784            public static final BitSet FOLLOW_53_in_link_interwiki_uri3422 = new BitSet(new long[]{0x0008000000000000L});
16785            public static final BitSet FOLLOW_51_in_link_interwiki_uri3424 = new BitSet(new long[]{0x0040000000000000L});
16786            public static final BitSet FOLLOW_54_in_link_interwiki_uri3426 = new BitSet(new long[]{0x0001000000000000L});
16787            public static final BitSet FOLLOW_48_in_link_interwiki_uri3428 = new BitSet(new long[]{0x0080000000000000L});
16788            public static final BitSet FOLLOW_55_in_link_interwiki_uri3430 = new BitSet(new long[]{0x0000000000000002L});
16789            public static final BitSet FOLLOW_56_in_link_interwiki_uri3435 = new BitSet(new long[]{0x0000800000000000L});
16790            public static final BitSet FOLLOW_47_in_link_interwiki_uri3437 = new BitSet(new long[]{0x0000800000000000L});
16791            public static final BitSet FOLLOW_47_in_link_interwiki_uri3439 = new BitSet(new long[]{0x0200000000000000L});
16792            public static final BitSet FOLLOW_57_in_link_interwiki_uri3441 = new BitSet(new long[]{0x0020000000000000L});
16793            public static final BitSet FOLLOW_53_in_link_interwiki_uri3443 = new BitSet(new long[]{0x0400000000000000L});
16794            public static final BitSet FOLLOW_58_in_link_interwiki_uri3445 = new BitSet(new long[]{0x0000000000000002L});
16795            public static final BitSet FOLLOW_59_in_link_interwiki_uri3450 = new BitSet(new long[]{0x1000000000000000L});
16796            public static final BitSet FOLLOW_60_in_link_interwiki_uri3452 = new BitSet(new long[]{0x2000000000000000L});
16797            public static final BitSet FOLLOW_61_in_link_interwiki_uri3454 = new BitSet(new long[]{0x0004000000000000L});
16798            public static final BitSet FOLLOW_50_in_link_interwiki_uri3456 = new BitSet(new long[]{0x0008000000000000L});
16799            public static final BitSet FOLLOW_51_in_link_interwiki_uri3458 = new BitSet(new long[]{0x0001000000000000L});
16800            public static final BitSet FOLLOW_48_in_link_interwiki_uri3460 = new BitSet(new long[]{0x0008000000000000L});
16801            public static final BitSet FOLLOW_51_in_link_interwiki_uri3462 = new BitSet(new long[]{0x0000000000000002L});
16802            public static final BitSet FOLLOW_62_in_link_interwiki_uri3467 = new BitSet(new long[]{0x0400000000000000L});
16803            public static final BitSet FOLLOW_58_in_link_interwiki_uri3469 = new BitSet(new long[]{0x8000000000000000L});
16804            public static final BitSet FOLLOW_63_in_link_interwiki_uri3471 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000001L});
16805            public static final BitSet FOLLOW_64_in_link_interwiki_uri3473 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L});
16806            public static final BitSet FOLLOW_65_in_link_interwiki_uri3475 = new BitSet(new long[]{0x8000000000000000L});
16807            public static final BitSet FOLLOW_63_in_link_interwiki_uri3477 = new BitSet(new long[]{0x0020000000000000L});
16808            public static final BitSet FOLLOW_53_in_link_interwiki_uri3479 = new BitSet(new long[]{0x0020000000000000L});
16809            public static final BitSet FOLLOW_53_in_link_interwiki_uri3481 = new BitSet(new long[]{0x0000000000000002L});
16810            public static final BitSet FOLLOW_62_in_link_interwiki_uri3486 = new BitSet(new long[]{0x0400000000000000L});
16811            public static final BitSet FOLLOW_58_in_link_interwiki_uri3488 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
16812            public static final BitSet FOLLOW_66_in_link_interwiki_uri3490 = new BitSet(new long[]{0x0008000000000000L});
16813            public static final BitSet FOLLOW_51_in_link_interwiki_uri3492 = new BitSet(new long[]{0x8000000000000000L});
16814            public static final BitSet FOLLOW_63_in_link_interwiki_uri3494 = new BitSet(new long[]{0x0004000000000000L});
16815            public static final BitSet FOLLOW_50_in_link_interwiki_uri3496 = new BitSet(new long[]{0x0008000000000000L});
16816            public static final BitSet FOLLOW_51_in_link_interwiki_uri3498 = new BitSet(new long[]{0x0001000000000000L});
16817            public static final BitSet FOLLOW_48_in_link_interwiki_uri3500 = new BitSet(new long[]{0x0008000000000000L});
16818            public static final BitSet FOLLOW_51_in_link_interwiki_uri3502 = new BitSet(new long[]{0x0000000000000002L});
16819            public static final BitSet FOLLOW_62_in_link_interwiki_uri3507 = new BitSet(new long[]{0x0000800000000000L});
16820            public static final BitSet FOLLOW_47_in_link_interwiki_uri3509 = new BitSet(new long[]{0x0008000000000000L});
16821            public static final BitSet FOLLOW_51_in_link_interwiki_uri3511 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000008L});
16822            public static final BitSet FOLLOW_67_in_link_interwiki_uri3513 = new BitSet(new long[]{0x4000000000000000L});
16823            public static final BitSet FOLLOW_62_in_link_interwiki_uri3515 = new BitSet(new long[]{0x0000800000000000L});
16824            public static final BitSet FOLLOW_47_in_link_interwiki_uri3517 = new BitSet(new long[]{0x0008000000000000L});
16825            public static final BitSet FOLLOW_51_in_link_interwiki_uri3519 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000008L});
16826            public static final BitSet FOLLOW_67_in_link_interwiki_uri3521 = new BitSet(new long[]{0x0000000000000002L});
16827            public static final BitSet FOLLOW_68_in_link_interwiki_uri3526 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
16828            public static final BitSet FOLLOW_66_in_link_interwiki_uri3528 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
16829            public static final BitSet FOLLOW_66_in_link_interwiki_uri3530 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000020L});
16830            public static final BitSet FOLLOW_69_in_link_interwiki_uri3532 = new BitSet(new long[]{0x0002000000000000L});
16831            public static final BitSet FOLLOW_49_in_link_interwiki_uri3534 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000040L});
16832            public static final BitSet FOLLOW_70_in_link_interwiki_uri3536 = new BitSet(new long[]{0x0400000000000000L});
16833            public static final BitSet FOLLOW_58_in_link_interwiki_uri3538 = new BitSet(new long[]{0x0000000000000002L});
16834            public static final BitSet FOLLOW_68_in_link_interwiki_uri3543 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000080L});
16835            public static final BitSet FOLLOW_71_in_link_interwiki_uri3545 = new BitSet(new long[]{0x8000000000000000L});
16836            public static final BitSet FOLLOW_63_in_link_interwiki_uri3547 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000008L});
16837            public static final BitSet FOLLOW_67_in_link_interwiki_uri3549 = new BitSet(new long[]{0x8000000000000000L});
16838            public static final BitSet FOLLOW_63_in_link_interwiki_uri3551 = new BitSet(new long[]{0x0000000000000002L});
16839            public static final BitSet FOLLOW_61_in_link_interwiki_uri3556 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000020L});
16840            public static final BitSet FOLLOW_69_in_link_interwiki_uri3558 = new BitSet(new long[]{0x0004000000000000L});
16841            public static final BitSet FOLLOW_50_in_link_interwiki_uri3560 = new BitSet(new long[]{0x0008000000000000L});
16842            public static final BitSet FOLLOW_51_in_link_interwiki_uri3562 = new BitSet(new long[]{0x0001000000000000L});
16843            public static final BitSet FOLLOW_48_in_link_interwiki_uri3564 = new BitSet(new long[]{0x0008000000000000L});
16844            public static final BitSet FOLLOW_51_in_link_interwiki_uri3566 = new BitSet(new long[]{0x0000000000000002L});
16845            public static final BitSet FOLLOW_61_in_link_interwiki_uri3571 = new BitSet(new long[]{0x0002000000000000L});
16846            public static final BitSet FOLLOW_49_in_link_interwiki_uri3573 = new BitSet(new long[]{0x0001000000000000L});
16847            public static final BitSet FOLLOW_48_in_link_interwiki_uri3575 = new BitSet(new long[]{0x0008000000000000L});
16848            public static final BitSet FOLLOW_51_in_link_interwiki_uri3577 = new BitSet(new long[]{0x0004000000000000L});
16849            public static final BitSet FOLLOW_50_in_link_interwiki_uri3579 = new BitSet(new long[]{0x0008000000000000L});
16850            public static final BitSet FOLLOW_51_in_link_interwiki_uri3581 = new BitSet(new long[]{0x0001000000000000L});
16851            public static final BitSet FOLLOW_48_in_link_interwiki_uri3583 = new BitSet(new long[]{0x0008000000000000L});
16852            public static final BitSet FOLLOW_51_in_link_interwiki_uri3585 = new BitSet(new long[]{0x0000000000000002L});
16853            public static final BitSet FOLLOW_61_in_link_interwiki_uri3590 = new BitSet(new long[]{0x0002000000000000L});
16854            public static final BitSet FOLLOW_49_in_link_interwiki_uri3592 = new BitSet(new long[]{0x0080000000000000L});
16855            public static final BitSet FOLLOW_55_in_link_interwiki_uri3594 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000100L});
16856            public static final BitSet FOLLOW_72_in_link_interwiki_uri3596 = new BitSet(new long[]{0x0020000000000000L});
16857            public static final BitSet FOLLOW_53_in_link_interwiki_uri3598 = new BitSet(new long[]{0x0400000000000000L});
16858            public static final BitSet FOLLOW_58_in_link_interwiki_uri3600 = new BitSet(new long[]{0x0004000000000000L});
16859            public static final BitSet FOLLOW_50_in_link_interwiki_uri3602 = new BitSet(new long[]{0x0008000000000000L});
16860            public static final BitSet FOLLOW_51_in_link_interwiki_uri3604 = new BitSet(new long[]{0x0001000000000000L});
16861            public static final BitSet FOLLOW_48_in_link_interwiki_uri3606 = new BitSet(new long[]{0x0008000000000000L});
16862            public static final BitSet FOLLOW_51_in_link_interwiki_uri3608 = new BitSet(new long[]{0x0000000000000002L});
16863            public static final BitSet FOLLOW_73_in_link_interwiki_uri3613 = new BitSet(new long[]{0x8000000000000000L});
16864            public static final BitSet FOLLOW_63_in_link_interwiki_uri3615 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
16865            public static final BitSet FOLLOW_66_in_link_interwiki_uri3617 = new BitSet(new long[]{0x0400000000000000L});
16866            public static final BitSet FOLLOW_58_in_link_interwiki_uri3619 = new BitSet(new long[]{0x0000800000000000L});
16867            public static final BitSet FOLLOW_47_in_link_interwiki_uri3621 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000400L});
16868            public static final BitSet FOLLOW_74_in_link_interwiki_uri3623 = new BitSet(new long[]{0x0000000000000002L});
16869            public static final BitSet FOLLOW_60_in_link_interwiki_uri3628 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000008L});
16870            public static final BitSet FOLLOW_67_in_link_interwiki_uri3630 = new BitSet(new long[]{0x0008000000000000L});
16871            public static final BitSet FOLLOW_51_in_link_interwiki_uri3632 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000100L});
16872            public static final BitSet FOLLOW_72_in_link_interwiki_uri3634 = new BitSet(new long[]{0x1000000000000000L});
16873            public static final BitSet FOLLOW_60_in_link_interwiki_uri3636 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000008L});
16874            public static final BitSet FOLLOW_67_in_link_interwiki_uri3638 = new BitSet(new long[]{0x8000000000000000L});
16875            public static final BitSet FOLLOW_63_in_link_interwiki_uri3640 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000100L});
16876            public static final BitSet FOLLOW_72_in_link_interwiki_uri3642 = new BitSet(new long[]{0x0000000000000002L});
16877            public static final BitSet FOLLOW_75_in_link_interwiki_uri3647 = new BitSet(new long[]{0x0008000000000000L});
16878            public static final BitSet FOLLOW_51_in_link_interwiki_uri3649 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
16879            public static final BitSet FOLLOW_66_in_link_interwiki_uri3651 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
16880            public static final BitSet FOLLOW_66_in_link_interwiki_uri3653 = new BitSet(new long[]{0x0020000000000000L});
16881            public static final BitSet FOLLOW_53_in_link_interwiki_uri3655 = new BitSet(new long[]{0x0000000000000000L,0x0000000000001000L});
16882            public static final BitSet FOLLOW_76_in_link_interwiki_uri3657 = new BitSet(new long[]{0x0004000000000000L});
16883            public static final BitSet FOLLOW_50_in_link_interwiki_uri3659 = new BitSet(new long[]{0x0008000000000000L});
16884            public static final BitSet FOLLOW_51_in_link_interwiki_uri3661 = new BitSet(new long[]{0x0001000000000000L});
16885            public static final BitSet FOLLOW_48_in_link_interwiki_uri3663 = new BitSet(new long[]{0x0008000000000000L});
16886            public static final BitSet FOLLOW_51_in_link_interwiki_uri3665 = new BitSet(new long[]{0x0000000000000002L});
16887            public static final BitSet FOLLOW_75_in_link_interwiki_uri3670 = new BitSet(new long[]{0x0004000000000000L});
16888            public static final BitSet FOLLOW_50_in_link_interwiki_uri3672 = new BitSet(new long[]{0x0008000000000000L});
16889            public static final BitSet FOLLOW_51_in_link_interwiki_uri3674 = new BitSet(new long[]{0x0001000000000000L});
16890            public static final BitSet FOLLOW_48_in_link_interwiki_uri3676 = new BitSet(new long[]{0x0008000000000000L});
16891            public static final BitSet FOLLOW_51_in_link_interwiki_uri3678 = new BitSet(new long[]{0x0000000000000002L});
16892            public static final BitSet FOLLOW_77_in_link_interwiki_uri3683 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000040L});
16893            public static final BitSet FOLLOW_70_in_link_interwiki_uri3685 = new BitSet(new long[]{0x0400000000000000L});
16894            public static final BitSet FOLLOW_58_in_link_interwiki_uri3687 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000020L});
16895            public static final BitSet FOLLOW_69_in_link_interwiki_uri3689 = new BitSet(new long[]{0x0000800000000000L});
16896            public static final BitSet FOLLOW_47_in_link_interwiki_uri3691 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
16897            public static final BitSet FOLLOW_66_in_link_interwiki_uri3693 = new BitSet(new long[]{0x0000000000000002L});
16898            public static final BitSet FOLLOW_50_in_link_interwiki_uri3698 = new BitSet(new long[]{0x0008000000000000L});
16899            public static final BitSet FOLLOW_51_in_link_interwiki_uri3700 = new BitSet(new long[]{0x0001000000000000L});
16900            public static final BitSet FOLLOW_48_in_link_interwiki_uri3702 = new BitSet(new long[]{0x0008000000000000L});
16901            public static final BitSet FOLLOW_51_in_link_interwiki_uri3704 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000100L});
16902            public static final BitSet FOLLOW_72_in_link_interwiki_uri3706 = new BitSet(new long[]{0x0400000000000000L});
16903            public static final BitSet FOLLOW_58_in_link_interwiki_uri3708 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000004L});
16904            public static final BitSet FOLLOW_66_in_link_interwiki_uri3710 = new BitSet(new long[]{0x0008000000000000L});
16905            public static final BitSet FOLLOW_51_in_link_interwiki_uri3712 = new BitSet(new long[]{0x8000000000000000L});
16906            public static final BitSet FOLLOW_63_in_link_interwiki_uri3714 = new BitSet(new long[]{0x0000000000000002L});
16907            public static final BitSet FOLLOW_78_in_link_interwiki_uri3719 = new BitSet(new long[]{0x0004000000000000L});
16908            public static final BitSet FOLLOW_50_in_link_interwiki_uri3721 = new BitSet(new long[]{0x0008000000000000L});
16909            public static final BitSet FOLLOW_51_in_link_interwiki_uri3723 = new BitSet(new long[]{0x0001000000000000L});
16910            public static final BitSet FOLLOW_48_in_link_interwiki_uri3725 = new BitSet(new long[]{0x0008000000000000L});
16911            public static final BitSet FOLLOW_51_in_link_interwiki_uri3727 = new BitSet(new long[]{0x0000000000000002L});
16912            public static final BitSet FOLLOW_set_in_link_interwiki_pagename3747 = new BitSet(new long[]{0xFFFFFFFFDFF77FF2L,0x0000000000007FFFL});
16913            public static final BitSet FOLLOW_link_descriptionpart_in_link_description3790 = new BitSet(new long[]{0xFFFFFFFFDE5F7FF2L,0x0000000000007FFFL});
16914            public static final BitSet FOLLOW_image_in_link_description3802 = new BitSet(new long[]{0xFFFFFFFFDE5F7FF2L,0x0000000000007FFFL});
16915            public static final BitSet FOLLOW_bold_markup_in_link_descriptionpart3827 = new BitSet(new long[]{0xFFFFFFFFDE1F7FF0L,0x0000000000007FFFL});
16916            public static final BitSet FOLLOW_onestar_in_link_descriptionpart3830 = new BitSet(new long[]{0xFFFFFFFFDE1D7FF0L,0x0000000000007FFFL});
16917            public static final BitSet FOLLOW_link_bold_descriptionpart_in_link_descriptionpart3838 = new BitSet(new long[]{0xFFFFFFFFDE1F7FF0L,0x0000000000007FFFL});
16918            public static final BitSet FOLLOW_onestar_in_link_descriptionpart3843 = new BitSet(new long[]{0xFFFFFFFFDE1F7FF0L,0x0000000000007FFFL});
16919            public static final BitSet FOLLOW_bold_markup_in_link_descriptionpart3853 = new BitSet(new long[]{0x0000000000000002L});
16920            public static final BitSet FOLLOW_ital_markup_in_link_descriptionpart3858 = new BitSet(new long[]{0xFFFFFFFFDE0F7FF0L,0x0000000000007FFFL});
16921            public static final BitSet FOLLOW_onestar_in_link_descriptionpart3861 = new BitSet(new long[]{0xFFFFFFFFDE0F7FF0L,0x0000000000007FFFL});
16922            public static final BitSet FOLLOW_link_ital_descriptionpart_in_link_descriptionpart3870 = new BitSet(new long[]{0xFFFFFFFFDE1F7FF0L,0x0000000000007FFFL});
16923            public static final BitSet FOLLOW_onestar_in_link_descriptionpart3875 = new BitSet(new long[]{0xFFFFFFFFDE1F7FF0L,0x0000000000007FFFL});
16924            public static final BitSet FOLLOW_ital_markup_in_link_descriptionpart3884 = new BitSet(new long[]{0x0000000000000002L});
16925            public static final BitSet FOLLOW_onestar_in_link_descriptionpart3889 = new BitSet(new long[]{0xFFFFFFFFDE0D7FF0L,0x0000000000007FFFL});
16926            public static final BitSet FOLLOW_link_descriptiontext_in_link_descriptionpart3898 = new BitSet(new long[]{0xFFFFFFFFDE0F7FF2L,0x0000000000007FFFL});
16927            public static final BitSet FOLLOW_onestar_in_link_descriptionpart3901 = new BitSet(new long[]{0xFFFFFFFFDE0D7FF2L,0x0000000000007FFFL});
16928            public static final BitSet FOLLOW_ital_markup_in_link_bold_descriptionpart3921 = new BitSet(new long[]{0xFFFFFFFFDE0F7FF0L,0x0000000000007FFFL});
16929            public static final BitSet FOLLOW_link_boldital_description_in_link_bold_descriptionpart3928 = new BitSet(new long[]{0x0000000000100000L});
16930            public static final BitSet FOLLOW_ital_markup_in_link_bold_descriptionpart3933 = new BitSet(new long[]{0x0000000000000002L});
16931            public static final BitSet FOLLOW_link_descriptiontext_in_link_bold_descriptionpart3942 = new BitSet(new long[]{0x0000000000000002L});
16932            public static final BitSet FOLLOW_bold_markup_in_link_ital_descriptionpart3958 = new BitSet(new long[]{0xFFFFFFFFDE0F7FF0L,0x0000000000007FFFL});
16933            public static final BitSet FOLLOW_link_boldital_description_in_link_ital_descriptionpart3965 = new BitSet(new long[]{0x0000000000020000L});
16934            public static final BitSet FOLLOW_bold_markup_in_link_ital_descriptionpart3968 = new BitSet(new long[]{0x0000000000000002L});
16935            public static final BitSet FOLLOW_link_descriptiontext_in_link_ital_descriptionpart3979 = new BitSet(new long[]{0x0000000000000002L});
16936            public static final BitSet FOLLOW_onestar_in_link_boldital_description3995 = new BitSet(new long[]{0xFFFFFFFFDE0D7FF0L,0x0000000000007FFFL});
16937            public static final BitSet FOLLOW_link_descriptiontext_in_link_boldital_description4004 = new BitSet(new long[]{0xFFFFFFFFDE0F7FF2L,0x0000000000007FFFL});
16938            public static final BitSet FOLLOW_onestar_in_link_boldital_description4007 = new BitSet(new long[]{0xFFFFFFFFDE0D7FF2L,0x0000000000007FFFL});
16939            public static final BitSet FOLLOW_link_descriptiontext_simple_in_link_descriptiontext4030 = new BitSet(new long[]{0x0000000000000002L});
16940            public static final BitSet FOLLOW_forced_linebreak_in_link_descriptiontext4040 = new BitSet(new long[]{0x0000000006000002L});
16941            public static final BitSet FOLLOW_escaped_in_link_descriptiontext4052 = new BitSet(new long[]{0x0000000006000002L});
16942            public static final BitSet FOLLOW_set_in_link_descriptiontext_simple4077 = new BitSet(new long[]{0xFFFFFFFFD80D7FF2L,0x0000000000007FFFL});
16943            public static final BitSet FOLLOW_set_in_link_uri4178 = new BitSet(new long[]{0xFFFFFFFFDFF77FF2L,0x0000000000007FFFL});
16944            public static final BitSet FOLLOW_image_open_markup_in_image4219 = new BitSet(new long[]{0xFFFFFFFFBFF77FF0L,0x0000000000007FFFL});
16945            public static final BitSet FOLLOW_image_uri_in_image4225 = new BitSet(new long[]{0x0000000040080000L});
16946            public static final BitSet FOLLOW_image_alternative_in_image4235 = new BitSet(new long[]{0x0000000040000000L});
16947            public static final BitSet FOLLOW_image_close_markup_in_image4244 = new BitSet(new long[]{0x0000000000000002L});
16948            public static final BitSet FOLLOW_set_in_image_uri4263 = new BitSet(new long[]{0xFFFFFFFFBFF77FF2L,0x0000000000007FFFL});
16949            public static final BitSet FOLLOW_image_alternative_markup_in_image_alternative4298 = new BitSet(new long[]{0xFFFFFFFFBE1F7FF0L,0x0000000000007FFFL});
16950            public static final BitSet FOLLOW_image_alternativepart_in_image_alternative4307 = new BitSet(new long[]{0xFFFFFFFFBE1F7FF2L,0x0000000000007FFFL});
16951            public static final BitSet FOLLOW_bold_markup_in_image_alternativepart4333 = new BitSet(new long[]{0x0000000000120000L});
16952            public static final BitSet FOLLOW_onestar_in_image_alternativepart4336 = new BitSet(new long[]{0xFFFFFFFFBE1F7FF0L,0x0000000000007FFFL});
16953            public static final BitSet FOLLOW_image_bold_alternativepart_in_image_alternativepart4345 = new BitSet(new long[]{0x0000000000120000L});
16954            public static final BitSet FOLLOW_onestar_in_image_alternativepart4350 = new BitSet(new long[]{0xFFFFFFFFBE1F7FF0L,0x0000000000007FFFL});
16955            public static final BitSet FOLLOW_bold_markup_in_image_alternativepart4357 = new BitSet(new long[]{0x0000000000000002L});
16956            public static final BitSet FOLLOW_ital_markup_in_image_alternativepart4364 = new BitSet(new long[]{0x0000000000020000L});
16957            public static final BitSet FOLLOW_onestar_in_image_alternativepart4367 = new BitSet(new long[]{0xFFFFFFFFBE0F7FF0L,0x0000000000007FFFL});
16958            public static final BitSet FOLLOW_image_ital_alternativepart_in_image_alternativepart4377 = new BitSet(new long[]{0x0000000000120000L});
16959            public static final BitSet FOLLOW_onestar_in_image_alternativepart4382 = new BitSet(new long[]{0xFFFFFFFFBE1F7FF0L,0x0000000000007FFFL});
16960            public static final BitSet FOLLOW_ital_markup_in_image_alternativepart4389 = new BitSet(new long[]{0x0000000000000002L});
16961            public static final BitSet FOLLOW_onestar_in_image_alternativepart4396 = new BitSet(new long[]{0xFFFFFFFFBE0D7FF0L,0x0000000000007FFFL});
16962            public static final BitSet FOLLOW_image_alternativetext_in_image_alternativepart4403 = new BitSet(new long[]{0xFFFFFFFFBE0F7FF2L,0x0000000000007FFFL});
16963            public static final BitSet FOLLOW_onestar_in_image_alternativepart4408 = new BitSet(new long[]{0xFFFFFFFFBE0D7FF2L,0x0000000000007FFFL});
16964            public static final BitSet FOLLOW_ital_markup_in_image_bold_alternativepart4434 = new BitSet(new long[]{0xFFFFFFFFDE0F7FF0L,0x0000000000007FFFL});
16965            public static final BitSet FOLLOW_link_boldital_description_in_image_bold_alternativepart4441 = new BitSet(new long[]{0x0000000000100000L});
16966            public static final BitSet FOLLOW_ital_markup_in_image_bold_alternativepart4446 = new BitSet(new long[]{0x0000000000000002L});
16967            public static final BitSet FOLLOW_onestar_in_image_bold_alternativepart4451 = new BitSet(new long[]{0xFFFFFFFFBE0D7FF0L,0x0000000000007FFFL});
16968            public static final BitSet FOLLOW_image_alternativetext_in_image_bold_alternativepart4460 = new BitSet(new long[]{0xFFFFFFFFBE0F7FF2L,0x0000000000007FFFL});
16969            public static final BitSet FOLLOW_onestar_in_image_bold_alternativepart4463 = new BitSet(new long[]{0xFFFFFFFFBE0D7FF2L,0x0000000000007FFFL});
16970            public static final BitSet FOLLOW_bold_markup_in_image_ital_alternativepart4492 = new BitSet(new long[]{0xFFFFFFFFDE0F7FF0L,0x0000000000007FFFL});
16971            public static final BitSet FOLLOW_link_boldital_description_in_image_ital_alternativepart4499 = new BitSet(new long[]{0x0000000000020000L});
16972            public static final BitSet FOLLOW_bold_markup_in_image_ital_alternativepart4504 = new BitSet(new long[]{0x0000000000000002L});
16973            public static final BitSet FOLLOW_onestar_in_image_ital_alternativepart4509 = new BitSet(new long[]{0xFFFFFFFFBE0D7FF0L,0x0000000000007FFFL});
16974            public static final BitSet FOLLOW_image_alternativetext_in_image_ital_alternativepart4518 = new BitSet(new long[]{0xFFFFFFFFBE0F7FF2L,0x0000000000007FFFL});
16975            public static final BitSet FOLLOW_onestar_in_image_ital_alternativepart4521 = new BitSet(new long[]{0xFFFFFFFFBE0D7FF2L,0x0000000000007FFFL});
16976            public static final BitSet FOLLOW_onestar_in_image_boldital_alternative4542 = new BitSet(new long[]{0xFFFFFFFFBE0D7FF0L,0x0000000000007FFFL});
16977            public static final BitSet FOLLOW_image_alternativetext_in_image_boldital_alternative4551 = new BitSet(new long[]{0xFFFFFFFFBE0F7FF2L,0x0000000000007FFFL});
16978            public static final BitSet FOLLOW_onestar_in_image_boldital_alternative4554 = new BitSet(new long[]{0xFFFFFFFFBE0D7FF2L,0x0000000000007FFFL});
16979            public static final BitSet FOLLOW_image_alternative_simple_text_in_image_alternativetext4577 = new BitSet(new long[]{0x0000000000000002L});
16980            public static final BitSet FOLLOW_forced_linebreak_in_image_alternativetext4585 = new BitSet(new long[]{0x0000000002000002L});
16981            public static final BitSet FOLLOW_set_in_image_alternative_simple_text4612 = new BitSet(new long[]{0xFFFFFFFFBC0D7FF2L,0x0000000000007FFFL});
16982            public static final BitSet FOLLOW_extension_markup_in_extension4705 = new BitSet(new long[]{0xFFFFFFFF7EFF7FF0L,0x0000000000007FFFL});
16983            public static final BitSet FOLLOW_extension_handler_in_extension4708 = new BitSet(new long[]{0x0000000080000000L});
16984            public static final BitSet FOLLOW_blanks_in_extension4711 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0x0000000000007FFFL});
16985            public static final BitSet FOLLOW_extension_statement_in_extension4714 = new BitSet(new long[]{0x0000000001000000L});
16986            public static final BitSet FOLLOW_extension_markup_in_extension4719 = new BitSet(new long[]{0x0000000000000002L});
16987            public static final BitSet FOLLOW_set_in_extension_handler4731 = new BitSet(new long[]{0xFFFFFFFF7EFF7FF2L,0x0000000000007FFFL});
16988            public static final BitSet FOLLOW_escaped_in_extension_handler4764 = new BitSet(new long[]{0xFFFFFFFF7EFF7FF2L,0x0000000000007FFFL});
16989            public static final BitSet FOLLOW_set_in_extension_statement4778 = new BitSet(new long[]{0xFFFFFFFFFEFFFFF2L,0x0000000000007FFFL});
16990            public static final BitSet FOLLOW_escaped_in_extension_statement4799 = new BitSet(new long[]{0xFFFFFFFFFEFFFFF2L,0x0000000000007FFFL});
16991            public static final BitSet FOLLOW_TABLE_OF_CONTENTS_TEXT_in_table_of_contents4822 = new BitSet(new long[]{0x0000000000000002L});
16992            public static final BitSet FOLLOW_STAR_in_onestar4845 = new BitSet(new long[]{0x0000000000000002L});
16993            public static final BitSet FOLLOW_ESCAPE_in_escaped4867 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0x0000000000007FFFL});
16994            public static final BitSet FOLLOW_newline_in_paragraph_separator4891 = new BitSet(new long[]{0x0000000000008002L});
16995            public static final BitSet FOLLOW_EOF_in_paragraph_separator4899 = new BitSet(new long[]{0x0000000000000002L});
16996            public static final BitSet FOLLOW_blanks_in_whitespaces4911 = new BitSet(new long[]{0x0000000080008002L});
16997            public static final BitSet FOLLOW_newline_in_whitespaces4915 = new BitSet(new long[]{0x0000000080008002L});
16998            public static final BitSet FOLLOW_BLANKS_in_blanks4928 = new BitSet(new long[]{0x0000000000000002L});
16999            public static final BitSet FOLLOW_newline_in_text_lineseparator4938 = new BitSet(new long[]{0x0000000080000002L});
17000            public static final BitSet FOLLOW_blanks_in_text_lineseparator4943 = new BitSet(new long[]{0x0000000000000002L});
17001            public static final BitSet FOLLOW_EOF_in_text_lineseparator4951 = new BitSet(new long[]{0x0000000000000002L});
17002            public static final BitSet FOLLOW_NEWLINE_in_newline4961 = new BitSet(new long[]{0x0000000000000002L});
17003            public static final BitSet FOLLOW_STAR_in_bold_markup4971 = new BitSet(new long[]{0x0000000000020000L});
17004            public static final BitSet FOLLOW_STAR_in_bold_markup4974 = new BitSet(new long[]{0x0000000000000002L});
17005            public static final BitSet FOLLOW_ITAL_in_ital_markup4984 = new BitSet(new long[]{0x0000000000000002L});
17006            public static final BitSet FOLLOW_EQUAL_in_heading_markup4994 = new BitSet(new long[]{0x0000000000000002L});
17007            public static final BitSet FOLLOW_POUND_in_list_ordelem_markup5004 = new BitSet(new long[]{0x0000000000000002L});
17008            public static final BitSet FOLLOW_STAR_in_list_unordelem_markup5014 = new BitSet(new long[]{0x0000000000000002L});
17009            public static final BitSet FOLLOW_newline_in_list_elemseparator5024 = new BitSet(new long[]{0x0000000080000002L});
17010            public static final BitSet FOLLOW_blanks_in_list_elemseparator5029 = new BitSet(new long[]{0x0000000000000002L});
17011            public static final BitSet FOLLOW_EOF_in_list_elemseparator5037 = new BitSet(new long[]{0x0000000000000002L});
17012            public static final BitSet FOLLOW_newline_in_end_of_list5047 = new BitSet(new long[]{0x0000000000000002L});
17013            public static final BitSet FOLLOW_EOF_in_end_of_list5052 = new BitSet(new long[]{0x0000000000000002L});
17014            public static final BitSet FOLLOW_PIPE_in_table_cell_markup5062 = new BitSet(new long[]{0x0000000000000002L});
17015            public static final BitSet FOLLOW_PIPE_in_table_headercell_markup5072 = new BitSet(new long[]{0x0000000000040000L});
17016            public static final BitSet FOLLOW_EQUAL_in_table_headercell_markup5075 = new BitSet(new long[]{0x0000000000000002L});
17017            public static final BitSet FOLLOW_newline_in_table_rowseparator5085 = new BitSet(new long[]{0x0000000000000002L});
17018            public static final BitSet FOLLOW_EOF_in_table_rowseparator5090 = new BitSet(new long[]{0x0000000000000002L});
17019            public static final BitSet FOLLOW_NOWIKI_OPEN_in_nowiki_open_markup5100 = new BitSet(new long[]{0x0000000000000002L});
17020            public static final BitSet FOLLOW_NOWIKI_CLOSE_in_nowiki_close_markup5110 = new BitSet(new long[]{0x0000000000000002L});
17021            public static final BitSet FOLLOW_DASH_in_horizontalrule_markup5120 = new BitSet(new long[]{0x0000000200000000L});
17022            public static final BitSet FOLLOW_DASH_in_horizontalrule_markup5123 = new BitSet(new long[]{0x0000000200000000L});
17023            public static final BitSet FOLLOW_DASH_in_horizontalrule_markup5126 = new BitSet(new long[]{0x0000000200000000L});
17024            public static final BitSet FOLLOW_DASH_in_horizontalrule_markup5129 = new BitSet(new long[]{0x0000000000000002L});
17025            public static final BitSet FOLLOW_LINK_OPEN_in_link_open_markup5139 = new BitSet(new long[]{0x0000000000000002L});
17026            public static final BitSet FOLLOW_LINK_CLOSE_in_link_close_markup5149 = new BitSet(new long[]{0x0000000000000002L});
17027            public static final BitSet FOLLOW_PIPE_in_link_description_markup5159 = new BitSet(new long[]{0x0000000000000002L});
17028            public static final BitSet FOLLOW_IMAGE_OPEN_in_image_open_markup5169 = new BitSet(new long[]{0x0000000000000002L});
17029            public static final BitSet FOLLOW_IMAGE_CLOSE_in_image_close_markup5179 = new BitSet(new long[]{0x0000000000000002L});
17030            public static final BitSet FOLLOW_PIPE_in_image_alternative_markup5189 = new BitSet(new long[]{0x0000000000000002L});
17031            public static final BitSet FOLLOW_EXTENSION_in_extension_markup5199 = new BitSet(new long[]{0x0000000000000002L});
17032            public static final BitSet FOLLOW_FORCED_LINEBREAK_in_forced_linebreak5209 = new BitSet(new long[]{0x0000000000000002L});
17033            public static final BitSet FOLLOW_NOWIKI_OPEN_in_synpred1339 = new BitSet(new long[]{0xFFFFFFFFFFFF7FF0L,0x0000000000007FFFL});
17034            public static final BitSet FOLLOW_set_in_synpred1342 = new BitSet(new long[]{0x0000000000000002L});
17035    
17036    }