summaryrefslogtreecommitdiff
path: root/src/syntax/sedlex_cset.mli
blob: ab6b0f623d507f24f6e27993c22599c5f7f9e865 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
(* The package sedlex is released under the terms of an MIT-like license. *)
(* See the attached LICENSE file.                                         *)
(* Copyright 2005, 2013 by Alain Frisch and LexiFi.                       *)

(** Representation of sets of unicode code points. *)

type t = (int * int) list

val min_code : int
val max_code : int
val empty : t
val any : t
val union : t -> t -> t
val difference : t -> t -> t
val intersection : t -> t -> t
val is_empty : t -> bool
val eof : t
val singleton : int -> t
val interval : int -> int -> t
val letter : t
val digit : t
val extender : t
val base_char : t
val ideographic : t
val combining_char : t
val blank : t
val tr8876_ident_char : t