sedlex
Sedlexing.Utf8
sedlex.utils
sedlex_ppx
val from_gen : char Gen.t -> lexbuf
Create a lexbuf from a UTF-8 encoded stream.
val from_channel : in_channel -> lexbuf
Create a lexbuf from a UTF-8 encoded input channel.
val from_string : string -> lexbuf
Create a lexbuf from a UTF-8 encoded string.
val lexeme : lexbuf -> string
As Sedlexing.lexeme with a result encoded in UTF-8.
Sedlexing.lexeme
val sub_lexeme : lexbuf -> int -> int -> string
As Sedlexing.sub_lexeme with a result encoded in UTF-8.
Sedlexing.sub_lexeme