package sedlex

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v3.7.tar.gz
md5=893790268f68a1bb60dcc139f390a2d3
sha512=053bceea4944309705e6b8014381711a2c4f7f0ab235cd239e2d2f5a2dbd3efe1b1c2d533631a8545dacf563cdb5b7469fe53982ef79ace270ee8a4a471f1fe2

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