package piqilib

  1. Overview
  2. Docs
module C = Piqi_common
val is_external_mode : bool ref
val gen_float : 'a -> [> `float of 'a * string ]
val gen_string : ?piq_format:[> `text | `word ] -> string -> [> `string of string * string | `text of string | `word of string ]
val gen_binary : string -> [> `binary of string * string | `string of string * string ]
val make_named : string -> Piq_ast.Piq_ast.ast -> [> `named of Piq_ast.Named.t ]
val make_name : 'a -> [> `name of 'a ]
val make_typed : string -> Piq_ast.Piq_ast.ast -> C.piq_ast
val order_record_fields : C.T.Record.t -> Piqobj_common.F.t list -> Piqobj_common.F.t list
val gen_obj0 : ?piq_format:C.T.piq_format -> Piqobj.obj -> C.piq_ast
val gen_typed_obj : Piqobj.obj -> [> `typed of Piq_ast.Typed.t ]
val gen_any : Piqobj.any -> C.piq_ast
val gen_record : Piqobj.record -> C.piq_ast
val gen_field : Piqobj_common.F.t -> Piq_ast.ast list
val gen_variant : Piqobj.variant -> C.piq_ast
val gen_option : Piqobj.Piqobj.option -> C.piq_ast
val gen_enum : Piqobj.enum -> C.piq_ast
val gen_list : Piqobj.list -> C.piq_ast
val gen_alias : ?piq_format:C.T.piq_format -> Piqobj.alias -> C.piq_ast
val gen_obj : Piqobj.obj -> C.piq_ast
OCaml

Innovation. Community. Security.