module Latin1:sig..end
val from_gen : char Gen.t -> Sedlexing.lexbufCreate a lexbuf from a Latin1 encoded stream (ie a stream
of Unicode code points in the range 0..255)
val from_channel : Stdlib.in_channel -> Sedlexing.lexbufCreate a lexbuf from a Latin1 encoded input channel. The client is responsible for closing the channel.
val from_string : string -> Sedlexing.lexbufCreate a lexbuf from a Latin1 encoded string.
val lexeme : Sedlexing.lexbuf -> stringAs Sedlexing.lexeme with a result encoded in Latin1. This
function throws an exception InvalidCodepoint if it is not
possible to encode the result in Latin1.
val sub_lexeme : Sedlexing.lexbuf -> int -> int -> stringAs Sedlexing.sub_lexeme with a result encoded in Latin1.
This function throws an exception InvalidCodepoint if it
is not possible to encode the result in Latin1.
val lexeme_char : Sedlexing.lexbuf -> int -> charAs Sedlexing.lexeme_char with a result encoded in Latin1.
This function throws an exception InvalidCodepoint if it
is not possible to encode the result in Latin1.