Cobol_typeck.Diagnostics
module DIAGS = Cobol_common.Diagnostics
type diagnostic =
| Dialect_feature_used of {
feature : unit Cobol_config.feature;
usage_loc : Cobol_common.Srcloc.TYPES.srcloc;
}
more general diagnostics
type diagnostics = diagnostic list
type t = diagnostics
val none : diagnostics
val diagnostic_severity : diagnostic -> [> `Ignore | `Print of DIAGS.severity ]
val diagnostic_loc : diagnostic -> Cobol_common.Srcloc.TYPES.srcloc option
val pp_diagnostic : Stdlib.Format.formatter -> diagnostic -> unit
val translate : diagnostic list -> Cobol_common__Diagnostics.TYPES.diagnostics