code: @Deprecated
    public static Parser<Void> isChar(CharPredicate predicate, String name) {
      return Patterns.isChar(predicate).toScanner(name);
    }
docs: A scanner that succeeds and consumes the current character if it satisfies the given
  {@link CharPredicate}.
  
  @param predicate the predicate.
  @param name the name of what's expected logically. Is used in error message.
  @return the scanner.
  @deprecated Implement {@link Object#toString} in the {@code CharPredicate},
  or use {@code Patterns.isChar(predicate).toScanner(name)}.