ocplib-ocamlres
OCamlResRegistry.PredefOptions
Predefined options that you can use in your own formats
ocplib-ocamlres.runtime
val width : int ref
The expected width of the generated source.
val subformats : (module SubFormat) Map.Make(String).t ref
Associates an extension with a subformat in ExtensionDispatcherSubFormat.
ExtensionDispatcherSubFormat
val output_file : string option ref
The name of the output file, if provided.
val options : (Arg.key * Arg.spec * Arg.doc) list
Defines -width <width>, -subformat <ext> <subformat> and -o <file> that update the previous references.
-width <width>
-subformat <ext> <subformat>
-o <file>