Esempio n. 1
0
 /**
  * Returns a parser that produces a lower-case character.
  *
  * @param missing The error if there is no character on the stream to produce a lower-case
  *     character with.
  * @param sat The error if the produced character is not a lower-case character.
  * @return A parser that produces a lower-case character.
  * @see Character#isLowerCase(char)
  */
 public static <E> Parser<Stream<Character>, Character, E> lower(
     final F0<E> missing, final F<Character, E> sat) {
   return StreamParser.satisfy(missing, sat, c -> Character.isLowerCase(c));
 }