| 1 |
type ('a, _) ast = private |
| 2 |
| Alternative : 'a list -> ('a, [> `Uncased ]) ast |
| 3 |
| No_case : 'a -> ('a, [> `Cased ]) ast |
| 4 |
| Case : 'a -> ('a, [> `Cased ]) ast |
| 5 |
|
| 6 |
type cset = private |
| 7 |
| Cset of Cset.t |
| 8 |
| Intersection of cset list |
| 9 |
| Complement of cset list |
| 10 |
| Difference of cset * cset |
| 11 |
| Cast of (cset, [ `Cased | `Uncased ]) ast |
| 12 |
|
| 13 |
type ('a, 'case) gen = private |
| 14 |
| Set of 'a |
| 15 |
| Ast of (('a, 'case) gen, 'case) ast |
| 16 |
| Sequence of ('a, 'case) gen list |
| 17 |
| Repeat of ('a, 'case) gen * int * int option |
| 18 |
| Beg_of_line |
| 19 |
| End_of_line |
| 20 |
| Beg_of_word |
| 21 |
| End_of_word |
| 22 |
| Not_bound |
| 23 |
| Beg_of_str |
| 24 |
| End_of_str |
| 25 |
| Last_end_of_line |
| 26 |
| Start |
| 27 |
| Stop |
| 28 |
| Group of string option * ('a, 'case) gen |
| 29 |
| No_group of ('a, 'case) gen |
| 30 |
| Nest of ('a, 'case) gen |
| 31 |
| Pmark of Pmark.t * ('a, 'case) gen |
| 32 |
| Sem of Automata.Sem.t * ('a, 'case) gen |
| 33 |
| Sem_greedy of Automata.Rep_kind.t * ('a, 'case) gen |
| 34 |
|
| 35 |
type t = (cset, [ `Cased | `Uncased ]) gen |
| 36 |
type no_case = (Cset.t, [ `Uncased ]) gen |
| 37 |
|
| 38 |
val pp : t Fmt.t |
| 39 |
val merge_sequences : (Cset.t, [ `Uncased ]) gen list -> (Cset.t, [ `Uncased ]) gen list |
| 40 |
val handle_case : bool -> t -> (Cset.t, [ `Uncased ]) gen |
| 41 |
val anchored : t -> bool |
| 42 |
val colorize : Color_map.t -> (Cset.t, [ `Uncased ]) gen -> bool |
| 43 |
|
| 44 |
module Export : sig |
| 45 |
type nonrec t = t |
| 46 |
|
| 47 |
val empty : t |
| 48 |
val epsilon : t |
| 49 |
val str : string -> t |
| 50 |
val no_case : t -> t |
| 51 |
val case : t -> t |
| 52 |
val diff : t -> t -> t |
| 53 |
val compl : t list -> t |
| 54 |
val repn : t -> int -> int option -> t |
| 55 |
val inter : t list -> t |
| 56 |
val char : char -> t |
| 57 |
val any : t |
| 58 |
val set : string -> t |
| 59 |
val mark : t -> Pmark.t * t |
| 60 |
val nest : t -> t |
| 61 |
val no_group : t -> t |
| 62 |
val whole_string : t -> t |
| 63 |
val leol : t |
| 64 |
val longest : t -> t |
| 65 |
val greedy : t -> t |
| 66 |
val non_greedy : t -> t |
| 67 |
val stop : t |
| 68 |
val not_boundary : t |
| 69 |
val group : ?name:string -> t -> t |
| 70 |
val word : t -> t |
| 71 |
val first : t -> t |
| 72 |
val bos : t |
| 73 |
val bow : t |
| 74 |
val eow : t |
| 75 |
val eos : t |
| 76 |
val bol : t |
| 77 |
val start : t |
| 78 |
val eol : t |
| 79 |
val opt : t -> t |
| 80 |
val rep : t -> t |
| 81 |
val rep1 : t -> t |
| 82 |
val alt : t list -> t |
| 83 |
val shortest : t -> t |
| 84 |
val seq : t list -> t |
| 85 |
val pp : t Fmt.t |
| 86 |
val witness : t -> string |
| 87 |
end |
| 88 |
|
| 89 |
val cset : Cset.t -> t |
| 90 |
val t_of_cset : cset -> t |