package sedlex

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

Install

Dune Dependency

Authors

Maintainers

Sources

v3.6.tar.gz
md5=ad2d0ec91d20171d3a7161a0cc0c2e6a
sha512=f3062175e9914b692426ddad215efe2d8f3d269a648f1faf86771d56452d8dbd7edb040409773a19e77bd21e4143281dff94a6800ddb7d5fb50170ab5616c63b

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.