piqilib

The Piqi library -- runtime support for multi-format Protobuf/JSON/XML/Piq data serialization and conversion
Library piqilib
Module Piq_lexer
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 : int -> int
val __sedlex_partition_10 : int -> int
val __sedlex_partition_1 : int -> int
val __sedlex_partition_16 : int -> int
val __sedlex_partition_3 : int -> int
val __sedlex_partition_12 : int -> int
val __sedlex_partition_18 : int -> int
val __sedlex_partition_2 : int -> int
val __sedlex_partition_13 : int -> int
val __sedlex_partition_17 : int -> int
val __sedlex_partition_8 : int -> int
val __sedlex_partition_7 : int -> int
val __sedlex_partition_19 : int -> int
val __sedlex_partition_4 : int -> int
val __sedlex_partition_6 : int -> int
val __sedlex_partition_5 : int -> int
val __sedlex_partition_11 : int -> int
val __sedlex_partition_9 : int -> int
val __sedlex_partition_14 : int -> 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 =
| String_a
| String_b
| 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 : Buffer.t -> int -> unit
val escape_string : string -> string
val escape_binary : string -> string
type token =
| Lpar
| Rpar
| Lbr
| Rbr
| Star
| Comma
| String of string_type * string * string
| Word of string
| Name of string
| Text of string
| EOF
| 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 = {
lexbuf : Sedlexing.lexbuf;
mutable lcount : int;
mutable lstart : int;
mutable col : int;
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 Stream.t -> buf
val init_from_channel : in_channel -> buf
val tokenize_string : string -> token list