<commit_before>(*
 * Creates an object that represents a prompt 
 * (used in place of javascript's prompt). 
 * The html structure of the prompt is the same as the layout for dialog.js 
 * except for the addition of a text box which is placed inside 
 * the "Content area" and has the default class-name 'modal-dialog-userInput' 
 * <NAME> - 2010
 * <NAME> - 2010
 *)

open Dialog

(** The function to call when the user selects Ok or Cancel. 
    The function should expect a single argument which represents what 
    the user entered into the prompt. If the user presses cancel, the value of the argument will be null. **)
type funct

(** Number **)
type number

class external prompt inherit dialog : string -> string -> (string -> unit) ->
<
  (** Return the number of cols in the user input element. **)
  getCols : unit -> number;
 <commit_msg>Ignore-this: 66482159e1cdb9342772e45d985b7065 Mis à jour goog.ui.Prompt. Suppression du type "funct".<commit_after>(*
 * Creates an object that represents a prompt 
 * (used in place of javascript's prompt). 
 * The html structure of the prompt is the same as the layout for dialog.js 
 * except for the addition of a text box which is placed inside 
 * the "Content area" and has the default class-name 'modal-dialog-userInput' 
 * <NAME> - 2010
 * <NAME> - 2010
 *)

open Dialog

(** Number **)
type number

class external prompt inherit dialog : string -> string -> (string -> unit) ->
<
  (** Return the number of cols in the user input element. **)
  getCols : unit -> number;
 
{'fraction_non_alphanumeric': 0.09126466753585398, 'fraction_numerical': 0.026727509778357236, 'mean_word_length': 3.449275362318841, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3366137', 'n_tokens_mistral': 472, 'n_tokens_neox': 419, 'n_words': 211}