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