Cobol_ptree
type lexloc = Cobol_common.Srcloc.lexloc
type srcloc = Cobol_common.Srcloc.srcloc
val pp_with_loc :
'a Pretty.printer ->
'a Cobol_common.Srcloc.with_loc Pretty.printer
module NEL = Cobol_common.Basics.NEL
type 'a nel = 'a NEL.t
val pp_nel : 'a Pretty.printer -> Stdlib.Format.formatter -> 'a NEL.t -> unit
and permutation_trio = trio_head * permutation_duo
and permutation_quartet = quartet_head * permutation_trio
val compare_permutation_duo :
permutation_duo ->
permutation_duo ->
Ppx_deriving_runtime.int
val compare_permutation_trio :
permutation_trio ->
permutation_trio ->
Ppx_deriving_runtime.int
val compare_quartet_head :
quartet_head ->
quartet_head ->
Ppx_deriving_runtime.int
val compare_permutation_quartet :
permutation_quartet ->
permutation_quartet ->
Ppx_deriving_runtime.int
val prepend_as_trio :
[< `A of 'a * ('b * 'c * permutation_duo)
| `B of 'b * ('a * 'c * permutation_duo)
| `C of 'c * ('a * 'b * permutation_duo) ] ->
'a * 'b * 'c * permutation_trio
val prepend_as_quartet :
[< `A of 'a * ('b * 'c * 'd * permutation_trio)
| `B of 'b * ('a * 'c * 'd * permutation_trio)
| `C of 'c * ('a * 'b * 'd * permutation_trio)
| `D of 'd * ('a * 'b * 'c * permutation_trio) ] ->
'a * 'b * 'c * 'd * permutation_quartet
val fold_duo :
permutation_duo ->
('a * 'b) ->
(('a -> 'c -> 'c) * ('b -> 'c -> 'c)) ->
'c ->
'c
val fold_trio :
(trio_head * permutation_duo) ->
('a * 'b * 'c) ->
(('a -> 'd -> 'd) * ('b -> 'd -> 'd) * ('c -> 'd -> 'd)) ->
'd ->
'd
val fold_quartet :
(quartet_head * (trio_head * permutation_duo)) ->
('a * 'b * 'c * 'd) ->
(('a -> 'e -> 'e) * ('b -> 'e -> 'e) * ('c -> 'e -> 'e) * ('d -> 'e -> 'e)) ->
'e ->
'e
val iter_duo :
permutation_duo ->
('a * 'b) ->
(('a -> unit) * ('b -> unit)) ->
unit
val iter_trio :
(trio_head * permutation_duo) ->
('a * 'b * 'c) ->
(('a -> unit) * ('b -> unit) * ('c -> unit)) ->
unit
val iter_quartet :
(quartet_head * (trio_head * permutation_duo)) ->
('a * 'b * 'c * 'd) ->
(('a -> unit) * ('b -> unit) * ('c -> unit) * ('d -> unit)) ->
unit
val pp_integer : string Pretty.printer
val fixed_of_strings : string -> string -> fixed
val pp_fixed : Stdlib.Format.formatter -> fixed -> unit
val floating_of_strings : string -> string -> string -> floating
val pp_floating : Stdlib.Format.formatter -> floating -> unit
val boolean_of_string : ?base:[ `Bool | `Hex ] -> string -> boolean
val pp_name : string Pretty.printer
val pp_name' :
Stdlib.Format.formatter ->
string Cobol_common.Srcloc.with_loc ->
unit
type qualident_ = [ `Ident ] qual_
type arith_value_ = length_of_
val compare_alphanum_quote :
alphanum_quote ->
alphanum_quote ->
Ppx_deriving_runtime.int
val compare_alphanum_repr :
alphanum_repr ->
alphanum_repr ->
Ppx_deriving_runtime.int
type intrinsic_name =
| ABS
| ABSOLUTE_VALUE
| ACOS
| ANNUITY
| ASIN
| ATAN
| BASECONVERT
| BIT_OF
| BIT_TO_CHAR
| BOOLEAN_OF_INTEGER
| BYTE_LENGTH
| CHAR
| CHAR_NATIONAL
| COMBINED_DATETIME
| CONCAT
| CONCATENATE
| CONTENT_LENGTH
| CONTENT_OF
| CONVERT
| COS
| CURRENCY_SYMBOL
| CURRENT_DATE
| DATE_OF_INTEGER
| DATE_TO_YYYYMMDD
| DAY_OF_INTEGER
| DAY_TO_YYYYDDD
| DISPLAY_OF
| E
| EXCEPTION_FILE
| EXCEPTION_FILE_N
| EXCEPTION_LOCATION
| EXCEPTION_LOCATION_N
| EXCEPTION_STATEMENT
| EXCEPTION_STATUS
| EXP
| EXP10
| FACTORIAL
| FIND_STRING
| FORMATTED_CURRENT_DATE
| FORMATTED_DATE
| FORMATTED_DATETIME
| FORMATTED_TIME
| FRACTION_PART
| HEX_OF
| HEX_TO_CHAR
| HIGHEST_ALGEBRAIC
| INTEGER
| INTEGER_OF_BOOLEAN
| INTEGER_OF_DATE
| INTEGER_OF_DAY
| INTEGER_OF_FORMATTED_DATE
| INTEGER_PART
| LENGTH
| LENGTH_AN
| LOCALE_COMPARE
| LOCALE_DATE
| LOCALE_TIME
| LOCALE_TIME_FROM_SECONDS
| LOG
| LOG10
| LOWER_CASE
| LOWEST_ALGEBRAIC
| MAX
| MEAN
| MEDIAN
| MIDRANGE
| MIN
| MOD
| MODULE_CALLER_ID
| MODULE_DATE
| MODULE_FORMATTED_DATE
| MODULE_ID
| MODULE_NAME
| MODULE_PATH
| MODULE_SOURCE
| MODULE_TIME
| MONETARY_DECIMAL_POINT
| MONETARY_THOUSANDS_SEPARATOR
| NATIONAL_OF
| NUMERIC_DECIMAL_POINT
| NUMERIC_THOUSANDS_SEPARATOR
| NUMVAL
| NUMVAL_C
| NUMVAL_F
| ORD
| ORD_MAX
| ORD_MIN
| PI
| PRESENT_VALUE
| RANDOM
| RANGE
| REM
| REVERSE
| SECONDS_FROM_FORMATTED_TIME
| SECONDS_PAST_MIDNIGHT
| SIGN
| SIN
| SQRT
| STANDARD_COMPARE
| STANDARD_DEVIATION
| STORED_CHAR_LENGTH
| SUBSTITUTE
| SUBSTITUTE_CASE
| SUM
| TAN
| TEST_DATE_YYYYMMDD
| TEST_DAY_YYYYDDD
| TEST_FORMATTED_DATETIME
| TEST_NUMVAL
| TEST_NUMVAL_C
| TEST_NUMVAL_F
| TRIM
| UPPER_CASE
| VARIANCE
| WHEN_COMPILED
| YEAR_TO_YYYY
val compare_intrinsic_name :
intrinsic_name ->
intrinsic_name ->
Ppx_deriving_runtime.int
val show_intrinsic_name : intrinsic_name -> string
val pp_intrinsic_name : Stdlib.Format.formatter -> intrinsic_name -> unit
type alphanum = {
str : string;
quotation : alphanum_quote;
hexadecimal : bool;
runtime_repr : alphanum_repr;
}
val pp_alphanum : Stdlib.Format.formatter -> alphanum -> unit
val pp_national :
Ppx_deriving_runtime.Format.formatter ->
national ->
Ppx_deriving_runtime.unit
val show_national : national -> Ppx_deriving_runtime.string
type _ term =
| Alphanum : alphanum -> [> alnum_ ] term
| Integer : string -> [> int_ ] term
| National : national -> [> national_ ] term
| NumFig : int_ figurative -> [> int_ ] term
| Fig : [ nonnum_ | strlit_ ] figurative -> [> strlit_ ] term
| Name : name Cobol_common.Srcloc.with_loc -> [> name_ ] term
| Qual : name Cobol_common.Srcloc.with_loc
* qualname_ term -> [> name qual_ ] term
| Address : address -> [> address_ ] term
| Counter : counter -> [> counter_ ] term
| InlineCall : inline_call -> [> inline_call_ ] term
| InlineInvoke : inline_invocation -> [> inline_invoke_ ] term
| LengthOf : [ ident_ | lit_ ] term -> [> length_of_ ] term
| ObjectView : object_view -> [> object_view_ ] term
| ObjectRef : object_ref -> [> object_ref_ ] term
| QualIdent : qualident -> [> qualident_ ] term
| RefMod : base_ident_ term * refmod -> [> refmod_ident_ ] term
| ScalarRefMod : scalar_ident_ term * refmod -> [> refmod_scalar_ident_ ] term
| StrConcat : strlit_ term * strlit_ term -> [> strlit_ ] term
| Concat : nonnum_ term * nonnum_ term -> [> nonnum_ ] term
Now comes the type of all/most terms
and _ figurative =
| Zero : [< int_ | nonnum_ ] figurative
| Space : [> strlit_ ] figurative
| Quote : [> strlit_ ] figurative
| LowValue : [> strlit_ ] figurative
| HighValue : [> strlit_ ] figurative
| All : nonnumlit -> [< nonnum_ ] figurative
and then particular instantiations.
(Qualified) name (should be `qualref` for "qualified reference" instead).
and scalar = [ scalar_ident_ | refmod_ident_ | lit_ | arith_value_ ] term
and expression =
| Atom of scalar
| Unop of unop * expression
| Binop of expression * binop * expression
and _ cond =
| Expr : expression -> [> simple_ ] cond
expression used as a condition
*)| Relation : binary_relation -> [> simple_ ] cond
simple binary relation
*)| Abbrev : abbrev_combined_relation -> [> simple_ ] cond
abbreviated relation
*)| ClassCond : expression * class_ -> [> simple_ ] cond
class condition
*)| SignCond : expression * signz -> [> simple_ ] cond
e POSITIVE/NEGATIVE/ZERO*)
| Omitted : expression -> [> simple_ ] cond
c OMITTED*)
| Not : _ cond -> [> complex_ ] cond
NOT c*)
| Logop : _ cond * logop * _ cond -> [> complex_ ] cond
c <AND/OR> c'*)
Any form of condition
c
and binary_relation = expression * relop * expression
e <relop> e'
and abbrev_combined_relation =
bool * binary_relation * logop * flat_combined_relation
An abbreviated combined relation describes a non-parenthesized condition:
e <relop> e' <AND/OR> <abbreviated-suffix>
if not neg
holds (the first item in the tuple);
NOT e <relop> e' <AND/OR> <abbreviated-suffix>
otherwise.
and flat_combined_relation =
| FlatAmbiguous of relop option * expression
<relop>? e*)
| FlatNotExpr of expression
NOT e*)
| FlatRel of bool * binary_relation
NOT? e <relop> e'*)
| FlatOther of condition
<non-relational/parenthesized condition>*)
| FlatComb of flat_combined_relation as 'x * logop * 'x
a' <AND/OR> a''*)
Suffix of non-parenthesized relational combined conditions (
a
)
and class_ =
| AlphabetOrClass of name Cobol_common.Srcloc.with_loc
| Alphabetic
| AlphabeticLower
| AlphabeticUpper
| ClassBoolean
| FarthestFromZero
| FloatInfinity
| FloatNotANumber
| FloatNotANumberQuiet
| FloatNotANumberSignaling
| InArithmeticRange
| NearestToZero
| ClassNumeric
and inline_call =
| CallFunc of {
func : name Cobol_common.Srcloc.with_loc;
args : effective_arg list;
}
| CallGenericIntrinsic of {
func : intrinsic_name Cobol_common.Srcloc.with_loc;
args : effective_arg list;
}
| CallTrim of {
arg : effective_arg;
tip : trimming_tip option;
}
| CallLength of {
arg : ident_or_nonnum;
physical : bool;
}
| CallNumvalC of ident_or_nonnum list
| CallLocaleDate of locale_func_args
| CallLocaleTime of locale_func_args
| CallLocaleTimeFromSeconds of locale_func_args
| CallFormattedDatetime of formatted_func_args
| CallFormattedTime of formatted_func_args
and formatted_func_args = {
formatted_func_args : effective_arg list;
formatted_func_system_offset : bool;
}
and qualident = {
ident_name : qualname Cobol_common.Srcloc.with_loc;
ident_subscripts : subscript list;
}
and subscript =
| SubSAll
| SubSExpr of expression
| SubSIdx of name Cobol_common.Srcloc.with_loc * sign * string
and refmod = {
refmod_left : expression Cobol_common.Srcloc.with_loc;
refmod_length : expression Cobol_common.Srcloc.with_loc option;
}
and inline_invocation = {
invoke_class : ident;
invoke_meth : literal;
invoke_args : effective_arg list;
}
and object_view_spec =
| ObjViewAmbiguous of name Cobol_common.Srcloc.with_loc
| ObjViewFactory of name Cobol_common.Srcloc.with_loc
| ObjViewOnly of name Cobol_common.Srcloc.with_loc
| ObjViewFactoryOnly of name Cobol_common.Srcloc.with_loc
| ObjViewUniversal
and counter = {
counter_kind : counter_kind;
counter_name : name Cobol_common.Srcloc.with_loc option;
}
module COMPARE : sig ... end
include module type of struct include COMPARE end
val compare_term : 'a. 'a Cobol_ptree__.Terms.term compare_fun
val compare_expression' :
Cobol_ptree__.Terms.expression Cobol_common.Srcloc.with_loc ->
Cobol_ptree__.Terms.expression Cobol_common.Srcloc.with_loc ->
Ppx_deriving_runtime.int
val compare_abbrev_combined_relation :
(bool
* (Cobol_ptree__.Terms.expression
* Cobol_ptree__.Terms.relop
* Cobol_ptree__.Terms.expression)
* Cobol_ptree__.Terms.logop
* Cobol_ptree__.Terms.flat_combined_relation) ->
(bool
* (Cobol_ptree__.Terms.expression
* Cobol_ptree__.Terms.relop
* Cobol_ptree__.Terms.expression)
* Cobol_ptree__.Terms.logop
* Cobol_ptree__.Terms.flat_combined_relation) ->
Ppx_deriving_runtime.int
val compare_sign : [ `Strict ] Cobol_ptree__.Terms.sign_cond compare_fun
val compare_signz : [ `Loose ] Cobol_ptree__.Terms.sign_cond compare_fun
val compare_ident :
[ Cobol_ptree__.Terms.base_ident_ | Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
compare_fun
val compare_qualname :
[ Cobol_ptree__.Terms.name_
| Cobol_ptree__.Terms.name Cobol_ptree__.Terms.qual_ ]
Cobol_ptree__.Terms.term
compare_fun
val compare_literal :
[ Cobol_ptree__.Terms.nonnum_
| Cobol_ptree__.Terms.bool_
| Cobol_ptree__.Terms.num_ ]
Cobol_ptree__.Terms.term
compare_fun
val compare_ident_or_numlit :
[ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.num_ ]
Cobol_ptree__.Terms.term
compare_fun
val compare_ident_or_alphanum :
[ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.alnum_ ]
Cobol_ptree__.Terms.term
compare_fun
val compare_ident_or_intlit :
[ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.int_ ]
Cobol_ptree__.Terms.term
compare_fun
val compare_ident_or_literal :
[ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term
compare_fun
val compare_ident_or_nonnum :
[ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.nonnum_ ]
Cobol_ptree__.Terms.term
compare_fun
val compare_ident_or_strlit :
[ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.strlit_ ]
Cobol_ptree__.Terms.term
compare_fun
val compare_name_or_alphanum :
[ Cobol_ptree__.Terms.name_ | Cobol_ptree__.Terms.alnum_ ]
Cobol_ptree__.Terms.term
compare_fun
val compare_name_or_string :
[ Cobol_ptree__.Terms.name_ | Cobol_ptree__.Terms.strlit_ ]
Cobol_ptree__.Terms.term
compare_fun
val compare_name_or_literal :
[ Cobol_ptree__.Terms.name_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term
compare_fun
val compare_qualname_or_alphanum :
[ Cobol_ptree__.Terms.qualname_ | Cobol_ptree__.Terms.alnum_ ]
Cobol_ptree__.Terms.term
compare_fun
val compare_qualname_or_intlit :
[ Cobol_ptree__.Terms.qualname_ | Cobol_ptree__.Terms.int_ ]
Cobol_ptree__.Terms.term
compare_fun
val compare_qualname_or_literal :
[ Cobol_ptree__.Terms.qualname_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term
compare_fun
val compare_strlit :
[ Cobol_ptree__.Terms.alnum_ | Cobol_ptree__.Terms.national_ ]
Cobol_ptree__.Terms.term
compare_fun
val compare_strlit_or_intlit :
[ Cobol_ptree__.Terms.strlit_ | Cobol_ptree__.Terms.int_ ]
Cobol_ptree__.Terms.term
compare_fun
val compare_scalar :
[ Cobol_ptree__.Terms.scalar_ident_
| Cobol_ptree__.Terms.refmod_ident_
| Cobol_ptree__.Terms.lit_
| Cobol_ptree__.Terms.arith_value_ ]
Cobol_ptree__.Terms.term
compare_fun
module FMT : sig ... end
include module type of struct include FMT end
val pp_boolean : Cobol_ptree__.Numericals.boolean Pretty.printer
val pp_term : 'k. 'k Cobol_ptree__.Terms.term Pretty.printer
val pp_figurative : 'k. 'k Cobol_ptree__.Terms.figurative Pretty.printer
val pp_qualname :
[ Cobol_ptree__.Terms.name_
| Cobol_ptree__.Terms.name Cobol_ptree__.Terms.qual_ ]
Cobol_ptree__.Terms.term
Pretty.printer
val pp_qualname' :
Stdlib.Format.formatter ->
[ Cobol_ptree__.Terms.name_
| Cobol_ptree__.Terms.name Cobol_ptree__.Terms.qual_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc ->
unit
val pp_scalar :
[ Cobol_ptree__.Terms.scalar_ident_
| Cobol_ptree__.Terms.refmod_ident_
| Cobol_ptree__.Terms.lit_
| Cobol_ptree__.Terms.arith_value_ ]
Cobol_ptree__.Terms.term
Pretty.printer
val pp_expression' :
Cobol_ptree__.Terms.expression Cobol_common.Srcloc.with_loc Fmt.t
val pp_cond : 'k. ?pos:bool -> 'k Cobol_ptree__.Terms.cond Pretty.printer
val pp_sign : 'k. 'k Cobol_ptree__.Terms.sign_cond Pretty.printer
val pp_literal :
[ Cobol_ptree__.Terms.nonnum_
| Cobol_ptree__.Terms.bool_
| Cobol_ptree__.Terms.num_ ]
Cobol_ptree__.Terms.term
Pretty.printer
val pp_literal' :
Stdlib.Format.formatter ->
[ Cobol_ptree__.Terms.nonnum_
| Cobol_ptree__.Terms.bool_
| Cobol_ptree__.Terms.num_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc ->
unit
val pp_ident :
[ Cobol_ptree__.Terms.base_ident_ | Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
Pretty.printer
Pretty-printing for named unions of term types (some are yet to be renamed)
val pp_ident_or_alphanum :
[ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.alnum_ ]
Cobol_ptree__.Terms.term
Pretty.printer
val pp_ident_or_intlit :
[ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.int_ ]
Cobol_ptree__.Terms.term
Pretty.printer
val pp_ident_or_literal :
[ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term
Pretty.printer
val pp_ident_or_nonnum :
[ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.nonnum_ ]
Cobol_ptree__.Terms.term
Pretty.printer
val pp_ident_or_numlit :
[ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.num_ ]
Cobol_ptree__.Terms.term
Pretty.printer
val pp_ident_or_strlit :
[ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.strlit_ ]
Cobol_ptree__.Terms.term
Pretty.printer
val pp_strlit :
[ Cobol_ptree__.Terms.alnum_ | Cobol_ptree__.Terms.national_ ]
Cobol_ptree__.Terms.term
Pretty.printer
val pp_name_or_string :
[ Cobol_ptree__.Terms.name_ | Cobol_ptree__.Terms.strlit_ ]
Cobol_ptree__.Terms.term
Pretty.printer
val pp_name_or_literal :
[ Cobol_ptree__.Terms.name_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term
Pretty.printer
val pp_name_or_alphanum :
[ Cobol_ptree__.Terms.name_ | Cobol_ptree__.Terms.alnum_ ]
Cobol_ptree__.Terms.term
Pretty.printer
val pp_strlit_or_intlit :
[ Cobol_ptree__.Terms.strlit_ | Cobol_ptree__.Terms.int_ ]
Cobol_ptree__.Terms.term
Pretty.printer
val pp_qualname_or_literal :
[ Cobol_ptree__.Terms.qualname_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term
Pretty.printer
val pp_qualname_or_intlit :
[ Cobol_ptree__.Terms.qualname_ | Cobol_ptree__.Terms.int_ ]
Cobol_ptree__.Terms.term
Pretty.printer
val pp_qualname_or_alphanum :
[ Cobol_ptree__.Terms.qualname_ | Cobol_ptree__.Terms.alnum_ ]
Cobol_ptree__.Terms.term
Pretty.printer
module UPCAST : sig ... end
Exlicit term upcasting utilities, that should all reduce to identity.
val compare_rounding_mode :
rounding_mode ->
rounding_mode ->
Ppx_deriving_runtime.int
val pp_rounding_mode : Stdlib.Format.formatter -> rounding_mode -> unit
val pp_rounding : Stdlib.Format.formatter -> rounding -> unit
type procedure_name = qualname
val compare_procedure_name :
procedure_name ->
procedure_name ->
Ppx_deriving_runtime.int
val pp_procedure_name : qualname Pretty.printer
val pp_procedure_name' : qualname Cobol_common.Srcloc.with_loc Pretty.printer
type informational_paragraphs =
informational_paragraph Cobol_common.Srcloc.with_loc list
and informational_paragraph =
informational_paragraph_header * comment_entry Cobol_common.Srcloc.with_loc
val compare_informational_paragraphs :
informational_paragraphs ->
informational_paragraphs ->
Ppx_deriving_runtime.int
val compare_informational_paragraph :
informational_paragraph ->
informational_paragraph ->
Ppx_deriving_runtime.int
val compare_informational_paragraph_header :
informational_paragraph_header ->
informational_paragraph_header ->
Ppx_deriving_runtime.int
val compare_comment_entry :
comment_entry ->
comment_entry ->
Ppx_deriving_runtime.int
type options_paragraph = options_clause Cobol_common.Srcloc.with_loc list
val compare_options_paragraph :
options_paragraph ->
options_paragraph ->
Ppx_deriving_runtime.int
val compare_options_clause :
options_clause ->
options_clause ->
Ppx_deriving_runtime.int
val compare_arithmetic_mode :
arithmetic_mode ->
arithmetic_mode ->
Ppx_deriving_runtime.int
val compare_entry_convention :
entry_convention ->
entry_convention ->
Ppx_deriving_runtime.int
val pp_entry_convention : Stdlib.Format.formatter -> entry_convention -> unit
val pp_arithmetic_mode : Stdlib.Format.formatter -> arithmetic_mode -> unit
val pp_options_clause : Stdlib.Format.formatter -> options_clause -> unit
val pp_options_paragraph : options_paragraph Fmt.t
val pp_informational_paragraph_header :
Stdlib.Format.formatter ->
informational_paragraph_header ->
unit
val pp_comment_entry : comment_entry Pretty.printer
val pp_informational_paragraph : informational_paragraph Pretty.printer
val pp_informational_paragraphs : informational_paragraphs Pretty.printer
type environment_division = {
env_configuration : configuration_section Cobol_common.Srcloc.with_loc option;
env_input_output : input_output_section Cobol_common.Srcloc.with_loc option;
env_order : Cobol_ptree__.Common.permutation_duo;
}
and configuration_section = {
source_computer_paragraph : source_computer_paragraph
Cobol_common.Srcloc.with_loc
option;
object_computer_paragraph : object_computer_paragraph
Cobol_common.Srcloc.with_loc
option;
special_names_paragraph : special_names_paragraph Cobol_common.Srcloc.with_loc
option;
repository_paragraph : repository_paragraph Cobol_common.Srcloc.with_loc option;
conf_sec_order : Cobol_ptree__.Common.quartet_head
* (Cobol_ptree__.Common.trio_head
* Cobol_ptree__.Common.permutation_duo);
}
and source_computer_paragraph = source_computer option
and source_computer = {
source_computer_name : string Cobol_common.Srcloc.with_loc;
source_computer_with_debugging_mode : bool;
}
and object_computer_paragraph = object_computer option
and object_computer = {
object_computer_name : string Cobol_common.Srcloc.with_loc;
object_computer_clauses : object_computer_clause Cobol_common.Srcloc.with_loc
list;
}
and object_computer_clause =
| ComputerMemorySize of string * memory_size_unit
| ComputerCharClassification of {
}
| ComputerSegmentLimit of string
and locale =
| CharClassificationName of string Cobol_common.Srcloc.with_loc
| CharClassificationLocale
| CharClassificationSystemDefault
| CharClassificationUserDefault
and special_names_paragraph =
special_names_clause Cobol_common.Srcloc.with_loc list
and special_names_clause =
| AlphabetName of {
alphabet_name : string Cobol_common.Srcloc.with_loc;
category : character_category;
characters : character_set;
}
| ClassName of {
class_name : string Cobol_common.Srcloc.with_loc;
category : character_category;
characters : character_range list;
source_charset : string Cobol_common.Srcloc.with_loc option;
}
| CRTStatus of string Cobol_common.Srcloc.with_loc
| Cursor of string Cobol_common.Srcloc.with_loc
| DecimalPointIsComma
| DynLenStruct of {
name : string Cobol_common.Srcloc.with_loc;
kind : dyn_len_struct_kind;
}
| MnemonicName of {
implementor_name : string Cobol_common.Srcloc.with_loc;
mnemonic_name : string Cobol_common.Srcloc.with_loc option;
status : status_switch option;
}
| SymbolicChars of {
category : character_category;
character_maps : symbolic_characters_map list;
source_charset : string Cobol_common.Srcloc.with_loc option;
}
and symbolic_characters_map =
string Cobol_common.Srcloc.with_loc list * string list
and character_set =
| CharSetLocale of string Cobol_common.Srcloc.with_loc option
| CharSetNative
| CharSetStandard_1
| CharSetStandard_2
| CharSetUCS_4
| CharSetUTF_8
| CharSetUTF_16
| CharSetCharacters of characters_range list
and dyn_len_struct_kind =
| DynLenPrefixed of {
}
| DynLenDelimited
| DynLenPhysical of string Cobol_common.Srcloc.with_loc
and status_switch =
| StatusSwitchOn of string Cobol_common.Srcloc.with_loc
| StatusSwitchOff of string Cobol_common.Srcloc.with_loc
| StatusSwitch of {
on_ : string Cobol_common.Srcloc.with_loc;
off : string Cobol_common.Srcloc.with_loc;
}
and repository_paragraph = specifier list
and specifier =
| IntrinsicFunctionSpecifier of string Cobol_common.Srcloc.with_loc list
| IntrinsicFunctionAllSpecifier
and expands = {
expands_name : string Cobol_common.Srcloc.with_loc;
expands_using : string Cobol_common.Srcloc.with_loc list;
}
and input_output_section = {
file_control_paragraph : file_control_paragraph Cobol_common.Srcloc.with_loc
option;
io_control_paragraph : io_control_paragraph Cobol_common.Srcloc.with_loc option;
}
and file_control_paragraph = select list
and select = {
select_optional : bool;
select_name : string Cobol_common.Srcloc.with_loc;
select_clauses : select_clause Cobol_common.Srcloc.with_loc list;
}
and select_clause =
| SelectAccessMode of access_mode
| SelectCollatingSequenceOfKey of {
keys : string Cobol_common.Srcloc.with_loc list;
alphabet : string Cobol_common.Srcloc.with_loc;
}
| SelectLockMode of {
}
| SelectOrganization of organization
| SelectRecordDelimiter of record_delimiter
| SelectRelativeKey of string Cobol_common.Srcloc.with_loc
| SelectReserve of string
and io_control_paragraph = io_control_entry option
and io_control_entry = {
io_control_rerun_clauses : rerun_clause Cobol_common.Srcloc.with_loc list;
io_control_same_area_clauses : same_area_clause Cobol_common.Srcloc.with_loc
list;
io_control_multiple_file_clauses : multiple_file_clause
Cobol_common.Srcloc.with_loc
list;
}
and rerun_clause = {
rerun_on : string Cobol_common.Srcloc.with_loc option;
rerun_every : rerun_frequency;
}
and rerun_frequency =
| RerunEndOf of string Cobol_common.Srcloc.with_loc
| RerunRecords of string * string Cobol_common.Srcloc.with_loc
| RerunClockUnits of string
| RerunCond of string Cobol_common.Srcloc.with_loc
and same_area_clause = {
same_area_source : area_source;
same_area_file_name : string Cobol_common.Srcloc.with_loc;
same_area_file_names : string Cobol_common.Srcloc.with_loc list;
}
and multiple_file_clause = file_portion list
and file_portion = {
file_portion_name : string Cobol_common.Srcloc.with_loc;
file_portion_position : string option;
}
val compare_environment_division :
environment_division ->
environment_division ->
Ppx_deriving_runtime.int
val compare_configuration_section :
configuration_section ->
configuration_section ->
Ppx_deriving_runtime.int
val compare_source_computer_paragraph :
source_computer_paragraph ->
source_computer_paragraph ->
Ppx_deriving_runtime.int
val compare_source_computer :
source_computer ->
source_computer ->
Ppx_deriving_runtime.int
val compare_object_computer_paragraph :
object_computer_paragraph ->
object_computer_paragraph ->
Ppx_deriving_runtime.int
val compare_object_computer :
object_computer ->
object_computer ->
Ppx_deriving_runtime.int
val compare_object_computer_clause :
object_computer_clause ->
object_computer_clause ->
Ppx_deriving_runtime.int
val compare_memory_size_unit :
memory_size_unit ->
memory_size_unit ->
Ppx_deriving_runtime.int
val compare_special_names_paragraph :
special_names_paragraph ->
special_names_paragraph ->
Ppx_deriving_runtime.int
val compare_special_names_clause :
special_names_clause ->
special_names_clause ->
Ppx_deriving_runtime.int
val compare_symbolic_characters_map :
symbolic_characters_map ->
symbolic_characters_map ->
Ppx_deriving_runtime.int
val compare_character_category :
character_category ->
character_category ->
Ppx_deriving_runtime.int
val compare_character_range :
character_range ->
character_range ->
Ppx_deriving_runtime.int
val compare_characters_range :
characters_range ->
characters_range ->
Ppx_deriving_runtime.int
val compare_range_items :
range_items ->
range_items ->
Ppx_deriving_runtime.int
val compare_character_set :
character_set ->
character_set ->
Ppx_deriving_runtime.int
val compare_dyn_len_struct_kind :
dyn_len_struct_kind ->
dyn_len_struct_kind ->
Ppx_deriving_runtime.int
val compare_status_switch :
status_switch ->
status_switch ->
Ppx_deriving_runtime.int
val compare_repository_paragraph :
repository_paragraph ->
repository_paragraph ->
Ppx_deriving_runtime.int
val compare_input_output_section :
input_output_section ->
input_output_section ->
Ppx_deriving_runtime.int
val compare_file_control_paragraph :
file_control_paragraph ->
file_control_paragraph ->
Ppx_deriving_runtime.int
val compare_select_clause :
select_clause ->
select_clause ->
Ppx_deriving_runtime.int
val compare_access_mode :
access_mode ->
access_mode ->
Ppx_deriving_runtime.int
val compare_organization :
organization ->
organization ->
Ppx_deriving_runtime.int
val compare_record_delimiter :
record_delimiter ->
record_delimiter ->
Ppx_deriving_runtime.int
val compare_io_control_paragraph :
io_control_paragraph ->
io_control_paragraph ->
Ppx_deriving_runtime.int
val compare_io_control_entry :
io_control_entry ->
io_control_entry ->
Ppx_deriving_runtime.int
val compare_rerun_clause :
rerun_clause ->
rerun_clause ->
Ppx_deriving_runtime.int
val compare_rerun_frequency :
rerun_frequency ->
rerun_frequency ->
Ppx_deriving_runtime.int
val compare_same_area_clause :
same_area_clause ->
same_area_clause ->
Ppx_deriving_runtime.int
val compare_area_source :
area_source ->
area_source ->
Ppx_deriving_runtime.int
val compare_multiple_file_clause :
multiple_file_clause ->
multiple_file_clause ->
Ppx_deriving_runtime.int
val compare_file_portion :
file_portion ->
file_portion ->
Ppx_deriving_runtime.int
val pp_file_portion : Stdlib.Format.formatter -> file_portion -> unit
val pp_multiple_file_clause : multiple_file_clause Fmt.t
val pp_area_source_opt : Stdlib.Format.formatter -> area_source -> unit
val pp_same_area_clause : Stdlib.Format.formatter -> same_area_clause -> unit
val pp_rerun_frequency : Stdlib.Format.formatter -> rerun_frequency -> unit
val pp_rerun_clause : Stdlib.Format.formatter -> rerun_clause -> unit
val pp_io_control_entry : Stdlib.Format.formatter -> io_control_entry -> unit
val pp_io_control_paragraph :
Stdlib.Format.formatter ->
io_control_entry option ->
unit
val pp_expands : Stdlib.Format.formatter -> expands -> unit
val pp_status_switch : Stdlib.Format.formatter -> status_switch -> unit
val pp_dyn_len_struct_kind :
Stdlib.Format.formatter ->
dyn_len_struct_kind ->
unit
val pp_range_items : Stdlib.Format.formatter -> range_items -> unit
val pp_locale : Stdlib.Format.formatter -> locale -> unit
val pp_memory_size_unit : Stdlib.Format.formatter -> memory_size_unit -> unit
val pp_object_computer_clause :
Stdlib.Format.formatter ->
object_computer_clause ->
unit
val pp_object_computer : Stdlib.Format.formatter -> object_computer -> unit
val pp_object_computer_paragraph : object_computer_paragraph Fmt.t
val pp_source_computer : Stdlib.Format.formatter -> source_computer -> unit
val pp_source_computer_paragraph : source_computer_paragraph Fmt.t
val pp_specifier_aux :
string ->
Stdlib.Format.formatter ->
string Cobol_common.Srcloc.with_loc ->
[ Cobol_ptree__.Terms.alnum_ | Cobol_ptree__.Terms.national_ ]
Cobol_ptree__.Terms.term
option ->
expands option ->
unit
val pp_specifier : Stdlib.Format.formatter -> specifier -> unit
val pp_repository_paragraph : Stdlib.Format.formatter -> specifier list -> unit
val pp_character_category :
Stdlib.Format.formatter ->
character_category ->
unit
val pp_character_category_opt :
Stdlib.Format.formatter ->
character_category ->
unit
val pp_character_range : Stdlib.Format.formatter -> character_range -> unit
val pp_characters_range : Stdlib.Format.formatter -> characters_range -> unit
val pp_character_set : Stdlib.Format.formatter -> character_set -> unit
val pp_symbolic_characters_map :
Stdlib.Format.formatter ->
(string Cobol_common.Srcloc.with_loc list * string list) ->
unit
val pp_special_names_clause :
Stdlib.Format.formatter ->
special_names_clause ->
unit
val pp_special_names_paragraph :
Stdlib.Format.formatter ->
special_names_clause Cobol_common.Srcloc.with_loc list ->
unit
val pp_configuration_section :
Stdlib.Format.formatter ->
configuration_section ->
unit
val pp_record_delimiter : Stdlib.Format.formatter -> record_delimiter -> unit
val pp_organization : Stdlib.Format.formatter -> organization -> unit
val pp_with_lock : Stdlib.Format.formatter -> with_lock -> unit
val pp_lock_mode : Stdlib.Format.formatter -> lock_mode -> unit
val pp_access_mode : Stdlib.Format.formatter -> access_mode -> unit
val pp_select_clause : Stdlib.Format.formatter -> select_clause -> unit
val pp_select : Stdlib.Format.formatter -> select -> unit
val pp_file_control_paragraph : Stdlib.Format.formatter -> select list -> unit
val pp_input_output_section :
Stdlib.Format.formatter ->
input_output_section ->
unit
val pp_environment_division :
Stdlib.Format.formatter ->
environment_division ->
unit
val compare_format_clause :
format_clause ->
format_clause ->
Ppx_deriving_runtime.int
val pp_format_clause : Stdlib.Format.formatter -> format_clause -> unit
val compare_file_block_contents :
file_block_contents ->
file_block_contents ->
Ppx_deriving_runtime.int
val pp_file_block_contents :
Stdlib.Format.formatter ->
file_block_contents ->
unit
val compare_record_clause :
record_clause ->
record_clause ->
Ppx_deriving_runtime.int
val pp_depending_phrase :
Stdlib.Format.formatter ->
[ Cobol_ptree__.Terms.name_
| Cobol_ptree__.Terms.name Cobol_ptree__.Terms.qual_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc ->
unit
val pp_record_clause : Stdlib.Format.formatter -> record_clause -> unit
val compare_recording_mode :
recording_mode ->
recording_mode ->
Ppx_deriving_runtime.int
val pp_recording_mode : Stdlib.Format.formatter -> recording_mode -> unit
val compare_label_clause :
label_clause ->
label_clause ->
Ppx_deriving_runtime.int
val pp_label_clause : Stdlib.Format.formatter -> label_clause -> unit
type file_data_clause = string Cobol_common.Srcloc.with_loc list
val compare_file_data_clause :
file_data_clause ->
file_data_clause ->
Ppx_deriving_runtime.int
val pp_file_data_clause :
Stdlib.Format.formatter ->
string Cobol_common.Srcloc.with_loc list ->
unit
type file_linage_clause = {
file_linage_lines : [ Cobol_ptree__.Terms.qualname_
| Cobol_ptree__.Terms.int_ ]
Cobol_ptree__.Terms.term;
file_linage_with_footing_at : [ Cobol_ptree__.Terms.qualname_
| Cobol_ptree__.Terms.int_ ]
Cobol_ptree__.Terms.term
option;
file_linage_lines_at_top : [ Cobol_ptree__.Terms.qualname_
| Cobol_ptree__.Terms.int_ ]
Cobol_ptree__.Terms.term
option;
file_linage_lines_at_bottom : [ Cobol_ptree__.Terms.qualname_
| Cobol_ptree__.Terms.int_ ]
Cobol_ptree__.Terms.term
option;
}
val compare_file_linage_clause :
file_linage_clause ->
file_linage_clause ->
Ppx_deriving_runtime.int
val pp_file_linage_clause :
Stdlib.Format.formatter ->
file_linage_clause ->
unit
val compare_data_level : data_level -> data_level -> Ppx_deriving_runtime.int
type condition_name_value = {
condition_name_value : [ Cobol_ptree__.Terms.nonnum_
| Cobol_ptree__.Terms.bool_
| Cobol_ptree__.Terms.num_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc;
condition_name_through : [ Cobol_ptree__.Terms.nonnum_
| Cobol_ptree__.Terms.bool_
| Cobol_ptree__.Terms.num_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc
option;
}
val compare_condition_name_value :
condition_name_value ->
condition_name_value ->
Ppx_deriving_runtime.int
val pp_condition_name_value :
Stdlib.Format.formatter ->
condition_name_value ->
unit
val pp_data_name : Stdlib.Format.formatter -> data_name -> unit
type locale_phrase = {
locale_name : string Cobol_common.Srcloc.with_loc option;
locale_size : string;
}
val compare_locale_phrase :
locale_phrase ->
locale_phrase ->
Ppx_deriving_runtime.int
val pp_locale_phrase : Stdlib.Format.formatter -> locale_phrase -> unit
val compare_sign_clause :
sign_clause ->
sign_clause ->
Ppx_deriving_runtime.int
val compare_sign_position :
sign_position ->
sign_position ->
Ppx_deriving_runtime.int
val pp_sign_position : Stdlib.Format.formatter -> sign_position -> unit
val pp_sign_clause : Stdlib.Format.formatter -> sign_clause -> unit
val compare_report_screen_usage_clause :
report_screen_usage_clause ->
report_screen_usage_clause ->
Ppx_deriving_runtime.int
val pp_report_screen_usage_clause :
Stdlib.Format.formatter ->
report_screen_usage_clause ->
unit
val compare_external_clause :
external_clause ->
external_clause ->
Ppx_deriving_runtime.int
val pp_external_clause : external_clause Fmt.t
val compare_group_usage_clause :
group_usage_clause ->
group_usage_clause ->
Ppx_deriving_runtime.int
val pp_group_usage_clause :
Stdlib.Format.formatter ->
group_usage_clause ->
unit
type data_occurs_clause =
| OccursFixed of {
times : string Cobol_common.Srcloc.with_loc;
key_is : sort_spec list;
indexed_by : string Cobol_common.Srcloc.with_loc list;
}
| OccursDynamic of {
capacity_in : string Cobol_common.Srcloc.with_loc option;
from : string Cobol_common.Srcloc.with_loc option;
to_ : string Cobol_common.Srcloc.with_loc option;
initialized : bool Cobol_common.Srcloc.with_loc;
key_is : sort_spec list;
indexed_by : string Cobol_common.Srcloc.with_loc list;
}
and sort_spec = {
sort_key_direction : sort_direction;
sort_key_names : [ Cobol_ptree__.Terms.name_
| Cobol_ptree__.Terms.name Cobol_ptree__.Terms.qual_ ]
Cobol_ptree__.Terms.term
list;
}
val compare_data_occurs_clause :
data_occurs_clause ->
data_occurs_clause ->
Ppx_deriving_runtime.int
val compare_sort_direction :
sort_direction ->
sort_direction ->
Ppx_deriving_runtime.int
val pp_sort_direction : Stdlib.Format.formatter -> sort_direction -> unit
val pp_sort_spec : Stdlib.Format.formatter -> sort_spec -> unit
val pp_indexed_by : string Cobol_common.Srcloc.with_loc list Fmt.t
val pp_indexed_by_opt :
Stdlib.Format.formatter ->
string Cobol_common.Srcloc.with_loc list ->
unit
val pp_integer' : string Cobol_common.Srcloc.with_loc Pretty.printer
val pp_data_occurs_clause :
Stdlib.Format.formatter ->
data_occurs_clause ->
unit
type data_varying = {
data_varying : string Cobol_common.Srcloc.with_loc;
data_varying_from : Cobol_ptree__.Terms.expression option;
data_varying_by : Cobol_ptree__.Terms.expression option;
}
val compare_data_varying :
data_varying ->
data_varying ->
Ppx_deriving_runtime.int
val pp_data_varying : Stdlib.Format.formatter -> data_varying -> unit
val pp_varying_clause : Stdlib.Format.formatter -> data_varying list -> unit
val compare_select_when_clause :
select_when_clause ->
select_when_clause ->
Ppx_deriving_runtime.int
val pp_select_when_clause :
Stdlib.Format.formatter ->
select_when_clause ->
unit
val compare_synchronized_clause :
synchronized_clause ->
synchronized_clause ->
Ppx_deriving_runtime.int
val pp_synchronized_clause :
Stdlib.Format.formatter ->
synchronized_clause ->
unit
val compare_property_clause :
property_clause ->
property_clause ->
Ppx_deriving_runtime.int
val compare_property_kind :
property_kind ->
property_kind ->
Ppx_deriving_runtime.int
val pp_property_kind : Stdlib.Format.formatter -> property_kind -> unit
val pp_property_clause : Stdlib.Format.formatter -> property_clause -> unit
type usage_clause =
| Binary
| BinaryChar of signedness option
| BinaryShort of signedness option
| BinaryLong of signedness option
| BinaryDouble of signedness option
| Bit
| Display
| FloatBinary32 of endianness_mode option
| FloatBinary64 of endianness_mode option
| FloatBinary128 of endianness_mode option
| FloatDecimal16 of encoding_endianness
| FloatDecimal34 of encoding_endianness
| FloatExtended
| FloatLong
| FloatShort
| Index
| National
| ObjectReference of object_reference_kind option
| PackedDecimal
| Pointer of string Cobol_common.Srcloc.with_loc option
| ProcedurePointer
| FunctionPointer of string Cobol_common.Srcloc.with_loc
| ProgramPointer of string Cobol_common.Srcloc.with_loc option
| UsagePending of [ `Comp0
| `Comp1
| `Comp2
| `Comp3
| `Comp5
| `Comp6
| `CompX
| `CompN
| `Comp9
| `Comp10
| `Comp15
| `BinaryCLong of signedness option ]
| Type of string Cobol_common.Srcloc.with_loc
and encoding_endianness = {
encoding_mode : encoding_mode option;
endianness_mode : endianness_mode option;
}
and object_reference_kind =
| ActiveClass of {
}
| NamedClass of {
class_or_interface_name : string Cobol_common.Srcloc.with_loc;
factory_of : bool;
only : bool;
}
val compare_usage_clause :
usage_clause ->
usage_clause ->
Ppx_deriving_runtime.int
val compare_signedness : signedness -> signedness -> Ppx_deriving_runtime.int
val compare_endianness_mode :
endianness_mode ->
endianness_mode ->
Ppx_deriving_runtime.int
val compare_encoding_mode :
encoding_mode ->
encoding_mode ->
Ppx_deriving_runtime.int
val compare_encoding_endianness :
encoding_endianness ->
encoding_endianness ->
Ppx_deriving_runtime.int
val compare_object_reference_kind :
object_reference_kind ->
object_reference_kind ->
Ppx_deriving_runtime.int
val pp_signedness : Stdlib.Format.formatter -> signedness -> unit
val pp_endianness_mode : Stdlib.Format.formatter -> endianness_mode -> unit
val pp_encoding_mode : Stdlib.Format.formatter -> encoding_mode -> unit
val pp_encoding_endianness :
Stdlib.Format.formatter ->
encoding_endianness ->
unit
val pp_object_reference_kind :
Stdlib.Format.formatter ->
object_reference_kind ->
unit
val pp_usage_clause : Stdlib.Format.formatter -> usage_clause -> unit
and class_clause =
| Alphabetic
| AlphabeticLower
| AlphabeticUpper
| Boolean
| Numeric
| ClassOrAlphabet of string Cobol_common.Srcloc.with_loc
val compare_validation_clause :
validation_clause ->
validation_clause ->
Ppx_deriving_runtime.int
val compare_class_clause :
class_clause ->
class_clause ->
Ppx_deriving_runtime.int
val compare_validate_when :
validate_when ->
validate_when ->
Ppx_deriving_runtime.int
val compare_validation_stage :
validation_stage ->
validation_stage ->
Ppx_deriving_runtime.int
val pp_class_clause : Stdlib.Format.formatter -> class_clause -> unit
val pp_validate_when : Stdlib.Format.formatter -> validate_when -> unit
val pp_validation_stage : Stdlib.Format.formatter -> validation_stage -> unit
val pp_validation_clause : Stdlib.Format.formatter -> validation_clause -> unit
and table_data_value = {
table_data_values : [ Cobol_ptree__.Terms.nonnum_
| Cobol_ptree__.Terms.bool_
| Cobol_ptree__.Terms.num_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc
list;
table_data_from : Cobol_ptree__.Terms.subscript list;
table_data_to : Cobol_ptree__.Terms.subscript list;
}
val compare_data_value_clause :
data_value_clause ->
data_value_clause ->
Ppx_deriving_runtime.int
val compare_table_data_value :
table_data_value ->
table_data_value ->
Ppx_deriving_runtime.int
val pp_table_data_value : Stdlib.Format.formatter -> table_data_value -> unit
val pp_data_value_clause : Stdlib.Format.formatter -> data_value_clause -> unit
val compare_report_data_name_or_final :
report_data_name_or_final ->
report_data_name_or_final ->
Ppx_deriving_runtime.int
val pp_report_data_name_or_final :
Stdlib.Format.formatter ->
report_data_name_or_final ->
unit
type report_type_clause =
| Detail
| ReportHeading
| ReportFooting
| PageHeading
| PageFooting
| ControlHeading of (report_data_name_or_final * bool) option
| ControlFooting of report_data_name_or_final option
val compare_report_type_clause :
report_type_clause ->
report_type_clause ->
Ppx_deriving_runtime.int
val pp_report_type_clause :
Stdlib.Format.formatter ->
report_type_clause ->
unit
val compare_next_group_clause :
next_group_clause ->
next_group_clause ->
Ppx_deriving_runtime.int
val pp_next_group_clause : Stdlib.Format.formatter -> next_group_clause -> unit
val compare_column_position :
column_position ->
column_position ->
Ppx_deriving_runtime.int
val pp_column_position : Stdlib.Format.formatter -> column_position -> unit
val pp_alignment : Stdlib.Format.formatter -> alignment -> unit
val compare_line_position :
line_position ->
line_position ->
Ppx_deriving_runtime.int
val pp_line_position : Stdlib.Format.formatter -> line_position -> unit
type sum_phrase = {
sum_operands : Cobol_ptree__.Terms.expression list;
sum_upon_items : string Cobol_common.Srcloc.with_loc list;
}
val compare_sum_phrase : sum_phrase -> sum_phrase -> Ppx_deriving_runtime.int
val pp_sum_phrase : Stdlib.Format.formatter -> sum_phrase -> unit
val pp_polarity : Stdlib.Format.formatter -> polarity -> unit
val compare_blank_clause :
blank_clause ->
blank_clause ->
Ppx_deriving_runtime.int
val pp_blank_clause : Stdlib.Format.formatter -> blank_clause -> unit
val compare_erase_clause :
erase_clause ->
erase_clause ->
Ppx_deriving_runtime.int
val pp_erase_clause : Stdlib.Format.formatter -> erase_clause -> unit
val compare_screen_attribute_clause :
screen_attribute_clause ->
screen_attribute_clause ->
Ppx_deriving_runtime.int
val pp_screen_attribute_clause :
Stdlib.Format.formatter ->
screen_attribute_clause ->
unit
val compare_screen_line_column_clause :
screen_line_column_clause ->
screen_line_column_clause ->
Ppx_deriving_runtime.int
val pp_screen_line_column_clause :
Stdlib.Format.formatter ->
screen_line_column_clause ->
unit
val compare_source_destination_clause :
source_destination_clause ->
source_destination_clause ->
Ppx_deriving_runtime.int
val pp_source_destination_clause :
Stdlib.Format.formatter ->
source_destination_clause ->
unit
type valueof_clause = {
valueof_valued : string Cobol_common.Srcloc.with_loc;
valueof_value : [ Cobol_ptree__.Terms.qualname_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term;
}
val compare_valueof_clause :
valueof_clause ->
valueof_clause ->
Ppx_deriving_runtime.int
val pp_valueof_clause : Stdlib.Format.formatter -> valueof_clause -> unit
type report_clause =
| Global
| Control of {
final : bool;
controls : string Cobol_common.Srcloc.with_loc list;
}
| PageLimit of {
lines : string option;
columns : string option;
heading : string option;
first_detail : string option;
last_control_heading : string option;
last_detail : string option;
footing : string option;
}
val compare_report_clause :
report_clause ->
report_clause ->
Ppx_deriving_runtime.int
val pp_report_clause : Stdlib.Format.formatter -> report_clause -> unit
type constant_value =
| ConstByteLength of string Cobol_common.Srcloc.with_loc
| ConstLength of string Cobol_common.Srcloc.with_loc
| ConstFrom of string Cobol_common.Srcloc.with_loc
val compare_constant_value :
constant_value ->
constant_value ->
Ppx_deriving_runtime.int
val pp_constant_value : Stdlib.Format.formatter -> constant_value -> unit
type comm_clause =
| CommSymbolic of comm_channel * string Cobol_common.Srcloc.with_loc
| CommDestinationCount of string Cobol_common.Srcloc.with_loc
| CommDestinationTable of string * string Cobol_common.Srcloc.with_loc list
| CommMessageCount of string Cobol_common.Srcloc.with_loc
| CommMessageDate of string Cobol_common.Srcloc.with_loc
| CommMessageTime of string Cobol_common.Srcloc.with_loc
| CommTextLength of string Cobol_common.Srcloc.with_loc
| CommStatusKey of string Cobol_common.Srcloc.with_loc
| CommEndKey of string Cobol_common.Srcloc.with_loc
| CommErrorKey of string Cobol_common.Srcloc.with_loc
val compare_comm_clause :
comm_clause ->
comm_clause ->
Ppx_deriving_runtime.int
val compare_comm_channel :
comm_channel ->
comm_channel ->
Ppx_deriving_runtime.int
val pp_comm_channel : Stdlib.Format.formatter -> comm_channel -> unit
val pp_comm_clause : Stdlib.Format.formatter -> comm_clause -> unit
type comm_direction =
| CommInput of {
initial : bool;
items : data_name Cobol_common.Srcloc.with_loc list;
}
| CommOutput
| CommIO of {
initial : bool;
items : string Cobol_common.Srcloc.with_loc list;
}
val compare_comm_direction :
comm_direction ->
comm_direction ->
Ppx_deriving_runtime.int
val pp_comm_direction : Stdlib.Format.formatter -> comm_direction -> unit
type picture_string = string Cobol_common.Srcloc.with_loc
val pp_picture_string :
Stdlib.Format.formatter ->
string Cobol_common.Srcloc.with_loc ->
unit
val show_picture_string : string Cobol_common.Srcloc.with_loc -> string
val compare_picture_string :
Stdlib.String.t Cobol_common.Srcloc.with_loc ->
Stdlib.String.t Cobol_common.Srcloc.with_loc ->
Ppx_deriving_runtime.int
type picture_clause = {
picture_string : picture_string;
picture_locale : Cobol_ptree__.Data_descr.locale_phrase option;
picture_depending : [ Cobol_ptree__.Terms.name_
| Cobol_ptree__.Terms.name Cobol_ptree__.Terms.qual_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc
option;
}
val compare_picture_clause :
picture_clause ->
picture_clause ->
Ppx_deriving_runtime.int
val pp_picture_clause : Stdlib.Format.formatter -> picture_clause -> unit
type data_clause =
| DataAligned
| DataAnyLength
| DataBased
| DataBlankWhenZero
| DataConstantRecord
| DataType of string Cobol_common.Srcloc.with_loc
| DataDynamicLength of {
structure_name : string Cobol_common.Srcloc.with_loc option;
limit : string option;
}
| DataGlobal
| DataJustified
| DataPicture of picture_clause Cobol_common.Srcloc.with_loc
| DataRedefines of string Cobol_common.Srcloc.with_loc
| DataSameAs of string Cobol_common.Srcloc.with_loc
| DataTypedef of {
}
val compare_data_clause :
data_clause ->
data_clause ->
Ppx_deriving_runtime.int
val pp_data_clause : Stdlib.Format.formatter -> data_clause -> unit
type report_group_clause =
| ReportPicture of picture_clause Cobol_common.Srcloc.with_loc
| ReportJustified
| ReportBlankWhenZero
| ReportGroupIndicate
val compare_report_group_clause :
report_group_clause ->
report_group_clause ->
Ppx_deriving_runtime.int
val pp_report_group_clause :
Stdlib.Format.formatter ->
report_group_clause ->
unit
type screen_clause =
| ScreenAuto
| ScreenBlankWhenZero
| ScreenFull
| ScreenGlobal
| ScreenJustified
| ScreenPicture of picture_clause Cobol_common.Srcloc.with_loc
| ScreenRequired
| ScreenOccurs of string
| ScreenSecure
| ScreenGrid
| ScreenLeftLine
| ScreenOverLine
| ScreenZeroFill
val compare_screen_clause :
screen_clause ->
screen_clause ->
Ppx_deriving_runtime.int
val pp_screen_clause : Stdlib.Format.formatter -> screen_clause -> unit
val pp_item :
'a Fmt.t ->
Stdlib.Format.formatter ->
int ->
Cobol_ptree__.Data_descr.data_name Cobol_common.Srcloc.with_loc option ->
'a list ->
unit
type data_item = {
data_level : int Cobol_common.Srcloc.with_loc;
data_name : Cobol_ptree__.Data_descr.data_name Cobol_common.Srcloc.with_loc
option;
data_clauses : data_clause Cobol_common.Srcloc.with_loc list;
}
val pp_data_item : Stdlib.Format.formatter -> data_item -> unit
type constant_item = {
constant_level : int Cobol_common.Srcloc.with_loc;
constant_name : string Cobol_common.Srcloc.with_loc;
constant_global : bool;
constant_value : Cobol_ptree__.Data_descr.constant_value
Cobol_common.Srcloc.with_loc;
}
val compare_constant_item :
constant_item ->
constant_item ->
Ppx_deriving_runtime.int
val pp_constant_item : Stdlib.Format.formatter -> constant_item -> unit
type rename_item = {
rename_level : int Cobol_common.Srcloc.with_loc;
rename_to : string Cobol_common.Srcloc.with_loc;
rename_from : [ Cobol_ptree__.Terms.name_
| Cobol_ptree__.Terms.name Cobol_ptree__.Terms.qual_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc;
rename_thru : [ Cobol_ptree__.Terms.name_
| Cobol_ptree__.Terms.name Cobol_ptree__.Terms.qual_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc
option;
}
val compare_rename_item :
rename_item ->
rename_item ->
Ppx_deriving_runtime.int
val pp_rename_item : Stdlib.Format.formatter -> rename_item -> unit
type condition_name_item = {
condition_name_level : int Cobol_common.Srcloc.with_loc;
condition_name : string Cobol_common.Srcloc.with_loc;
condition_name_values : Cobol_ptree__.Data_descr.condition_name_value list;
condition_name_alphabet : string Cobol_common.Srcloc.with_loc option;
condition_name_when_false : [ Cobol_ptree__.Terms.nonnum_
| Cobol_ptree__.Terms.bool_
| Cobol_ptree__.Terms.num_ ]
Cobol_ptree__.Terms.term
option;
}
val compare_condition_name_item :
condition_name_item ->
condition_name_item ->
Ppx_deriving_runtime.int
val pp_condition_name_item :
Stdlib.Format.formatter ->
condition_name_item ->
unit
type screen_item = {
screen_level : int;
screen_data_name : Cobol_ptree__.Data_descr.data_name
Cobol_common.Srcloc.with_loc
option;
screen_clauses : screen_clause Cobol_common.Srcloc.with_loc list;
}
val compare_screen_item :
screen_item ->
screen_item ->
Ppx_deriving_runtime.int
val pp_screen_item : Stdlib.Format.formatter -> screen_item -> unit
type report_group_item = {
report_level : int;
report_data_name : Cobol_ptree__.Data_descr.data_name
Cobol_common.Srcloc.with_loc
option;
report_group_clauses : report_group_clause Cobol_common.Srcloc.with_loc list;
}
val compare_report_group_item :
report_group_item ->
report_group_item ->
Ppx_deriving_runtime.int
val pp_report_group_item : Stdlib.Format.formatter -> report_group_item -> unit
type exec_declarations = Cobol_common.Exec_block.t
val compare_exec_declarations :
exec_declarations ->
exec_declarations ->
Ppx_deriving_runtime.int
val pp_exec_declarations :
Stdlib.Format.formatter ->
Cobol_common.Exec_block.t ->
unit
type _ item_descr =
| Constant : constant_item -> [> constant_ ] item_descr
| Data : data_item -> [> data_ ] item_descr
| Renames : rename_item -> [> rename_ ] item_descr
| CondName : condition_name_item -> [> condition_name_ ] item_descr
| Screen : screen_item -> [> screen_ ] item_descr
| ReportGroup : report_group_item -> [> report_group_ ] item_descr
| Exec : exec_declarations -> [> exec_ ] item_descr
val pp_item_descr : 'k item_descr Pretty.printer
val compare_item_descr : 'a item_descr -> 'b item_descr -> int
type data_item_descr = data_ item_descr
and constant_item_descr = constant_ item_descr
and working_item_descr =
[ constant_ | data_ | rename_ | condition_name_ | exec_ ] item_descr
and report_item_descr = [ constant_ | report_group_ ] item_descr
and screen_item_descr = [ constant_ | screen_ ] item_descr
and any_item_descr =
[ constant_
| data_
| rename_
| condition_name_
| report_group_
| screen_
| exec_ ]
item_descr
val pp_data_item_descr : 'a item_descr Pretty.printer
val pp_constant_item_descr : 'a item_descr Pretty.printer
val pp_working_item_descr : 'a item_descr Pretty.printer
val pp_report_item_descr : 'a item_descr Pretty.printer
val pp_screen_item_descr : 'a item_descr Pretty.printer
val pp_any_item_descr : 'a item_descr Pretty.printer
val compare_data_item_descr : 'a item_descr -> 'b item_descr -> int
val compare_constant_item_descr : 'a item_descr -> 'b item_descr -> int
val compare_working_item_descr : 'a item_descr -> 'b item_descr -> int
val compare_report_item_descr : 'a item_descr -> 'b item_descr -> int
val compare_screen_item_descr : 'a item_descr -> 'b item_descr -> int
val compare_any_item_descr : 'a item_descr -> 'b item_descr -> int
val item_descr_level : 'k item_descr -> int
type working_storage_item_descr = working_item_descr
type linkage_item_descr = working_item_descr
type file_item_descr = working_item_descr
type communication_item_descr = working_item_descr
type local_storage_item_descr = working_item_descr
val compare_working_storage_item_descr : 'a item_descr -> 'b item_descr -> int
val compare_linkage_item_descr : 'a item_descr -> 'b item_descr -> int
val compare_file_item_descr : 'a item_descr -> 'b item_descr -> int
val compare_communication_item_descr : 'a item_descr -> 'b item_descr -> int
val compare_local_storage_item_descr : 'a item_descr -> 'b item_descr -> int
type file_descr = {
file_name : string Cobol_common.Srcloc.with_loc;
file_clauses : file_clauses;
file_items : file_item_descr Cobol_common.Srcloc.with_loc list;
}
and file_clauses =
| FileFD of file_fd_clause Cobol_common.Srcloc.with_loc list
| FileSD of file_sd_clause Cobol_common.Srcloc.with_loc list
and file_fd_clause =
| FileGlobal
| FileData of string Cobol_common.Srcloc.with_loc list
| FileReport of string Cobol_common.Srcloc.with_loc list
val compare_file_descr : file_descr -> file_descr -> Ppx_deriving_runtime.int
val compare_file_clauses :
file_clauses ->
file_clauses ->
Ppx_deriving_runtime.int
val compare_file_fd_clause :
file_fd_clause ->
file_fd_clause ->
Ppx_deriving_runtime.int
val compare_file_sd_clause :
file_sd_clause ->
file_sd_clause ->
Ppx_deriving_runtime.int
val pp_file_fd_clause : Stdlib.Format.formatter -> file_fd_clause -> unit
val pp_file_sd_clause : Stdlib.Format.formatter -> file_sd_clause -> unit
val pp_item_descr_list :
int list ->
Stdlib.Format.formatter ->
'a item_descr Cobol_common.Srcloc.with_loc list ->
unit
val pp_file_descr : Stdlib.Format.formatter -> file_descr -> unit
type communication_descr = {
comm_name : string Cobol_common.Srcloc.with_loc;
comm_clauses : Cobol_ptree__.Data_descr.comm_clause
Cobol_common.Srcloc.with_loc
list;
comm_items : communication_item_descr Cobol_common.Srcloc.with_loc list;
comm_direction : Cobol_ptree__.Data_descr.comm_direction;
}
val compare_communication_descr :
communication_descr ->
communication_descr ->
Ppx_deriving_runtime.int
val pp_communication_descr :
Stdlib.Format.formatter ->
communication_descr ->
unit
type report_descr = {
report_name : string Cobol_common.Srcloc.with_loc;
report_clauses : Cobol_ptree__.Data_descr.report_clause
Cobol_common.Srcloc.with_loc
list;
report_items : report_item_descr Cobol_common.Srcloc.with_loc list;
}
val compare_report_descr :
report_descr ->
report_descr ->
Ppx_deriving_runtime.int
val pp_report_descr : Stdlib.Format.formatter -> report_descr -> unit
type file_section = file_descr Cobol_common.Srcloc.with_loc list
val compare_file_section :
file_section ->
file_section ->
Ppx_deriving_runtime.int
type working_storage_section =
working_storage_item_descr Cobol_common.Srcloc.with_loc list
val compare_working_storage_section :
working_storage_section ->
working_storage_section ->
Ppx_deriving_runtime.int
type linkage_section = linkage_item_descr Cobol_common.Srcloc.with_loc list
val compare_linkage_section :
linkage_section ->
linkage_section ->
Ppx_deriving_runtime.int
type communication_section =
communication_descr Cobol_common.Srcloc.with_loc list
val compare_communication_section :
communication_section ->
communication_section ->
Ppx_deriving_runtime.int
type local_storage_section =
local_storage_item_descr Cobol_common.Srcloc.with_loc list
val compare_local_storage_section :
local_storage_section ->
local_storage_section ->
Ppx_deriving_runtime.int
type report_section = report_descr Cobol_common.Srcloc.with_loc list
val compare_report_section :
report_section ->
report_section ->
Ppx_deriving_runtime.int
type screen_section = screen_item_descr Cobol_common.Srcloc.with_loc list
val compare_screen_section :
screen_section ->
screen_section ->
Ppx_deriving_runtime.int
val pp_section :
string ->
'a Pretty.printer ->
'a Cobol_common.Srcloc.with_loc list Fmt.t
val pp_item_section :
string ->
Stdlib.Format.formatter ->
'a item_descr Cobol_common.Srcloc.with_loc list ->
unit
val pp_file_section : file_section Fmt.t
val pp_working_storage_section : working_storage_section Fmt.t
val pp_linkage_section : linkage_section Fmt.t
val pp_communication_section : communication_section Fmt.t
val pp_local_storage_section : local_storage_section Fmt.t
val pp_report_section : report_section Fmt.t
val pp_screen_section : screen_section Fmt.t
type data_division = {
file_sections : Cobol_ptree__.Data_sections.file_descr
Cobol_common.Srcloc.with_loc
list
Cobol_common.Srcloc.with_loc
list;
working_storage_sections : [ Cobol_ptree__.Data_sections.constant_
| Cobol_ptree__.Data_sections.data_
| Cobol_ptree__.Data_sections.rename_
| Cobol_ptree__.Data_sections.condition_name_
| Cobol_ptree__.Data_sections.exec_ ]
Cobol_ptree__.Data_sections.item_descr
Cobol_common.Srcloc.with_loc
list
Cobol_common.Srcloc.with_loc
list;
linkage_sections : [ Cobol_ptree__.Data_sections.constant_
| Cobol_ptree__.Data_sections.data_
| Cobol_ptree__.Data_sections.rename_
| Cobol_ptree__.Data_sections.condition_name_
| Cobol_ptree__.Data_sections.exec_ ]
Cobol_ptree__.Data_sections.item_descr
Cobol_common.Srcloc.with_loc
list
Cobol_common.Srcloc.with_loc
list;
communication_sections : Cobol_ptree__.Data_sections.communication_descr
Cobol_common.Srcloc.with_loc
list
Cobol_common.Srcloc.with_loc
list;
local_storage_sections : [ Cobol_ptree__.Data_sections.constant_
| Cobol_ptree__.Data_sections.data_
| Cobol_ptree__.Data_sections.rename_
| Cobol_ptree__.Data_sections.condition_name_
| Cobol_ptree__.Data_sections.exec_ ]
Cobol_ptree__.Data_sections.item_descr
Cobol_common.Srcloc.with_loc
list
Cobol_common.Srcloc.with_loc
list;
report_sections : Cobol_ptree__.Data_sections.report_descr
Cobol_common.Srcloc.with_loc
list
Cobol_common.Srcloc.with_loc
list;
screen_sections : [ Cobol_ptree__.Data_sections.constant_
| Cobol_ptree__.Data_sections.screen_ ]
Cobol_ptree__.Data_sections.item_descr
Cobol_common.Srcloc.with_loc
list
Cobol_common.Srcloc.with_loc
list;
}
val compare_data_division :
data_division ->
data_division ->
Ppx_deriving_runtime.int
val pp_data_division : Stdlib.Format.formatter -> data_division -> unit
type alphabet_specification = {
alphanumeric : string Cobol_common.Srcloc.with_loc option;
national : string Cobol_common.Srcloc.with_loc option;
}
val compare_alphabet_specification :
alphabet_specification ->
alphabet_specification ->
Ppx_deriving_runtime.int
val pp_alphabet_specification :
Stdlib.Format.formatter ->
alphabet_specification ->
unit
and 'a rounded_list = 'a rounded list
val compare_rounded_list :
'a. ('a -> 'a -> Ppx_deriving_runtime.int) ->
'a rounded_list ->
'a rounded_list ->
Ppx_deriving_runtime.int
val pp_rounded :
(Stdlib.Format.formatter -> 'a -> unit) ->
Stdlib.Format.formatter ->
'a rounded ->
unit
val pp_rounded_list :
(Stdlib.Format.formatter -> 'a -> unit) ->
'a rounded list Fmt.t
type rounded_ident =
[ Cobol_ptree__.Terms.base_ident_ | Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
rounded
type rounded_idents =
[ Cobol_ptree__.Terms.base_ident_ | Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
rounded_list
val pp_rounded_ident :
Stdlib.Format.formatter ->
[ Cobol_ptree__.Terms.base_ident_ | Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
rounded ->
unit
val pp_rounded_idents :
[ Cobol_ptree__.Terms.base_ident_ | Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
rounded
list
Fmt.t
val compare_rounded_idents :
[ Cobol_ptree__.Terms.base_ident_ | Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
rounded_list ->
[ Cobol_ptree__.Terms.base_ident_ | Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
rounded_list ->
Ppx_deriving_runtime.int
val pp_position : Stdlib.Format.formatter -> position -> unit
type call_using_clause = {
call_using_by : call_using_by option;
call_using_expr : Cobol_ptree__.Terms.expression option;
OMITTED if None
}
val compare_call_using_clause :
call_using_clause ->
call_using_clause ->
Ppx_deriving_runtime.int
val compare_call_using_by :
call_using_by ->
call_using_by ->
Ppx_deriving_runtime.int
val pp_call_using_by : Stdlib.Format.formatter -> call_using_by -> unit
val pp_call_using_clause : Stdlib.Format.formatter -> call_using_clause -> unit
val compare_retry_clause :
retry_clause ->
retry_clause ->
Ppx_deriving_runtime.int
val pp_retry_clause : Stdlib.Format.formatter -> retry_clause -> unit
type mcs_command_operands = {
mcs_command_kind : mcs_kind;
mcs_command_target : string Cobol_common.Srcloc.with_loc;
mcs_command_key : [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.alnum_ ]
Cobol_ptree__.Terms.term
option;
}
val compare_mcs_command_operands :
mcs_command_operands ->
mcs_command_operands ->
Ppx_deriving_runtime.int
val pp_mcs_kind : Stdlib.Format.formatter -> mcs_kind -> unit
val pp_mcs_command_operands :
Stdlib.Format.formatter ->
mcs_command_operands ->
unit
val pp_stage : Stdlib.Format.formatter -> stage -> unit
val compare_write_target :
write_target ->
write_target ->
Ppx_deriving_runtime.int
val pp_write_target : Stdlib.Format.formatter -> write_target -> unit
val pp_date_time : Stdlib.Format.formatter -> date_time -> unit
val compare_basic_arithmetic_operands :
basic_arithmetic_operands ->
basic_arithmetic_operands ->
Ppx_deriving_runtime.int
val pp_giving :
[ Cobol_ptree__.Terms.base_ident_ | Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
rounded
list ->
'a Fmt.t list
val pp_basic_arithmetic_operands :
?sep:string ->
Stdlib.Format.formatter ->
basic_arithmetic_operands ->
unit
val compare_divide_operands :
divide_operands ->
divide_operands ->
Ppx_deriving_runtime.int
val pp_divide_operands : Stdlib.Format.formatter -> divide_operands -> unit
val compare_selection_subject :
selection_subject ->
selection_subject ->
Ppx_deriving_runtime.int
val pp_selection_subject : Stdlib.Format.formatter -> selection_subject -> unit
val compare_selection_object :
selection_object ->
selection_object ->
Ppx_deriving_runtime.int
val pp_selection_object : Stdlib.Format.formatter -> selection_object -> unit
val compare_multiply_operands :
multiply_operands ->
multiply_operands ->
Ppx_deriving_runtime.int
val pp_multiply_operands : Stdlib.Format.formatter -> multiply_operands -> unit
val pp_open_mode : Stdlib.Format.formatter -> open_mode -> unit
val compare_sharing_mode :
sharing_mode ->
sharing_mode ->
Ppx_deriving_runtime.int
val pp_sharing_mode : Stdlib.Format.formatter -> sharing_mode -> unit
val compare_file_option :
file_option ->
file_option ->
Ppx_deriving_runtime.int
val pp_file_option : Stdlib.Format.formatter -> file_option -> unit
val compare_raise_operand :
raise_operand ->
raise_operand ->
Ppx_deriving_runtime.int
val pp_raise_operand : Stdlib.Format.formatter -> raise_operand -> unit
val pp_raising : Stdlib.Format.formatter -> raising -> unit
val compare_read_direction :
read_direction ->
read_direction ->
Ppx_deriving_runtime.int
val pp_read_direction : Stdlib.Format.formatter -> read_direction -> unit
val compare_read_lock_behavior :
read_lock_behavior ->
read_lock_behavior ->
Ppx_deriving_runtime.int
val pp_read_lock_behavior :
Stdlib.Format.formatter ->
read_lock_behavior ->
unit
val compare_mcs_awaiting_item :
mcs_awaiting_item ->
mcs_awaiting_item ->
Ppx_deriving_runtime.int
val pp_mcs_awaiting_item : Stdlib.Format.formatter -> mcs_awaiting_item -> unit
val compare_search_condition :
search_condition ->
search_condition ->
Ppx_deriving_runtime.int
val pp_search_condition : Stdlib.Format.formatter -> search_condition -> unit
val compare_advancing_phrase :
advancing_phrase ->
advancing_phrase ->
Ppx_deriving_runtime.int
val pp_advancing_phrase : Stdlib.Format.formatter -> advancing_phrase -> unit
val compare_set_attribute_switch :
set_attribute_switch ->
set_attribute_switch ->
Ppx_deriving_runtime.int
val compare_screen_attribute :
screen_attribute ->
screen_attribute ->
Ppx_deriving_runtime.int
val compare_set_ambiguous_method :
set_ambiguous_method ->
set_ambiguous_method ->
Ppx_deriving_runtime.int
val compare_locale_category :
locale_category ->
locale_category ->
Ppx_deriving_runtime.int
val compare_set_save_locale :
set_save_locale ->
set_save_locale ->
Ppx_deriving_runtime.int
val compare_set_locale_target :
set_locale_target ->
set_locale_target ->
Ppx_deriving_runtime.int
val compare_set_locale_source :
set_locale_source ->
set_locale_source ->
Ppx_deriving_runtime.int
val compare_float_content :
float_content ->
float_content ->
Ppx_deriving_runtime.int
val pp_screen_attribute : Stdlib.Format.formatter -> screen_attribute -> unit
val pp_on_off : Stdlib.Format.formatter -> on_off -> unit
val pp_set_attribute_switch :
Stdlib.Format.formatter ->
set_attribute_switch ->
unit
val pp_set_ambiguous_method :
Stdlib.Format.formatter ->
set_ambiguous_method ->
unit
val pp_locale_category : Stdlib.Format.formatter -> locale_category -> unit
val pp_set_save_locale : Stdlib.Format.formatter -> set_save_locale -> unit
val pp_set_locale_target : Stdlib.Format.formatter -> set_locale_target -> unit
val pp_set_locale_source : Stdlib.Format.formatter -> set_locale_source -> unit
val pp_float_content : Stdlib.Format.formatter -> float_content -> unit
val compare_start_position :
start_position ->
start_position ->
Ppx_deriving_runtime.int
val pp_start_position : Stdlib.Format.formatter -> start_position -> unit
type string_source = {
string_source : [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.nonnum_ ]
Cobol_ptree__.Terms.term;
string_delimiter : string_delimiter option;
}
val compare_string_source :
string_source ->
string_source ->
Ppx_deriving_runtime.int
val compare_string_delimiter :
string_delimiter ->
string_delimiter ->
Ppx_deriving_runtime.int
val pp_string_delimiter : Stdlib.Format.formatter -> string_delimiter -> unit
val pp_string_source : Stdlib.Format.formatter -> string_source -> unit
val compare_unstring_delimiter :
unstring_delimiter ->
unstring_delimiter ->
Ppx_deriving_runtime.int
val pp_unstring_delimiter :
Stdlib.Format.formatter ->
unstring_delimiter ->
unit
type unstring_target = {
unstring_target : [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term;
unstring_target_delimiter : [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
option;
unstring_target_count : [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
option;
}
val compare_unstring_target :
unstring_target ->
unstring_target ->
Ppx_deriving_runtime.int
val pp_unstring_target : Stdlib.Format.formatter -> unstring_target -> unit
val compare_procedure_range :
'a. ('a -> 'a -> Ppx_deriving_runtime.int) ->
'a procedure_range ->
'a procedure_range ->
Ppx_deriving_runtime.int
val pp_procedure_range :
'a Fmt.t ->
Stdlib.Format.formatter ->
'a procedure_range ->
unit
type allocate_stmt = {
allocate_kind : allocate_kind;
allocate_initialized : bool;
allocate_returning : [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc
option;
}
val compare_allocate_stmt :
allocate_stmt ->
allocate_stmt ->
Ppx_deriving_runtime.int
val compare_allocate_kind :
allocate_kind ->
allocate_kind ->
Ppx_deriving_runtime.int
val pp_allocate_kind : Stdlib.Format.formatter -> allocate_kind -> unit
val pp_allocate_stmt : Stdlib.Format.formatter -> allocate_stmt -> unit
type alter_stmt = alter_operands Cobol_common.Srcloc.with_loc list
and alter_operands = {
alter_source : [ Cobol_ptree__.Terms.name_
| Cobol_ptree__.Terms.name Cobol_ptree__.Terms.qual_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc;
alter_target : [ Cobol_ptree__.Terms.name_
| Cobol_ptree__.Terms.name Cobol_ptree__.Terms.qual_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc;
}
val compare_alter_stmt : alter_stmt -> alter_stmt -> Ppx_deriving_runtime.int
val compare_alter_operands :
alter_operands ->
alter_operands ->
Ppx_deriving_runtime.int
val pp_alter_operands : Stdlib.Format.formatter -> alter_operands -> unit
val pp_alter_stmt :
Stdlib.Format.formatter ->
alter_operands Cobol_common.Srcloc.with_loc list ->
unit
type close_stmt = close_phrase list
and close_phrase = {
close_item : string Cobol_common.Srcloc.with_loc;
close_format : close_format option;
}
val compare_close_stmt : close_stmt -> close_stmt -> Ppx_deriving_runtime.int
val compare_close_phrase :
close_phrase ->
close_phrase ->
Ppx_deriving_runtime.int
val compare_close_format :
close_format ->
close_format ->
Ppx_deriving_runtime.int
val pp_close_format : Stdlib.Format.formatter -> close_format -> unit
val pp_close_phrase : Stdlib.Format.formatter -> close_phrase -> unit
val pp_close_stmt : Stdlib.Format.formatter -> close_phrase list -> unit
type enter_stmt = {
enter_language : string Cobol_common.Srcloc.with_loc;
enter_routine : string Cobol_common.Srcloc.with_loc option;
}
val compare_enter_stmt : enter_stmt -> enter_stmt -> Ppx_deriving_runtime.int
val pp_enter_stmt : Stdlib.Format.formatter -> enter_stmt -> unit
type entry_by_clause =
| EntryByReference of string Cobol_common.Srcloc.with_loc list
| EntryByValue of string Cobol_common.Srcloc.with_loc list
val compare_entry_by_clause :
entry_by_clause ->
entry_by_clause ->
Ppx_deriving_runtime.int
val compare_entry_stmt : entry_stmt -> entry_stmt -> Ppx_deriving_runtime.int
val pp_entry_by_clause : Stdlib.Format.formatter -> entry_by_clause -> unit
val pp_entry_stmt : Stdlib.Format.formatter -> entry_stmt -> unit
val pp_exit_stmt : Stdlib.Format.formatter -> exit_stmt -> unit
type initialize_stmt = {
init_items : [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
list;
init_filler : bool;
init_category : init_category option;
init_replacings : init_replacing list;
init_to_default : bool;
}
and init_replacing = {
init_replacing_category : init_data_category;
init_replacing_replacement_item : [ Cobol_ptree__.Terms.ident_
| Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term;
}
and init_data_category =
| InitCategoryAlphabetic
| InitCategoryAlphanumeric
| InitCategoryAlphanumericEdited
| InitCategoryBoolean
| InitCategoryDataPointer
| InitCategoryFunctionPointer
| InitCategoryProcedurePointer
| InitCategoryNational
| InitCategoryNationalEdited
| InitCategoryNumeric
| InitCategoryNumericEdited
| InitCategoryObjectReference
| InitCategoryProgramPointer
val compare_initialize_stmt :
initialize_stmt ->
initialize_stmt ->
Ppx_deriving_runtime.int
val compare_init_category :
init_category ->
init_category ->
Ppx_deriving_runtime.int
val compare_init_replacing :
init_replacing ->
init_replacing ->
Ppx_deriving_runtime.int
val compare_init_data_category :
init_data_category ->
init_data_category ->
Ppx_deriving_runtime.int
val pp_init_data_category :
Stdlib.Format.formatter ->
init_data_category ->
unit
val pp_init_category : Stdlib.Format.formatter -> init_category -> unit
val pp_init_replacing : Stdlib.Format.formatter -> init_replacing -> unit
val pp_initialize_stmt : Stdlib.Format.formatter -> initialize_stmt -> unit
type invoke_stmt = {
invoke_target : [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term;
invoke_method : [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.strlit_ ]
Cobol_ptree__.Terms.term;
invoke_using : Cobol_ptree__.Operands.call_using_clause
Cobol_common.Srcloc.with_loc
list;
invoke_returning : [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc
option;
}
val compare_invoke_stmt :
invoke_stmt ->
invoke_stmt ->
Ppx_deriving_runtime.int
val pp_invoke_stmt : Stdlib.Format.formatter -> invoke_stmt -> unit
type inspect_stmt = {
inspect_item : [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term;
inspect_spec : inspect_spec;
}
and inspect_spec =
| InspectTallying of tallying list
| InspectReplacing of replacing list
| InspectBoth of tallying list * replacing list
| InspectConverting of converting
and tallying = {
tallying_target : Cobol_ptree__.Terms.qualident;
tallying_clauses : tallying_clause Cobol_common.Srcloc.with_loc list;
}
and tallying_clause =
| TallyingCharacters of inspect_where list
| TallyingRange of tallying_range * tallying_spec list
and tallying_spec = {
tallying_item : [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.nonnum_ ]
Cobol_ptree__.Terms.term;
tallying_where : inspect_where list;
}
and replacing = replacing_clause Cobol_common.Srcloc.with_loc
and replacing_range_spec = {
replacing_item : [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.nonnum_ ]
Cobol_ptree__.Terms.term;
replacing_by : [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.nonnum_ ]
Cobol_ptree__.Terms.term;
replacing_where : inspect_where list;
}
and converting = {
converting_from : [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.nonnum_ ]
Cobol_ptree__.Terms.term;
converting_to : [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.nonnum_ ]
Cobol_ptree__.Terms.term;
converting_where : inspect_where list;
}
and inspect_where = inspect_direction * inspect_reference
val compare_inspect_stmt :
inspect_stmt ->
inspect_stmt ->
Ppx_deriving_runtime.int
val compare_inspect_spec :
inspect_spec ->
inspect_spec ->
Ppx_deriving_runtime.int
val compare_tallying_clause :
tallying_clause ->
tallying_clause ->
Ppx_deriving_runtime.int
val compare_tallying_range :
tallying_range ->
tallying_range ->
Ppx_deriving_runtime.int
val compare_tallying_spec :
tallying_spec ->
tallying_spec ->
Ppx_deriving_runtime.int
val compare_replacing_clause :
replacing_clause ->
replacing_clause ->
Ppx_deriving_runtime.int
val compare_replacing_range :
replacing_range ->
replacing_range ->
Ppx_deriving_runtime.int
val compare_replacing_range_spec :
replacing_range_spec ->
replacing_range_spec ->
Ppx_deriving_runtime.int
val compare_converting : converting -> converting -> Ppx_deriving_runtime.int
val compare_inspect_where :
inspect_where ->
inspect_where ->
Ppx_deriving_runtime.int
val compare_inspect_direction :
inspect_direction ->
inspect_direction ->
Ppx_deriving_runtime.int
val compare_inspect_reference :
inspect_reference ->
inspect_reference ->
Ppx_deriving_runtime.int
val pp_replacing_range : Stdlib.Format.formatter -> replacing_range -> unit
val pp_inspect_direction : Stdlib.Format.formatter -> inspect_direction -> unit
val pp_inspect_where :
(inspect_direction
* [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.nonnum_ ]
Cobol_ptree__.Terms.term)
Fmt.t
val pp_converting : Stdlib.Format.formatter -> converting -> unit
val pp_replacing_range_spec :
Stdlib.Format.formatter ->
replacing_range_spec ->
unit
val pp_replacing_clause : Stdlib.Format.formatter -> replacing_clause -> unit
val pp_replacing : replacing_clause Cobol_common.Srcloc.with_loc Pretty.printer
val pp_tallying_range : Stdlib.Format.formatter -> tallying_range -> unit
val pp_tallying_spec : Stdlib.Format.formatter -> tallying_spec -> unit
val pp_tallying_clause : Stdlib.Format.formatter -> tallying_clause -> unit
val pp_tallying : Stdlib.Format.formatter -> tallying -> unit
val pp_inspect_spec : Stdlib.Format.formatter -> inspect_spec -> unit
val pp_inspect_stmt : Stdlib.Format.formatter -> inspect_stmt -> unit
type merge_stmt = {
merge_file : string Cobol_common.Srcloc.with_loc;
merge_keys : Cobol_ptree__.Data_descr.sort_spec list;
merge_collating : Cobol_ptree__.Operands.alphabet_specification option;
merge_using : string Cobol_common.Srcloc.with_loc list;
merge_target : merge_or_sort_target;
}
val compare_merge_stmt : merge_stmt -> merge_stmt -> Ppx_deriving_runtime.int
val compare_merge_or_sort_target :
merge_or_sort_target ->
merge_or_sort_target ->
Ppx_deriving_runtime.int
val pp_merge_or_sort_target :
Stdlib.Format.formatter ->
merge_or_sort_target ->
unit
val pp_merge_stmt : Stdlib.Format.formatter -> merge_stmt -> unit
val pp_move_stmt : Stdlib.Format.formatter -> move_stmt -> unit
type open_stmt = open_phrase list
and open_phrase = {
open_mode : Cobol_ptree__.Operands.open_mode;
open_sharing : Cobol_ptree__.Operands.sharing_mode option;
open_retry : Cobol_ptree__.Operands.retry_clause option;
open_files : named_file_option list;
}
and named_file_option = {
named_file_name : string Cobol_common.Srcloc.with_loc;
named_file_option : Cobol_ptree__.Operands.file_option option;
}
val compare_open_phrase :
open_phrase ->
open_phrase ->
Ppx_deriving_runtime.int
val compare_named_file_option :
named_file_option ->
named_file_option ->
Ppx_deriving_runtime.int
val pp_named_file_option : Stdlib.Format.formatter -> named_file_option -> unit
val pp_open_phrase : Stdlib.Format.formatter -> open_phrase -> unit
val pp_open_stmt : open_phrase list Fmt.t
type release_stmt = {
release_item : string Cobol_common.Srcloc.with_loc;
release_from : [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term
option;
}
val compare_release_stmt :
release_stmt ->
release_stmt ->
Ppx_deriving_runtime.int
val pp_release_stmt : Stdlib.Format.formatter -> release_stmt -> unit
val compare_send_operands :
send_operands ->
send_operands ->
Ppx_deriving_runtime.int
val compare_message_ending_indicator :
message_ending_indicator ->
message_ending_indicator ->
Ppx_deriving_runtime.int
val pp_message_ending_indicator :
Stdlib.Format.formatter ->
message_ending_indicator ->
unit
val pp_send_operands : Stdlib.Format.formatter -> send_operands -> unit
val pp_send_stmt : Stdlib.Format.formatter -> send_stmt -> unit
type set_stmt =
| SetSwitch of set_switch_spec list
| SetCondition of set_condition_spec list
| SetSavedException
val compare_set_switch_spec :
set_switch_spec ->
set_switch_spec ->
Ppx_deriving_runtime.int
val compare_set_condition_spec :
set_condition_spec ->
set_condition_spec ->
Ppx_deriving_runtime.int
val pp_set_condition_spec :
Stdlib.Format.formatter ->
set_condition_spec ->
unit
val pp_set_switch_spec : Stdlib.Format.formatter -> set_switch_spec -> unit
val pp_set_stmt : Stdlib.Format.formatter -> set_stmt -> unit
val compare_sort_source :
sort_source ->
sort_source ->
Ppx_deriving_runtime.int
val pp_sort_source : Stdlib.Format.formatter -> sort_source -> unit
val pp_sort_stmt : Stdlib.Format.formatter -> sort_stmt -> unit
and stop_run_status = {
status_kind : status_kind;
status_value : [ Cobol_ptree__.Terms.scalar_ident_
| Cobol_ptree__.Terms.refmod_ident_
| Cobol_ptree__.Terms.lit_
| Cobol_ptree__.Terms.arith_value_ ]
Cobol_ptree__.Terms.term
option;
}
val compare_stop_run_return :
stop_run_return ->
stop_run_return ->
Ppx_deriving_runtime.int
val compare_stop_run_status :
stop_run_status ->
stop_run_status ->
Ppx_deriving_runtime.int
val compare_status_kind :
status_kind ->
status_kind ->
Ppx_deriving_runtime.int
val pp_status_kind : Stdlib.Format.formatter -> status_kind -> unit
val pp_stop_run_status : Stdlib.Format.formatter -> stop_run_status -> unit
val pp_stop_stmt : Stdlib.Format.formatter -> stop_stmt -> unit
type terminate_stmt = string Cobol_common.Srcloc.with_loc list
val compare_terminate_stmt :
terminate_stmt ->
terminate_stmt ->
Ppx_deriving_runtime.int
val pp_terminate_stmt : string Cobol_common.Srcloc.with_loc list Fmt.t
type transform_stmt = {
transform_ident : [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc;
transform_from : [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.nonnum_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc;
transform_to : [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.nonnum_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc;
}
val compare_transform_stmt :
transform_stmt ->
transform_stmt ->
Ppx_deriving_runtime.int
val pp_transform_stmt : Stdlib.Format.formatter -> transform_stmt -> unit
val compare_unlock_stmt :
unlock_stmt ->
unlock_stmt ->
Ppx_deriving_runtime.int
val pp_unlock_stmt : Stdlib.Format.formatter -> unlock_stmt -> unit
val pp_goto_stmt : Stdlib.Format.formatter -> goto_stmt -> unit
val compare_resume_stmt :
resume_stmt ->
resume_stmt ->
Ppx_deriving_runtime.int
val pp_resume_stmt : Stdlib.Format.formatter -> resume_stmt -> unit
type handler = statements
and evaluate_stmt = {
eval_subjects : Cobol_ptree__.Operands.selection_subject list;
eval_branches : evaluate_branch list;
eval_otherwise : statements;
}
and evaluate_branch = {
eval_selection : Cobol_ptree__.Operands.selection_object list list;
eval_actions : statements;
}
and perform_target_stmt = {
perform_target : [ Cobol_ptree__.Terms.name_
| Cobol_ptree__.Terms.name Cobol_ptree__.Terms.qual_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc
Cobol_ptree__.Operands.procedure_range;
perform_mode : perform_mode option;
}
and perform_inline_stmt = {
perform_inline_mode : perform_mode option;
perform_statements : statements;
}
and varying_phrase = {
varying_ident : [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term;
varying_from : [ Cobol_ptree__.Terms.scalar_ident_
| Cobol_ptree__.Terms.refmod_ident_
| Cobol_ptree__.Terms.lit_
| Cobol_ptree__.Terms.arith_value_ ]
Cobol_ptree__.Terms.term;
varying_by : [ Cobol_ptree__.Terms.scalar_ident_
| Cobol_ptree__.Terms.refmod_ident_
| Cobol_ptree__.Terms.lit_
| Cobol_ptree__.Terms.arith_value_ ]
Cobol_ptree__.Terms.term
option;
varying_until : [ Cobol_ptree__.Terms.simple_ | Cobol_ptree__.Terms.complex_ ]
Cobol_ptree__.Terms.cond;
}
and search_stmt = {
search_item : [ Cobol_ptree__.Terms.name_
| Cobol_ptree__.Terms.name Cobol_ptree__.Terms.qual_ ]
Cobol_ptree__.Terms.term;
search_varying : [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
option;
search_at_end : handler;
search_when_clauses : search_when_clause Cobol_common.Srcloc.with_loc list;
}
and search_when_clause = {
search_when_cond : [ Cobol_ptree__.Terms.simple_
| Cobol_ptree__.Terms.complex_ ]
Cobol_ptree__.Terms.cond;
search_when_stmts : statements;
}
and search_all_stmt = {
search_all_item : [ Cobol_ptree__.Terms.name_
| Cobol_ptree__.Terms.name Cobol_ptree__.Terms.qual_ ]
Cobol_ptree__.Terms.term;
search_all_at_end : handler;
search_all_conditions : Cobol_ptree__.Operands.search_condition list;
search_all_action : statements;
}
and if_stmt = {
condition : [ Cobol_ptree__.Terms.simple_ | Cobol_ptree__.Terms.complex_ ]
Cobol_ptree__.Terms.cond;
then_branch : statements;
else_branch : statements;
}
and accept_clause =
| AcceptFromCRT
| AcceptModeBlock
| AcceptWith of accept_with_clause Cobol_common.Srcloc.with_loc list
and display_stmt = {
display_items_clauses : display_items_clauses list;
no_advancing : bool;
on_exception : dual_handler;
}
and display_items_clauses = {
display_items : [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term
list;
display_clauses : display_clause Cobol_common.Srcloc.with_loc list;
}
and display_clause =
| DisplayUpon of display_target Cobol_common.Srcloc.with_loc
| DisplayModeIsBlock
| DisplayWith of display_with_clause Cobol_common.Srcloc.with_loc list
and display_target =
| DisplayUponName of string Cobol_common.Srcloc.with_loc
| DisplayUponDeviceViaMnemonic of display_device_mnemonic
Cobol_common.Srcloc.with_loc
and basic_arithmetic_stmt = {
basic_arith_operands : Cobol_ptree__.Operands.basic_arithmetic_operands;
basic_arith_on_size_error : dual_handler;
}
and compute_stmt = {
compute_targets : [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
Cobol_ptree__.Operands.rounded
list;
compute_expr : Cobol_ptree__.Terms.expression;
compute_on_size_error : dual_handler;
}
and delete_stmt = {
delete_targets : string Cobol_common.Srcloc.with_loc;
delete_retry : Cobol_ptree__.Operands.retry_clause option;
delete_on_invalid_key : dual_handler;
}
and divide_stmt = {
divide_operands : Cobol_ptree__.Operands.divide_operands;
divide_on_size_error : dual_handler;
}
and multiply_stmt = {
multiply_operands : Cobol_ptree__.Operands.multiply_operands;
multiply_on_size_error : dual_handler;
}
and receive_stmt = {
receive_name : string Cobol_common.Srcloc.with_loc;
receive_kind : Cobol_ptree__.Operands.mcs_awaiting_item;
receive_into : [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term;
receive_on_no_data : dual_handler;
}
and return_stmt = {
return_file : string Cobol_common.Srcloc.with_loc;
return_into : [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc
option;
return_at_end : dual_handler;
}
and rewrite_stmt = {
rewrite_to : Cobol_ptree__.Operands.write_target;
rewrite_from : [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term
option;
rewrite_retry : Cobol_ptree__.Operands.retry_clause option;
rewrite_lock : bool option;
rewrite_invalid_key_handler : dual_handler;
}
and start_stmt = {
start_file : string Cobol_common.Srcloc.with_loc;
start_position : Cobol_ptree__.Operands.start_position option;
start_on_invalid_key : dual_handler;
}
and string_stmt = {
string_sources : Cobol_ptree__.Operands.string_source list;
string_target : [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term;
string_pointer : [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
option;
string_on_overflow : dual_handler;
}
and unstring_stmt = {
unstring_source : [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term;
unstring_delimiters : Cobol_ptree__.Operands.unstring_delimiter list;
unstring_targets : Cobol_ptree__.Operands.unstring_target list;
unstring_pointer : [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
option;
unstring_tallying : [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
option;
unstring_on_overflow : dual_handler;
}
and write_stmt = {
write_to : Cobol_ptree__.Operands.write_target;
write_from : [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term
option;
write_advancing : Cobol_ptree__.Operands.advancing_phrase option;
write_retry : Cobol_ptree__.Operands.retry_clause option;
write_lock : bool option;
write_error_handler : (write_error * dual_handler) option;
}
and call_stmt = {
call_static : bool;
call_prefix : call_prefix;
call_using : Cobol_ptree__.Operands.call_using_clause
Cobol_common.Srcloc.with_loc
list;
call_returning : [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc
option;
call_error_handler : call_error_handler option;
}
and read_stmt = {
read_file : string Cobol_common.Srcloc.with_loc;
read_direction : Cobol_ptree__.Operands.read_direction option;
read_into : [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
option;
read_lock_behavior : Cobol_ptree__.Operands.read_lock_behavior option;
read_lock : bool option;
read_key : [ Cobol_ptree__.Terms.name_
| Cobol_ptree__.Terms.name Cobol_ptree__.Terms.qual_ ]
Cobol_ptree__.Terms.term
option;
read_error_handler : (read_error * dual_handler) option;
}
and goback_stmt = {
goback_raising : Cobol_ptree__.Operands.raising option;
goback_returning : [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.int_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc
option;
}
and statement =
| Accept of accept_stmt
| Add of basic_arithmetic_stmt
| Call of call_stmt
| Compute of compute_stmt
| Continue
| Delete of delete_stmt
| Display of display_stmt
| Divide of divide_stmt
| Evaluate of evaluate_stmt
| ExecBlock of Cobol_common.Exec_block.t
| Free of string Cobol_common.Srcloc.with_loc list
| Generate of string Cobol_common.Srcloc.with_loc
| GoTo of goto_stmt
| GoBack of goback_stmt
| If of if_stmt
| Initiate of string Cobol_common.Srcloc.with_loc list
| LoneGoTo
| Multiply of multiply_stmt
| NextSentence
| PerformTarget of perform_target_stmt
| PerformInline of perform_inline_stmt
| Purge of string Cobol_common.Srcloc.with_loc
| Read of read_stmt
| Receive of receive_stmt
| Resume of resume_stmt
| Return of return_stmt
| Rewrite of rewrite_stmt
| Search of search_stmt
| SearchAll of search_all_stmt
| Start of start_stmt
| String of string_stmt
| Subtract of basic_arithmetic_stmt
| Suppress
| Terminate of string Cobol_common.Srcloc.with_loc list
| Unstring of unstring_stmt
| Write of write_stmt
and statements = statement Cobol_common.Srcloc.with_loc list
val compare_dual_handler :
dual_handler ->
dual_handler ->
Ppx_deriving_runtime.int
val compare_evaluate_stmt :
evaluate_stmt ->
evaluate_stmt ->
Ppx_deriving_runtime.int
val compare_evaluate_branch :
evaluate_branch ->
evaluate_branch ->
Ppx_deriving_runtime.int
val compare_perform_target_stmt :
perform_target_stmt ->
perform_target_stmt ->
Ppx_deriving_runtime.int
val compare_perform_inline_stmt :
perform_inline_stmt ->
perform_inline_stmt ->
Ppx_deriving_runtime.int
val compare_perform_mode :
perform_mode ->
perform_mode ->
Ppx_deriving_runtime.int
val compare_varying_phrase :
varying_phrase ->
varying_phrase ->
Ppx_deriving_runtime.int
val compare_search_stmt :
search_stmt ->
search_stmt ->
Ppx_deriving_runtime.int
val compare_search_when_clause :
search_when_clause ->
search_when_clause ->
Ppx_deriving_runtime.int
val compare_search_all_stmt :
search_all_stmt ->
search_all_stmt ->
Ppx_deriving_runtime.int
val compare_accept_stmt :
accept_stmt ->
accept_stmt ->
Ppx_deriving_runtime.int
val compare_accept_misc :
accept_misc ->
accept_misc ->
Ppx_deriving_runtime.int
val compare_accept_clause :
accept_clause ->
accept_clause ->
Ppx_deriving_runtime.int
val compare_accept_with_clause :
accept_with_clause ->
accept_with_clause ->
Ppx_deriving_runtime.int
val compare_display_stmt :
display_stmt ->
display_stmt ->
Ppx_deriving_runtime.int
val compare_display_items_clauses :
display_items_clauses ->
display_items_clauses ->
Ppx_deriving_runtime.int
val compare_display_clause :
display_clause ->
display_clause ->
Ppx_deriving_runtime.int
val compare_display_target :
display_target ->
display_target ->
Ppx_deriving_runtime.int
val compare_display_device_mnemonic :
display_device_mnemonic ->
display_device_mnemonic ->
Ppx_deriving_runtime.int
val compare_display_with_clause :
display_with_clause ->
display_with_clause ->
Ppx_deriving_runtime.int
val compare_basic_arithmetic_stmt :
basic_arithmetic_stmt ->
basic_arithmetic_stmt ->
Ppx_deriving_runtime.int
val compare_compute_stmt :
compute_stmt ->
compute_stmt ->
Ppx_deriving_runtime.int
val compare_delete_stmt :
delete_stmt ->
delete_stmt ->
Ppx_deriving_runtime.int
val compare_divide_stmt :
divide_stmt ->
divide_stmt ->
Ppx_deriving_runtime.int
val compare_multiply_stmt :
multiply_stmt ->
multiply_stmt ->
Ppx_deriving_runtime.int
val compare_receive_stmt :
receive_stmt ->
receive_stmt ->
Ppx_deriving_runtime.int
val compare_return_stmt :
return_stmt ->
return_stmt ->
Ppx_deriving_runtime.int
val compare_rewrite_stmt :
rewrite_stmt ->
rewrite_stmt ->
Ppx_deriving_runtime.int
val compare_start_stmt : start_stmt -> start_stmt -> Ppx_deriving_runtime.int
val compare_string_stmt :
string_stmt ->
string_stmt ->
Ppx_deriving_runtime.int
val compare_unstring_stmt :
unstring_stmt ->
unstring_stmt ->
Ppx_deriving_runtime.int
val compare_write_stmt : write_stmt -> write_stmt -> Ppx_deriving_runtime.int
val compare_write_error :
write_error ->
write_error ->
Ppx_deriving_runtime.int
val compare_call_prefix :
call_prefix ->
call_prefix ->
Ppx_deriving_runtime.int
val compare_call_proto : call_proto -> call_proto -> Ppx_deriving_runtime.int
val compare_call_error_handler :
call_error_handler ->
call_error_handler ->
Ppx_deriving_runtime.int
val compare_read_error : read_error -> read_error -> Ppx_deriving_runtime.int
val compare_goback_stmt :
goback_stmt ->
goback_stmt ->
Ppx_deriving_runtime.int
val compare_statements : statements -> handler -> Ppx_deriving_runtime.int
val show_handler : handler -> Ppx_deriving_runtime.string
val show_dual_handler : dual_handler -> Ppx_deriving_runtime.string
val show_evaluate_stmt : evaluate_stmt -> Ppx_deriving_runtime.string
val show_evaluate_branch : evaluate_branch -> Ppx_deriving_runtime.string
val show_perform_target_stmt :
perform_target_stmt ->
Ppx_deriving_runtime.string
val show_perform_inline_stmt :
perform_inline_stmt ->
Ppx_deriving_runtime.string
val show_perform_mode : perform_mode -> Ppx_deriving_runtime.string
val show_varying_phrase : varying_phrase -> Ppx_deriving_runtime.string
val show_search_stmt : search_stmt -> Ppx_deriving_runtime.string
val show_search_when_clause : search_when_clause -> Ppx_deriving_runtime.string
val show_search_all_stmt : search_all_stmt -> Ppx_deriving_runtime.string
val show_if_stmt : if_stmt -> Ppx_deriving_runtime.string
val show_accept_stmt : accept_stmt -> Ppx_deriving_runtime.string
val show_accept_misc : accept_misc -> Ppx_deriving_runtime.string
val show_accept_clause : accept_clause -> Ppx_deriving_runtime.string
val show_accept_with_clause : accept_with_clause -> Ppx_deriving_runtime.string
val show_display_stmt : display_stmt -> Ppx_deriving_runtime.string
val show_display_items_clauses :
display_items_clauses ->
Ppx_deriving_runtime.string
val show_display_clause : display_clause -> Ppx_deriving_runtime.string
val show_display_target : display_target -> Ppx_deriving_runtime.string
val show_display_device_mnemonic :
display_device_mnemonic ->
Ppx_deriving_runtime.string
val show_display_with_clause :
display_with_clause ->
Ppx_deriving_runtime.string
val show_basic_arithmetic_stmt :
basic_arithmetic_stmt ->
Ppx_deriving_runtime.string
val show_compute_stmt : compute_stmt -> Ppx_deriving_runtime.string
val show_delete_stmt : delete_stmt -> Ppx_deriving_runtime.string
val show_divide_stmt : divide_stmt -> Ppx_deriving_runtime.string
val show_multiply_stmt : multiply_stmt -> Ppx_deriving_runtime.string
val show_receive_stmt : receive_stmt -> Ppx_deriving_runtime.string
val show_return_stmt : return_stmt -> Ppx_deriving_runtime.string
val show_rewrite_stmt : rewrite_stmt -> Ppx_deriving_runtime.string
val show_start_stmt : start_stmt -> Ppx_deriving_runtime.string
val show_string_stmt : string_stmt -> Ppx_deriving_runtime.string
val show_unstring_stmt : unstring_stmt -> Ppx_deriving_runtime.string
val show_write_stmt : write_stmt -> Ppx_deriving_runtime.string
val show_write_error : write_error -> Ppx_deriving_runtime.string
val show_call_stmt : call_stmt -> Ppx_deriving_runtime.string
val show_call_prefix : call_prefix -> Ppx_deriving_runtime.string
val show_call_proto : call_proto -> Ppx_deriving_runtime.string
val pp_call_error_handler :
Ppx_deriving_runtime.Format.formatter ->
call_error_handler ->
Ppx_deriving_runtime.unit
val show_call_error_handler : call_error_handler -> Ppx_deriving_runtime.string
val show_read_stmt : read_stmt -> Ppx_deriving_runtime.string
val show_read_error : read_error -> Ppx_deriving_runtime.string
val pp_goback_stmt :
Ppx_deriving_runtime.Format.formatter ->
goback_stmt ->
Ppx_deriving_runtime.unit
val show_goback_stmt : goback_stmt -> Ppx_deriving_runtime.string
val show_statement : statement -> Ppx_deriving_runtime.string
val show_statements : statements -> Ppx_deriving_runtime.string
val pp_display_device_mnemonic :
Stdlib.Format.formatter ->
display_device_mnemonic ->
unit
val pp_display_target : Stdlib.Format.formatter -> display_target -> unit
val pp_read_error : Stdlib.Format.formatter -> read_error -> unit
val pp_write_error : Stdlib.Format.formatter -> write_error -> unit
val pp_call_proto : Stdlib.Format.formatter -> call_proto -> unit
val pp_call_prefix : Stdlib.Format.formatter -> call_prefix -> unit
val pp_dual_handler :
statement Pretty.printer ->
?close:(Stdlib.Format.formatter -> unit -> unit) ->
?on:unit Fmt.t ->
?off:unit Fmt.t ->
Stdlib.Format.formatter ->
dual_handler ->
unit
val pp_branching_stmt :
string ->
?pos:unit Fmt.t ->
?neg:unit Fmt.t ->
'a Fmt.t ->
statement Pretty.printer ->
Stdlib.Format.formatter ->
('a * (Stdlib.Format.formatter -> unit -> unit) list * dual_handler option) ->
unit
val pp_arithmetic_stmt :
string ->
(Stdlib.Format.formatter -> 'a -> unit) ->
statement Pretty.printer ->
Stdlib.Format.formatter ->
('a * dual_handler) ->
unit
val pp_handler : statements Fmt.t
val pp_evaluate_stmt : Stdlib.Format.formatter -> evaluate_stmt -> unit
val pp_evaluate_branch : evaluate_branch Fmt.t
val pp_perform_target_stmt :
Stdlib.Format.formatter ->
perform_target_stmt ->
unit
val pp_perform_inline_stmt :
Stdlib.Format.formatter ->
perform_inline_stmt ->
unit
val pp_perform_mode : perform_mode Fmt.t
val pp_varying_phrase : varying_phrase Pretty.printer
val pp_search_stmt : Stdlib.Format.formatter -> search_stmt -> unit
val pp_search_all_stmt : Stdlib.Format.formatter -> search_all_stmt -> unit
val pp_search_when_clause : search_when_clause Pretty.printer
val pp_if_stmt : Stdlib.Format.formatter -> if_stmt -> unit
val pp_accept_stmt : Stdlib.Format.formatter -> accept_stmt -> unit
val pp_accept_misc : Stdlib.Format.formatter -> accept_misc -> unit
val pp_accept_clause : accept_clause Pretty.printer
val pp_accept_with_clause : accept_with_clause Pretty.printer
val pp_display_stmt : Stdlib.Format.formatter -> display_stmt -> unit
val pp_display_items_clauses : display_items_clauses Fmt.t
val pp_display_clause : display_clause Pretty.printer
val pp_display_with_clause : display_with_clause Pretty.printer
val pp_basic_arithmetic_stmt :
sep:string ->
string ->
Stdlib.Format.formatter ->
basic_arithmetic_stmt ->
unit
val pp_call_stmt : Stdlib.Format.formatter -> call_stmt -> unit
val pp_compute_stmt : Stdlib.Format.formatter -> compute_stmt -> unit
val pp_delete_stmt : Stdlib.Format.formatter -> delete_stmt -> unit
val pp_divide_stmt : Stdlib.Format.formatter -> divide_stmt -> unit
val pp_multiply_stmt : Stdlib.Format.formatter -> multiply_stmt -> unit
val pp_read_stmt : Stdlib.Format.formatter -> read_stmt -> unit
val pp_receive_stmt : Stdlib.Format.formatter -> receive_stmt -> unit
val pp_return_stmt : Stdlib.Format.formatter -> return_stmt -> unit
val pp_rewrite_stmt : Stdlib.Format.formatter -> rewrite_stmt -> unit
val pp_start_stmt : Stdlib.Format.formatter -> start_stmt -> unit
val pp_string_stmt : Stdlib.Format.formatter -> string_stmt -> unit
val pp_unstring_stmt : Stdlib.Format.formatter -> unstring_stmt -> unit
val pp_write_stmt : Stdlib.Format.formatter -> write_stmt -> unit
val pp_statement : statement Pretty.printer
val pp_statements : statements Fmt.t
val pp_dump_statements : statements Fmt.t
type procedure_division = {
procedure_args : procedure_args option;
procedure_returning : [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc
option;
procedure_raising_phrases : raising_phrase Cobol_common.Srcloc.with_loc list;
procedure_declaratives : declarative Cobol_common.Srcloc.with_loc list;
procedure_paragraphs : paragraph Cobol_common.Srcloc.with_loc list;
}
and procedure_by_clause =
| ByReference of by_reference list
| ByValue of string Cobol_common.Srcloc.with_loc list
and procedure_args = {
procedure_calling_style : procedure_calling_style Cobol_common.Srcloc.with_loc;
procedure_by_clause : procedure_by_clause Cobol_common.Srcloc.with_loc list;
}
and by_reference = {
by_reference : string Cobol_common.Srcloc.with_loc;
by_reference_optional : bool;
}
and declarative = {
declarative_name : string Cobol_common.Srcloc.with_loc;
declarative_segment : string option;
declarative_use : declarative_use option;
declarative_sentences : Cobol_ptree__.Branching_statements.statement
Cobol_common.Srcloc.with_loc
list
Cobol_common.Srcloc.with_loc
list;
}
and declarative_use =
| UseAfterFileException of {
global : bool;
trigger : use_file_exception_on;
}
| UseForDebugging of use_for_debugging_target list
| UseAfterIOException of use_after_exception list
| UseAfterExceptionObject of string Cobol_common.Srcloc.with_loc
and use_after_exception = {
use_after_exception : string Cobol_common.Srcloc.with_loc;
use_after_exception_on_files : string Cobol_common.Srcloc.with_loc list;
}
and paragraph = {
paragraph_name : string Cobol_common.Srcloc.with_loc option;
paragraph_is_section : bool;
paragraph_segment : string option;
paragraph_sentences : Cobol_ptree__.Branching_statements.statement
Cobol_common.Srcloc.with_loc
list
Cobol_common.Srcloc.with_loc
list;
}
val compare_procedure_division :
procedure_division ->
procedure_division ->
Ppx_deriving_runtime.int
val compare_procedure_by_clause :
procedure_by_clause ->
procedure_by_clause ->
Ppx_deriving_runtime.int
val compare_procedure_calling_style :
procedure_calling_style ->
procedure_calling_style ->
Ppx_deriving_runtime.int
val compare_procedure_args :
procedure_args ->
procedure_args ->
Ppx_deriving_runtime.int
val compare_by_reference :
by_reference ->
by_reference ->
Ppx_deriving_runtime.int
val compare_raising_phrase :
raising_phrase ->
raising_phrase ->
Ppx_deriving_runtime.int
val compare_declarative :
declarative ->
declarative ->
Ppx_deriving_runtime.int
val compare_declarative_use :
declarative_use ->
declarative_use ->
Ppx_deriving_runtime.int
val compare_use_for_debugging_target :
use_for_debugging_target ->
use_for_debugging_target ->
Ppx_deriving_runtime.int
val compare_use_file_exception_on :
use_file_exception_on ->
use_file_exception_on ->
Ppx_deriving_runtime.int
val compare_use_after_exception :
use_after_exception ->
use_after_exception ->
Ppx_deriving_runtime.int
val pp_paragraph : Stdlib.Format.formatter -> paragraph -> unit
val pp_use_after_exception :
Stdlib.Format.formatter ->
use_after_exception ->
unit
val pp_use_file_exception_on :
Stdlib.Format.formatter ->
use_file_exception_on ->
unit
val pp_use_for_debugging_target :
Stdlib.Format.formatter ->
use_for_debugging_target ->
unit
val pp_declarative_use : Stdlib.Format.formatter -> declarative_use -> unit
val pp_declarative : Stdlib.Format.formatter -> declarative -> unit
val pp_declaratives :
Stdlib.Format.formatter ->
declarative Cobol_common.Srcloc.with_loc list ->
unit
val pp_by_reference : Stdlib.Format.formatter -> by_reference -> unit
val pp_procedure_calling_style :
Stdlib.Format.formatter ->
procedure_calling_style ->
unit
val pp_procedure_by_clause :
Stdlib.Format.formatter ->
procedure_by_clause ->
unit
val pp_procedure_args : Stdlib.Format.formatter -> procedure_args -> unit
val pp_raising_phrase : Stdlib.Format.formatter -> raising_phrase -> unit
val pp_procedure_division :
Stdlib.Format.formatter ->
procedure_division ->
unit
type program_unit = {
program_name : [ Cobol_ptree__.Terms.name_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc;
program_as : [ Cobol_ptree__.Terms.alnum_ | Cobol_ptree__.Terms.national_ ]
Cobol_ptree__.Terms.term
option;
program_level : program_level;
program_options : Cobol_ptree__.Misc_sections.options_clause
Cobol_common.Srcloc.with_loc
list
Cobol_common.Srcloc.with_loc
option;
program_env : Cobol_ptree__.Env_division.environment_division
Cobol_common.Srcloc.with_loc
option;
program_data : Cobol_ptree__.Data_division.data_division
Cobol_common.Srcloc.with_loc
option;
program_proc : Cobol_ptree__.Proc_division.procedure_division
Cobol_common.Srcloc.with_loc
option;
program_end_name : [ Cobol_ptree__.Terms.name_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc
option;
}
and program_mode = {
prog_is_common : bool;
prog_kind : program_kind Cobol_common.Srcloc.with_loc option;
}
val compare_program_unit :
program_unit ->
program_unit ->
Ppx_deriving_runtime.int
val compare_program_level :
program_level ->
program_level ->
Ppx_deriving_runtime.int
val compare_program_mode :
program_mode ->
program_mode ->
Ppx_deriving_runtime.int
val compare_program_kind :
program_kind ->
program_kind ->
Ppx_deriving_runtime.int
val pp_program_kind : Stdlib.Format.formatter -> program_kind -> unit
val pp_program_mode : Stdlib.Format.formatter -> program_mode -> unit
val pp_program_unit : program_unit Pretty.printer
type function_unit = {
function_name : [ Cobol_ptree__.Terms.name_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc;
function_as : [ Cobol_ptree__.Terms.alnum_ | Cobol_ptree__.Terms.national_ ]
Cobol_ptree__.Terms.term
option;
function_is_proto : bool;
function_options : Cobol_ptree__.Misc_sections.options_clause
Cobol_common.Srcloc.with_loc
list
Cobol_common.Srcloc.with_loc
option;
function_env : Cobol_ptree__.Env_division.environment_division
Cobol_common.Srcloc.with_loc
option;
function_data : Cobol_ptree__.Data_division.data_division
Cobol_common.Srcloc.with_loc
option;
function_proc : Cobol_ptree__.Proc_division.procedure_division
Cobol_common.Srcloc.with_loc
option;
function_end_name : [ Cobol_ptree__.Terms.name_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc;
}
val compare_function_unit :
function_unit ->
function_unit ->
Ppx_deriving_runtime.int
val pp_id_paragraph :
?end_:bool ->
?end_name:
[ Cobol_ptree__.Terms.name_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc ->
string ->
string ->
Stdlib.Format.formatter ->
(Stdlib.Format.formatter -> 'a -> unit) ->
'a ->
(Stdlib.Format.formatter -> unit -> unit) option list ->
unit
val pp_function_id_paragraph :
Stdlib.Format.formatter ->
([ Cobol_ptree__.Terms.name_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc
* [ Cobol_ptree__.Terms.alnum_ | Cobol_ptree__.Terms.national_ ]
Cobol_ptree__.Terms.term
option
* bool) ->
unit
val pp_function_unit : Stdlib.Format.formatter -> function_unit -> unit
type method_definitions = method_definition Cobol_common.Srcloc.with_loc list
and method_definition = {
method_name : string Cobol_common.Srcloc.with_loc;
method_kind : method_kind;
method_override : bool;
method_final : bool;
method_options : Cobol_ptree__.Misc_sections.options_clause
Cobol_common.Srcloc.with_loc
list
Cobol_common.Srcloc.with_loc
option;
method_env : Cobol_ptree__.Env_division.environment_division
Cobol_common.Srcloc.with_loc
option;
method_data : Cobol_ptree__.Data_division.data_division
Cobol_common.Srcloc.with_loc
option;
method_proc : Cobol_ptree__.Proc_division.procedure_division
Cobol_common.Srcloc.with_loc
option;
method_end_name : string Cobol_common.Srcloc.with_loc;
}
val compare_method_definitions :
method_definitions ->
method_definitions ->
Ppx_deriving_runtime.int
val compare_method_definition :
method_definition ->
method_definition ->
Ppx_deriving_runtime.int
val compare_method_kind :
method_kind ->
method_kind ->
Ppx_deriving_runtime.int
val pp_method_kind : Stdlib.Format.formatter -> method_kind -> unit
val pp_method_id_paragraph :
Stdlib.Format.formatter ->
(string Cobol_common.Srcloc.with_loc * method_kind * bool * bool) ->
unit
val pp_method_definition : Stdlib.Format.formatter -> method_definition -> unit
type factory_definition = {
factory_implements : string Cobol_common.Srcloc.with_loc list;
factory_options : Cobol_ptree__.Misc_sections.options_clause
Cobol_common.Srcloc.with_loc
list
Cobol_common.Srcloc.with_loc
option;
factory_env : Cobol_ptree__.Env_division.environment_division
Cobol_common.Srcloc.with_loc
option;
factory_data : Cobol_ptree__.Data_division.data_division
Cobol_common.Srcloc.with_loc
option;
factory_methods : method_definitions Cobol_common.Srcloc.with_loc option;
}
val compare_factory_definition :
factory_definition ->
factory_definition ->
Ppx_deriving_runtime.int
val pp_object_procedure_division : method_definitions Pretty.printer
val pp_implements :
Stdlib.Format.formatter ->
string Cobol_common.Srcloc.with_loc list ->
unit
val pp_factory_definition :
Stdlib.Format.formatter ->
factory_definition ->
unit
type instance_definition = {
instance_implements : string Cobol_common.Srcloc.with_loc list;
instance_options : Cobol_ptree__.Misc_sections.options_clause
Cobol_common.Srcloc.with_loc
list
Cobol_common.Srcloc.with_loc
option;
instance_env : Cobol_ptree__.Env_division.environment_division
Cobol_common.Srcloc.with_loc
option;
instance_data : Cobol_ptree__.Data_division.data_division
Cobol_common.Srcloc.with_loc
option;
instance_methods : method_definitions Cobol_common.Srcloc.with_loc option;
}
val compare_instance_definition :
instance_definition ->
instance_definition ->
Ppx_deriving_runtime.int
val pp_instance_definition :
Stdlib.Format.formatter ->
instance_definition ->
unit
type class_definition = {
class_name : [ Cobol_ptree__.Terms.name_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc;
class_as : [ Cobol_ptree__.Terms.alnum_ | Cobol_ptree__.Terms.national_ ]
Cobol_ptree__.Terms.term
option;
class_final : bool;
class_inherits : string Cobol_common.Srcloc.with_loc list;
class_usings : string Cobol_common.Srcloc.with_loc list;
class_options : Cobol_ptree__.Misc_sections.options_clause
Cobol_common.Srcloc.with_loc
list
Cobol_common.Srcloc.with_loc
option;
class_env : Cobol_ptree__.Env_division.environment_division
Cobol_common.Srcloc.with_loc
option;
class_factory : factory_definition Cobol_common.Srcloc.with_loc option;
class_instance : instance_definition Cobol_common.Srcloc.with_loc option;
class_end_name : [ Cobol_ptree__.Terms.name_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc;
}
val compare_class_definition :
class_definition ->
class_definition ->
Ppx_deriving_runtime.int
val pp_class_id_paragraph :
Stdlib.Format.formatter ->
([ Cobol_ptree__.Terms.name_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc
* [ Cobol_ptree__.Terms.alnum_ | Cobol_ptree__.Terms.national_ ]
Cobol_ptree__.Terms.term
option
* bool
* string Cobol_common.Srcloc.with_loc list
* 'a list) ->
unit
val pp_class_definition : Stdlib.Format.formatter -> class_definition -> unit
type interface_definition = {
interface_name : [ Cobol_ptree__.Terms.name_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc;
interface_as : [ Cobol_ptree__.Terms.alnum_ | Cobol_ptree__.Terms.national_ ]
Cobol_ptree__.Terms.term
option;
interface_inherits : string Cobol_common.Srcloc.with_loc list;
interface_usings : string Cobol_common.Srcloc.with_loc list;
interface_options : Cobol_ptree__.Misc_sections.options_clause
Cobol_common.Srcloc.with_loc
list
Cobol_common.Srcloc.with_loc
option;
interface_env : Cobol_ptree__.Env_division.environment_division
Cobol_common.Srcloc.with_loc
option;
interface_methods : method_definitions Cobol_common.Srcloc.with_loc option;
interface_end_name : [ Cobol_ptree__.Terms.name_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc;
}
val compare_interface_definition :
interface_definition ->
interface_definition ->
Ppx_deriving_runtime.int
val pp_interface_id_paragraph :
Stdlib.Format.formatter ->
([ Cobol_ptree__.Terms.name_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc
* [ Cobol_ptree__.Terms.alnum_ | Cobol_ptree__.Terms.national_ ]
Cobol_ptree__.Terms.term
option
* string Cobol_common.Srcloc.with_loc list
* string Cobol_common.Srcloc.with_loc list) ->
unit
val pp_interface_definition :
Stdlib.Format.formatter ->
interface_definition ->
unit
type compilation_unit =
| Program of program_unit
| Function of function_unit
| ClassDefinition of class_definition
| InterfaceDefinition of interface_definition
val compare_compilation_unit :
compilation_unit ->
compilation_unit ->
Ppx_deriving_runtime.int
val pp_compilation_unit : Stdlib.Format.formatter -> compilation_unit -> unit
val compare_control_division :
control_division ->
control_division ->
Ppx_deriving_runtime.int
type compilation_group = {
control_division : control_division Cobol_common.Srcloc.with_loc option;
compilation_units : compilation_unit Cobol_common.Srcloc.with_loc list;
}
val compare_compilation_group :
compilation_group ->
compilation_group ->
Ppx_deriving_runtime.int
val pp_compilation_group : Stdlib.Format.formatter -> compilation_group -> unit
val show_compilation_group : compilation_group -> string
val program_name' :
[ Cobol_ptree__.Terms.name_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc ->
string Cobol_common.Srcloc.with_loc
module Visitor : sig ... end
module Terms_visitor : sig ... end
module Proc_division_visitor : sig ... end
module Terms_helpers : sig ... end
Some utilities to construct or rewrite terms (mostly conditions for now)
module Dummies : sig ... end
Defines some dummy nodes that can be used to fill in missing parts of the parse tree.