Cobol_ptreeParse tree: raw AST with pictures represented using plain, unchecked strings.
type lexloc = Cobol_common.Srcloc.lexloctype srcloc = Cobol_common.Srcloc.srclocval pp_with_loc :
'a Pretty.printer ->
'a Cobol_common.Srcloc.with_loc Pretty.printermodule NEL = Cobol_common.Basics.NELtype 'a nel = 'a NEL.tval pp_nel : 'a Pretty.printer -> Stdlib.Format.formatter -> 'a NEL.t -> unitand permutation_trio = trio_head * permutation_duoand permutation_quartet = quartet_head * permutation_trioval compare_permutation_duo :
permutation_duo ->
permutation_duo ->
Ppx_deriving_runtime.intval compare_permutation_trio :
permutation_trio ->
permutation_trio ->
Ppx_deriving_runtime.intval compare_quartet_head :
quartet_head ->
quartet_head ->
Ppx_deriving_runtime.intval compare_permutation_quartet :
permutation_quartet ->
permutation_quartet ->
Ppx_deriving_runtime.intval 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_trioval 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_quartetval fold_duo :
permutation_duo ->
('a * 'b) ->
(('a -> 'c -> 'c) * ('b -> 'c -> 'c)) ->
'c ->
'cval fold_trio :
(trio_head * permutation_duo) ->
('a * 'b * 'c) ->
(('a -> 'd -> 'd) * ('b -> 'd -> 'd) * ('c -> 'd -> 'd)) ->
'd ->
'dval 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 ->
'eval iter_duo :
permutation_duo ->
('a * 'b) ->
(('a -> unit) * ('b -> unit)) ->
unitval iter_trio :
(trio_head * permutation_duo) ->
('a * 'b * 'c) ->
(('a -> unit) * ('b -> unit) * ('c -> unit)) ->
unitval iter_quartet :
(quartet_head * (trio_head * permutation_duo)) ->
('a * 'b * 'c * 'd) ->
(('a -> unit) * ('b -> unit) * ('c -> unit) * ('d -> unit)) ->
unitval pp_integer : string Pretty.printerval fixed_of_strings : string -> string -> fixedval pp_fixed : Stdlib.Format.formatter -> fixed -> unitval floating_of_strings : string -> string -> string -> floatingval pp_floating : Stdlib.Format.formatter -> floating -> unitval boolean_of_string : ?base:[ `Bool | `Hex ] -> string -> booleanval pp_name : string Pretty.printerval pp_name' :
Stdlib.Format.formatter ->
string Cobol_common.Srcloc.with_loc ->
unittype qualident_ = [ `Ident ] qual_type arith_value_ = length_of_val compare_alphanum_quote :
alphanum_quote ->
alphanum_quote ->
Ppx_deriving_runtime.intval compare_alphanum_repr :
alphanum_repr ->
alphanum_repr ->
Ppx_deriving_runtime.inttype 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_YYYYval compare_intrinsic_name :
intrinsic_name ->
intrinsic_name ->
Ppx_deriving_runtime.intval show_intrinsic_name : intrinsic_name -> stringval pp_intrinsic_name : Stdlib.Format.formatter -> intrinsic_name -> unittype alphanum = {str : string;quotation : alphanum_quote;hexadecimal : bool;runtime_repr : alphanum_repr;}val pp_alphanum : Stdlib.Format.formatter -> alphanum -> unitval pp_national :
Ppx_deriving_runtime.Format.formatter ->
national ->
Ppx_deriving_runtime.unitval show_national : national -> Ppx_deriving_runtime.stringtype _ term = | Alphanum : alphanum -> [> alnum_ ] term| Boolean : Cobol_ptree__.Numericals.boolean -> [> bool_ ] term| Fixed : Cobol_ptree__.Numericals.fixed -> [> fixed_ ] term| Floating : Cobol_ptree__.Numericals.floating -> [> float_ ] 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_ ] termNow 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_ ] figurativeand then particular instantiations.
(Qualified) name (should be `qualref` for "qualified reference" instead).
and scalar = [ scalar_ident_ | refmod_ident_ | lit_ | arith_value_ ] termand expression = | Atom of scalar| Unop of unop * expression| Binop of expression * binop * expressionand _ cond = | Expr : expression -> [> simple_ ] condexpression used as a condition
*)| Relation : binary_relation -> [> simple_ ] condsimple binary relation
*)| Abbrev : abbrev_combined_relation -> [> simple_ ] condabbreviated relation
*)| ClassCond : expression * class_ -> [> simple_ ] condclass condition
*)| SignCond : expression * signz -> [> simple_ ] conde POSITIVE/NEGATIVE/ZERO*)
| Omitted : expression -> [> simple_ ] condc OMITTED*)
| Not : _ cond -> [> complex_ ] condNOT c*)
| Logop : _ cond * logop * _ cond -> [> complex_ ] condc <AND/OR> c'*)
Any form of condition
c
and binary_relation = expression * relop * expressione <relop> e'
and abbrev_combined_relation =
bool * binary_relation * logop * flat_combined_relationAn 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 expressionNOT e*)
| FlatRel of bool * binary_relationNOT? e <relop> e'*)
| FlatOther of condition<non-relational/parenthesized condition>*)
| FlatComb of flat_combined_relation as 'x * logop * 'xa' <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| ClassNumericand 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_argsand 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 * stringand 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| ObjViewUniversaland counter = {counter_kind : counter_kind;counter_name : name Cobol_common.Srcloc.with_loc option;}module COMPARE : sig ... endinclude module type of struct include COMPARE endval compare_term : 'a. 'a Cobol_ptree__.Terms.term compare_funval compare_expression' :
Cobol_ptree__.Terms.expression Cobol_common.Srcloc.with_loc ->
Cobol_ptree__.Terms.expression Cobol_common.Srcloc.with_loc ->
Ppx_deriving_runtime.intval 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.intval compare_sign : [ `Strict ] Cobol_ptree__.Terms.sign_cond compare_funval compare_signz : [ `Loose ] Cobol_ptree__.Terms.sign_cond compare_funval compare_ident :
[ Cobol_ptree__.Terms.base_ident_ | Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
compare_funval compare_qualname :
[ Cobol_ptree__.Terms.name_
| Cobol_ptree__.Terms.name Cobol_ptree__.Terms.qual_ ]
Cobol_ptree__.Terms.term
compare_funval compare_literal :
[ Cobol_ptree__.Terms.nonnum_
| Cobol_ptree__.Terms.bool_
| Cobol_ptree__.Terms.num_ ]
Cobol_ptree__.Terms.term
compare_funval compare_ident_or_numlit :
[ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.num_ ]
Cobol_ptree__.Terms.term
compare_funval compare_ident_or_alphanum :
[ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.alnum_ ]
Cobol_ptree__.Terms.term
compare_funval compare_ident_or_intlit :
[ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.int_ ]
Cobol_ptree__.Terms.term
compare_funval compare_ident_or_literal :
[ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term
compare_funval compare_ident_or_nonnum :
[ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.nonnum_ ]
Cobol_ptree__.Terms.term
compare_funval compare_ident_or_strlit :
[ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.strlit_ ]
Cobol_ptree__.Terms.term
compare_funval compare_name_or_alphanum :
[ Cobol_ptree__.Terms.name_ | Cobol_ptree__.Terms.alnum_ ]
Cobol_ptree__.Terms.term
compare_funval compare_name_or_string :
[ Cobol_ptree__.Terms.name_ | Cobol_ptree__.Terms.strlit_ ]
Cobol_ptree__.Terms.term
compare_funval compare_name_or_literal :
[ Cobol_ptree__.Terms.name_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term
compare_funval compare_qualname_or_alphanum :
[ Cobol_ptree__.Terms.qualname_ | Cobol_ptree__.Terms.alnum_ ]
Cobol_ptree__.Terms.term
compare_funval compare_qualname_or_intlit :
[ Cobol_ptree__.Terms.qualname_ | Cobol_ptree__.Terms.int_ ]
Cobol_ptree__.Terms.term
compare_funval compare_qualname_or_literal :
[ Cobol_ptree__.Terms.qualname_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term
compare_funval compare_strlit :
[ Cobol_ptree__.Terms.alnum_ | Cobol_ptree__.Terms.national_ ]
Cobol_ptree__.Terms.term
compare_funval compare_strlit_or_intlit :
[ Cobol_ptree__.Terms.strlit_ | Cobol_ptree__.Terms.int_ ]
Cobol_ptree__.Terms.term
compare_funval 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_funmodule FMT : sig ... endinclude module type of struct include FMT endval pp_boolean : Cobol_ptree__.Numericals.boolean Pretty.printerval pp_term : 'k. 'k Cobol_ptree__.Terms.term Pretty.printerval pp_figurative : 'k. 'k Cobol_ptree__.Terms.figurative Pretty.printerval pp_qualname :
[ Cobol_ptree__.Terms.name_
| Cobol_ptree__.Terms.name Cobol_ptree__.Terms.qual_ ]
Cobol_ptree__.Terms.term
Pretty.printerval 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 ->
unitval 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.printerval pp_expression' :
Cobol_ptree__.Terms.expression Cobol_common.Srcloc.with_loc Fmt.tval pp_cond : 'k. ?pos:bool -> 'k Cobol_ptree__.Terms.cond Pretty.printerval pp_sign : 'k. 'k Cobol_ptree__.Terms.sign_cond Pretty.printerval pp_literal :
[ Cobol_ptree__.Terms.nonnum_
| Cobol_ptree__.Terms.bool_
| Cobol_ptree__.Terms.num_ ]
Cobol_ptree__.Terms.term
Pretty.printerval 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 ->
unitval pp_ident :
[ Cobol_ptree__.Terms.base_ident_ | Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
Pretty.printerPretty-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.printerval pp_ident_or_intlit :
[ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.int_ ]
Cobol_ptree__.Terms.term
Pretty.printerval pp_ident_or_literal :
[ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term
Pretty.printerval pp_ident_or_nonnum :
[ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.nonnum_ ]
Cobol_ptree__.Terms.term
Pretty.printerval pp_ident_or_numlit :
[ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.num_ ]
Cobol_ptree__.Terms.term
Pretty.printerval pp_ident_or_strlit :
[ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.strlit_ ]
Cobol_ptree__.Terms.term
Pretty.printerval pp_strlit :
[ Cobol_ptree__.Terms.alnum_ | Cobol_ptree__.Terms.national_ ]
Cobol_ptree__.Terms.term
Pretty.printerval pp_name_or_string :
[ Cobol_ptree__.Terms.name_ | Cobol_ptree__.Terms.strlit_ ]
Cobol_ptree__.Terms.term
Pretty.printerval pp_name_or_literal :
[ Cobol_ptree__.Terms.name_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term
Pretty.printerval pp_name_or_alphanum :
[ Cobol_ptree__.Terms.name_ | Cobol_ptree__.Terms.alnum_ ]
Cobol_ptree__.Terms.term
Pretty.printerval pp_strlit_or_intlit :
[ Cobol_ptree__.Terms.strlit_ | Cobol_ptree__.Terms.int_ ]
Cobol_ptree__.Terms.term
Pretty.printerval pp_qualname_or_literal :
[ Cobol_ptree__.Terms.qualname_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term
Pretty.printerval pp_qualname_or_intlit :
[ Cobol_ptree__.Terms.qualname_ | Cobol_ptree__.Terms.int_ ]
Cobol_ptree__.Terms.term
Pretty.printerval pp_qualname_or_alphanum :
[ Cobol_ptree__.Terms.qualname_ | Cobol_ptree__.Terms.alnum_ ]
Cobol_ptree__.Terms.term
Pretty.printermodule UPCAST : sig ... endExlicit term upcasting utilities, that should all reduce to identity.
val compare_rounding_mode :
rounding_mode ->
rounding_mode ->
Ppx_deriving_runtime.intval pp_rounding_mode : Stdlib.Format.formatter -> rounding_mode -> unitval pp_rounding : Stdlib.Format.formatter -> rounding -> unittype procedure_name = qualnameval compare_procedure_name :
procedure_name ->
procedure_name ->
Ppx_deriving_runtime.intval pp_procedure_name : qualname Pretty.printerval pp_procedure_name' : qualname Cobol_common.Srcloc.with_loc Pretty.printertype informational_paragraphs =
informational_paragraph Cobol_common.Srcloc.with_loc listand informational_paragraph =
informational_paragraph_header * comment_entry Cobol_common.Srcloc.with_locval compare_informational_paragraphs :
informational_paragraphs ->
informational_paragraphs ->
Ppx_deriving_runtime.intval compare_informational_paragraph :
informational_paragraph ->
informational_paragraph ->
Ppx_deriving_runtime.intval compare_informational_paragraph_header :
informational_paragraph_header ->
informational_paragraph_header ->
Ppx_deriving_runtime.intval compare_comment_entry :
comment_entry ->
comment_entry ->
Ppx_deriving_runtime.inttype options_paragraph = options_clause Cobol_common.Srcloc.with_loc listand options_clause = | Arithmetic of arithmetic_mode| DefaultRoundedMode of Cobol_ptree__.Terms.rounding_mode| EntryConvention of entry_convention| FloatBinaryDefault of Cobol_ptree__.Data_descr.endianness_mode| FloatDecimalDefault of Cobol_ptree__.Data_descr.encoding_endianness| IntermediateRounding of Cobol_ptree__.Terms.rounding_modeval compare_options_paragraph :
options_paragraph ->
options_paragraph ->
Ppx_deriving_runtime.intval compare_options_clause :
options_clause ->
options_clause ->
Ppx_deriving_runtime.intval compare_arithmetic_mode :
arithmetic_mode ->
arithmetic_mode ->
Ppx_deriving_runtime.intval compare_entry_convention :
entry_convention ->
entry_convention ->
Ppx_deriving_runtime.intval pp_entry_convention : Stdlib.Format.formatter -> entry_convention -> unitval pp_arithmetic_mode : Stdlib.Format.formatter -> arithmetic_mode -> unitval pp_options_clause : Stdlib.Format.formatter -> options_clause -> unitval pp_options_paragraph : options_paragraph Fmt.tval pp_informational_paragraph_header :
Stdlib.Format.formatter ->
informational_paragraph_header ->
unitval pp_comment_entry : comment_entry Pretty.printerval pp_informational_paragraph : informational_paragraph Pretty.printerval pp_informational_paragraphs : informational_paragraphs Pretty.printertype 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 optionand source_computer = {source_computer_name : string Cobol_common.Srcloc.with_loc;source_computer_with_debugging_mode : bool;}and object_computer_paragraph = object_computer optionand 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 {}| ComputerProgCollatingSeq of Cobol_ptree__.Operands.alphabet_specification| ComputerSegmentLimit of stringand locale = | CharClassificationName of string Cobol_common.Srcloc.with_loc| CharClassificationLocale| CharClassificationSystemDefault| CharClassificationUserDefaultand special_names_paragraph =
special_names_clause Cobol_common.Srcloc.with_loc listand 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| CurrencySign of {sign : [ Cobol_ptree__.Terms.alnum_ | Cobol_ptree__.Terms.national_ ]
Cobol_ptree__.Terms.term;picture_symbol : [ Cobol_ptree__.Terms.alnum_ | Cobol_ptree__.Terms.national_ ]
Cobol_ptree__.Terms.term
option;}| Cursor of string Cobol_common.Srcloc.with_loc| DecimalPointIsComma| DynLenStruct of {name : string Cobol_common.Srcloc.with_loc;kind : dyn_len_struct_kind;}| SpecialNameLocale of {locale_name : string Cobol_common.Srcloc.with_loc;external_name : [ Cobol_ptree__.Terms.name_ | Cobol_ptree__.Terms.strlit_ ]
Cobol_ptree__.Terms.term;}| 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;}| OrderTable of {ordering_name : string Cobol_common.Srcloc.with_loc;cultural_ordering : [ Cobol_ptree__.Terms.alnum_
| Cobol_ptree__.Terms.national_ ]
Cobol_ptree__.Terms.term;}and symbolic_characters_map =
string Cobol_common.Srcloc.with_loc list * string listand character_range = | SingleCharacter of [ Cobol_ptree__.Terms.strlit_ | Cobol_ptree__.Terms.int_ ]
Cobol_ptree__.Terms.term| CharacterRange of range_itemsand characters_range = | CharactersRange of character_range| CharactersList of [ Cobol_ptree__.Terms.strlit_ | Cobol_ptree__.Terms.int_ ]
Cobol_ptree__.Terms.term
listand 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 listand dyn_len_struct_kind = | DynLenPrefixed of {}| DynLenDelimited| DynLenPhysical of string Cobol_common.Srcloc.with_locand 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 listand specifier = | ClassSpecifier of {name : string Cobol_common.Srcloc.with_loc;external_name : [ Cobol_ptree__.Terms.alnum_ | Cobol_ptree__.Terms.national_ ]
Cobol_ptree__.Terms.term
option;expands : expands option;}| InterfaceSpecifier of {name : string Cobol_common.Srcloc.with_loc;external_name : [ Cobol_ptree__.Terms.alnum_ | Cobol_ptree__.Terms.national_ ]
Cobol_ptree__.Terms.term
option;expands : expands option;}| UserFunctionSpecifier of {name : string Cobol_common.Srcloc.with_loc;external_name : [ Cobol_ptree__.Terms.alnum_ | Cobol_ptree__.Terms.national_ ]
Cobol_ptree__.Terms.term
option;}| IntrinsicFunctionSpecifier of string Cobol_common.Srcloc.with_loc list| IntrinsicFunctionAllSpecifier| ProgramSpecifier of {name : string Cobol_common.Srcloc.with_loc;external_name : [ Cobol_ptree__.Terms.alnum_ | Cobol_ptree__.Terms.national_ ]
Cobol_ptree__.Terms.term
option;}| PropertySpecifier of {name : string Cobol_common.Srcloc.with_loc;external_name : [ Cobol_ptree__.Terms.alnum_ | Cobol_ptree__.Terms.national_ ]
Cobol_ptree__.Terms.term
option;}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 listand 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 = | SelectAssign of {to_ : [ Cobol_ptree__.Terms.name_ | Cobol_ptree__.Terms.alnum_ ]
Cobol_ptree__.Terms.term
list;using : string Cobol_common.Srcloc.with_loc option;}| SelectAccessMode of access_mode| SelectAlternateRecordKey of {key : [ Cobol_ptree__.Terms.name_
| Cobol_ptree__.Terms.name Cobol_ptree__.Terms.qual_ ]
Cobol_ptree__.Terms.term;source : string Cobol_common.Srcloc.with_loc list;with_duplicates : bool;}| SelectCollatingSequenceOfFile of Cobol_ptree__.Operands.alphabet_specification| SelectCollatingSequenceOfKey of {keys : string Cobol_common.Srcloc.with_loc list;alphabet : string Cobol_common.Srcloc.with_loc;}| SelectStatus of [ Cobol_ptree__.Terms.name_
| Cobol_ptree__.Terms.name Cobol_ptree__.Terms.qual_ ]
Cobol_ptree__.Terms.term| SelectLockMode of {}| SelectOrganization of organization| SelectPaddingCharacter of [ Cobol_ptree__.Terms.qualname_
| Cobol_ptree__.Terms.alnum_ ]
Cobol_ptree__.Terms.term| SelectRecordDelimiter of record_delimiter| SelectRecordKey of {key : [ Cobol_ptree__.Terms.name_
| Cobol_ptree__.Terms.name Cobol_ptree__.Terms.qual_ ]
Cobol_ptree__.Terms.term;source : string Cobol_common.Srcloc.with_loc list;with_duplicates : bool;}| SelectRelativeKey of string Cobol_common.Srcloc.with_loc| SelectReserve of string| SelectSharing of Cobol_ptree__.Operands.sharing_modeand io_control_paragraph = io_control_entry optionand 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_locand 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 listand 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.intval compare_configuration_section :
configuration_section ->
configuration_section ->
Ppx_deriving_runtime.intval compare_source_computer_paragraph :
source_computer_paragraph ->
source_computer_paragraph ->
Ppx_deriving_runtime.intval compare_source_computer :
source_computer ->
source_computer ->
Ppx_deriving_runtime.intval compare_object_computer_paragraph :
object_computer_paragraph ->
object_computer_paragraph ->
Ppx_deriving_runtime.intval compare_object_computer :
object_computer ->
object_computer ->
Ppx_deriving_runtime.intval compare_object_computer_clause :
object_computer_clause ->
object_computer_clause ->
Ppx_deriving_runtime.intval compare_memory_size_unit :
memory_size_unit ->
memory_size_unit ->
Ppx_deriving_runtime.intval compare_special_names_paragraph :
special_names_paragraph ->
special_names_paragraph ->
Ppx_deriving_runtime.intval compare_special_names_clause :
special_names_clause ->
special_names_clause ->
Ppx_deriving_runtime.intval compare_symbolic_characters_map :
symbolic_characters_map ->
symbolic_characters_map ->
Ppx_deriving_runtime.intval compare_character_category :
character_category ->
character_category ->
Ppx_deriving_runtime.intval compare_character_range :
character_range ->
character_range ->
Ppx_deriving_runtime.intval compare_characters_range :
characters_range ->
characters_range ->
Ppx_deriving_runtime.intval compare_range_items :
range_items ->
range_items ->
Ppx_deriving_runtime.intval compare_character_set :
character_set ->
character_set ->
Ppx_deriving_runtime.intval compare_dyn_len_struct_kind :
dyn_len_struct_kind ->
dyn_len_struct_kind ->
Ppx_deriving_runtime.intval compare_status_switch :
status_switch ->
status_switch ->
Ppx_deriving_runtime.intval compare_repository_paragraph :
repository_paragraph ->
repository_paragraph ->
Ppx_deriving_runtime.intval compare_input_output_section :
input_output_section ->
input_output_section ->
Ppx_deriving_runtime.intval compare_file_control_paragraph :
file_control_paragraph ->
file_control_paragraph ->
Ppx_deriving_runtime.intval compare_select_clause :
select_clause ->
select_clause ->
Ppx_deriving_runtime.intval compare_access_mode :
access_mode ->
access_mode ->
Ppx_deriving_runtime.intval compare_organization :
organization ->
organization ->
Ppx_deriving_runtime.intval compare_record_delimiter :
record_delimiter ->
record_delimiter ->
Ppx_deriving_runtime.intval compare_io_control_paragraph :
io_control_paragraph ->
io_control_paragraph ->
Ppx_deriving_runtime.intval compare_io_control_entry :
io_control_entry ->
io_control_entry ->
Ppx_deriving_runtime.intval compare_rerun_clause :
rerun_clause ->
rerun_clause ->
Ppx_deriving_runtime.intval compare_rerun_frequency :
rerun_frequency ->
rerun_frequency ->
Ppx_deriving_runtime.intval compare_same_area_clause :
same_area_clause ->
same_area_clause ->
Ppx_deriving_runtime.intval compare_area_source :
area_source ->
area_source ->
Ppx_deriving_runtime.intval compare_multiple_file_clause :
multiple_file_clause ->
multiple_file_clause ->
Ppx_deriving_runtime.intval compare_file_portion :
file_portion ->
file_portion ->
Ppx_deriving_runtime.intval pp_file_portion : Stdlib.Format.formatter -> file_portion -> unitval pp_multiple_file_clause : multiple_file_clause Fmt.tval pp_area_source_opt : Stdlib.Format.formatter -> area_source -> unitval pp_same_area_clause : Stdlib.Format.formatter -> same_area_clause -> unitval pp_rerun_frequency : Stdlib.Format.formatter -> rerun_frequency -> unitval pp_rerun_clause : Stdlib.Format.formatter -> rerun_clause -> unitval pp_io_control_entry : Stdlib.Format.formatter -> io_control_entry -> unitval pp_io_control_paragraph :
Stdlib.Format.formatter ->
io_control_entry option ->
unitval pp_expands : Stdlib.Format.formatter -> expands -> unitval pp_status_switch : Stdlib.Format.formatter -> status_switch -> unitval pp_dyn_len_struct_kind :
Stdlib.Format.formatter ->
dyn_len_struct_kind ->
unitval pp_range_items : Stdlib.Format.formatter -> range_items -> unitval pp_locale : Stdlib.Format.formatter -> locale -> unitval pp_memory_size_unit : Stdlib.Format.formatter -> memory_size_unit -> unitval pp_object_computer_clause :
Stdlib.Format.formatter ->
object_computer_clause ->
unitval pp_object_computer : Stdlib.Format.formatter -> object_computer -> unitval pp_object_computer_paragraph : object_computer_paragraph Fmt.tval pp_source_computer : Stdlib.Format.formatter -> source_computer -> unitval pp_source_computer_paragraph : source_computer_paragraph Fmt.tval 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 ->
unitval pp_specifier : Stdlib.Format.formatter -> specifier -> unitval pp_repository_paragraph : Stdlib.Format.formatter -> specifier list -> unitval pp_character_category :
Stdlib.Format.formatter ->
character_category ->
unitval pp_character_category_opt :
Stdlib.Format.formatter ->
character_category ->
unitval pp_character_range : Stdlib.Format.formatter -> character_range -> unitval pp_characters_range : Stdlib.Format.formatter -> characters_range -> unitval pp_character_set : Stdlib.Format.formatter -> character_set -> unitval pp_symbolic_characters_map :
Stdlib.Format.formatter ->
(string Cobol_common.Srcloc.with_loc list * string list) ->
unitval pp_special_names_clause :
Stdlib.Format.formatter ->
special_names_clause ->
unitval pp_special_names_paragraph :
Stdlib.Format.formatter ->
special_names_clause Cobol_common.Srcloc.with_loc list ->
unitval pp_configuration_section :
Stdlib.Format.formatter ->
configuration_section ->
unitval pp_record_delimiter : Stdlib.Format.formatter -> record_delimiter -> unitval pp_organization : Stdlib.Format.formatter -> organization -> unitval pp_with_lock : Stdlib.Format.formatter -> with_lock -> unitval pp_lock_mode : Stdlib.Format.formatter -> lock_mode -> unitval pp_access_mode : Stdlib.Format.formatter -> access_mode -> unitval pp_select_clause : Stdlib.Format.formatter -> select_clause -> unitval pp_select : Stdlib.Format.formatter -> select -> unitval pp_file_control_paragraph : Stdlib.Format.formatter -> select list -> unitval pp_input_output_section :
Stdlib.Format.formatter ->
input_output_section ->
unitval pp_environment_division :
Stdlib.Format.formatter ->
environment_division ->
unitval compare_format_clause :
format_clause ->
format_clause ->
Ppx_deriving_runtime.intval pp_format_clause : Stdlib.Format.formatter -> format_clause -> unitval compare_file_block_contents :
file_block_contents ->
file_block_contents ->
Ppx_deriving_runtime.intval pp_file_block_contents :
Stdlib.Format.formatter ->
file_block_contents ->
unittype record_clause = | FixedLength of string| VariableLength of {min_length : string option;max_length : string option;depending : [ Cobol_ptree__.Terms.name_
| Cobol_ptree__.Terms.name Cobol_ptree__.Terms.qual_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc
option;}| FixedOrVariableLength of {}val compare_record_clause :
record_clause ->
record_clause ->
Ppx_deriving_runtime.intval 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 ->
unitval pp_record_clause : Stdlib.Format.formatter -> record_clause -> unitval compare_recording_mode :
recording_mode ->
recording_mode ->
Ppx_deriving_runtime.intval pp_recording_mode : Stdlib.Format.formatter -> recording_mode -> unitval compare_label_clause :
label_clause ->
label_clause ->
Ppx_deriving_runtime.intval pp_label_clause : Stdlib.Format.formatter -> label_clause -> unittype file_data_clause = string Cobol_common.Srcloc.with_loc listval compare_file_data_clause :
file_data_clause ->
file_data_clause ->
Ppx_deriving_runtime.intval pp_file_data_clause :
Stdlib.Format.formatter ->
string Cobol_common.Srcloc.with_loc list ->
unittype 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.intval pp_file_linage_clause :
Stdlib.Format.formatter ->
file_linage_clause ->
unitval compare_data_level : data_level -> data_level -> Ppx_deriving_runtime.inttype 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.intval pp_condition_name_value :
Stdlib.Format.formatter ->
condition_name_value ->
unitval pp_data_name : Stdlib.Format.formatter -> data_name -> unittype 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.intval pp_locale_phrase : Stdlib.Format.formatter -> locale_phrase -> unitval compare_sign_clause :
sign_clause ->
sign_clause ->
Ppx_deriving_runtime.intval compare_sign_position :
sign_position ->
sign_position ->
Ppx_deriving_runtime.intval pp_sign_position : Stdlib.Format.formatter -> sign_position -> unitval pp_sign_clause : Stdlib.Format.formatter -> sign_clause -> unitval compare_report_screen_usage_clause :
report_screen_usage_clause ->
report_screen_usage_clause ->
Ppx_deriving_runtime.intval pp_report_screen_usage_clause :
Stdlib.Format.formatter ->
report_screen_usage_clause ->
unitval compare_external_clause :
external_clause ->
external_clause ->
Ppx_deriving_runtime.intval pp_external_clause : external_clause Fmt.tval compare_group_usage_clause :
group_usage_clause ->
group_usage_clause ->
Ppx_deriving_runtime.intval pp_group_usage_clause :
Stdlib.Format.formatter ->
group_usage_clause ->
unittype 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;}| OccursDepending of {from : string Cobol_common.Srcloc.with_loc;to_ : string Cobol_common.Srcloc.with_loc;depending : [ Cobol_ptree__.Terms.name_
| Cobol_ptree__.Terms.name Cobol_ptree__.Terms.qual_ ]
Cobol_ptree__.Terms.term
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.intval compare_sort_direction :
sort_direction ->
sort_direction ->
Ppx_deriving_runtime.intval pp_sort_direction : Stdlib.Format.formatter -> sort_direction -> unitval pp_sort_spec : Stdlib.Format.formatter -> sort_spec -> unitval pp_indexed_by : string Cobol_common.Srcloc.with_loc list Fmt.tval pp_indexed_by_opt :
Stdlib.Format.formatter ->
string Cobol_common.Srcloc.with_loc list ->
unitval pp_integer' : string Cobol_common.Srcloc.with_loc Pretty.printerval pp_data_occurs_clause :
Stdlib.Format.formatter ->
data_occurs_clause ->
unittype 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.intval pp_data_varying : Stdlib.Format.formatter -> data_varying -> unitval pp_varying_clause : Stdlib.Format.formatter -> data_varying list -> unitval compare_select_when_clause :
select_when_clause ->
select_when_clause ->
Ppx_deriving_runtime.intval pp_select_when_clause :
Stdlib.Format.formatter ->
select_when_clause ->
unitval compare_synchronized_clause :
synchronized_clause ->
synchronized_clause ->
Ppx_deriving_runtime.intval pp_synchronized_clause :
Stdlib.Format.formatter ->
synchronized_clause ->
unitval compare_property_clause :
property_clause ->
property_clause ->
Ppx_deriving_runtime.intval compare_property_kind :
property_kind ->
property_kind ->
Ppx_deriving_runtime.intval pp_property_kind : Stdlib.Format.formatter -> property_kind -> unitval pp_property_clause : Stdlib.Format.formatter -> property_clause -> unittype 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_locand 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.intval compare_signedness : signedness -> signedness -> Ppx_deriving_runtime.intval compare_endianness_mode :
endianness_mode ->
endianness_mode ->
Ppx_deriving_runtime.intval compare_encoding_mode :
encoding_mode ->
encoding_mode ->
Ppx_deriving_runtime.intval compare_encoding_endianness :
encoding_endianness ->
encoding_endianness ->
Ppx_deriving_runtime.intval compare_object_reference_kind :
object_reference_kind ->
object_reference_kind ->
Ppx_deriving_runtime.intval pp_signedness : Stdlib.Format.formatter -> signedness -> unitval pp_endianness_mode : Stdlib.Format.formatter -> endianness_mode -> unitval pp_encoding_mode : Stdlib.Format.formatter -> encoding_mode -> unitval pp_encoding_endianness :
Stdlib.Format.formatter ->
encoding_endianness ->
unitval pp_object_reference_kind :
Stdlib.Format.formatter ->
object_reference_kind ->
unitval pp_usage_clause : Stdlib.Format.formatter -> usage_clause -> unittype validation_clause = | Class of class_clause| Default of [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term
option| Destination of [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
list| InvalidWhen of [ Cobol_ptree__.Terms.simple_ | Cobol_ptree__.Terms.complex_ ]
Cobol_ptree__.Terms.cond
list| PresentWhen of [ Cobol_ptree__.Terms.simple_ | Cobol_ptree__.Terms.complex_ ]
Cobol_ptree__.Terms.cond| Varying of data_varying list| ValidateStatus of {is_ : [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term;when_ : validate_when;on : validation_stage list;for_ : [ Cobol_ptree__.Terms.base_ident_ | Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
list;}and class_clause = | Alphabetic| AlphabeticLower| AlphabeticUpper| Boolean| Numeric| ClassOrAlphabet of string Cobol_common.Srcloc.with_locval compare_validation_clause :
validation_clause ->
validation_clause ->
Ppx_deriving_runtime.intval compare_class_clause :
class_clause ->
class_clause ->
Ppx_deriving_runtime.intval compare_validate_when :
validate_when ->
validate_when ->
Ppx_deriving_runtime.intval compare_validation_stage :
validation_stage ->
validation_stage ->
Ppx_deriving_runtime.intval pp_class_clause : Stdlib.Format.formatter -> class_clause -> unitval pp_validate_when : Stdlib.Format.formatter -> validate_when -> unitval pp_validation_stage : Stdlib.Format.formatter -> validation_stage -> unitval pp_validation_clause : Stdlib.Format.formatter -> validation_clause -> unittype data_value_clause = | ValueData of [ Cobol_ptree__.Terms.nonnum_
| Cobol_ptree__.Terms.bool_
| Cobol_ptree__.Terms.num_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc| ValueTable of table_data_value listand 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.intval compare_table_data_value :
table_data_value ->
table_data_value ->
Ppx_deriving_runtime.intval pp_table_data_value : Stdlib.Format.formatter -> table_data_value -> unitval pp_data_value_clause : Stdlib.Format.formatter -> data_value_clause -> unitval compare_report_data_name_or_final :
report_data_name_or_final ->
report_data_name_or_final ->
Ppx_deriving_runtime.intval pp_report_data_name_or_final :
Stdlib.Format.formatter ->
report_data_name_or_final ->
unittype report_type_clause = | Detail| ReportHeading| ReportFooting| PageHeading| PageFooting| ControlHeading of (report_data_name_or_final * bool) option| ControlFooting of report_data_name_or_final optionval compare_report_type_clause :
report_type_clause ->
report_type_clause ->
Ppx_deriving_runtime.intval pp_report_type_clause :
Stdlib.Format.formatter ->
report_type_clause ->
unitval compare_next_group_clause :
next_group_clause ->
next_group_clause ->
Ppx_deriving_runtime.intval pp_next_group_clause : Stdlib.Format.formatter -> next_group_clause -> unitval compare_column_position :
column_position ->
column_position ->
Ppx_deriving_runtime.intval pp_column_position : Stdlib.Format.formatter -> column_position -> unitval pp_alignment : Stdlib.Format.formatter -> alignment -> unitval compare_line_position :
line_position ->
line_position ->
Ppx_deriving_runtime.intval pp_line_position : Stdlib.Format.formatter -> line_position -> unittype 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.intval pp_sum_phrase : Stdlib.Format.formatter -> sum_phrase -> unitval pp_polarity : Stdlib.Format.formatter -> polarity -> unitval compare_blank_clause :
blank_clause ->
blank_clause ->
Ppx_deriving_runtime.intval pp_blank_clause : Stdlib.Format.formatter -> blank_clause -> unitval compare_erase_clause :
erase_clause ->
erase_clause ->
Ppx_deriving_runtime.intval pp_erase_clause : Stdlib.Format.formatter -> erase_clause -> unitval compare_screen_attribute_clause :
screen_attribute_clause ->
screen_attribute_clause ->
Ppx_deriving_runtime.intval pp_screen_attribute_clause :
Stdlib.Format.formatter ->
screen_attribute_clause ->
unittype screen_line_column_clause = | Absolute of [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.int_ ]
Cobol_ptree__.Terms.term| Relative of polarity
* [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.int_ ]
Cobol_ptree__.Terms.termval compare_screen_line_column_clause :
screen_line_column_clause ->
screen_line_column_clause ->
Ppx_deriving_runtime.intval pp_screen_line_column_clause :
Stdlib.Format.formatter ->
screen_line_column_clause ->
unittype source_destination_clause = | From of [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term| To of [ Cobol_ptree__.Terms.base_ident_ | Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term| Using of [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term| Value of [ Cobol_ptree__.Terms.nonnum_
| Cobol_ptree__.Terms.bool_
| Cobol_ptree__.Terms.num_ ]
Cobol_ptree__.Terms.termval compare_source_destination_clause :
source_destination_clause ->
source_destination_clause ->
Ppx_deriving_runtime.intval pp_source_destination_clause :
Stdlib.Format.formatter ->
source_destination_clause ->
unittype 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.intval pp_valueof_clause : Stdlib.Format.formatter -> valueof_clause -> unittype report_clause = | Global| Code of [ Cobol_ptree__.Terms.base_ident_ | Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term| 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.intval pp_report_clause : Stdlib.Format.formatter -> report_clause -> unittype constant_value = | ConstExpr of Cobol_ptree__.Terms.expression| ConstByteLength of string Cobol_common.Srcloc.with_loc| ConstLength of string Cobol_common.Srcloc.with_loc| ConstFrom of string Cobol_common.Srcloc.with_locval compare_constant_value :
constant_value ->
constant_value ->
Ppx_deriving_runtime.intval pp_constant_value : Stdlib.Format.formatter -> constant_value -> unittype 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_locval compare_comm_clause :
comm_clause ->
comm_clause ->
Ppx_deriving_runtime.intval compare_comm_channel :
comm_channel ->
comm_channel ->
Ppx_deriving_runtime.intval pp_comm_channel : Stdlib.Format.formatter -> comm_channel -> unitval pp_comm_clause : Stdlib.Format.formatter -> comm_clause -> unittype 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.intval pp_comm_direction : Stdlib.Format.formatter -> comm_direction -> unittype picture_string = string Cobol_common.Srcloc.with_locval pp_picture_string :
Stdlib.Format.formatter ->
string Cobol_common.Srcloc.with_loc ->
unitval show_picture_string : string Cobol_common.Srcloc.with_loc -> stringval compare_picture_string :
Stdlib.String.t Cobol_common.Srcloc.with_loc ->
Stdlib.String.t Cobol_common.Srcloc.with_loc ->
Ppx_deriving_runtime.inttype 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.intval pp_picture_clause : Stdlib.Format.formatter -> picture_clause -> unittype data_clause = | DataAligned| DataAnyLength| DataBased| DataBlankWhenZero| DataConstantRecord| DataOccurs of Cobol_ptree__.Data_descr.data_occurs_clause| DataType of string Cobol_common.Srcloc.with_loc| DataValue of Cobol_ptree__.Data_descr.data_value_clause| DataDynamicLength of {structure_name : string Cobol_common.Srcloc.with_loc option;limit : string option;}| DataExternal of [ Cobol_ptree__.Terms.alnum_ | Cobol_ptree__.Terms.national_ ]
Cobol_ptree__.Terms.term
option| DataGlobal| DataGroupUsage of Cobol_ptree__.Data_descr.group_usage_clause| DataJustified| DataPicture of picture_clause Cobol_common.Srcloc.with_loc| DataProperty of Cobol_ptree__.Data_descr.property_clause
Cobol_common.Srcloc.with_loc| DataRedefines of string Cobol_common.Srcloc.with_loc| DataSameAs of string Cobol_common.Srcloc.with_loc| DataSelectWhen of Cobol_ptree__.Data_descr.select_when_clause| DataSign of Cobol_ptree__.Data_descr.sign_clause| DataSynchronized of Cobol_ptree__.Data_descr.synchronized_clause| DataTypedef of {}| DataUsage of Cobol_ptree__.Data_descr.usage_clause| DataValidation of Cobol_ptree__.Data_descr.validation_clauseval compare_data_clause :
data_clause ->
data_clause ->
Ppx_deriving_runtime.intval pp_data_clause : Stdlib.Format.formatter -> data_clause -> unittype report_group_clause = | ReportType of Cobol_ptree__.Data_descr.report_type_clause| ReportNextGroup of Cobol_ptree__.Data_descr.next_group_clause| ReportLine of Cobol_ptree__.Data_descr.line_position list| ReportPicture of picture_clause Cobol_common.Srcloc.with_loc| ReportUsage of Cobol_ptree__.Data_descr.report_screen_usage_clause| ReportSign of Cobol_ptree__.Data_descr.sign_clause| ReportJustified| ReportColumn of {alignment : Cobol_ptree__.Data_descr.alignment;position : Cobol_ptree__.Data_descr.column_position list;}| ReportBlankWhenZero| ReportSource of {}| ReportSum of {sum_of : Cobol_ptree__.Data_descr.sum_phrase list;reset_on : Cobol_ptree__.Data_descr.report_data_name_or_final option;rounding : Cobol_ptree__.Terms.rounding;}| ReportValue of [ Cobol_ptree__.Terms.nonnum_
| Cobol_ptree__.Terms.bool_
| Cobol_ptree__.Terms.num_ ]
Cobol_ptree__.Terms.term| ReportPresentWhen of [ Cobol_ptree__.Terms.simple_
| Cobol_ptree__.Terms.complex_ ]
Cobol_ptree__.Terms.cond| ReportGroupIndicate| ReportOccurs of {from : string;to_ : string option;depending : [ Cobol_ptree__.Terms.name_
| Cobol_ptree__.Terms.name Cobol_ptree__.Terms.qual_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc
option;step : string option;}| ReportVarying of Cobol_ptree__.Data_descr.data_varying listval compare_report_group_clause :
report_group_clause ->
report_group_clause ->
Ppx_deriving_runtime.intval pp_report_group_clause :
Stdlib.Format.formatter ->
report_group_clause ->
unittype screen_clause = | ScreenAuto| ScreenBlank of Cobol_ptree__.Data_descr.blank_clause| ScreenBlankWhenZero| ScreenErase of Cobol_ptree__.Data_descr.erase_clause| ScreenFull| ScreenGlobal| ScreenJustified| ScreenPicture of picture_clause Cobol_common.Srcloc.with_loc| ScreenUsage of Cobol_ptree__.Data_descr.report_screen_usage_clause| ScreenRequired| ScreenAttribute of Cobol_ptree__.Data_descr.screen_attribute_clause
Cobol_common.Srcloc.with_loc
list| ScreenColumn of Cobol_ptree__.Data_descr.screen_line_column_clause| ScreenLine of Cobol_ptree__.Data_descr.screen_line_column_clause| ScreenOccurs of string| ScreenSecure| ScreenSign of Cobol_ptree__.Data_descr.sign_clause| ScreenSourceDestination of Cobol_ptree__.Data_descr.source_destination_clause
Cobol_common.Srcloc.with_loc
list| ScreenGrid| ScreenLeftLine| ScreenOverLine| ScreenSize of [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.int_ ]
Cobol_ptree__.Terms.term| ScreenControl of [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term| ScreenPromptCharacter of [ Cobol_ptree__.Terms.ident_
| Cobol_ptree__.Terms.nonnum_ ]
Cobol_ptree__.Terms.term
option| ScreenZeroFillval compare_screen_clause :
screen_clause ->
screen_clause ->
Ppx_deriving_runtime.intval pp_screen_clause : Stdlib.Format.formatter -> screen_clause -> unitval pp_item :
'a Fmt.t ->
Stdlib.Format.formatter ->
int ->
Cobol_ptree__.Data_descr.data_name Cobol_common.Srcloc.with_loc option ->
'a list ->
unittype 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 -> unittype 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.intval pp_constant_item : Stdlib.Format.formatter -> constant_item -> unittype 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.intval pp_rename_item : Stdlib.Format.formatter -> rename_item -> unittype 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.intval pp_condition_name_item :
Stdlib.Format.formatter ->
condition_name_item ->
unittype 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.intval pp_screen_item : Stdlib.Format.formatter -> screen_item -> unittype 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.intval pp_report_group_item : Stdlib.Format.formatter -> report_group_item -> unittype exec_declarations = Cobol_common.Exec_block.tval compare_exec_declarations :
exec_declarations ->
exec_declarations ->
Ppx_deriving_runtime.intval pp_exec_declarations :
Stdlib.Format.formatter ->
Cobol_common.Exec_block.t ->
unittype _ 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_descrval pp_item_descr : 'k item_descr Pretty.printerval compare_item_descr : 'a item_descr -> 'b item_descr -> inttype data_item_descr = data_ item_descrand constant_item_descr = constant_ item_descrand working_item_descr =
[ constant_ | data_ | rename_ | condition_name_ | exec_ ] item_descrand report_item_descr = [ constant_ | report_group_ ] item_descrand screen_item_descr = [ constant_ | screen_ ] item_descrand any_item_descr =
[ constant_
| data_
| rename_
| condition_name_
| report_group_
| screen_
| exec_ ]
item_descrval pp_data_item_descr : 'a item_descr Pretty.printerval pp_constant_item_descr : 'a item_descr Pretty.printerval pp_working_item_descr : 'a item_descr Pretty.printerval pp_report_item_descr : 'a item_descr Pretty.printerval pp_screen_item_descr : 'a item_descr Pretty.printerval pp_any_item_descr : 'a item_descr Pretty.printerval compare_data_item_descr : 'a item_descr -> 'b item_descr -> intval compare_constant_item_descr : 'a item_descr -> 'b item_descr -> intval compare_working_item_descr : 'a item_descr -> 'b item_descr -> intval compare_report_item_descr : 'a item_descr -> 'b item_descr -> intval compare_screen_item_descr : 'a item_descr -> 'b item_descr -> intval compare_any_item_descr : 'a item_descr -> 'b item_descr -> intval item_descr_level : 'k item_descr -> inttype working_storage_item_descr = working_item_descrtype linkage_item_descr = working_item_descrtype file_item_descr = working_item_descrtype communication_item_descr = working_item_descrtype local_storage_item_descr = working_item_descrval compare_working_storage_item_descr : 'a item_descr -> 'b item_descr -> intval compare_linkage_item_descr : 'a item_descr -> 'b item_descr -> intval compare_file_item_descr : 'a item_descr -> 'b item_descr -> intval compare_communication_item_descr : 'a item_descr -> 'b item_descr -> intval compare_local_storage_item_descr : 'a item_descr -> 'b item_descr -> inttype 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 listand file_fd_clause = | FileExternal of [ Cobol_ptree__.Terms.alnum_ | Cobol_ptree__.Terms.national_ ]
Cobol_ptree__.Terms.term
option| FileGlobal| FileFormat of Cobol_ptree__.Data_descr.format_clause| FileBlockContains of {}| FileRecord of Cobol_ptree__.Data_descr.record_clause| FileRecordingMode of Cobol_ptree__.Data_descr.recording_mode| FileLabel of Cobol_ptree__.Data_descr.label_clause| FileValueOf of Cobol_ptree__.Data_descr.valueof_clause list| FileData of string Cobol_common.Srcloc.with_loc list| FileLinage of Cobol_ptree__.Data_descr.file_linage_clause| FileCodeSet of Cobol_ptree__.Operands.alphabet_specification| FileReport of string Cobol_common.Srcloc.with_loc listand file_sd_clause = | FileSDRecord of Cobol_ptree__.Data_descr.record_clause| FileSDData of string Cobol_common.Srcloc.with_loc list| FileSDGlobalval compare_file_descr : file_descr -> file_descr -> Ppx_deriving_runtime.intval compare_file_clauses :
file_clauses ->
file_clauses ->
Ppx_deriving_runtime.intval compare_file_fd_clause :
file_fd_clause ->
file_fd_clause ->
Ppx_deriving_runtime.intval compare_file_sd_clause :
file_sd_clause ->
file_sd_clause ->
Ppx_deriving_runtime.intval pp_file_fd_clause : Stdlib.Format.formatter -> file_fd_clause -> unitval pp_file_sd_clause : Stdlib.Format.formatter -> file_sd_clause -> unitval pp_item_descr_list :
int list ->
Stdlib.Format.formatter ->
'a item_descr Cobol_common.Srcloc.with_loc list ->
unitval pp_file_descr : Stdlib.Format.formatter -> file_descr -> unittype 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.intval pp_communication_descr :
Stdlib.Format.formatter ->
communication_descr ->
unittype 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.intval pp_report_descr : Stdlib.Format.formatter -> report_descr -> unittype file_section = file_descr Cobol_common.Srcloc.with_loc listval compare_file_section :
file_section ->
file_section ->
Ppx_deriving_runtime.inttype working_storage_section =
working_storage_item_descr Cobol_common.Srcloc.with_loc listval compare_working_storage_section :
working_storage_section ->
working_storage_section ->
Ppx_deriving_runtime.inttype linkage_section = linkage_item_descr Cobol_common.Srcloc.with_loc listval compare_linkage_section :
linkage_section ->
linkage_section ->
Ppx_deriving_runtime.inttype communication_section =
communication_descr Cobol_common.Srcloc.with_loc listval compare_communication_section :
communication_section ->
communication_section ->
Ppx_deriving_runtime.inttype local_storage_section =
local_storage_item_descr Cobol_common.Srcloc.with_loc listval compare_local_storage_section :
local_storage_section ->
local_storage_section ->
Ppx_deriving_runtime.inttype report_section = report_descr Cobol_common.Srcloc.with_loc listval compare_report_section :
report_section ->
report_section ->
Ppx_deriving_runtime.inttype screen_section = screen_item_descr Cobol_common.Srcloc.with_loc listval compare_screen_section :
screen_section ->
screen_section ->
Ppx_deriving_runtime.intval pp_section :
string ->
'a Pretty.printer ->
'a Cobol_common.Srcloc.with_loc list Fmt.tval pp_item_section :
string ->
Stdlib.Format.formatter ->
'a item_descr Cobol_common.Srcloc.with_loc list ->
unitval pp_file_section : file_section Fmt.tval pp_working_storage_section : working_storage_section Fmt.tval pp_linkage_section : linkage_section Fmt.tval pp_communication_section : communication_section Fmt.tval pp_local_storage_section : local_storage_section Fmt.tval pp_report_section : report_section Fmt.tval pp_screen_section : screen_section Fmt.ttype 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.intval pp_data_division : Stdlib.Format.formatter -> data_division -> unittype 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.intval pp_alphabet_specification :
Stdlib.Format.formatter ->
alphabet_specification ->
unitand 'a rounded_list = 'a rounded listval compare_rounded_list :
'a. ('a -> 'a -> Ppx_deriving_runtime.int) ->
'a rounded_list ->
'a rounded_list ->
Ppx_deriving_runtime.intval pp_rounded :
(Stdlib.Format.formatter -> 'a -> unit) ->
Stdlib.Format.formatter ->
'a rounded ->
unitval pp_rounded_list :
(Stdlib.Format.formatter -> 'a -> unit) ->
'a rounded list Fmt.ttype rounded_ident =
[ Cobol_ptree__.Terms.base_ident_ | Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
roundedtype rounded_idents =
[ Cobol_ptree__.Terms.base_ident_ | Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
rounded_listval pp_rounded_ident :
Stdlib.Format.formatter ->
[ Cobol_ptree__.Terms.base_ident_ | Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
rounded ->
unitval pp_rounded_idents :
[ Cobol_ptree__.Terms.base_ident_ | Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
rounded
list
Fmt.tval 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.inttype position = | LinePosition of [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.int_ ]
Cobol_ptree__.Terms.term| ColumnPosition of [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.int_ ]
Cobol_ptree__.Terms.term| LineColumnPosition of [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.int_ ]
Cobol_ptree__.Terms.term
* [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.int_ ]
Cobol_ptree__.Terms.term| CompoundPosition of [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.int_ ]
Cobol_ptree__.Terms.termval pp_position : Stdlib.Format.formatter -> position -> unittype 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.intval compare_call_using_by :
call_using_by ->
call_using_by ->
Ppx_deriving_runtime.intval pp_call_using_by : Stdlib.Format.formatter -> call_using_by -> unitval pp_call_using_clause : Stdlib.Format.formatter -> call_using_clause -> unitval compare_retry_clause :
retry_clause ->
retry_clause ->
Ppx_deriving_runtime.intval pp_retry_clause : Stdlib.Format.formatter -> retry_clause -> unittype 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.intval pp_mcs_kind : Stdlib.Format.formatter -> mcs_kind -> unitval pp_mcs_command_operands :
Stdlib.Format.formatter ->
mcs_command_operands ->
unitval pp_stage : Stdlib.Format.formatter -> stage -> unittype write_target = | WriteTargetName of [ Cobol_ptree__.Terms.name_
| Cobol_ptree__.Terms.name Cobol_ptree__.Terms.qual_ ]
Cobol_ptree__.Terms.term| WriteTargetFile of string Cobol_common.Srcloc.with_locval compare_write_target :
write_target ->
write_target ->
Ppx_deriving_runtime.intval pp_write_target : Stdlib.Format.formatter -> write_target -> unitval pp_date_time : Stdlib.Format.formatter -> date_time -> unittype basic_arithmetic_operands = | ArithSimple of {sources : [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.num_ ]
Cobol_ptree__.Terms.term
list;targets : rounded_idents;}| ArithGiving of {sources : [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.num_ ]
Cobol_ptree__.Terms.term
list;to_or_from_item : [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.num_ ]
Cobol_ptree__.Terms.term;targets : rounded_idents;}| ArithCorresponding of {source : [ Cobol_ptree__.Terms.name_
| Cobol_ptree__.Terms.name Cobol_ptree__.Terms.qual_ ]
Cobol_ptree__.Terms.term;target : rounded_ident;}val compare_basic_arithmetic_operands :
basic_arithmetic_operands ->
basic_arithmetic_operands ->
Ppx_deriving_runtime.intval pp_giving :
[ Cobol_ptree__.Terms.base_ident_ | Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
rounded
list ->
'a Fmt.t listval pp_basic_arithmetic_operands :
?sep:string ->
Stdlib.Format.formatter ->
basic_arithmetic_operands ->
unittype divide_operands = | DivideInto of {divisor : [ Cobol_ptree__.Terms.scalar_ident_
| Cobol_ptree__.Terms.refmod_ident_
| Cobol_ptree__.Terms.lit_
| Cobol_ptree__.Terms.arith_value_ ]
Cobol_ptree__.Terms.term;dividends : rounded_idents;}| DivideGiving of {divisor : [ Cobol_ptree__.Terms.scalar_ident_
| Cobol_ptree__.Terms.refmod_ident_
| Cobol_ptree__.Terms.lit_
| Cobol_ptree__.Terms.arith_value_ ]
Cobol_ptree__.Terms.term;dividend : [ Cobol_ptree__.Terms.scalar_ident_
| Cobol_ptree__.Terms.refmod_ident_
| Cobol_ptree__.Terms.lit_
| Cobol_ptree__.Terms.arith_value_ ]
Cobol_ptree__.Terms.term;giving : rounded_idents;into : bool;remainder : [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
option;}val compare_divide_operands :
divide_operands ->
divide_operands ->
Ppx_deriving_runtime.intval pp_divide_operands : Stdlib.Format.formatter -> divide_operands -> unitval compare_selection_subject :
selection_subject ->
selection_subject ->
Ppx_deriving_runtime.intval pp_selection_subject : Stdlib.Format.formatter -> selection_subject -> unittype selection_object = | SelCond of [ Cobol_ptree__.Terms.simple_ | Cobol_ptree__.Terms.complex_ ]
Cobol_ptree__.Terms.cond| SelRange of {negated : bool;start : Cobol_ptree__.Terms.expression;stop : Cobol_ptree__.Terms.expression;alphabet : string Cobol_common.Srcloc.with_loc option;}| SelRelation of {}| SelClassCond of {}| SelSignCond of {}| SelOmitted of {}| SelConst of bool| SelAnyval compare_selection_object :
selection_object ->
selection_object ->
Ppx_deriving_runtime.intval pp_selection_object : Stdlib.Format.formatter -> selection_object -> unittype multiply_operands = | MultiplyBy of {multiplier : [ Cobol_ptree__.Terms.scalar_ident_
| Cobol_ptree__.Terms.refmod_ident_
| Cobol_ptree__.Terms.lit_
| Cobol_ptree__.Terms.arith_value_ ]
Cobol_ptree__.Terms.term;multiplicand : rounded_idents;}| MultiplyGiving of {multiplier : [ Cobol_ptree__.Terms.scalar_ident_
| Cobol_ptree__.Terms.refmod_ident_
| Cobol_ptree__.Terms.lit_
| Cobol_ptree__.Terms.arith_value_ ]
Cobol_ptree__.Terms.term;multiplicand : [ Cobol_ptree__.Terms.scalar_ident_
| Cobol_ptree__.Terms.refmod_ident_
| Cobol_ptree__.Terms.lit_
| Cobol_ptree__.Terms.arith_value_ ]
Cobol_ptree__.Terms.term;targets : rounded_idents;}val compare_multiply_operands :
multiply_operands ->
multiply_operands ->
Ppx_deriving_runtime.intval pp_multiply_operands : Stdlib.Format.formatter -> multiply_operands -> unitval pp_open_mode : Stdlib.Format.formatter -> open_mode -> unitval compare_sharing_mode :
sharing_mode ->
sharing_mode ->
Ppx_deriving_runtime.intval pp_sharing_mode : Stdlib.Format.formatter -> sharing_mode -> unitval compare_file_option :
file_option ->
file_option ->
Ppx_deriving_runtime.intval pp_file_option : Stdlib.Format.formatter -> file_option -> unittype raise_operand = | RaiseIdent of [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term| RaiseException of string Cobol_common.Srcloc.with_locval compare_raise_operand :
raise_operand ->
raise_operand ->
Ppx_deriving_runtime.intval pp_raise_operand : Stdlib.Format.formatter -> raise_operand -> unittype raising = | RaisingIdent of [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term| RaisingException of string Cobol_common.Srcloc.with_loc| RaisingLastExceptionval pp_raising : Stdlib.Format.formatter -> raising -> unitval compare_read_direction :
read_direction ->
read_direction ->
Ppx_deriving_runtime.intval pp_read_direction : Stdlib.Format.formatter -> read_direction -> unitval compare_read_lock_behavior :
read_lock_behavior ->
read_lock_behavior ->
Ppx_deriving_runtime.intval pp_read_lock_behavior :
Stdlib.Format.formatter ->
read_lock_behavior ->
unitval compare_mcs_awaiting_item :
mcs_awaiting_item ->
mcs_awaiting_item ->
Ppx_deriving_runtime.intval pp_mcs_awaiting_item : Stdlib.Format.formatter -> mcs_awaiting_item -> unitval compare_search_condition :
search_condition ->
search_condition ->
Ppx_deriving_runtime.intval pp_search_condition : Stdlib.Format.formatter -> search_condition -> unitval compare_advancing_phrase :
advancing_phrase ->
advancing_phrase ->
Ppx_deriving_runtime.intval pp_advancing_phrase : Stdlib.Format.formatter -> advancing_phrase -> unitval compare_set_attribute_switch :
set_attribute_switch ->
set_attribute_switch ->
Ppx_deriving_runtime.intval compare_screen_attribute :
screen_attribute ->
screen_attribute ->
Ppx_deriving_runtime.intval compare_set_ambiguous_method :
set_ambiguous_method ->
set_ambiguous_method ->
Ppx_deriving_runtime.intval compare_locale_category :
locale_category ->
locale_category ->
Ppx_deriving_runtime.intval compare_set_save_locale :
set_save_locale ->
set_save_locale ->
Ppx_deriving_runtime.intval compare_set_locale_target :
set_locale_target ->
set_locale_target ->
Ppx_deriving_runtime.intval compare_set_locale_source :
set_locale_source ->
set_locale_source ->
Ppx_deriving_runtime.intval compare_float_content :
float_content ->
float_content ->
Ppx_deriving_runtime.intval pp_screen_attribute : Stdlib.Format.formatter -> screen_attribute -> unitval pp_on_off : Stdlib.Format.formatter -> on_off -> unitval pp_set_attribute_switch :
Stdlib.Format.formatter ->
set_attribute_switch ->
unitval pp_set_ambiguous_method :
Stdlib.Format.formatter ->
set_ambiguous_method ->
unitval pp_locale_category : Stdlib.Format.formatter -> locale_category -> unitval pp_set_save_locale : Stdlib.Format.formatter -> set_save_locale -> unitval pp_set_locale_target : Stdlib.Format.formatter -> set_locale_target -> unitval pp_set_locale_source : Stdlib.Format.formatter -> set_locale_source -> unitval pp_float_content : Stdlib.Format.formatter -> float_content -> unitval compare_start_position :
start_position ->
start_position ->
Ppx_deriving_runtime.intval pp_start_position : Stdlib.Format.formatter -> start_position -> unittype 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.intval compare_string_delimiter :
string_delimiter ->
string_delimiter ->
Ppx_deriving_runtime.intval pp_string_delimiter : Stdlib.Format.formatter -> string_delimiter -> unitval pp_string_source : Stdlib.Format.formatter -> string_source -> unitval compare_unstring_delimiter :
unstring_delimiter ->
unstring_delimiter ->
Ppx_deriving_runtime.intval pp_unstring_delimiter :
Stdlib.Format.formatter ->
unstring_delimiter ->
unittype 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.intval pp_unstring_target : Stdlib.Format.formatter -> unstring_target -> unitval compare_procedure_range :
'a. ('a -> 'a -> Ppx_deriving_runtime.int) ->
'a procedure_range ->
'a procedure_range ->
Ppx_deriving_runtime.intval pp_procedure_range :
'a Fmt.t ->
Stdlib.Format.formatter ->
'a procedure_range ->
unittype 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;}and allocate_kind = | AllocateCharacters of Cobol_ptree__.Terms.expression| AllocateDataItem of string Cobol_common.Srcloc.with_locval compare_allocate_stmt :
allocate_stmt ->
allocate_stmt ->
Ppx_deriving_runtime.intval compare_allocate_kind :
allocate_kind ->
allocate_kind ->
Ppx_deriving_runtime.intval pp_allocate_kind : Stdlib.Format.formatter -> allocate_kind -> unitval pp_allocate_stmt : Stdlib.Format.formatter -> allocate_stmt -> unittype alter_stmt = alter_operands Cobol_common.Srcloc.with_loc listand 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.intval compare_alter_operands :
alter_operands ->
alter_operands ->
Ppx_deriving_runtime.intval pp_alter_operands : Stdlib.Format.formatter -> alter_operands -> unitval pp_alter_stmt :
Stdlib.Format.formatter ->
alter_operands Cobol_common.Srcloc.with_loc list ->
unittype close_stmt = close_phrase listand 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.intval compare_close_phrase :
close_phrase ->
close_phrase ->
Ppx_deriving_runtime.intval compare_close_format :
close_format ->
close_format ->
Ppx_deriving_runtime.intval pp_close_format : Stdlib.Format.formatter -> close_format -> unitval pp_close_phrase : Stdlib.Format.formatter -> close_phrase -> unitval pp_close_stmt : Stdlib.Format.formatter -> close_phrase list -> unittype 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.intval pp_enter_stmt : Stdlib.Format.formatter -> enter_stmt -> unittype entry_by_clause = | EntryByReference of string Cobol_common.Srcloc.with_loc list| EntryByValue of string Cobol_common.Srcloc.with_loc listval compare_entry_by_clause :
entry_by_clause ->
entry_by_clause ->
Ppx_deriving_runtime.inttype entry_stmt = | EntrySimple of Cobol_ptree__.Terms.alphanum Cobol_common.Srcloc.with_loc| EntryUsing of {entry_name : Cobol_ptree__.Terms.alphanum Cobol_common.Srcloc.with_loc;entry_by_clauses : entry_by_clause list;}| EntryForGoTo of Cobol_ptree__.Terms.alphanum Cobol_common.Srcloc.with_locval compare_entry_stmt : entry_stmt -> entry_stmt -> Ppx_deriving_runtime.intval pp_entry_by_clause : Stdlib.Format.formatter -> entry_by_clause -> unitval pp_entry_stmt : Stdlib.Format.formatter -> entry_stmt -> unitval pp_exit_stmt : Stdlib.Format.formatter -> exit_stmt -> unittype 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| InitCategoryProgramPointerval compare_initialize_stmt :
initialize_stmt ->
initialize_stmt ->
Ppx_deriving_runtime.intval compare_init_category :
init_category ->
init_category ->
Ppx_deriving_runtime.intval compare_init_replacing :
init_replacing ->
init_replacing ->
Ppx_deriving_runtime.intval compare_init_data_category :
init_data_category ->
init_data_category ->
Ppx_deriving_runtime.intval pp_init_data_category :
Stdlib.Format.formatter ->
init_data_category ->
unitval pp_init_category : Stdlib.Format.formatter -> init_category -> unitval pp_init_replacing : Stdlib.Format.formatter -> init_replacing -> unitval pp_initialize_stmt : Stdlib.Format.formatter -> initialize_stmt -> unittype 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.intval pp_invoke_stmt : Stdlib.Format.formatter -> invoke_stmt -> unittype 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 convertingand 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 listand 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_locand replacing_clause = | ReplacingCharacters of {replacement : [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.nonnum_ ]
Cobol_ptree__.Terms.term;where : inspect_where list;}| ReplacingRange of replacing_range * replacing_range_spec listand 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_referenceval compare_inspect_stmt :
inspect_stmt ->
inspect_stmt ->
Ppx_deriving_runtime.intval compare_inspect_spec :
inspect_spec ->
inspect_spec ->
Ppx_deriving_runtime.intval compare_tallying_clause :
tallying_clause ->
tallying_clause ->
Ppx_deriving_runtime.intval compare_tallying_range :
tallying_range ->
tallying_range ->
Ppx_deriving_runtime.intval compare_tallying_spec :
tallying_spec ->
tallying_spec ->
Ppx_deriving_runtime.intval compare_replacing_clause :
replacing_clause ->
replacing_clause ->
Ppx_deriving_runtime.intval compare_replacing_range :
replacing_range ->
replacing_range ->
Ppx_deriving_runtime.intval compare_replacing_range_spec :
replacing_range_spec ->
replacing_range_spec ->
Ppx_deriving_runtime.intval compare_converting : converting -> converting -> Ppx_deriving_runtime.intval compare_inspect_where :
inspect_where ->
inspect_where ->
Ppx_deriving_runtime.intval compare_inspect_direction :
inspect_direction ->
inspect_direction ->
Ppx_deriving_runtime.intval compare_inspect_reference :
inspect_reference ->
inspect_reference ->
Ppx_deriving_runtime.intval pp_replacing_range : Stdlib.Format.formatter -> replacing_range -> unitval pp_inspect_direction : Stdlib.Format.formatter -> inspect_direction -> unitval pp_inspect_where :
(inspect_direction
* [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.nonnum_ ]
Cobol_ptree__.Terms.term)
Fmt.tval pp_converting : Stdlib.Format.formatter -> converting -> unitval pp_replacing_range_spec :
Stdlib.Format.formatter ->
replacing_range_spec ->
unitval pp_replacing_clause : Stdlib.Format.formatter -> replacing_clause -> unitval pp_replacing : replacing_clause Cobol_common.Srcloc.with_loc Pretty.printerval pp_tallying_range : Stdlib.Format.formatter -> tallying_range -> unitval pp_tallying_spec : Stdlib.Format.formatter -> tallying_spec -> unitval pp_tallying_clause : Stdlib.Format.formatter -> tallying_clause -> unitval pp_tallying : Stdlib.Format.formatter -> tallying -> unitval pp_inspect_spec : Stdlib.Format.formatter -> inspect_spec -> unitval pp_inspect_stmt : Stdlib.Format.formatter -> inspect_stmt -> unittype 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;}and merge_or_sort_target = | OutputProcedure of [ 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| Giving of string Cobol_common.Srcloc.with_loc listval compare_merge_stmt : merge_stmt -> merge_stmt -> Ppx_deriving_runtime.intval compare_merge_or_sort_target :
merge_or_sort_target ->
merge_or_sort_target ->
Ppx_deriving_runtime.intval pp_merge_or_sort_target :
Stdlib.Format.formatter ->
merge_or_sort_target ->
unitval pp_merge_stmt : Stdlib.Format.formatter -> merge_stmt -> unittype move_stmt = | MoveSimple of {from : [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term;to_ : [ Cobol_ptree__.Terms.base_ident_ | Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
list;}| MoveCorresponding of {from : [ Cobol_ptree__.Terms.base_ident_ | Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term;to_ : [ Cobol_ptree__.Terms.base_ident_ | Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
list;}val pp_move_stmt : Stdlib.Format.formatter -> move_stmt -> unittype open_stmt = open_phrase listand 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.intval compare_named_file_option :
named_file_option ->
named_file_option ->
Ppx_deriving_runtime.intval pp_named_file_option : Stdlib.Format.formatter -> named_file_option -> unitval pp_open_phrase : Stdlib.Format.formatter -> open_phrase -> unitval pp_open_stmt : open_phrase list Fmt.ttype 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.intval pp_release_stmt : Stdlib.Format.formatter -> release_stmt -> unitand send_operands = | SendSimple of {from : [ Cobol_ptree__.Terms.base_ident_ | Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term;}| SendWith of {from : [ Cobol_ptree__.Terms.base_ident_ | Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
option;ending_indicator : message_ending_indicator;advancing : Cobol_ptree__.Operands.advancing_phrase option;replace : bool;}val compare_send_operands :
send_operands ->
send_operands ->
Ppx_deriving_runtime.intval compare_message_ending_indicator :
message_ending_indicator ->
message_ending_indicator ->
Ppx_deriving_runtime.intval pp_message_ending_indicator :
Stdlib.Format.formatter ->
message_ending_indicator ->
unitval pp_send_operands : Stdlib.Format.formatter -> send_operands -> unitval pp_send_stmt : Stdlib.Format.formatter -> send_stmt -> unittype set_stmt = | SetAmbiguous of {targets : [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
list;set_method : Cobol_ptree__.Operands.set_ambiguous_method;value : Cobol_ptree__.Terms.expression;}| SetSwitch of set_switch_spec list| SetCondition of set_condition_spec list| SetEntry of {targets : [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
list;value : [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.nonnum_ ]
Cobol_ptree__.Terms.term;}| SetAttribute of {name : string Cobol_common.Srcloc.with_loc;attribute_switches : Cobol_ptree__.Operands.set_attribute_switch list;}| SetSaveLocale of {target : [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term;locale : Cobol_ptree__.Operands.set_save_locale;}| SetLocale of {target : Cobol_ptree__.Operands.set_locale_target;source : Cobol_ptree__.Operands.set_locale_source;}| SetSavedException| SetFloatContent of {targets : [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
list;content : Cobol_ptree__.Operands.float_content;sign : [ `Strict ] Cobol_ptree__.Terms.sign_cond option;}| SetEnvironment of {variable : [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term;value : [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term;}val compare_set_switch_spec :
set_switch_spec ->
set_switch_spec ->
Ppx_deriving_runtime.intval compare_set_condition_spec :
set_condition_spec ->
set_condition_spec ->
Ppx_deriving_runtime.intval pp_set_condition_spec :
Stdlib.Format.formatter ->
set_condition_spec ->
unitval pp_set_switch_spec : Stdlib.Format.formatter -> set_switch_spec -> unitval pp_set_stmt : Stdlib.Format.formatter -> set_stmt -> unittype sort_stmt = | SortFile of {file : Cobol_ptree__.Terms.qualident;keys : Cobol_ptree__.Data_descr.sort_spec list;duplicate_in_order : bool;collating : Cobol_ptree__.Operands.alphabet_specification option;source : sort_source;target : merge_or_sort_target;}| SortTable of {table : Cobol_ptree__.Terms.qualident;keys : Cobol_ptree__.Data_descr.sort_spec list;duplicate_in_order : bool;collating : Cobol_ptree__.Operands.alphabet_specification option;}and sort_source = | SortInputProcedure of [ 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| SortUsing of string Cobol_common.Srcloc.with_loc listval compare_sort_source :
sort_source ->
sort_source ->
Ppx_deriving_runtime.intval pp_sort_source : Stdlib.Format.formatter -> sort_source -> unitval pp_sort_stmt : Stdlib.Format.formatter -> sort_stmt -> unittype stop_stmt = | StopArg of stop_arg option| StopRun of stop_run_return option| StopError| StopThread of Cobol_ptree__.Terms.qualident optionand stop_run_return = | StopReturningScalar of [ Cobol_ptree__.Terms.scalar_ident_
| Cobol_ptree__.Terms.refmod_ident_
| Cobol_ptree__.Terms.lit_
| Cobol_ptree__.Terms.arith_value_ ]
Cobol_ptree__.Terms.term| StopReturningAddress of Cobol_ptree__.Terms.qualident| StopReturningInt of {value : [ Cobol_ptree__.Terms.nonnum_
| Cobol_ptree__.Terms.bool_
| Cobol_ptree__.Terms.num_ ]
Cobol_ptree__.Terms.term;size : [ Cobol_ptree__.Terms.nonnum_
| Cobol_ptree__.Terms.bool_
| Cobol_ptree__.Terms.num_ ]
Cobol_ptree__.Terms.term
option;}| StopReturningStatus of stop_run_statusand 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.intval compare_stop_run_status :
stop_run_status ->
stop_run_status ->
Ppx_deriving_runtime.intval compare_status_kind :
status_kind ->
status_kind ->
Ppx_deriving_runtime.intval pp_status_kind : Stdlib.Format.formatter -> status_kind -> unitval pp_stop_run_status : Stdlib.Format.formatter -> stop_run_status -> unitval pp_stop_stmt : Stdlib.Format.formatter -> stop_stmt -> unittype terminate_stmt = string Cobol_common.Srcloc.with_loc listval compare_terminate_stmt :
terminate_stmt ->
terminate_stmt ->
Ppx_deriving_runtime.intval pp_terminate_stmt : string Cobol_common.Srcloc.with_loc list Fmt.ttype 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.intval pp_transform_stmt : Stdlib.Format.formatter -> transform_stmt -> unitval compare_unlock_stmt :
unlock_stmt ->
unlock_stmt ->
Ppx_deriving_runtime.intval pp_unlock_stmt : Stdlib.Format.formatter -> unlock_stmt -> unittype goto_stmt = | GoToSimple of {target : [ Cobol_ptree__.Terms.name_
| Cobol_ptree__.Terms.name Cobol_ptree__.Terms.qual_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc;}| GoToDepending of {targets : [ Cobol_ptree__.Terms.name_
| Cobol_ptree__.Terms.name Cobol_ptree__.Terms.qual_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc
Cobol_common.Basics.NEL.t;depending_on : [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term;}| GoToEntry of {targets : Cobol_ptree__.Terms.alphanum Cobol_common.Srcloc.with_loc
Cobol_common.Basics.NEL.t;depending_on : [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
option;}val pp_goto_stmt : Stdlib.Format.formatter -> goto_stmt -> unittype resume_stmt = | ResumeNextStatement| ResumeTarget of [ Cobol_ptree__.Terms.name_
| Cobol_ptree__.Terms.name Cobol_ptree__.Terms.qual_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_locval compare_resume_stmt :
resume_stmt ->
resume_stmt ->
Ppx_deriving_runtime.intval pp_resume_stmt : Stdlib.Format.formatter -> resume_stmt -> unittype handler = statementsand 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 perform_mode = | PerformNTimes of [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.int_ ]
Cobol_ptree__.Terms.term| PerformUntil of {with_test : Cobol_ptree__.Operands.stage option;until : [ Cobol_ptree__.Terms.simple_ | Cobol_ptree__.Terms.complex_ ]
Cobol_ptree__.Terms.cond
option;}| PerformVarying of {with_test : Cobol_ptree__.Operands.stage option;varying : varying_phrase Cobol_common.Srcloc.with_loc;after : varying_phrase Cobol_common.Srcloc.with_loc list;}| PerformForeverand 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_stmt = | AcceptGeneric of [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc| AcceptFromDevice of {item : [ Cobol_ptree__.Terms.base_ident_ | Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc;device_item : string Cobol_common.Srcloc.with_loc;}| AcceptTemporal of {item : [ Cobol_ptree__.Terms.base_ident_ | Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc;date_time : Cobol_ptree__.Operands.date_time;}| AcceptMisc of {item : [ Cobol_ptree__.Terms.base_ident_ | Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc;misc : accept_misc;}| AcceptMsgCount of string Cobol_common.Srcloc.with_loc| AcceptScreen of {item : [ Cobol_ptree__.Terms.base_ident_ | Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc;clauses : accept_clause Cobol_common.Srcloc.with_loc list;on_exception : dual_handler;}| AcceptFromEnv of {item : [ Cobol_ptree__.Terms.base_ident_ | Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc;env_item : [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.nonnum_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc
option;on_exception : dual_handler;}| AcceptFromArg of {item : [ Cobol_ptree__.Terms.base_ident_ | Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc;on_exception : dual_handler;}| AcceptFromCmdLine of {item : [ Cobol_ptree__.Terms.base_ident_ | Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc;on_exception : dual_handler;}and accept_clause = | AcceptAt of Cobol_ptree__.Operands.position| AcceptFromCRT| AcceptModeBlock| AcceptWith of accept_with_clause Cobol_common.Srcloc.with_loc listand accept_with_clause = | AcceptAttribute of Cobol_ptree__.Data_descr.screen_attribute_clause| AcceptAuto| AcceptFull| AcceptGrid| AcceptLeftLine| AcceptOverLine| AcceptPromptCharacter of [ Cobol_ptree__.Terms.ident_
| Cobol_ptree__.Terms.nonnum_ ]
Cobol_ptree__.Terms.term
option| AcceptRequired| AcceptSecure| AcceptSize of [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.int_ ]
Cobol_ptree__.Terms.term| AcceptControl of [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term| AcceptTimeout| AcceptLeftJustify| AcceptRightJustify| AcceptSpaceFill| AcceptTrailingSign| AcceptUpdate| AcceptUpper| AcceptLower| AcceptZeroFilland 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 = | DisplayAt of Cobol_ptree__.Operands.position| DisplayUpon of display_target Cobol_common.Srcloc.with_loc| DisplayModeIsBlock| DisplayWith of display_with_clause Cobol_common.Srcloc.with_loc listand display_target = | DisplayUponName of string Cobol_common.Srcloc.with_loc| DisplayUponDeviceViaMnemonic of display_device_mnemonic
Cobol_common.Srcloc.with_locand display_with_clause = | DisplayAttribute of Cobol_ptree__.Data_descr.screen_attribute_clause| DisplayGrid| DisplayErase of Cobol_ptree__.Data_descr.erase_clause| DisplayLeftLine| DisplayOverLine| DisplaySize of [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.int_ ]
Cobol_ptree__.Terms.term| DisplayControl of [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term| DisplayBlank of Cobol_ptree__.Data_descr.blank_clauseand 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 call_prefix = | CallGeneral of [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.strlit_ ]
Cobol_ptree__.Terms.term| CallProto of {called : [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.strlit_ ]
Cobol_ptree__.Terms.term
option;prototype : call_proto;}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| Allocate of Cobol_ptree__.Simple_statements.allocate_stmt| Alter of Cobol_ptree__.Simple_statements.alter_operands
Cobol_common.Srcloc.with_loc
list| Call of call_stmt| Cancel of [ Cobol_ptree__.Terms.ident_ | Cobol_ptree__.Terms.strlit_ ]
Cobol_ptree__.Terms.term
list| Close of Cobol_ptree__.Simple_statements.close_phrase list| Compute of compute_stmt| Continue| Delete of delete_stmt| Disable of Cobol_ptree__.Operands.mcs_command_operands| Display of display_stmt| Divide of divide_stmt| Enable of Cobol_ptree__.Operands.mcs_command_operands| Enter of Cobol_ptree__.Simple_statements.enter_stmt| Entry of Cobol_ptree__.Simple_statements.entry_stmt| Evaluate of evaluate_stmt| ExecBlock of Cobol_common.Exec_block.t| Exit of Cobol_ptree__.Simple_statements.exit_stmt| 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| Initialize of Cobol_ptree__.Simple_statements.initialize_stmt| Initiate of string Cobol_common.Srcloc.with_loc list| Inspect of Cobol_ptree__.Simple_statements.inspect_stmt| Invoke of Cobol_ptree__.Simple_statements.invoke_stmt| LoneGoTo| Merge of Cobol_ptree__.Simple_statements.merge_stmt| Move of Cobol_ptree__.Simple_statements.move_stmt| Multiply of multiply_stmt| NextSentence| Open of Cobol_ptree__.Simple_statements.open_phrase list| PerformTarget of perform_target_stmt| PerformInline of perform_inline_stmt| Purge of string Cobol_common.Srcloc.with_loc| Raise of Cobol_ptree__.Operands.raise_operand| Read of read_stmt| Receive of receive_stmt| Release of Cobol_ptree__.Simple_statements.release_stmt| Resume of resume_stmt| Return of return_stmt| Rewrite of rewrite_stmt| Search of search_stmt| SearchAll of search_all_stmt| Send of Cobol_ptree__.Simple_statements.send_stmt| Set of Cobol_ptree__.Simple_statements.set_stmt| Sort of Cobol_ptree__.Simple_statements.sort_stmt| Start of start_stmt| Stop of Cobol_ptree__.Simple_statements.stop_stmt| String of string_stmt| Subtract of basic_arithmetic_stmt| Suppress| Terminate of string Cobol_common.Srcloc.with_loc list| Transform of Cobol_ptree__.Simple_statements.transform_stmt| Unlock of Cobol_ptree__.Simple_statements.unlock_stmt| Unstring of unstring_stmt| Validate of [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term
list| Write of write_stmtand statements = statement Cobol_common.Srcloc.with_loc listval compare_dual_handler :
dual_handler ->
dual_handler ->
Ppx_deriving_runtime.intval compare_evaluate_stmt :
evaluate_stmt ->
evaluate_stmt ->
Ppx_deriving_runtime.intval compare_evaluate_branch :
evaluate_branch ->
evaluate_branch ->
Ppx_deriving_runtime.intval compare_perform_target_stmt :
perform_target_stmt ->
perform_target_stmt ->
Ppx_deriving_runtime.intval compare_perform_inline_stmt :
perform_inline_stmt ->
perform_inline_stmt ->
Ppx_deriving_runtime.intval compare_perform_mode :
perform_mode ->
perform_mode ->
Ppx_deriving_runtime.intval compare_varying_phrase :
varying_phrase ->
varying_phrase ->
Ppx_deriving_runtime.intval compare_search_stmt :
search_stmt ->
search_stmt ->
Ppx_deriving_runtime.intval compare_search_when_clause :
search_when_clause ->
search_when_clause ->
Ppx_deriving_runtime.intval compare_search_all_stmt :
search_all_stmt ->
search_all_stmt ->
Ppx_deriving_runtime.intval compare_accept_stmt :
accept_stmt ->
accept_stmt ->
Ppx_deriving_runtime.intval compare_accept_misc :
accept_misc ->
accept_misc ->
Ppx_deriving_runtime.intval compare_accept_clause :
accept_clause ->
accept_clause ->
Ppx_deriving_runtime.intval compare_accept_with_clause :
accept_with_clause ->
accept_with_clause ->
Ppx_deriving_runtime.intval compare_display_stmt :
display_stmt ->
display_stmt ->
Ppx_deriving_runtime.intval compare_display_items_clauses :
display_items_clauses ->
display_items_clauses ->
Ppx_deriving_runtime.intval compare_display_clause :
display_clause ->
display_clause ->
Ppx_deriving_runtime.intval compare_display_target :
display_target ->
display_target ->
Ppx_deriving_runtime.intval compare_display_device_mnemonic :
display_device_mnemonic ->
display_device_mnemonic ->
Ppx_deriving_runtime.intval compare_display_with_clause :
display_with_clause ->
display_with_clause ->
Ppx_deriving_runtime.intval compare_basic_arithmetic_stmt :
basic_arithmetic_stmt ->
basic_arithmetic_stmt ->
Ppx_deriving_runtime.intval compare_compute_stmt :
compute_stmt ->
compute_stmt ->
Ppx_deriving_runtime.intval compare_delete_stmt :
delete_stmt ->
delete_stmt ->
Ppx_deriving_runtime.intval compare_divide_stmt :
divide_stmt ->
divide_stmt ->
Ppx_deriving_runtime.intval compare_multiply_stmt :
multiply_stmt ->
multiply_stmt ->
Ppx_deriving_runtime.intval compare_receive_stmt :
receive_stmt ->
receive_stmt ->
Ppx_deriving_runtime.intval compare_return_stmt :
return_stmt ->
return_stmt ->
Ppx_deriving_runtime.intval compare_rewrite_stmt :
rewrite_stmt ->
rewrite_stmt ->
Ppx_deriving_runtime.intval compare_start_stmt : start_stmt -> start_stmt -> Ppx_deriving_runtime.intval compare_string_stmt :
string_stmt ->
string_stmt ->
Ppx_deriving_runtime.intval compare_unstring_stmt :
unstring_stmt ->
unstring_stmt ->
Ppx_deriving_runtime.intval compare_write_stmt : write_stmt -> write_stmt -> Ppx_deriving_runtime.intval compare_write_error :
write_error ->
write_error ->
Ppx_deriving_runtime.intval compare_call_prefix :
call_prefix ->
call_prefix ->
Ppx_deriving_runtime.intval compare_call_proto : call_proto -> call_proto -> Ppx_deriving_runtime.intval compare_call_error_handler :
call_error_handler ->
call_error_handler ->
Ppx_deriving_runtime.intval compare_read_error : read_error -> read_error -> Ppx_deriving_runtime.intval compare_goback_stmt :
goback_stmt ->
goback_stmt ->
Ppx_deriving_runtime.intval compare_statements : statements -> handler -> Ppx_deriving_runtime.intval show_handler : handler -> Ppx_deriving_runtime.stringval show_dual_handler : dual_handler -> Ppx_deriving_runtime.stringval show_evaluate_stmt : evaluate_stmt -> Ppx_deriving_runtime.stringval show_evaluate_branch : evaluate_branch -> Ppx_deriving_runtime.stringval show_perform_target_stmt :
perform_target_stmt ->
Ppx_deriving_runtime.stringval show_perform_inline_stmt :
perform_inline_stmt ->
Ppx_deriving_runtime.stringval show_perform_mode : perform_mode -> Ppx_deriving_runtime.stringval show_varying_phrase : varying_phrase -> Ppx_deriving_runtime.stringval show_search_stmt : search_stmt -> Ppx_deriving_runtime.stringval show_search_when_clause : search_when_clause -> Ppx_deriving_runtime.stringval show_search_all_stmt : search_all_stmt -> Ppx_deriving_runtime.stringval show_if_stmt : if_stmt -> Ppx_deriving_runtime.stringval show_accept_stmt : accept_stmt -> Ppx_deriving_runtime.stringval show_accept_misc : accept_misc -> Ppx_deriving_runtime.stringval show_accept_clause : accept_clause -> Ppx_deriving_runtime.stringval show_accept_with_clause : accept_with_clause -> Ppx_deriving_runtime.stringval show_display_stmt : display_stmt -> Ppx_deriving_runtime.stringval show_display_items_clauses :
display_items_clauses ->
Ppx_deriving_runtime.stringval show_display_clause : display_clause -> Ppx_deriving_runtime.stringval show_display_target : display_target -> Ppx_deriving_runtime.stringval show_display_device_mnemonic :
display_device_mnemonic ->
Ppx_deriving_runtime.stringval show_display_with_clause :
display_with_clause ->
Ppx_deriving_runtime.stringval show_basic_arithmetic_stmt :
basic_arithmetic_stmt ->
Ppx_deriving_runtime.stringval show_compute_stmt : compute_stmt -> Ppx_deriving_runtime.stringval show_delete_stmt : delete_stmt -> Ppx_deriving_runtime.stringval show_divide_stmt : divide_stmt -> Ppx_deriving_runtime.stringval show_multiply_stmt : multiply_stmt -> Ppx_deriving_runtime.stringval show_receive_stmt : receive_stmt -> Ppx_deriving_runtime.stringval show_return_stmt : return_stmt -> Ppx_deriving_runtime.stringval show_rewrite_stmt : rewrite_stmt -> Ppx_deriving_runtime.stringval show_start_stmt : start_stmt -> Ppx_deriving_runtime.stringval show_string_stmt : string_stmt -> Ppx_deriving_runtime.stringval show_unstring_stmt : unstring_stmt -> Ppx_deriving_runtime.stringval show_write_stmt : write_stmt -> Ppx_deriving_runtime.stringval show_write_error : write_error -> Ppx_deriving_runtime.stringval show_call_stmt : call_stmt -> Ppx_deriving_runtime.stringval show_call_prefix : call_prefix -> Ppx_deriving_runtime.stringval show_call_proto : call_proto -> Ppx_deriving_runtime.stringval pp_call_error_handler :
Ppx_deriving_runtime.Format.formatter ->
call_error_handler ->
Ppx_deriving_runtime.unitval show_call_error_handler : call_error_handler -> Ppx_deriving_runtime.stringval show_read_stmt : read_stmt -> Ppx_deriving_runtime.stringval show_read_error : read_error -> Ppx_deriving_runtime.stringval pp_goback_stmt :
Ppx_deriving_runtime.Format.formatter ->
goback_stmt ->
Ppx_deriving_runtime.unitval show_goback_stmt : goback_stmt -> Ppx_deriving_runtime.stringval show_statement : statement -> Ppx_deriving_runtime.stringval show_statements : statements -> Ppx_deriving_runtime.stringval pp_display_device_mnemonic :
Stdlib.Format.formatter ->
display_device_mnemonic ->
unitval pp_display_target : Stdlib.Format.formatter -> display_target -> unitval pp_read_error : Stdlib.Format.formatter -> read_error -> unitval pp_write_error : Stdlib.Format.formatter -> write_error -> unitval pp_call_proto : Stdlib.Format.formatter -> call_proto -> unitval pp_call_prefix : Stdlib.Format.formatter -> call_prefix -> unitval 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 ->
unitval 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) ->
unitval pp_arithmetic_stmt :
string ->
(Stdlib.Format.formatter -> 'a -> unit) ->
statement Pretty.printer ->
Stdlib.Format.formatter ->
('a * dual_handler) ->
unitval pp_handler : statements Fmt.tval pp_evaluate_stmt : Stdlib.Format.formatter -> evaluate_stmt -> unitval pp_evaluate_branch : evaluate_branch Fmt.tval pp_perform_target_stmt :
Stdlib.Format.formatter ->
perform_target_stmt ->
unitval pp_perform_inline_stmt :
Stdlib.Format.formatter ->
perform_inline_stmt ->
unitval pp_perform_mode : perform_mode Fmt.tval pp_varying_phrase : varying_phrase Pretty.printerval pp_search_stmt : Stdlib.Format.formatter -> search_stmt -> unitval pp_search_all_stmt : Stdlib.Format.formatter -> search_all_stmt -> unitval pp_search_when_clause : search_when_clause Pretty.printerval pp_if_stmt : Stdlib.Format.formatter -> if_stmt -> unitval pp_accept_stmt : Stdlib.Format.formatter -> accept_stmt -> unitval pp_accept_misc : Stdlib.Format.formatter -> accept_misc -> unitval pp_accept_clause : accept_clause Pretty.printerval pp_accept_with_clause : accept_with_clause Pretty.printerval pp_display_stmt : Stdlib.Format.formatter -> display_stmt -> unitval pp_display_items_clauses : display_items_clauses Fmt.tval pp_display_clause : display_clause Pretty.printerval pp_display_with_clause : display_with_clause Pretty.printerval pp_basic_arithmetic_stmt :
sep:string ->
string ->
Stdlib.Format.formatter ->
basic_arithmetic_stmt ->
unitval pp_call_stmt : Stdlib.Format.formatter -> call_stmt -> unitval pp_compute_stmt : Stdlib.Format.formatter -> compute_stmt -> unitval pp_delete_stmt : Stdlib.Format.formatter -> delete_stmt -> unitval pp_divide_stmt : Stdlib.Format.formatter -> divide_stmt -> unitval pp_multiply_stmt : Stdlib.Format.formatter -> multiply_stmt -> unitval pp_read_stmt : Stdlib.Format.formatter -> read_stmt -> unitval pp_receive_stmt : Stdlib.Format.formatter -> receive_stmt -> unitval pp_return_stmt : Stdlib.Format.formatter -> return_stmt -> unitval pp_rewrite_stmt : Stdlib.Format.formatter -> rewrite_stmt -> unitval pp_start_stmt : Stdlib.Format.formatter -> start_stmt -> unitval pp_string_stmt : Stdlib.Format.formatter -> string_stmt -> unitval pp_unstring_stmt : Stdlib.Format.formatter -> unstring_stmt -> unitval pp_write_stmt : Stdlib.Format.formatter -> write_stmt -> unitval pp_statement : statement Pretty.printerval pp_statements : statements Fmt.tval pp_dump_statements : statements Fmt.ttype 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 listand 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;}| UseBeforeReporting of {global : bool;report_group : [ Cobol_ptree__.Terms.base_ident_
| Cobol_ptree__.Terms.refmod_ident_ ]
Cobol_ptree__.Terms.term;}| UseForDebugging of use_for_debugging_target list| UseAfterIOException of use_after_exception list| UseAfterExceptionObject of string Cobol_common.Srcloc.with_locand use_for_debugging_target = | UseForDebuggingProcedure of {all : bool;procedure : [ Cobol_ptree__.Terms.name_
| Cobol_ptree__.Terms.name Cobol_ptree__.Terms.qual_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc;}| UseForDebuggingAllProceduresand use_file_exception_on = | UseFileExceptionOnNames of string Cobol_common.Srcloc.with_loc list| UseFileExceptionOnOpenMode of Cobol_ptree__.Operands.open_modeand 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.intval compare_procedure_by_clause :
procedure_by_clause ->
procedure_by_clause ->
Ppx_deriving_runtime.intval compare_procedure_calling_style :
procedure_calling_style ->
procedure_calling_style ->
Ppx_deriving_runtime.intval compare_procedure_args :
procedure_args ->
procedure_args ->
Ppx_deriving_runtime.intval compare_by_reference :
by_reference ->
by_reference ->
Ppx_deriving_runtime.intval compare_raising_phrase :
raising_phrase ->
raising_phrase ->
Ppx_deriving_runtime.intval compare_declarative :
declarative ->
declarative ->
Ppx_deriving_runtime.intval compare_declarative_use :
declarative_use ->
declarative_use ->
Ppx_deriving_runtime.intval compare_use_for_debugging_target :
use_for_debugging_target ->
use_for_debugging_target ->
Ppx_deriving_runtime.intval compare_use_file_exception_on :
use_file_exception_on ->
use_file_exception_on ->
Ppx_deriving_runtime.intval compare_use_after_exception :
use_after_exception ->
use_after_exception ->
Ppx_deriving_runtime.intval pp_paragraph : Stdlib.Format.formatter -> paragraph -> unitval pp_use_after_exception :
Stdlib.Format.formatter ->
use_after_exception ->
unitval pp_use_file_exception_on :
Stdlib.Format.formatter ->
use_file_exception_on ->
unitval pp_use_for_debugging_target :
Stdlib.Format.formatter ->
use_for_debugging_target ->
unitval pp_declarative_use : Stdlib.Format.formatter -> declarative_use -> unitval pp_declarative : Stdlib.Format.formatter -> declarative -> unitval pp_declaratives :
Stdlib.Format.formatter ->
declarative Cobol_common.Srcloc.with_loc list ->
unitval pp_by_reference : Stdlib.Format.formatter -> by_reference -> unitval pp_procedure_calling_style :
Stdlib.Format.formatter ->
procedure_calling_style ->
unitval pp_procedure_by_clause :
Stdlib.Format.formatter ->
procedure_by_clause ->
unitval pp_procedure_args : Stdlib.Format.formatter -> procedure_args -> unitval pp_raising_phrase : Stdlib.Format.formatter -> raising_phrase -> unitval pp_procedure_division :
Stdlib.Format.formatter ->
procedure_division ->
unittype 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_level = | ProgramDefinition of {mode : program_mode option;has_identification_division_header : bool;preliminary_informational_paragraphs : (Cobol_ptree__.Misc_sections.informational_paragraph_header
* string list
Cobol_common.Srcloc.with_loc)
Cobol_common.Srcloc.with_loc
list;supplementary_informational_paragraphs : (Cobol_ptree__.Misc_sections.informational_paragraph_header
* string list
Cobol_common.Srcloc.with_loc)
Cobol_common.Srcloc.with_loc
list;nested_programs : program_unit Cobol_common.Srcloc.with_loc list;}| ProgramPrototypeand 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.intval compare_program_level :
program_level ->
program_level ->
Ppx_deriving_runtime.intval compare_program_mode :
program_mode ->
program_mode ->
Ppx_deriving_runtime.intval compare_program_kind :
program_kind ->
program_kind ->
Ppx_deriving_runtime.intval pp_program_kind : Stdlib.Format.formatter -> program_kind -> unitval pp_program_mode : Stdlib.Format.formatter -> program_mode -> unitval pp_program_unit : program_unit Pretty.printertype 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.intval 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 ->
unitval 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) ->
unitval pp_function_unit : Stdlib.Format.formatter -> function_unit -> unittype method_definitions = method_definition Cobol_common.Srcloc.with_loc listand 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.intval compare_method_definition :
method_definition ->
method_definition ->
Ppx_deriving_runtime.intval compare_method_kind :
method_kind ->
method_kind ->
Ppx_deriving_runtime.intval pp_method_kind : Stdlib.Format.formatter -> method_kind -> unitval pp_method_id_paragraph :
Stdlib.Format.formatter ->
(string Cobol_common.Srcloc.with_loc * method_kind * bool * bool) ->
unitval pp_method_definition : Stdlib.Format.formatter -> method_definition -> unittype 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.intval pp_object_procedure_division : method_definitions Pretty.printerval pp_implements :
Stdlib.Format.formatter ->
string Cobol_common.Srcloc.with_loc list ->
unitval pp_factory_definition :
Stdlib.Format.formatter ->
factory_definition ->
unittype 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.intval pp_instance_definition :
Stdlib.Format.formatter ->
instance_definition ->
unittype 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.intval 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) ->
unitval pp_class_definition : Stdlib.Format.formatter -> class_definition -> unittype 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.intval 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) ->
unitval pp_interface_definition :
Stdlib.Format.formatter ->
interface_definition ->
unittype compilation_unit = | Program of program_unit| Function of function_unit| ClassDefinition of class_definition| InterfaceDefinition of interface_definitionval compare_compilation_unit :
compilation_unit ->
compilation_unit ->
Ppx_deriving_runtime.intval pp_compilation_unit : Stdlib.Format.formatter -> compilation_unit -> unitval compare_control_division :
control_division ->
control_division ->
Ppx_deriving_runtime.inttype 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.intval pp_compilation_group : Stdlib.Format.formatter -> compilation_group -> unitval show_compilation_group : compilation_group -> stringval program_name' :
[ Cobol_ptree__.Terms.name_ | Cobol_ptree__.Terms.lit_ ]
Cobol_ptree__.Terms.term
Cobol_common.Srcloc.with_loc ->
string Cobol_common.Srcloc.with_locmodule Visitor : sig ... endmodule Terms_visitor : sig ... endmodule Proc_division_visitor : sig ... endmodule Terms_helpers : sig ... endSome utilities to construct or rewrite terms (mostly conditions for now)
module Dummies : sig ... endDefines some dummy nodes that can be used to fill in missing parts of the parse tree.