Cobol_commonmodule Basics : sig ... endmodule Srcloc : sig ... endmodule Copybook : sig ... endmodule Exec_block : sig ... endmodule Diagnostics : sig ... endmodule Diagnostics_accumulator : sig ... endmodule Visitor : sig ... endmodule Behaviors : sig ... endType tags, useful to name and determine component behaviors
module Tokenizing : sig ... endmodule Symbolic : sig ... endmodule Types : sig ... endinclude module type of Types
with type 'a with_diags = 'a Types.with_diags
and type 'a with_loc = 'a Types.with_loc
and type lexloc = Types.lexloc
and type srcloc = Types.srclocinclude module type of Diagnostics.TYPES
with type 'a with_diags = 'a Types.with_diagstype diagnostic = Diagnostics.TYPES.diagnostictype diagnostics = Diagnostics.TYPES.diagnosticstype 'a in_result = ('a * diagnostic option, diagnostic option) Stdlib.resultinclude module type of Srcloc.TYPES
with type 'a with_loc = 'a Types.with_loc
with type lexloc = Types.lexloc
with type srcloc = Types.srcloctype lexloc = Types.lexloctype srcloc = Types.srcloctype copylocs = Srcloc.TYPES.copylocsjoin_all diags res_l takes every value of a list of ('a, 'e) result list and return a ('a, 'e) result. If all the elements in the parameter list are Ok _ then the result is Ok _ otherwise Error _
Exit the program with a status that depends on diagnostics reported in Diagnostics.show_n_forget (or Diagnostics.sink_result).