Cobol_preproc.Env
module VAR : sig ... end
Utility module that maps any string to a physically unique upper-cased internal representation.
module MAP : sig ... end
module TYPES : sig ... end
include module type of struct include TYPES end
type env = definition MAP.t
and var = VAR.t
and definition_loc = preproc_loc
and preproc_loc = TYPES.preproc_loc =
| Source_location of Cobol_common.Srcloc.TYPES.srcloc
| Process_parameter
| Process_environment
and value = TYPES.value =
| Alphanum of Cobol_data.Value.alphanum with_preproc_loc
| Boolean of Cobol_data.Value.boolean with_preproc_loc
| Numeric of Cobol_data.Value.fixed with_preproc_loc
exception UNDEFINED of var Cobol_common.Srcloc.TYPES.with_loc
type t = env
val pp_value : Stdlib.Format.formatter -> value -> Ppx_deriving_runtime.unit
val pp_definition :
Stdlib.Format.formatter ->
definition ->
Ppx_deriving_runtime.unit
val pp : t Pretty.printer
val empty : 'a MAP.t
val var : string -> VAR.t
val var' :
string Cobol_common.Srcloc.with_loc ->
VAR.t Cobol_common.Srcloc.with_loc
val definition_of :
var:MAP.key Cobol_common__Srcloc.TYPES.with_loc ->
definition MAP.t ->
definition
val define :
loc:Cobol_common.Srcloc.TYPES.srcloc ->
MAP.key Cobol_common__Srcloc.TYPES.with_loc ->
value ->
?override:bool ->
t ->
t