package pbrt

  1. Overview
  2. Docs

Module Pbrt_optionsSource

Protobuf

Sourcemodule E : sig ... end

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

Sourcetype 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
Sourcetype message_literal = (string * value) list
Sourceand list_literal = value list
Sourceand 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

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