package piqilib

  1. Overview
  2. Docs
val __sedlex_table_9 : string
val __sedlex_table_1 : string
val __sedlex_table_7 : string
val __sedlex_table_6 : string
val __sedlex_table_12 : string
val __sedlex_table_17 : string
val __sedlex_table_8 : string
val __sedlex_table_16 : string
val __sedlex_table_3 : string
val __sedlex_table_2 : string
val __sedlex_table_4 : string
val __sedlex_table_13 : string
val __sedlex_table_11 : string
val __sedlex_table_14 : string
val __sedlex_table_5 : string
val __sedlex_table_15 : string
val __sedlex_table_10 : string
val __sedlex_partition_15 : Stdlib.Uchar.t option -> int
val __sedlex_partition_10 : Stdlib.Uchar.t option -> int
val __sedlex_partition_1 : Stdlib.Uchar.t option -> int
val __sedlex_partition_16 : Stdlib.Uchar.t option -> int
val __sedlex_partition_3 : Stdlib.Uchar.t option -> int
val __sedlex_partition_12 : Stdlib.Uchar.t option -> int
val __sedlex_partition_18 : Stdlib.Uchar.t option -> int
val __sedlex_partition_2 : Stdlib.Uchar.t option -> int
val __sedlex_partition_13 : Stdlib.Uchar.t option -> int
val __sedlex_partition_17 : Stdlib.Uchar.t option -> int
val __sedlex_partition_8 : Stdlib.Uchar.t option -> int
val __sedlex_partition_7 : Stdlib.Uchar.t option -> int
val __sedlex_partition_19 : Stdlib.Uchar.t option -> int
val __sedlex_partition_4 : Stdlib.Uchar.t option -> int
val __sedlex_partition_6 : Stdlib.Uchar.t option -> int
val __sedlex_partition_5 : Stdlib.Uchar.t option -> int
val __sedlex_partition_11 : Stdlib.Uchar.t option -> int
val __sedlex_partition_9 : Stdlib.Uchar.t option -> int
val __sedlex_partition_14 : Stdlib.Uchar.t option -> int
module C = Piqi_common
module Utf8 = Piqi_utf8
exception Error0 of string
val int_of_xstring : string -> int
val int_of_ostring : string -> int
type string_type =
  1. | String_a
  2. | String_b
  3. | String_u
val classify_string : string -> string_type
val is_utf8_string : string -> bool
val is_ascii_string : string -> bool
val type_of_char : int -> string_type
val make_char : char -> string_type * int
val escaped_lexeme : Sedlexing.lexbuf -> string
val parse_string_escape : Sedlexing.lexbuf -> string_type * int
val utf8_of_list : int list -> string
val string_of_list : int list -> string
val parse_string_literal : string -> string_type * string
val add_ascii_char : Stdlib.Buffer.t -> int -> unit
val escape_string : string -> string
val escape_binary : string -> string
type token =
  1. | Lpar
  2. | Rpar
  3. | Lbr
  4. | Rbr
  5. | Star
  6. | Comma
  7. | String of string_type * string * string
  8. | Word of string
  9. | Name of string
  10. | Text of string
  11. | EOF
  12. | Raw_string of string
val is_valid_first_word_char : char -> bool
val is_valid_word_char : char -> bool
val is_valid_word : string -> bool
type buf = {
  1. lexbuf : Sedlexing.lexbuf;
  2. mutable lcount : int;
  3. mutable lstart : int;
  4. mutable col : int;
  5. mutable next_token : token option;
}
val make_buf : Sedlexing.lexbuf -> buf
val update_line_counter : buf -> unit
val get_column : buf -> int
val update_column : buf -> unit
val error_location : buf -> int * int
val location : buf -> int * int
val token0 : buf -> Sedlexing.lexbuf -> token
type loc = int * int
exception Error of string * loc
val error : buf -> string -> 'a
val token1 : buf -> token
val rollback : buf -> token -> unit
val token : buf -> token
val init_from_string : string -> buf
val init_from_stream : char Stdlib.Stream.t -> buf
val init_from_channel : Stdlib.in_channel -> buf
val tokenize_string : string -> token list
OCaml

Innovation. Community. Security.