package sedlex

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

Install

Dune Dependency

Authors

Maintainers

Sources

v3.2.tar.gz
md5=b67eec3a80a7fed8e6c91e47260b0843
sha512=00e257d1b97e99d49028d2e38b20a05c6aa151c362991c37c17522bf58c19e273b762ea39dd9783ed9ecc60d11dadeabb0487e16b4af91536e45e7e18c86cfe9

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 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
OCaml

Innovation. Community. Security.