code: public LALRKParserGenerator getParserGenerator(ParseMethod parseMethod)
      {
          Grammar g = new Grammar(parseMethod.start(), this, parseMethod.eof(), parseMethod.whiteSpace());
          try
          {
              return g.createParserGenerator(parseMethod.start(), ParserFeature.get(parseMethod));
          }
          catch (Throwable t)
          {
              throw new GrammarException("problem with "+parseMethod, t);
          }
      }
docs: Return a parser generator from grammar. The same grammar can produce different
  parsers depending for example on start rhs.
  @return