Cobol_preproc.Trace
module TYPES : sig ... end
include module type of TYPES
with type copy_event_status = TYPES.copy_event_status
and type log_entry = TYPES.log_entry
and type log = TYPES.log
type log_entry = TYPES.log_entry =
| FileCopy of {
copyloc : Cobol_common.srcloc;
status : copy_event_status;
}
| Replace of {
replloc : Cobol_common.srcloc;
}
| Replacement of {
matched_loc : Cobol_common.srcloc;
replacement_text : Text.text;
}
| Exec_block of {
preamble_loc : Cobol_common.srcloc;
text : Text.text;
postamble_loc : Cobol_common.srcloc option;
}
| Ignored of {
text : Text.text;
ignored_loc : Cobol_common.srcloc;
}
and copy_event_status = TYPES.copy_event_status =
| CopyDone of string
| CyclicCopy of string
| MissingCopy of Cobol_common.Copybook.lookup_error
type log = TYPES.log
val empty : log
val new_compdir :
loc:Cobol_common.srcloc ->
compdir:Cobol_preproc__.Preproc_directives.compiler_directive ->
log ->
log
val copy_done : loc:Cobol_common.srcloc -> filename:string -> log -> log
val cyclic_copy : loc:Cobol_common.srcloc -> filename:string -> log -> log
val missing_copy :
loc:Cobol_common.srcloc ->
error:Cobol_common.Copybook.lookup_error ->
log ->
log
val new_replace : loc:Cobol_common.srcloc -> log -> log
val exec_block :
preamble_loc:Cobol_common.srcloc ->
?postamble_loc:Cobol_common.srcloc ->
Text.text ->
log ->
log