package ocp-ocamlres
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=658c2990e027e1e43a16290fd431f08c96b8630d91ac2b98003a9bc027179679
md5=725eb557e659c6febf8dc3044b323bd8
doc/ocplib-ocamlres/OCamlResRegistry/ExtensionDispatcherSubFormat/index.html
Module OCamlResRegistry.ExtensionDispatcherSubFormat
Source
Output subformat dispatching the output depending on file extensions and the command line options. To be polymorphic, the t
type is a string containing the raw resource representation, and the from_raw
method of the selected subformat is used at every operation. The SubFormat
used is resolved using table PredefOptions.subformats
.
The generation-time intermediate representation of data.
A parser as used by the scanner to obtain the in-memory resources from files.
A dumper to reconstitute the files from the in-memory resources.
Takes the path to the resource in the resource tree, and its value to pretty print. Returns the OCaml representation of the value.
Provides an optional piece of OCaml code to put before the resource store definition, for instance a type definition.
Provides an optional piece of OCaml code to put after the resource store definition, for instance a type definition.