public final BELScriptWalker.function_return function() throws RecognitionException {
        BELScriptWalker.function_return retval = new BELScriptWalker.function_return();
        retval.start = input.LT(1);

        CommonTree root_0 = null;

        CommonTree _first_0 = null;
        CommonTree _last = null;

        CommonTree fv=null;

        CommonTree fv_tree=null;

        try {
            // BELScriptWalker.g:489:28: ( (fv= 'proteinAbundance' | fv= 'p' | fv= 'rnaAbundance' | fv= 'r' | fv= 'abundance' | fv= 'a' | fv= 'microRNAAbundance' | fv= 'm' | fv= 'geneAbundance' | fv= 'g' | fv= 'biologicalProcess' | fv= 'bp' | fv= 'pathology' | fv= 'path' | fv= 'complexAbundance' | fv= 'complex' | fv= 'translocation' | fv= 'tloc' | fv= 'cellSecretion' | fv= 'sec' | fv= 'cellSurfaceExpression' | fv= 'surf' | fv= 'reaction' | fv= 'rxn' | fv= 'compositeAbundance' | fv= 'composite' | fv= 'fusion' | fv= 'fus' | fv= 'degradation' | fv= 'deg' | fv= 'molecularActivity' | fv= 'act' | fv= 'catalyticActivity' | fv= 'cat' | fv= 'kinaseActivity' | fv= 'kin' | fv= 'phosphataseActivity' | fv= 'phos' | fv= 'peptidaseActivity' | fv= 'pep' | fv= 'ribosylationActivity' | fv= 'ribo' | fv= 'transcriptionalActivity' | fv= 'tscript' | fv= 'transportActivity' | fv= 'tport' | fv= 'gtpBoundActivity' | fv= 'gtp' | fv= 'chaperoneActivity' | fv= 'chap' | fv= 'proteinModification' | fv= 'pmod' | fv= 'substitution' | fv= 'sub' | fv= 'truncation' | fv= 'trunc' | fv= 'reactants' | fv= 'products' | fv= 'list' ) )
            // BELScriptWalker.g:490:5: (fv= 'proteinAbundance' | fv= 'p' | fv= 'rnaAbundance' | fv= 'r' | fv= 'abundance' | fv= 'a' | fv= 'microRNAAbundance' | fv= 'm' | fv= 'geneAbundance' | fv= 'g' | fv= 'biologicalProcess' | fv= 'bp' | fv= 'pathology' | fv= 'path' | fv= 'complexAbundance' | fv= 'complex' | fv= 'translocation' | fv= 'tloc' | fv= 'cellSecretion' | fv= 'sec' | fv= 'cellSurfaceExpression' | fv= 'surf' | fv= 'reaction' | fv= 'rxn' | fv= 'compositeAbundance' | fv= 'composite' | fv= 'fusion' | fv= 'fus' | fv= 'degradation' | fv= 'deg' | fv= 'molecularActivity' | fv= 'act' | fv= 'catalyticActivity' | fv= 'cat' | fv= 'kinaseActivity' | fv= 'kin' | fv= 'phosphataseActivity' | fv= 'phos' | fv= 'peptidaseActivity' | fv= 'pep' | fv= 'ribosylationActivity' | fv= 'ribo' | fv= 'transcriptionalActivity' | fv= 'tscript' | fv= 'transportActivity' | fv= 'tport' | fv= 'gtpBoundActivity' | fv= 'gtp' | fv= 'chaperoneActivity' | fv= 'chap' | fv= 'proteinModification' | fv= 'pmod' | fv= 'substitution' | fv= 'sub' | fv= 'truncation' | fv= 'trunc' | fv= 'reactants' | fv= 'products' | fv= 'list' )
            {
            root_0 = (CommonTree)adaptor.nil();

            // BELScriptWalker.g:490:5: (fv= 'proteinAbundance' | fv= 'p' | fv= 'rnaAbundance' | fv= 'r' | fv= 'abundance' | fv= 'a' | fv= 'microRNAAbundance' | fv= 'm' | fv= 'geneAbundance' | fv= 'g' | fv= 'biologicalProcess' | fv= 'bp' | fv= 'pathology' | fv= 'path' | fv= 'complexAbundance' | fv= 'complex' | fv= 'translocation' | fv= 'tloc' | fv= 'cellSecretion' | fv= 'sec' | fv= 'cellSurfaceExpression' | fv= 'surf' | fv= 'reaction' | fv= 'rxn' | fv= 'compositeAbundance' | fv= 'composite' | fv= 'fusion' | fv= 'fus' | fv= 'degradation' | fv= 'deg' | fv= 'molecularActivity' | fv= 'act' | fv= 'catalyticActivity' | fv= 'cat' | fv= 'kinaseActivity' | fv= 'kin' | fv= 'phosphataseActivity' | fv= 'phos' | fv= 'peptidaseActivity' | fv= 'pep' | fv= 'ribosylationActivity' | fv= 'ribo' | fv= 'transcriptionalActivity' | fv= 'tscript' | fv= 'transportActivity' | fv= 'tport' | fv= 'gtpBoundActivity' | fv= 'gtp' | fv= 'chaperoneActivity' | fv= 'chap' | fv= 'proteinModification' | fv= 'pmod' | fv= 'substitution' | fv= 'sub' | fv= 'truncation' | fv= 'trunc' | fv= 'reactants' | fv= 'products' | fv= 'list' )
            int alt22=59;
            switch ( input.LA(1) ) {
            case 44:
                {
                alt22=1;
                }
                break;
            case 45:
                {
                alt22=2;
                }
                break;
            case 46:
                {
                alt22=3;
                }
                break;
            case 47:
                {
                alt22=4;
                }
                break;
            case 48:
                {
                alt22=5;
                }
                break;
            case 49:
                {
                alt22=6;
                }
                break;
            case 50:
                {
                alt22=7;
                }
                break;
            case 51:
                {
                alt22=8;
                }
                break;
            case 52:
                {
                alt22=9;
                }
                break;
            case 53:
                {
                alt22=10;
                }
                break;
            case 54:
                {
                alt22=11;
                }
                break;
            case 55:
                {
                alt22=12;
                }
                break;
            case 56:
                {
                alt22=13;
                }
                break;
            case 57:
                {
                alt22=14;
                }
                break;
            case 58:
                {
                alt22=15;
                }
                break;
            case 59:
                {
                alt22=16;
                }
                break;
            case 60:
                {
                alt22=17;
                }
                break;
            case 61:
                {
                alt22=18;
                }
                break;
            case 62:
                {
                alt22=19;
                }
                break;
            case 63:
                {
                alt22=20;
                }
                break;
            case 64:
                {
                alt22=21;
                }
                break;
            case 65:
                {
                alt22=22;
                }
                break;
            case 66:
                {
                alt22=23;
                }
                break;
            case 67:
                {
                alt22=24;
                }
                break;
            case 68:
                {
                alt22=25;
                }
                break;
            case 69:
                {
                alt22=26;
                }
                break;
            case 70:
                {
                alt22=27;
                }
                break;
            case 71:
                {
                alt22=28;
                }
                break;
            case 72:
                {
                alt22=29;
                }
                break;
            case 73:
                {
                alt22=30;
                }
                break;
            case 74:
                {
                alt22=31;
                }
                break;
            case 75:
                {
                alt22=32;
                }
                break;
            case 76:
                {
                alt22=33;
                }
                break;
            case 77:
                {
                alt22=34;
                }
                break;
            case 78:
                {
                alt22=35;
                }
                break;
            case 79:
                {
                alt22=36;
                }
                break;
            case 80:
                {
                alt22=37;
                }
                break;
            case 81:
                {
                alt22=38;
                }
                break;
            case 82:
                {
                alt22=39;
                }
                break;
            case 83:
                {
                alt22=40;
                }
                break;
            case 84:
                {
                alt22=41;
                }
                break;
            case 85:
                {
                alt22=42;
                }
                break;
            case 86:
                {
                alt22=43;
                }
                break;
            case 87:
                {
                alt22=44;
                }
                break;
            case 88:
                {
                alt22=45;
                }
                break;
            case 89:
                {
                alt22=46;
                }
                break;
            case 90:
                {
                alt22=47;
                }
                break;
            case 91:
                {
                alt22=48;
                }
                break;
            case 92:
                {
                alt22=49;
                }
                break;
            case 93:
                {
                alt22=50;
                }
                break;
            case 94:
                {
                alt22=51;
                }
                break;
            case 95:
                {
                alt22=52;
                }
                break;
            case 96:
                {
                alt22=53;
                }
                break;
            case 97:
                {
                alt22=54;
                }
                break;
            case 98:
                {
                alt22=55;
                }
                break;
            case 99:
                {
                alt22=56;
                }
                break;
            case 100:
                {
                alt22=57;
                }
                break;
            case 101:
                {
                alt22=58;
                }
                break;
            case 102:
                {
                alt22=59;
                }
                break;
            default:
                NoViableAltException nvae =
                    new NoViableAltException("", 22, 0, input);

                throw nvae;
            }

            switch (alt22) {
                case 1 :
                    // BELScriptWalker.g:491:9: fv= 'proteinAbundance'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,44,FOLLOW_44_in_function819); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 2 :
                    // BELScriptWalker.g:492:9: fv= 'p'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,45,FOLLOW_45_in_function845); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 3 :
                    // BELScriptWalker.g:493:9: fv= 'rnaAbundance'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,46,FOLLOW_46_in_function886); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 4 :
                    // BELScriptWalker.g:494:9: fv= 'r'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,47,FOLLOW_47_in_function916); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 5 :
                    // BELScriptWalker.g:495:9: fv= 'abundance'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,48,FOLLOW_48_in_function957); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 6 :
                    // BELScriptWalker.g:496:9: fv= 'a'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,49,FOLLOW_49_in_function990); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 7 :
                    // BELScriptWalker.g:497:9: fv= 'microRNAAbundance'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,50,FOLLOW_50_in_function1031); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 8 :
                    // BELScriptWalker.g:498:9: fv= 'm'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,51,FOLLOW_51_in_function1056); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 9 :
                    // BELScriptWalker.g:499:9: fv= 'geneAbundance'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,52,FOLLOW_52_in_function1097); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 10 :
                    // BELScriptWalker.g:500:9: fv= 'g'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,53,FOLLOW_53_in_function1126); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 11 :
                    // BELScriptWalker.g:501:9: fv= 'biologicalProcess'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,54,FOLLOW_54_in_function1167); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 12 :
                    // BELScriptWalker.g:502:9: fv= 'bp'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,55,FOLLOW_55_in_function1192); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 13 :
                    // BELScriptWalker.g:503:9: fv= 'pathology'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,56,FOLLOW_56_in_function1232); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 14 :
                    // BELScriptWalker.g:504:9: fv= 'path'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,57,FOLLOW_57_in_function1265); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 15 :
                    // BELScriptWalker.g:505:9: fv= 'complexAbundance'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,58,FOLLOW_58_in_function1303); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 16 :
                    // BELScriptWalker.g:506:9: fv= 'complex'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,59,FOLLOW_59_in_function1329); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 17 :
                    // BELScriptWalker.g:507:9: fv= 'translocation'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,60,FOLLOW_60_in_function1364); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 18 :
                    // BELScriptWalker.g:508:9: fv= 'tloc'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,61,FOLLOW_61_in_function1393); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 19 :
                    // BELScriptWalker.g:509:9: fv= 'cellSecretion'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,62,FOLLOW_62_in_function1431); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 20 :
                    // BELScriptWalker.g:510:9: fv= 'sec'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,63,FOLLOW_63_in_function1460); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 21 :
                    // BELScriptWalker.g:511:9: fv= 'cellSurfaceExpression'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,64,FOLLOW_64_in_function1499); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 22 :
                    // BELScriptWalker.g:512:9: fv= 'surf'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,65,FOLLOW_65_in_function1520); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 23 :
                    // BELScriptWalker.g:513:9: fv= 'reaction'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,66,FOLLOW_66_in_function1558); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 24 :
                    // BELScriptWalker.g:514:9: fv= 'rxn'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,67,FOLLOW_67_in_function1592); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 25 :
                    // BELScriptWalker.g:515:9: fv= 'compositeAbundance'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,68,FOLLOW_68_in_function1631); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 26 :
                    // BELScriptWalker.g:516:9: fv= 'composite'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,69,FOLLOW_69_in_function1655); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 27 :
                    // BELScriptWalker.g:517:9: fv= 'fusion'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,70,FOLLOW_70_in_function1688); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 28 :
                    // BELScriptWalker.g:518:9: fv= 'fus'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,71,FOLLOW_71_in_function1724); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 29 :
                    // BELScriptWalker.g:519:9: fv= 'degradation'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,72,FOLLOW_72_in_function1763); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 30 :
                    // BELScriptWalker.g:520:9: fv= 'deg'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,73,FOLLOW_73_in_function1794); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 31 :
                    // BELScriptWalker.g:521:9: fv= 'molecularActivity'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,74,FOLLOW_74_in_function1833); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 32 :
                    // BELScriptWalker.g:522:9: fv= 'act'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,75,FOLLOW_75_in_function1858); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 33 :
                    // BELScriptWalker.g:523:9: fv= 'catalyticActivity'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,76,FOLLOW_76_in_function1897); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 34 :
                    // BELScriptWalker.g:524:9: fv= 'cat'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,77,FOLLOW_77_in_function1922); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 35 :
                    // BELScriptWalker.g:525:9: fv= 'kinaseActivity'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,78,FOLLOW_78_in_function1961); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 36 :
                    // BELScriptWalker.g:526:9: fv= 'kin'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,79,FOLLOW_79_in_function1989); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 37 :
                    // BELScriptWalker.g:527:9: fv= 'phosphataseActivity'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,80,FOLLOW_80_in_function2028); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 38 :
                    // BELScriptWalker.g:528:9: fv= 'phos'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,81,FOLLOW_81_in_function2051); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 39 :
                    // BELScriptWalker.g:529:9: fv= 'peptidaseActivity'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,82,FOLLOW_82_in_function2089); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 40 :
                    // BELScriptWalker.g:530:9: fv= 'pep'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,83,FOLLOW_83_in_function2114); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 41 :
                    // BELScriptWalker.g:531:9: fv= 'ribosylationActivity'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,84,FOLLOW_84_in_function2153); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 42 :
                    // BELScriptWalker.g:532:9: fv= 'ribo'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,85,FOLLOW_85_in_function2175); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 43 :
                    // BELScriptWalker.g:533:9: fv= 'transcriptionalActivity'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,86,FOLLOW_86_in_function2213); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 44 :
                    // BELScriptWalker.g:534:9: fv= 'tscript'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,87,FOLLOW_87_in_function2232); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 45 :
                    // BELScriptWalker.g:535:9: fv= 'transportActivity'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,88,FOLLOW_88_in_function2267); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 46 :
                    // BELScriptWalker.g:536:9: fv= 'tport'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,89,FOLLOW_89_in_function2292); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 47 :
                    // BELScriptWalker.g:537:9: fv= 'gtpBoundActivity'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,90,FOLLOW_90_in_function2329); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 48 :
                    // BELScriptWalker.g:538:9: fv= 'gtp'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,91,FOLLOW_91_in_function2355); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 49 :
                    // BELScriptWalker.g:539:9: fv= 'chaperoneActivity'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,92,FOLLOW_92_in_function2394); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 50 :
                    // BELScriptWalker.g:540:9: fv= 'chap'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,93,FOLLOW_93_in_function2419); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 51 :
                    // BELScriptWalker.g:541:9: fv= 'proteinModification'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,94,FOLLOW_94_in_function2457); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 52 :
                    // BELScriptWalker.g:542:9: fv= 'pmod'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,95,FOLLOW_95_in_function2480); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 53 :
                    // BELScriptWalker.g:543:9: fv= 'substitution'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,96,FOLLOW_96_in_function2518); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 54 :
                    // BELScriptWalker.g:544:9: fv= 'sub'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,97,FOLLOW_97_in_function2548); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 55 :
                    // BELScriptWalker.g:545:9: fv= 'truncation'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,98,FOLLOW_98_in_function2587); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 56 :
                    // BELScriptWalker.g:546:9: fv= 'trunc'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,99,FOLLOW_99_in_function2619); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 57 :
                    // BELScriptWalker.g:547:9: fv= 'reactants'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,100,FOLLOW_100_in_function2656); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 58 :
                    // BELScriptWalker.g:548:9: fv= 'products'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,101,FOLLOW_101_in_function2689); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;
                case 59 :
                    // BELScriptWalker.g:549:9: fv= 'list'
                    {
                    _last = (CommonTree)input.LT(1);
                    fv=(CommonTree)match(input,102,FOLLOW_102_in_function2723); 
                    fv_tree = (CommonTree)adaptor.dupNode(fv);

                    adaptor.addChild(root_0, fv_tree);

                     retval.r = fv.getText(); 

                    }
                    break;

            }


            }

            retval.tree = (CommonTree)adaptor.rulePostProcessing(root_0);

        }
        catch (RecognitionException re) {
            reportError(re);
            recover(input,re);
        }
        finally {
        }
        return retval;
    }
public final BELScriptWalker . function_return function ( ) throws RecognitionException { BELScriptWalker . function_return retval = new BELScriptWalker . function_return ( ) ; retval . start = input . LT ( 1 ) ; CommonTree root_0 = null ; CommonTree _first_0 = null ; CommonTree _last = null ; CommonTree fv = null ; CommonTree fv_tree = null ; try { { root_0 = ( CommonTree ) adaptor . nil ( ) ; int alt22 = 59 ; switch ( input . LA ( 1 ) ) { case 44 : { alt22 = 1 ; } break ; case 45 : { alt22 = 2 ; } break ; case 46 : { alt22 = 3 ; } break ; case 47 : { alt22 = 4 ; } break ; case 48 : { alt22 = 5 ; } break ; case 49 : { alt22 = 6 ; } break ; case 50 : { alt22 = 7 ; } break ; case 51 : { alt22 = 8 ; } break ; case 52 : { alt22 = 9 ; } break ; case 53 : { alt22 = 10 ; } break ; case 54 : { alt22 = 11 ; } break ; case 55 : { alt22 = 12 ; } break ; case 56 : { alt22 = 13 ; } break ; case 57 : { alt22 = 14 ; } break ; case 58 : { alt22 = 15 ; } break ; case 59 : { alt22 = 16 ; } break ; case 60 : { alt22 = 17 ; } break ; case 61 : { alt22 = 18 ; } break ; case 62 : { alt22 = 19 ; } break ; case 63 : { alt22 = 20 ; } break ; case 64 : { alt22 = 21 ; } break ; case 65 : { alt22 = 22 ; } break ; case 66 : { alt22 = 23 ; } break ; case 67 : { alt22 = 24 ; } break ; case 68 : { alt22 = 25 ; } break ; case 69 : { alt22 = 26 ; } break ; case 70 : { alt22 = 27 ; } break ; case 71 : { alt22 = 28 ; } break ; case 72 : { alt22 = 29 ; } break ; case 73 : { alt22 = 30 ; } break ; case 74 : { alt22 = 31 ; } break ; case 75 : { alt22 = 32 ; } break ; case 76 : { alt22 = 33 ; } break ; case 77 : { alt22 = 34 ; } break ; case 78 : { alt22 = 35 ; } break ; case 79 : { alt22 = 36 ; } break ; case 80 : { alt22 = 37 ; } break ; case 81 : { alt22 = 38 ; } break ; case 82 : { alt22 = 39 ; } break ; case 83 : { alt22 = 40 ; } break ; case 84 : { alt22 = 41 ; } break ; case 85 : { alt22 = 42 ; } break ; case 86 : { alt22 = 43 ; } break ; case 87 : { alt22 = 44 ; } break ; case 88 : { alt22 = 45 ; } break ; case 89 : { alt22 = 46 ; } break ; case 90 : { alt22 = 47 ; } break ; case 91 : { alt22 = 48 ; } break ; case 92 : { alt22 = 49 ; } break ; case 93 : { alt22 = 50 ; } break ; case 94 : { alt22 = 51 ; } break ; case 95 : { alt22 = 52 ; } break ; case 96 : { alt22 = 53 ; } break ; case 97 : { alt22 = 54 ; } break ; case 98 : { alt22 = 55 ; } break ; case 99 : { alt22 = 56 ; } break ; case 100 : { alt22 = 57 ; } break ; case 101 : { alt22 = 58 ; } break ; case 102 : { alt22 = 59 ; } break ; default : NoViableAltException nvae = new NoViableAltException ( "" , 22 , 0 , input ) ; throw nvae ; } switch ( alt22 ) { case 1 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 44 , FOLLOW_44_in_function819 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 2 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 45 , FOLLOW_45_in_function845 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 3 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 46 , FOLLOW_46_in_function886 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 4 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 47 , FOLLOW_47_in_function916 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 5 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 48 , FOLLOW_48_in_function957 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 6 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 49 , FOLLOW_49_in_function990 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 7 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 50 , FOLLOW_50_in_function1031 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 8 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 51 , FOLLOW_51_in_function1056 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 9 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 52 , FOLLOW_52_in_function1097 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 10 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 53 , FOLLOW_53_in_function1126 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 11 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 54 , FOLLOW_54_in_function1167 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 12 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 55 , FOLLOW_55_in_function1192 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 13 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 56 , FOLLOW_56_in_function1232 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 14 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 57 , FOLLOW_57_in_function1265 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 15 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 58 , FOLLOW_58_in_function1303 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 16 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 59 , FOLLOW_59_in_function1329 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 17 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 60 , FOLLOW_60_in_function1364 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 18 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 61 , FOLLOW_61_in_function1393 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 19 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 62 , FOLLOW_62_in_function1431 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 20 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 63 , FOLLOW_63_in_function1460 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 21 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 64 , FOLLOW_64_in_function1499 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 22 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 65 , FOLLOW_65_in_function1520 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 23 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 66 , FOLLOW_66_in_function1558 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 24 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 67 , FOLLOW_67_in_function1592 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 25 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 68 , FOLLOW_68_in_function1631 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 26 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 69 , FOLLOW_69_in_function1655 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 27 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 70 , FOLLOW_70_in_function1688 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 28 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 71 , FOLLOW_71_in_function1724 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 29 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 72 , FOLLOW_72_in_function1763 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 30 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 73 , FOLLOW_73_in_function1794 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 31 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 74 , FOLLOW_74_in_function1833 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 32 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 75 , FOLLOW_75_in_function1858 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 33 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 76 , FOLLOW_76_in_function1897 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 34 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 77 , FOLLOW_77_in_function1922 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 35 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 78 , FOLLOW_78_in_function1961 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 36 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 79 , FOLLOW_79_in_function1989 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 37 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 80 , FOLLOW_80_in_function2028 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 38 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 81 , FOLLOW_81_in_function2051 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 39 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 82 , FOLLOW_82_in_function2089 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 40 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 83 , FOLLOW_83_in_function2114 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 41 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 84 , FOLLOW_84_in_function2153 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 42 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 85 , FOLLOW_85_in_function2175 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 43 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 86 , FOLLOW_86_in_function2213 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 44 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 87 , FOLLOW_87_in_function2232 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 45 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 88 , FOLLOW_88_in_function2267 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 46 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 89 , FOLLOW_89_in_function2292 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 47 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 90 , FOLLOW_90_in_function2329 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 48 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 91 , FOLLOW_91_in_function2355 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 49 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 92 , FOLLOW_92_in_function2394 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 50 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 93 , FOLLOW_93_in_function2419 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 51 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 94 , FOLLOW_94_in_function2457 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 52 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 95 , FOLLOW_95_in_function2480 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 53 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 96 , FOLLOW_96_in_function2518 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 54 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 97 , FOLLOW_97_in_function2548 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 55 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 98 , FOLLOW_98_in_function2587 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 56 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 99 , FOLLOW_99_in_function2619 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 57 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 100 , FOLLOW_100_in_function2656 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 58 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 101 , FOLLOW_101_in_function2689 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; case 59 : { _last = ( CommonTree ) input . LT ( 1 ) ; fv = ( CommonTree ) match ( input , 102 , FOLLOW_102_in_function2723 ) ; fv_tree = ( CommonTree ) adaptor . dupNode ( fv ) ; adaptor . addChild ( root_0 , fv_tree ) ; retval . r = fv . getText ( ) ; } break ; } } retval . tree = ( CommonTree ) adaptor . rulePostProcessing ( root_0 ) ; } catch ( RecognitionException re ) { reportError ( re ) ; recover ( input , re ) ; } finally { } return retval ; }
BELScriptWalker.g:489:1: function returns [String r] : (fv= 'proteinAbundance' | fv= 'p' | fv= 'rnaAbundance' | fv= 'r' | fv= 'abundance' | fv= 'a' | fv= 'microRNAAbundance' | fv= 'm' | fv= 'geneAbundance' | fv= 'g' | fv= 'biologicalProcess' | fv= 'bp' | fv= 'pathology' | fv= 'path' | fv= 'complexAbundance' | fv= 'complex' | fv= 'translocation' | fv= 'tloc' | fv= 'cellSecretion' | fv= 'sec' | fv= 'cellSurfaceExpression' | fv= 'surf' | fv= 'reaction' | fv= 'rxn' | fv= 'compositeAbundance' | fv= 'composite' | fv= 'fusion' | fv= 'fus' | fv= 'degradation' | fv= 'deg' | fv= 'molecularActivity' | fv= 'act' | fv= 'catalyticActivity' | fv= 'cat' | fv= 'kinaseActivity' | fv= 'kin' | fv= 'phosphataseActivity' | fv= 'phos' | fv= 'peptidaseActivity' | fv= 'pep' | fv= 'ribosylationActivity' | fv= 'ribo' | fv= 'transcriptionalActivity' | fv= 'tscript' | fv= 'transportActivity' | fv= 'tport' | fv= 'gtpBoundActivity' | fv= 'gtp' | fv= 'chaperoneActivity' | fv= 'chap' | fv= 'proteinModification' | fv= 'pmod' | fv= 'substitution' | fv= 'sub' | fv= 'truncation' | fv= 'trunc' | fv= 'reactants' | fv= 'products' | fv= 'list' ) ;