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