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_ppx/Sedlex_ppx/Sedlex_cset/index.html

Module Sedlex_ppx.Sedlex_csetSource

include module type of struct include Sedlex_utils.Cset end
type 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.

val of_list : (int * int) list -> t
val to_list : t -> (int * int) list
val min_code : int
val max_code : int
val empty : t
val any : t
val union : t -> t -> t
val union_list : t list -> 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 to_seq : t -> int Seq.t
OCaml

Innovation. Community. Security.