Literal.OUTtype error = | Invalid of {loc : Cobol_common.Srcloc.TYPES.srcloc;stuff : invalid_stuff;}| Malformed of {loc : Cobol_common.Srcloc.TYPES.srcloc;stuff : malformed_stuff;}| Overlong_literal of {loc : Cobol_common.Srcloc.TYPES.srcloc;literal_string : string;max_length : int;}val error_loc : error -> Cobol_common.Srcloc.TYPES.srclocval pp_literal_class : Stdlib.Format.formatter -> literal_class -> unitval pp_invalid_stuff : Stdlib.Format.formatter -> invalid_stuff -> unitval pp_malformed_stuff : Stdlib.Format.formatter -> malformed_stuff -> unitval pp_error : Stdlib.Format.formatter -> error -> unittype t = diagnosticsval none : diagnosticsval union : diagnostics -> diagnostics -> diagnosticsval add_error : error -> diagnostics -> diagnosticsval add_warning : warning -> diagnostics -> diagnosticsval has_errors : diagnostics -> boolval translate : t -> Cobol_common__Diagnostics.TYPES.diagnosticsinclude sig ... endmodule TYPES : sig ... endval result : ?diags:diagnostics -> 'a -> 'a with_diagsval simple_result : 'a -> 'a with_diagsval some_result : ?diags:diagnostics -> 'a -> 'a option with_diagsval no_result : diags:diagnostics -> 'a option with_diagsval with_diags : 'a -> diagnostics -> 'a with_diagsval with_more_diags : diags:diagnostics -> 'a with_diags -> 'a with_diagsval result_only : 'a with_diags -> 'aval forget_result : 'a with_diags -> diagnosticsval more_result : f:('a -> 'b with_diags) -> 'a with_diags -> 'b with_diagsval map_result : f:('a -> 'b) -> 'a with_diags -> 'b with_diagsval map2_results :
f:('a -> 'b -> 'c with_diags) ->
'a with_diags ->
'b with_diags ->
'c with_diagsval map_some_result :
f:('a -> 'b) ->
'a option with_diags ->
'b option with_diagsval merge_results :
f:('a -> 'b -> 'c) ->
'a with_diags ->
'b with_diags ->
'c with_diagsval cons_option_result :
'a option with_diags ->
'a list with_diags ->
'a list with_diagsval translate_diags : 'a with_diags -> 'a Cobol_common.Diagnostics.with_diagsval show_n_forget :
?set_status:bool ->
?min_level:Cobol_common.Diagnostics.severity ->
?ppf:Stdlib.Format.formatter ->
'a with_diags ->
'aval sink_result :
?set_status:bool ->
?ppf:Stdlib.Format.formatter ->
'a with_diags ->
unit