Sourcetype error = {message : string;position : int;
} Sourcetype state = {query : string;length : int;mutable index : int;
} Sourceval is_identifier_start : char -> bool Sourceval is_identifier_char : char -> bool Sourceval is_digit : char -> bool Sourceval is_whitespace : char -> bool Sourceval validate_regex_pattern_string : state -> string -> unit Sourceval ensure_no_args : state -> string -> 'a list -> unit Sourceval ensure_one_arg : state -> string -> 'a list -> unit Sourceval ensure_zero_or_one_arg : state -> string -> 'a list -> unit