public final AntlrPilarParser.paramList_return paramList()
      throws RecognitionException {
    AntlrPilarParser.paramList_return retval = new AntlrPilarParser.paramList_return();
    retval.start = input.LT(1);
    int paramList_StartIndex = input.index();
    Object root_0 = null;

    Token char_literal129 = null;
    AntlrPilarParser.param_return param128 = null;

    AntlrPilarParser.param_return param130 = null;

    Object char_literal129_tree = null;
    RewriteRuleTokenStream stream_172 = new RewriteRuleTokenStream(adaptor,
        "token 172");
    RewriteRuleSubtreeStream stream_param = new RewriteRuleSubtreeStream(
        adaptor, "rule param");
    try {
      if (state.backtracking > 0 && alreadyParsedRule(input, 37)) {
        return retval;
      }
      // /Users/robby/Repositories/sireum-parser/sireum-parser/src/main/java/org/sireum/pilar/parser/AntlrPilar.g:350:2: ( param ( ',' param )* -> ( param )+ )
      // /Users/robby/Repositories/sireum-parser/sireum-parser/src/main/java/org/sireum/pilar/parser/AntlrPilar.g:350:4: param ( ',' param )*
      {
        pushFollow(FOLLOW_param_in_paramList2823);
        param128 = param();

        state._fsp--;
        if (state.failed) return retval;
        if (state.backtracking == 0) stream_param.add(param128.getTree());
        // /Users/robby/Repositories/sireum-parser/sireum-parser/src/main/java/org/sireum/pilar/parser/AntlrPilar.g:350:10: ( ',' param )*
        loop38: do {
          int alt38 = 2;
          int LA38_0 = input.LA(1);

          if ((LA38_0 == 172)) {
            int LA38_1 = input.LA(2);

            if ((synpred46_AntlrPilar())) {
              alt38 = 1;
            }

          }

          switch (alt38) {
            case 1:
            // /Users/robby/Repositories/sireum-parser/sireum-parser/src/main/java/org/sireum/pilar/parser/AntlrPilar.g:350:12: ',' param
            {
              char_literal129 = (Token) match(
                  input,
                  172,
                  FOLLOW_172_in_paramList2827);
              if (state.failed) return retval;
              if (state.backtracking == 0) stream_172.add(char_literal129);

              pushFollow(FOLLOW_param_in_paramList2829);
              param130 = param();

              state._fsp--;
              if (state.failed) return retval;
              if (state.backtracking == 0)
                stream_param.add(param130.getTree());

            }
              break;

            default:
              break loop38;
          }
        } while (true);

        // AST REWRITE
        // elements: param
        // token labels: 
        // rule labels: retval
        // token list labels: 
        // rule list labels: 
        // wildcard labels: 
        if (state.backtracking == 0) {
          retval.tree = root_0;
          RewriteRuleSubtreeStream stream_retval = new RewriteRuleSubtreeStream(
              adaptor, "rule retval", retval != null ? retval.tree : null);

          root_0 = (Object) adaptor.nil();
          // 350:41: -> ( param )+
          {
            if (!(stream_param.hasNext())) {
              throw new RewriteEarlyExitException();
            }
            while (stream_param.hasNext()) {
              adaptor.addChild(root_0, stream_param.nextTree());

            }
            stream_param.reset();

          }

          retval.tree = root_0;
        }
      }

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

      if (state.backtracking == 0) {

        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 {
      if (state.backtracking > 0) {
        memoize(input, 37, paramList_StartIndex);
      }
    }
    return retval;
  }