package piqilib

  1. Overview
  2. Docs
module C = Piqi_common
val check_getopt_letter : string -> unit
val getopt_name_field : C.Field.t -> unit
val getopt_name_option : C.Option.t -> unit
val getopt_name_record : C.R.t -> unit
val getopt_name_variant : C.V.t -> unit
val getopt_name_enum : C.E.t -> unit
val getopt_name_typedef : [> `enum of C.E.t | `record of C.R.t | `variant of C.V.t ] -> unit
val getopt_name_defs : [> `enum of C.E.t | `record of C.R.t | `variant of C.V.t ] list -> unit
val getopt_name_piqi : 'a -> C.T.piqi -> unit
val init : unit -> unit
val getopt_filename : string
val error : string -> 'a
val parse_string_arg : string -> Piq_lexer.token
val parse_word_arg : string -> Piq_lexer.token
val parse_name_arg : string -> Piq_lexer.token
val read_file : string -> string
val parse_arg : string -> Piq_lexer.token
val parse_argv : int -> (Piq_lexer.token * (int * int)) list
val argv_start_index : int ref
val rest_fun : 'a -> unit
val arg__rest : string * Arg.spec * string
val getopt_piq : unit -> C.piq_ast list
val parse_args : C.T.piqtype -> C.piq_ast list -> Piqobj.obj
OCaml

Innovation. Community. Security.