Module Cobol_data.Literal

Representation of COBOL literals

module VAL : sig ... end

Representation of basic COBOL values.

module OUT : sig ... end
type integer = {
  1. int_literal : Cobol_ptree.integer;
  2. int_value : VAL.integer;
}
type fixed = {
  1. fixed_literal : Cobol_ptree.fixed;
  2. fixed_value : VAL.fixed;
}
type floating = {
  1. float_literal : Cobol_ptree.floating;
  2. float_value : VAL.floating;
}
type alphanum = VAL.alphanum
val pp_alphanum : Ppx_deriving_runtime.Format.formatter -> alphanum -> Ppx_deriving_runtime.unit
val show_alphanum : alphanum -> Ppx_deriving_runtime.string
type boolean = {
  1. bool_literal : Cobol_ptree.boolean;
  2. bool_value : VAL.boolean;
}
val pp_boolean : Ppx_deriving_runtime.Format.formatter -> boolean -> Ppx_deriving_runtime.unit
val show_boolean : boolean -> Ppx_deriving_runtime.string
val invalid_chars : loc:Cobol_common.Srcloc.srcloc -> literal_class:OUT.literal_class -> OUT.diagnostics -> (int * char) VAL.NEL.t -> OUT.diagnostics
val with_invalid_chars : loc:Cobol_common.Srcloc.srcloc -> literal_class:OUT.literal_class -> OUT.diagnostics -> (int * char) VAL.NEL.t -> 'a -> 'a Cobol_common__Srcloc.TYPES.with_loc OUT.with_diags
val pp_integer : Stdlib.Format.formatter -> integer -> unit
val pp_fixed : Stdlib.Format.formatter -> fixed -> unit
val pp_floating : Stdlib.Format.formatter -> floating -> unit
val boolean : ?max_length:int -> Cobol_ptree.boolean Cobol_ptree.with_loc -> boolean Cobol_common__Srcloc.TYPES.with_loc OUT.with_diags