package sedlex

  1. Overview
  2. Docs
An OCaml lexer generator for Unicode

Install

Dune Dependency

Authors

Maintainers

Sources

v3.3.tar.gz
md5=4603d572e24f3515fe7e7d0b665bdda6
sha512=791b172b59256cb77df1bbd9e3136aa79e65bcb3df1f64bbe10933d624bad59a7d8b358c35abd07c267b89a3feb01f935e927ffc4fe9c6eb2ac6637cfa9b42cd

doc/sedlex.utils/Sedlex_utils/Cset/index.html

Module Sedlex_utils.CsetSource

Representation of sets of unicode code points.

Sourcetype t = private (int * int) list

Character sets are represented as lists of intervals. The intervals must be non-overlapping and not collapsable, and the list must be ordered in increasing order.

Sourceval of_list : (int * int) list -> t
Sourceval to_list : t -> (int * int) list
Sourceval min_code : int
Sourceval max_code : int
Sourceval empty : t
Sourceval any : t
Sourceval union : t -> t -> t
Sourceval union_list : t list -> t
Sourceval difference : t -> t -> t
Sourceval intersection : t -> t -> t
Sourceval is_empty : t -> bool
Sourceval eof : t
Sourceval singleton : int -> t
Sourceval interval : int -> int -> t
Sourceval to_seq : t -> int Seq.t
OCaml

Innovation. Community. Security.