code: static Parser<Token[]> tokens(final Parser<? extends Collection<Token>> parser) {
      return parser.map(list -> list.toArray(new Token[list.size()]));
    }
docs: Converts a parser of a collection of {@link Token} to a parser of an array of {@code Token}.