Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
OCamlResRegistry.ExtensionDispatcherSubFormat
SourceOutput 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.