Module Pbrt_options

Protobuf

module E : sig ... end

All exceptions which could be raised by the generated option parsers.

type constant =
  1. | Constant_string of string
  2. | Constant_bool of bool
  3. | Constant_int of int
  4. | Constant_float of float
  5. | Constant_literal of string
type message_literal = (string * value) list
and list_literal = value list
and value =
  1. | Scalar_value of constant
  2. | Message_literal of message_literal
  3. | List_literal of list_literal

Helper module for the generated code for common functionality

val string : value -> string -> string -> string
val float : value -> string -> string -> float
val int32 : value -> string -> string -> int32
val int64 : value -> string -> string -> int64
val int : value -> string -> string -> int
val bool : value -> string -> string -> bool
val bytes : value -> string -> string -> bytes
val unit : value -> string -> string -> unit