code: @Deprecated
    public static Parser<Void> string(String str, String name) {
      return Patterns.string(str).toScanner(name);
    }
docs: Matches the input against the specified string.
  
  @param str the string to match
  @param name the name of what's expected logically. Is used in error message.
  @return the scanner.
  @deprecated Use {@code Patterns.string(str).toScanner(name)}.