OLD.Picturemodule TYPES : sig ... endtype t = TYPES.pictureval pp :
Ppx_deriving_runtime.Format.formatter ->
t ->
Ppx_deriving_runtime.unitval show : t -> Ppx_deriving_runtime.stringval pp_detailed_category : TYPES.category Pretty.printerval pp_category : TYPES.category Pretty.printerval pp_category_name : TYPES.category Pretty.printerval pp_picture_symbols : TYPES.symbols list Pretty.printerval is_edited : TYPES.picture -> boolis_edited pic indicates whether the given picture string represents an edited item
val is_boolean : TYPES.picture -> boolval is_national : TYPES.picture -> boolval is_numeric : TYPES.picture -> boolis_numeric pic indicates whether the given picture string is of class numeric
val is_signed_numeric : TYPES.picture -> boolval data_size : TYPES.picture -> intSize of the underlying data; corresponds to the number of "characters" for usage DISPLAY; does not take the sign of numeric items into account.
val display_size : TYPES.picture -> intActual storage size for items of usage DISPLAY.
val edited_size : TYPES.picture -> intDisplay size after editions; corresponds to "size" in standards
val size : TYPES.picture -> intAlias for edited_size.
val of_string :
TYPES.config ->
string ->
(TYPES.picture, (TYPES.error * (int * int)) list * TYPES.picture)
Stdlib.resultval of_string' :
TYPES.config ->
string Cobol_common.Srcloc.TYPES.with_loc ->
(TYPES.picture Cobol_common.Srcloc.TYPES.with_loc,
Cobol_common.Diagnostics.diagnostics
* TYPES.picture Cobol_common.Srcloc.TYPES.with_loc)
Stdlib.resultval alphanumeric : size:int -> TYPES.pictureval national : size:int -> TYPES.pictureval boolean : int -> TYPES.pictureval digits : int -> TYPES.pictureval fixed_numeric :
?basics:TYPES.basic_edition list ->
?floating:TYPES.floating_insertion ->
?sign:TYPES.sign_config option ->
int ->
int ->
TYPES.pictureval pp_error : TYPES.error Pretty.printerval rev_errors_with_loc :
loc:Cobol_common.Srcloc.TYPES.srcloc ->
(TYPES.error * (int * int)) list ->
TYPES.error Cobol_common.Srcloc.TYPES.with_loc listval error_diagnostics :
loc:Cobol_common.Srcloc.TYPES.srcloc ->
(TYPES.error * (int * int)) list ->
Cobol_common.Diagnostics.diagnosticsval default_sign_config : TYPES.sign_configDefault sign configuration: trailing, non-separate.
val unit_test : ?config:TYPES.config -> expect:string -> string -> boolVerifies that the picture string is interpreted as `expect`, i.e. the result of `pp_picture`. If not, displays the difference on stderr and returns `false`