Cobol_parser.Diagnosticstype error = | Caught_exception of {}| Malformed of {loc : Cobol_common.Srcloc.TYPES.srcloc;stuff : malformed_stuff;}| Missing of {loc : Cobol_common.Srcloc.TYPES.srcloc;stuff : missing_stuff;}| Unexpected of {loc : Cobol_common.Srcloc.TYPES.srcloc;stuff : unexpected_stuff;}| Unterminated of {loc : Cobol_common.Srcloc.TYPES.srcloc;stuff : unterminated_stuff;}val pp_malformed_stuff : Stdlib.Format.formatter -> malformed_stuff -> unitval pp_missing_stuff : Stdlib.Format.formatter -> missing_stuff -> unitval pp_unexpected_stuff : Stdlib.Format.formatter -> unexpected_stuff -> unitval pp_unterminated_stuff : 
  Stdlib.Format.formatter ->
  unterminated_stuff ->
  unitval error_loc : error -> Cobol_common.Srcloc.TYPES.srcloc optionval pp_error : Stdlib.Format.formatter -> error -> unittype customizable_diagnostic = | Implementation_pending of string| Missing_tokens of Pretty.delayed| Invalid_syntax| Exec_block_diagnostic of Cobol_common.Exec_block.diagnosticval pp_customizable_diagnostic : 
  Stdlib.Format.formatter ->
  customizable_diagnostic ->
  unittype custom = {severity : Cobol_common.Diagnostics.severity;loc : Cobol_common.Srcloc.TYPES.srcloc option;diag : customizable_diagnostic;}type t = diagnosticsval none : diagnosticsval union : diagnostics -> diagnostics -> diagnosticsval add_error : error -> diagnostics -> diagnosticsval error : error -> diagnosticsval has_errors : diagnostics -> boolval add_diag : 
  severity:Cobol_common.Diagnostics.severity ->
  ?loc:Cobol_common.Srcloc.TYPES.srcloc ->
  customizable_diagnostic ->
  diagnostics ->
  diagnosticsval add_exec_block_diag : 
  Cobol_common.Exec_block.diagnostic ->
  diagnostics ->
  diagnosticsval add_exec_block_diags : 
  Cobol_common.Exec_block.diagnostic list ->
  diagnostics ->
  diagnosticsval add_exn : exn -> diagnostics -> diagnosticsval translate : t -> Cobol_common__Diagnostics.TYPES.diagnosticsmodule Accumulator : sig ... endmodule ALL : sig ... end