public final TLParser.indexes_return indexes() throws RecognitionException {
        TLParser.indexes_return retval = new TLParser.indexes_return();
        retval.start = input.LT(1);

        Object root_0 = null;

        Token char_literal153=null;
        Token char_literal155=null;
        TLParser.expression_return expression154 = null;


        Object char_literal153_tree=null;
        Object char_literal155_tree=null;
        RewriteRuleTokenStream stream_CBracket=new RewriteRuleTokenStream(adaptor,"token CBracket");
        RewriteRuleTokenStream stream_OBracket=new RewriteRuleTokenStream(adaptor,"token OBracket");
        RewriteRuleSubtreeStream stream_expression=new RewriteRuleSubtreeStream(adaptor,"rule expression");
        try {
            // src/grammar/TL.g:196:3: ( ( '[' expression ']' )+ -> ^( INDEXES ( expression )+ ) )
            // src/grammar/TL.g:196:6: ( '[' expression ']' )+
            {
            // src/grammar/TL.g:196:6: ( '[' expression ']' )+
            int cnt35=0;
            loop35:
            do {
                int alt35=2;
                int LA35_0 = input.LA(1);

                if ( (LA35_0==OBracket) ) {
                    alt35=1;
                }


                switch (alt35) {
            	case 1 :
            	    // src/grammar/TL.g:196:7: '[' expression ']'
            	    {
            	    char_literal153=(Token)match(input,OBracket,FOLLOW_OBracket_in_indexes1480);  
            	    stream_OBracket.add(char_literal153);

            	    pushFollow(FOLLOW_expression_in_indexes1482);
            	    expression154=expression();

            	    state._fsp--;

            	    stream_expression.add(expression154.getTree());
            	    char_literal155=(Token)match(input,CBracket,FOLLOW_CBracket_in_indexes1484);  
            	    stream_CBracket.add(char_literal155);


            	    }
            	    break;

            	default :
            	    if ( cnt35 >= 1 ) break loop35;
                        EarlyExitException eee =
                            new EarlyExitException(35, input);
                        throw eee;
                }
                cnt35++;
            } while (true);



            // AST REWRITE
            // elements: expression
            // token labels: 
            // rule labels: retval
            // token list labels: 
            // rule list labels: 
            // wildcard labels: 
            retval.tree = root_0;
            RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"rule retval",retval!=null?retval.tree:null);

            root_0 = (Object)adaptor.nil();
            // 196:28: -> ^( INDEXES ( expression )+ )
            {
                // src/grammar/TL.g:196:31: ^( INDEXES ( expression )+ )
                {
                Object root_1 = (Object)adaptor.nil();
                root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(INDEXES, "INDEXES"), root_1);

                if ( !(stream_expression.hasNext()) ) {
                    throw new RewriteEarlyExitException();
                }
                while ( stream_expression.hasNext() ) {
                    adaptor.addChild(root_1, stream_expression.nextTree());

                }
                stream_expression.reset();

                adaptor.addChild(root_0, root_1);
                }

            }

            retval.tree = root_0;
            }

            retval.stop = input.LT(-1);

            retval.tree = (Object)adaptor.rulePostProcessing(root_0);
            adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);

        }
        catch (RecognitionException re) {
            reportError(re);
            recover(input,re);
    	retval.tree = (Object)adaptor.errorNode(input, retval.start, input.LT(-1), re);

        }
        finally {
        }
        return retval;
    }