Grammar/Base.pm: too_many_earley_items as a class method