package ulex

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type lexbuf
exception Error
exception InvalidCodepoint of int
val create : (int array -> int -> int -> int) -> lexbuf
val from_stream : int Stream.t -> lexbuf
val from_int_array : int array -> lexbuf
val from_latin1_stream : char Stream.t -> lexbuf
val from_latin1_channel : in_channel -> lexbuf
val from_latin1_string : string -> lexbuf
val from_utf8_stream : char Stream.t -> lexbuf
val from_utf8_channel : in_channel -> lexbuf
val from_utf8_string : string -> lexbuf
type enc =
  1. | Ascii
  2. | Latin1
  3. | Utf8
val from_var_enc_stream : enc ref -> char Stream.t -> lexbuf
val from_var_enc_string : enc ref -> string -> lexbuf
val from_var_enc_channel : enc ref -> in_channel -> lexbuf
val lexeme_start : lexbuf -> int
val lexeme_end : lexbuf -> int
val loc : lexbuf -> int * int
val lexeme_length : lexbuf -> int
val lexeme : lexbuf -> int array
val get_buf : lexbuf -> int array
val get_start : lexbuf -> int
val get_pos : lexbuf -> int
val lexeme_char : lexbuf -> int -> int
val sub_lexeme : lexbuf -> int -> int -> int array
val latin1_lexeme : lexbuf -> string
val latin1_sub_lexeme : lexbuf -> int -> int -> string
val latin1_lexeme_char : lexbuf -> int -> char
val utf8_lexeme : lexbuf -> string
val utf8_sub_lexeme : lexbuf -> int -> int -> string
val rollback : lexbuf -> unit
val start : lexbuf -> unit
val next : lexbuf -> int
val mark : lexbuf -> int -> unit
val backtrack : lexbuf -> int
OCaml

Innovation. Community. Security.