package piqilib

  1. Overview
  2. Docs
module Piqirun = Piqi_piqirun
module Piqi_piqi : sig ... end
module Record : sig ... end
module Field : sig ... end
module Variant : sig ... end
module Option : sig ... end
module Enum : sig ... end
module Alias : sig ... end
module Piqi_list : sig ... end
module Piqi : sig ... end
module Import : sig ... end
module Any : sig ... end
module Func : sig ... end
module Piqi_bundle : sig ... end
val parse_piq_format : Piqirun.t -> Piqi_piqi.piq_format
val parse_protobuf_int32 : Piqirun.t -> int32
val packed_parse_protobuf_int32 : Piqirun.IBuf.t -> int32
val parse_protobuf_int64 : Piqirun.t -> int64
val packed_parse_protobuf_int64 : Piqirun.IBuf.t -> int64
val parse_protobuf_wire_type : Piqirun.t -> Piqi_piqi.protobuf_wire_type
val packed_parse_protobuf_wire_type : Piqirun.IBuf.t -> [> `block | `fixed32 | `fixed64 | `signed_fixed32 | `signed_fixed64 | `signed_varint | `varint | `zigzag_varint ]
val parse_bool : Piqirun.t -> bool
val packed_parse_bool : Piqirun.IBuf.t -> bool
val parse_string : Piqirun.t -> Piqi_piqi.name
val parse_binary : Piqirun.t -> Piqi_piqi.binary
val parse_piqi_any : Piqirun.t -> Piqi_piqi.piqi_any
val parse_int : Piqirun.t -> int
val packed_parse_int : Piqirun.IBuf.t -> int
val parse_uint : Piqirun.t -> int
val packed_parse_uint : Piqirun.IBuf.t -> int
val parse_int32 : Piqirun.t -> int32
val packed_parse_int32 : Piqirun.IBuf.t -> int32
val parse_uint32 : Piqirun.t -> int32
val packed_parse_uint32 : Piqirun.IBuf.t -> int32
val parse_int64 : Piqirun.t -> int64
val packed_parse_int64 : Piqirun.IBuf.t -> int64
val parse_uint64 : Piqirun.t -> int64
val packed_parse_uint64 : Piqirun.IBuf.t -> int64
val parse_float64 : Piqirun.t -> float
val packed_parse_float64 : Piqirun.IBuf.t -> float
val parse_float32 : Piqirun.t -> float
val packed_parse_float32 : Piqirun.IBuf.t -> float
val parse_int32_fixed : Piqirun.t -> int32
val packed_parse_int32_fixed : Piqirun.IBuf.t -> int32
val parse_uint32_fixed : Piqirun.t -> int32
val packed_parse_uint32_fixed : Piqirun.IBuf.t -> int32
val parse_int64_fixed : Piqirun.t -> int64
val packed_parse_int64_fixed : Piqirun.IBuf.t -> int64
val parse_uint64_fixed : Piqirun.t -> int64
val packed_parse_uint64_fixed : Piqirun.IBuf.t -> int64
val parse_float : Piqirun.t -> float
val packed_parse_float : Piqirun.IBuf.t -> float
val parse_word : Piqirun.t -> Piqi_piqi.name
val parse_name : Piqirun.t -> Piqi_piqi.name
val parse_typedef : Piqirun.t -> Piqi_piqi.typedef
val parse_piqi_type : Piqirun.t -> Piqi_piqi.piqi_type
val packed_parse_piqi_type : Piqirun.IBuf.t -> [> `any | `binary | `bool | `float | `int | `string ]
val parse_typename : Piqirun.t -> Piqi_piqi.name
val parse_record : Piqirun.t -> Piqi_piqi.record
val parse_field : Piqirun.t -> Piqi_piqi.field
val parse_field_mode : Piqirun.t -> Piqi_piqi.field_mode
val packed_parse_field_mode : Piqirun.IBuf.t -> [> `optional | `repeated | `required ]
val parse_variant : Piqirun.t -> Piqi_piqi.variant
val parse_option : Piqirun.t -> Piqi_piqi.option
val parse_enum : Piqirun.t -> Piqi_piqi.enum
val parse_alias : Piqirun.t -> Piqi_piqi.alias
val parse_piqi_list : Piqirun.t -> Piqi_piqi.piqi_list
val parse_piqi : Piqirun.t -> Piqi_piqi.piqi
val parse_import : Piqirun.t -> Piqi_piqi.import
val parse_any : Piqirun.t -> Piqi_piqi.piqi_any
val parse_func : Piqirun.t -> Piqi_piqi.func
val parse_piqi_bundle : Piqirun.t -> Piqi_bundle.t
val gen__piq_format : int -> Piqi_piqi.piq_format -> Piqirun.OBuf.t
val gen__protobuf_int32 : int -> Stdlib.Int32.t -> Piqirun.OBuf.t
val packed_gen__protobuf_int32 : Stdlib.Int32.t -> Piqirun.OBuf.t
val gen__protobuf_int64 : int -> int64 -> Piqirun.OBuf.t
val packed_gen__protobuf_int64 : int64 -> Piqirun.OBuf.t
val gen__protobuf_wire_type : int -> Piqi_piqi.protobuf_wire_type -> Piqirun.OBuf.t
val packed_gen__protobuf_wire_type : [< `block | `fixed32 | `fixed64 | `signed_fixed32 | `signed_fixed64 | `signed_varint | `varint | `zigzag_varint ] -> Piqirun.OBuf.t
val gen__bool : int -> bool -> Piqirun.OBuf.t
val packed_gen__bool : bool -> Piqirun.OBuf.t
val gen__string : int -> Piqi_piqi.name -> Piqirun.OBuf.t
val gen__binary : int -> Piqi_piqi.binary -> Piqirun.OBuf.t
val gen__piqi_any : int -> Piqi_piqi.piqi_any -> Piqirun.OBuf.t
val gen__int : int -> int -> Piqirun.OBuf.t
val packed_gen__int : int -> Piqirun.OBuf.t
val gen__uint : int -> int -> Piqirun.OBuf.t
val packed_gen__uint : int -> Piqirun.OBuf.t
val gen__int32 : int -> int32 -> Piqirun.OBuf.t
val packed_gen__int32 : int32 -> Piqirun.OBuf.t
val gen__uint32 : int -> int32 -> Piqirun.OBuf.t
val packed_gen__uint32 : int32 -> Piqirun.OBuf.t
val gen__int64 : int -> int64 -> Piqirun.OBuf.t
val packed_gen__int64 : int64 -> Piqirun.OBuf.t
val gen__uint64 : int -> int64 -> Piqirun.OBuf.t
val packed_gen__uint64 : int64 -> Piqirun.OBuf.t
val gen__float64 : int -> float -> Piqirun.OBuf.t
val packed_gen__float64 : float -> Piqirun.OBuf.t
val gen__float32 : int -> float -> Piqirun.OBuf.t
val packed_gen__float32 : float -> Piqirun.OBuf.t
val gen__int32_fixed : int -> int32 -> Piqirun.OBuf.t
val packed_gen__int32_fixed : int32 -> Piqirun.OBuf.t
val gen__uint32_fixed : int -> int32 -> Piqirun.OBuf.t
val packed_gen__uint32_fixed : int32 -> Piqirun.OBuf.t
val gen__int64_fixed : int -> int64 -> Piqirun.OBuf.t
val packed_gen__int64_fixed : int64 -> Piqirun.OBuf.t
val gen__uint64_fixed : int -> int64 -> Piqirun.OBuf.t
val packed_gen__uint64_fixed : int64 -> Piqirun.OBuf.t
val gen__float : int -> float -> Piqirun.OBuf.t
val packed_gen__float : float -> Piqirun.OBuf.t
val gen__word : int -> Piqi_piqi.name -> Piqirun.OBuf.t
val gen__name : int -> Piqi_piqi.name -> Piqirun.OBuf.t
val gen__typedef : int -> Piqi_piqi.typedef -> Piqirun.OBuf.t
val gen__piqi_type : int -> Piqi_piqi.piqi_type -> Piqirun.OBuf.t
val packed_gen__piqi_type : [< `any | `binary | `bool | `float | `int | `string ] -> Piqirun.OBuf.t
val gen__typename : int -> Piqi_piqi.name -> Piqirun.OBuf.t
val gen__record : int -> Piqi_piqi.record -> Piqirun.OBuf.t
val gen__field : int -> Piqi_piqi.field -> Piqirun.OBuf.t
val gen__field_mode : int -> Piqi_piqi.field_mode -> Piqirun.OBuf.t
val packed_gen__field_mode : [< `optional | `repeated | `required ] -> Piqirun.OBuf.t
val gen__variant : int -> Piqi_piqi.variant -> Piqirun.OBuf.t
val gen__option : int -> Piqi_piqi.option -> Piqirun.OBuf.t
val gen__enum : int -> Piqi_piqi.enum -> Piqirun.OBuf.t
val gen__alias : int -> Piqi_piqi.alias -> Piqirun.OBuf.t
val gen__piqi_list : int -> Piqi_piqi.piqi_list -> Piqirun.OBuf.t
val gen__piqi : int -> Piqi_piqi.piqi -> Piqirun.OBuf.t
val gen__import : int -> Piqi_piqi.import -> Piqirun.OBuf.t
val gen__any : int -> Piqi_piqi.piqi_any -> Piqirun.OBuf.t
val gen__func : int -> Piqi_piqi.func -> Piqirun.OBuf.t
val gen__piqi_bundle : int -> Piqi_bundle.t -> Piqirun.OBuf.t
val gen_piq_format : Piqi_piqi.piq_format -> Piqirun.OBuf.t
val gen_protobuf_int32 : Stdlib.Int32.t -> Piqirun.OBuf.t
val gen_protobuf_int64 : int64 -> Piqirun.OBuf.t
val gen_protobuf_wire_type : Piqi_piqi.protobuf_wire_type -> Piqirun.OBuf.t
val gen_bool : bool -> Piqirun.OBuf.t
val gen_string : Piqi_piqi.name -> Piqirun.OBuf.t
val gen_binary : Piqi_piqi.binary -> Piqirun.OBuf.t
val gen_piqi_any : Piqi_piqi.piqi_any -> Piqirun.OBuf.t
val gen_int : int -> Piqirun.OBuf.t
val gen_uint : int -> Piqirun.OBuf.t
val gen_int32 : int32 -> Piqirun.OBuf.t
val gen_uint32 : int32 -> Piqirun.OBuf.t
val gen_int64 : int64 -> Piqirun.OBuf.t
val gen_uint64 : int64 -> Piqirun.OBuf.t
val gen_float64 : float -> Piqirun.OBuf.t
val gen_float32 : float -> Piqirun.OBuf.t
val gen_int32_fixed : int32 -> Piqirun.OBuf.t
val gen_uint32_fixed : int32 -> Piqirun.OBuf.t
val gen_int64_fixed : int64 -> Piqirun.OBuf.t
val gen_uint64_fixed : int64 -> Piqirun.OBuf.t
val gen_float : float -> Piqirun.OBuf.t
val gen_word : Piqi_piqi.name -> Piqirun.OBuf.t
val gen_name : Piqi_piqi.name -> Piqirun.OBuf.t
val gen_typedef : Piqi_piqi.typedef -> Piqirun.OBuf.t
val gen_piqi_type : Piqi_piqi.piqi_type -> Piqirun.OBuf.t
val gen_typename : Piqi_piqi.name -> Piqirun.OBuf.t
val gen_record : Piqi_piqi.record -> Piqirun.OBuf.t
val gen_field : Piqi_piqi.field -> Piqirun.OBuf.t
val gen_field_mode : Piqi_piqi.field_mode -> Piqirun.OBuf.t
val gen_variant : Piqi_piqi.variant -> Piqirun.OBuf.t
val gen_option : Piqi_piqi.option -> Piqirun.OBuf.t
val gen_enum : Piqi_piqi.enum -> Piqirun.OBuf.t
val gen_alias : Piqi_piqi.alias -> Piqirun.OBuf.t
val gen_piqi_list : Piqi_piqi.piqi_list -> Piqirun.OBuf.t
val gen_piqi : Piqi_piqi.piqi -> Piqirun.OBuf.t
val gen_import : Piqi_piqi.import -> Piqirun.OBuf.t
val gen_func : Piqi_piqi.func -> Piqirun.OBuf.t
val gen_piqi_bundle : Piqi_bundle.t -> Piqirun.OBuf.t
val default_piq_format : unit -> [> `word ]
val default_protobuf_int32 : unit -> int32
val default_protobuf_int64 : unit -> int64
val default_protobuf_wire_type : unit -> [> `varint ]
val default_bool : unit -> bool
val default_string : unit -> Piqi_piqi.name
val default_binary : unit -> string
val default_piqi_any : unit -> Any.t
val default_int : unit -> int
val default_uint : unit -> int
val default_int32 : unit -> int32
val default_uint32 : unit -> int32
val default_int64 : unit -> int64
val default_uint64 : unit -> int64
val default_float64 : unit -> float
val default_float32 : unit -> float
val default_int32_fixed : unit -> int32
val default_uint32_fixed : unit -> int32
val default_int64_fixed : unit -> int64
val default_uint64_fixed : unit -> int64
val default_float : unit -> float
val default_word : unit -> Piqi_piqi.name
val default_name : unit -> Piqi_piqi.name
val default_typedef : unit -> [> `record of Record.t ]
val default_piqi_type : unit -> [> `int ]
val default_typename : unit -> Piqi_piqi.name
val default_record : unit -> Record.t
val default_field : unit -> Field.t
val default_field_mode : unit -> [> `required ]
val default_variant : unit -> Variant.t
val default_option : unit -> Option.t
val default_enum : unit -> Enum.t
val default_alias : unit -> Alias.t
val default_piqi_list : unit -> Piqi_list.t
val default_piqi : unit -> Piqi.t
val default_import : unit -> Import.t
val default_any : unit -> Any.t
val default_func : unit -> Func.t
val default_piqi_bundle : unit -> Piqi_bundle.t
include module type of struct include Piqi_piqi end
type uint = int
type uint32 = int32
type uint64 = int64
type float64 = float
type float32 = float
type protobuf_int32 = int32
type protobuf_int64 = int64
type binary = string
type piqi_any = Piqi_piqi.any
type int32_fixed = int32
type uint32_fixed = Piqi_piqi.uint32
type int64_fixed = int64
type uint64_fixed = Piqi_piqi.uint64
type float = Piqi_piqi.float64
type word = string
type name = Piqi_piqi.word
type typename = Piqi_piqi.name
type piq_format = [
  1. | `word
  2. | `text
]
type protobuf_wire_type = [
  1. | `varint
  2. | `zigzag_varint
  3. | `fixed32
  4. | `fixed64
  5. | `signed_varint
  6. | `signed_fixed32
  7. | `signed_fixed64
  8. | `block
]
type typedef = [
  1. | `record of Piqi_piqi.record
  2. | `variant of Piqi_piqi.variant
  3. | `enum of Piqi_piqi.enum
  4. | `alias of Piqi_piqi.alias
  5. | `list of Piqi_piqi.piqi_list
]
type piqi_type = [
  1. | `int
  2. | `float
  3. | `bool
  4. | `string
  5. | `binary
  6. | `any
]
type field_mode = [
  1. | `required
  2. | `optional
  3. | `repeated
]
type record = Record.t
type field = Field.t
type variant = Variant.t
type option = Option.t
type enum = Enum.t
type alias = Alias.t
type piqi_list = Piqi_list.t
type piqi = Piqi.t
type import = Import.t
type any = Any.t
type func = Func.t
type piqi_bundle = Piqi_bundle.t
OCaml

Innovation. Community. Security.