package piqilib

  1. Overview
  2. Docs
module C = Piqi_common
val gen_typename : string -> C.Iolist.iolist
val gen_name_type : string option -> string option -> C.Iolist.iolist
val gen_default_ast : Piq_gen.C.piq_ast -> C.Iolist.iolist
val gen_default : Piqi_impl_piqi.any option -> C.Iolist.iolist
val gen_field_mode : [< `optional | `repeated | `required ] -> string
val gen_field : C.F.t -> C.Iolist.iolist
val gen_record : C.R.t -> C.Iolist.iolist
val gen_option : C.O.t -> C.Iolist.iolist
val gen_enum : C.E.t -> C.Iolist.iolist
val gen_variant : C.V.t -> C.Iolist.iolist
val gen_list : C.L.t -> C.Iolist.iolist
val gen_alias : C.A.t -> C.Iolist.iolist
val gen_typedef_repr : [< `alias of C.A.t | `enum of C.E.t | `list of C.L.t | `record of C.R.t | `variant of C.V.t ] -> C.Iolist.iolist
val gen_def : C.T.typedef -> C.Iolist.iolist
val gen_sep : 'a list -> C.Iolist.iolist
val gen_defs : C.T.typedef list -> C.Iolist.iolist
val gen_import : C.Import.t -> C.Iolist.iolist
val gen_imports : C.Import.t list -> C.Iolist.iolist
val gen_includes : C.Includ.t list -> C.Iolist.iolist
val field_def : Piqi_db.C.T.piqtype
val option_def : Piqi_db.C.T.piqtype
val gen_extension_item : Piqi_impl_piqi.any -> C.Iolist.iolist list
val gen_extension_target : [< `field of 'a | `func of 'b | `import of 'c | `name of 'd | `option of 'e | `typedef of 'd ] -> 'd list
val gen_extension : C.Extend.t -> C.Iolist.iolist list
val gen_extensions : C.Extend.t list -> C.Iolist.iolist
val gen_param : string -> [< `alias of C.T.Piqi_impl_piqi.alias | `enum of C.T.Piqi_impl_piqi.enum | `list of C.T.Piqi_impl_piqi.piqi_list | `name of string | `record of C.T.Piqi_impl_piqi.record | `variant of C.T.Piqi_impl_piqi.variant ] option -> C.Iolist.iolist list
val gen_function : C.T.Func.t -> C.Iolist.iolist
val gen_functions : C.T.Func.t list -> C.Iolist.iolist
val gen_module : string option -> C.Iolist.iolist
val gen_piqi : out_channel -> C.T.piqi -> unit
OCaml

Innovation. Community. Security.