OpamFile.SyntaxHelper module for manipulation of the raw syntax (opamfile) format. (the specific file handling modules are derived from this one)
val pp_channel : 'a typed_file -> in_channel -> out_channel -> (unit, OpamParserTypes.FullPos.opamfile) OpamPp.tval of_channel : 'a typed_file -> in_channel -> OpamParserTypes.FullPos.opamfileval to_channel : 'a typed_file -> out_channel -> OpamParserTypes.FullPos.opamfile -> unitval of_string : 'a typed_file -> string -> OpamParserTypes.FullPos.opamfileval to_string : 'a typed_file -> OpamParserTypes.FullPos.opamfile -> stringval to_string_with_preserved_format : 'a typed_file -> ?format_from:'a typed_file ->
?format_from_string:string -> empty:'a ->
?sections:('a, (string option * OpamParserTypes.FullPos.opamfile_item list) list) OpamFormat.I.fields_def -> fields:('a, OpamParserTypes.FullPos.value) OpamFormat.I.fields_def ->
(OpamParserTypes.FullPos.opamfile, OpamTypes.filename * 'a) OpamPp.t -> 'a -> string