Module Cobol_procedure.Types

Representation of COBOL procedure division after typechecking

type 'a or_error = ('a, unit) Stdlib.result

Outcome of the typing of a part of the tree: Error () means that this part is ill-typed (the corresponding diagnostic is already reported), and is not analyzed any further.

val compare_or_error : 'a. ('a -> 'a -> Ppx_deriving_runtime.int) -> 'a or_error -> 'a or_error -> Ppx_deriving_runtime.int
type ('a, 'ref_name) resolved_reference = {
  1. resolved_name : 'ref_name;
  2. resolved : 'a or_error;
}

Resolved reference to some 'a

val compare_resolved_reference : 'a 'ref_name. ('a -> 'a -> Ppx_deriving_runtime.int) -> ('ref_name -> 'ref_name -> Ppx_deriving_runtime.int) -> ('a, 'ref_name) resolved_reference -> ('a, 'ref_name) resolved_reference -> Ppx_deriving_runtime.int
val compare_resolved_name : 'a. ('a -> 'a -> Ppx_deriving_runtime.int) -> 'a resolved_name -> 'a resolved_name -> Ppx_deriving_runtime.int
val compare_resolved_qualname : 'a. ('a -> 'a -> Ppx_deriving_runtime.int) -> 'a resolved_qualname -> 'a resolved_qualname -> Ppx_deriving_runtime.int

Reference to a data item (field, renaming, condition-name, or index). References are compared by name, as in the parse tree.

val compare_data_reference : data_reference -> data_reference -> Ppx_deriving_runtime.int
type record_reference = Cobol_data.Types.record resolved_name

Reference to a record in the procedure division. Like data_reference, these are compared by name, as in the parse tree

val compare_record_reference : record_reference -> record_reference -> Ppx_deriving_runtime.int
val compare_literal : literal -> literal -> Ppx_deriving_runtime.int
type base_ident =
  1. | Address of address
  2. | Counter of Cobol_ptree.counter
  3. | InlineCall of inline_call
  4. | InlineInvoke of inline_invocation
  5. | ObjectView of object_view
  6. | ObjectRef of Cobol_ptree.object_ref
  7. | QualIdent of qualident

Identifiers without reference modification. Literals are not identifiers: they do not refer to any data item, and are represented by their Cobol_data value (see or_ident).

and ident = {
  1. ident_base : base_ident;
  2. ident_refmod : refmod option;
}

Identifiers, with a possible reference modification.

and 'lit or_ident =
  1. | Ident of ident
  2. | Literal of 'lit or_error

Either an identifier, or the value of a literal (e.g, literal or_ident), which is Error () for an invalid literal.

and ident_or_literal = literal or_ident
and ident_or_nonnum = literal or_ident
and ident_or_strlit = literal or_ident
and scalar =
  1. | ScalarIdent of ident
  2. | ScalarLiteral of literal or_error
  3. | LengthOf of ident_or_literal
and inline_call =
  1. | CallFunc of {
    1. func : Cobol_ptree.name Cobol_common.Srcloc.TYPES.with_loc;
    2. args : effective_arg list;
    }
  2. | CallGenericIntrinsic of {
    1. func : Cobol_ptree.intrinsic_name Cobol_common.Srcloc.TYPES.with_loc;
    2. args : effective_arg list;
    }
  3. | CallTrim of {
    1. arg : effective_arg;
    2. tip : Cobol_ptree.trimming_tip option;
    }
  4. | CallLength of {
    1. arg : ident_or_nonnum;
    2. physical : bool;
    }
  5. | CallNumvalC of ident_or_nonnum list
  6. | CallLocaleDate of locale_func_args
  7. | CallLocaleTime of locale_func_args
  8. | CallLocaleTimeFromSeconds of locale_func_args
  9. | CallFormattedDatetime of formatted_func_args
  10. | CallFormattedTime of formatted_func_args
and formatted_func_args = {
  1. formatted_func_args : effective_arg list;
  2. formatted_func_system_offset : bool;
}
and locale_func_args = {
  1. locale_func_args : effective_arg;
  2. locale_func_locale : Cobol_ptree.qualname option;
}
and effective_arg =
  1. | ArgExpr of expr Cobol_common.Srcloc.TYPES.with_loc
  2. | ArgOmitted
and qualident = {
  1. ident_data_ref : data_reference;
  2. ident_subscripts : subscript Cobol_common.Srcloc.TYPES.with_loc list;
}
and subscript =
  1. | SubSAll
  2. | SubSExpr of expr Cobol_common.Srcloc.TYPES.with_loc
  3. | SubSIdx of Cobol_ptree.name Cobol_common.Srcloc.TYPES.with_loc * Cobol_data.Types.integer_value
    (*

    relative index, with its signed offset LATER: The index name should be resolved with a special index name lookup that is currently not implemented. We simply keep the parsed name for now.

    *)
and refmod = {
  1. refmod_left : expr Cobol_common.Srcloc.TYPES.with_loc;
  2. refmod_length : expr Cobol_common.Srcloc.TYPES.with_loc option;
}
and inline_invocation = {
  1. invoke_class : ident;
  2. invoke_meth : literal or_error;
  3. invoke_args : effective_arg list;
}
and object_view = {
  1. object_view_ident : ident;
  2. object_view_spec : Cobol_ptree.object_view_spec;
}
and address =
  1. | DataAddress of ident
  2. | ProgAddress of ident_or_literal
val compare_base_ident : base_ident -> base_ident -> Ppx_deriving_runtime.int
val compare_ident : ident -> ident -> Ppx_deriving_runtime.int
val compare_or_ident : 'lit. ('lit -> 'lit -> Ppx_deriving_runtime.int) -> 'lit or_ident -> 'lit or_ident -> Ppx_deriving_runtime.int
val compare_ident_or_alphanum : ident_or_alphanum -> ident_or_alphanum -> Ppx_deriving_runtime.int
val compare_ident_or_intlit : ident_or_intlit -> ident_or_intlit -> Ppx_deriving_runtime.int
val compare_ident_or_literal : ident_or_literal -> ident_or_literal -> Ppx_deriving_runtime.int
val compare_ident_or_nonnum : ident_or_nonnum -> ident_or_nonnum -> Ppx_deriving_runtime.int
val compare_ident_or_strlit : ident_or_strlit -> ident_or_strlit -> Ppx_deriving_runtime.int
val compare_scalar : scalar -> scalar -> Ppx_deriving_runtime.int
val compare_expr : expr -> expr -> Ppx_deriving_runtime.int
val compare_inline_call : inline_call -> inline_call -> Ppx_deriving_runtime.int
val compare_formatted_func_args : formatted_func_args -> formatted_func_args -> Ppx_deriving_runtime.int
val compare_locale_func_args : locale_func_args -> locale_func_args -> Ppx_deriving_runtime.int
val compare_effective_arg : effective_arg -> effective_arg -> Ppx_deriving_runtime.int
val compare_qualident : qualident -> qualident -> Ppx_deriving_runtime.int
val compare_subscript : subscript -> subscript -> Ppx_deriving_runtime.int
val compare_refmod : refmod -> refmod -> Ppx_deriving_runtime.int
val compare_inline_invocation : inline_invocation -> inline_invocation -> Ppx_deriving_runtime.int
val compare_object_view : object_view -> object_view -> Ppx_deriving_runtime.int
val compare_address : address -> address -> Ppx_deriving_runtime.int

Expanded conditions, where all the implied subjects and relational operators of abbreviated conditions are made explicit. Sub-conditions are Error () when they could not be expanded (e.g, missing subject).

val compare_condition : condition -> condition -> Ppx_deriving_runtime.int
type rounded_ident = Cobol_procedure__.Procedure_terms.ident Cobol_ptree.rounded
val compare_rounded_ident : rounded_ident -> rounded_ident -> Ppx_deriving_runtime.int
type rounded_idents = Cobol_procedure__.Procedure_terms.ident Cobol_ptree.rounded_list
val compare_rounded_idents : rounded_idents -> rounded_idents -> Ppx_deriving_runtime.int
type position =
  1. | LinePosition of Cobol_data.Types.integer_value Cobol_procedure__.Procedure_terms.or_ident
  2. | ColumnPosition of Cobol_data.Types.integer_value Cobol_procedure__.Procedure_terms.or_ident
  3. | LineColumnPosition of Cobol_data.Types.integer_value Cobol_procedure__.Procedure_terms.or_ident * Cobol_data.Types.integer_value Cobol_procedure__.Procedure_terms.or_ident
  4. | CompoundPosition of Cobol_data.Types.integer_value Cobol_procedure__.Procedure_terms.or_ident
val compare_position : position -> position -> Ppx_deriving_runtime.int
type using_arg_default =
  1. | ArgDefaultOmitted
  2. | ArgDefault of Cobol_procedure__.Procedure_terms.expr Cobol_common.Srcloc.TYPES.with_loc
val compare_using_arg_default : using_arg_default -> using_arg_default -> Ppx_deriving_runtime.int
type using_reference_arg =
  1. | ArgRefOmitted
  2. | ArgRef of Cobol_procedure__.Procedure_terms.scalar Cobol_common.Srcloc.TYPES.with_loc
val compare_using_reference_arg : using_reference_arg -> using_reference_arg -> Ppx_deriving_runtime.int
type call_using_clause =
  1. | CallUsingDefault of using_arg_default Cobol_common.Srcloc.TYPES.with_loc Cobol_ptree.nel
  2. | CallUsingByReference of using_reference_arg Cobol_common.Srcloc.TYPES.with_loc Cobol_ptree.nel
  3. | CallUsingByContent of Cobol_procedure__.Procedure_terms.expr Cobol_common.Srcloc.TYPES.with_loc Cobol_ptree.nel
  4. | CallUsingByValue of Cobol_procedure__.Procedure_terms.expr Cobol_common.Srcloc.TYPES.with_loc Cobol_ptree.nel
val compare_call_using_clause : call_using_clause -> call_using_clause -> Ppx_deriving_runtime.int
type arg_passing_style =
  1. | Arg_by_reference of {
    1. optional : bool;
    }
  2. | Arg_by_value
val compare_arg_passing_style : arg_passing_style -> arg_passing_style -> Ppx_deriving_runtime.int
type procedure_arg = {
  1. arg_name_ref : (Cobol_data.Types.record, Cobol_ptree.name Cobol_common.Srcloc.TYPES.with_loc) Cobol_procedure__.Procedure_terms.resolved_reference;
  2. arg_passing_style : arg_passing_style;
}

Formal argument in PROCEDURE DIVISION USING or ENTRY USING

val compare_procedure_arg : procedure_arg -> procedure_arg -> Ppx_deriving_runtime.int
type retry_clause =
  1. | RetryNTimes of Cobol_procedure__.Procedure_terms.expr Cobol_common.Srcloc.TYPES.with_loc
  2. | RetryForNSeconds of Cobol_procedure__.Procedure_terms.expr Cobol_common.Srcloc.TYPES.with_loc
  3. | RetryForever
val compare_retry_clause : retry_clause -> retry_clause -> Ppx_deriving_runtime.int
type mcs_command_operands = {
  1. mcs_command_kind : Cobol_ptree.mcs_kind;
  2. mcs_command_target : Cobol_ptree.name Cobol_common.Srcloc.TYPES.with_loc;
  3. mcs_command_key : Cobol_data.Types.alphanum_value Cobol_procedure__.Procedure_terms.or_ident option;
}
val compare_mcs_command_operands : mcs_command_operands -> mcs_command_operands -> Ppx_deriving_runtime.int
type write_target =
  1. | WriteTargetName of (Cobol_data.Types.data_definition, Cobol_ptree.qualname Cobol_common.Srcloc.TYPES.with_loc) Cobol_procedure__.Procedure_terms.resolved_reference
  2. | WriteTargetFile of Cobol_ptree.name Cobol_common.Srcloc.TYPES.with_loc
val compare_write_target : write_target -> write_target -> Ppx_deriving_runtime.int
type basic_arithmetic_operands =
  1. | ArithSimple of {
    1. operands : Cobol_procedure__.Procedure_terms.scalar list;
    2. targets : rounded_idents;
    }
  2. | ArithGiving of {
    1. leading_operands : Cobol_procedure__.Procedure_terms.scalar list;
    2. base_operand : Cobol_procedure__.Procedure_terms.scalar;
    3. targets : rounded_idents;
    }
  3. | ArithCorresponding of {
    1. source : (Cobol_data.Types.data_definition, Cobol_ptree.qualname Cobol_common.Srcloc.TYPES.with_loc) Cobol_procedure__.Procedure_terms.resolved_reference;
    2. target : rounded_ident;
    }
val compare_basic_arithmetic_operands : basic_arithmetic_operands -> basic_arithmetic_operands -> Ppx_deriving_runtime.int
type divide_operands =
  1. | DivideInto of {
    1. divisor : Cobol_procedure__.Procedure_terms.scalar;
    2. dividends : rounded_idents;
    }
  2. | DivideGiving of {
    1. divisor : Cobol_procedure__.Procedure_terms.scalar;
    2. dividend : Cobol_procedure__.Procedure_terms.scalar;
    3. giving : rounded_idents;
    4. into : bool;
    5. remainder : Cobol_procedure__.Procedure_terms.ident option;
    }
val compare_divide_operands : divide_operands -> divide_operands -> Ppx_deriving_runtime.int
type selection_range = {
  1. sel_range_negated : bool;
  2. sel_range_start : Cobol_procedure__.Procedure_terms.expr Cobol_common.Srcloc.TYPES.with_loc;
  3. sel_range_stop : Cobol_procedure__.Procedure_terms.expr Cobol_common.Srcloc.TYPES.with_loc;
  4. sel_range_alphabet : Cobol_ptree.name Cobol_common.Srcloc.TYPES.with_loc option;
}
val compare_selection_range : selection_range -> selection_range -> Ppx_deriving_runtime.int
type selection_subject =
  1. | SubjectValue of Cobol_procedure__.Procedure_terms.expr Cobol_common.Srcloc.TYPES.with_loc
  2. | SubjectCond of Cobol_procedure__.Procedure_terms.condition
  3. | SubjectConst of bool
val compare_selection_subject : selection_subject -> selection_subject -> Ppx_deriving_runtime.int
type selection_object =
  1. | SelCond of Cobol_procedure__.Procedure_terms.condition
  2. | SelValue of {
    1. negated : bool;
    2. value : Cobol_procedure__.Procedure_terms.expr Cobol_common.Srcloc.TYPES.with_loc;
    }
  3. | SelRange of selection_range
  4. | SelConst of bool
  5. | SelAny
val compare_selection_object : selection_object -> selection_object -> Ppx_deriving_runtime.int
type multiply_operands =
  1. | MultiplyBy of {
    1. multiplier : Cobol_procedure__.Procedure_terms.scalar;
    2. multiplicand : rounded_idents;
    }
  2. | MultiplyGiving of {
    1. multiplier : Cobol_procedure__.Procedure_terms.scalar;
    2. multiplicand : Cobol_procedure__.Procedure_terms.scalar;
    3. targets : rounded_idents;
    }
val compare_multiply_operands : multiply_operands -> multiply_operands -> Ppx_deriving_runtime.int
type raise_operand =
  1. | RaiseIdent of Cobol_procedure__.Procedure_terms.ident
  2. | RaiseException of Cobol_ptree.name Cobol_common.Srcloc.TYPES.with_loc
val compare_raise_operand : raise_operand -> raise_operand -> Ppx_deriving_runtime.int
type raising =
  1. | RaisingIdent of Cobol_procedure__.Procedure_terms.ident
  2. | RaisingException of Cobol_ptree.name Cobol_common.Srcloc.TYPES.with_loc
  3. | RaisingLastException
val compare_raising : raising -> raising -> Ppx_deriving_runtime.int
type read_lock_behavior =
  1. | ReadAdvancingOnLock
  2. | ReadIgnoringLock
  3. | ReadRetry of retry_clause
val compare_read_lock_behavior : read_lock_behavior -> read_lock_behavior -> Ppx_deriving_runtime.int
type search_condition =
  1. | IsEqual of {
    1. data_item : Cobol_procedure__.Procedure_terms.qualident;
    2. condition : Cobol_procedure__.Procedure_terms.expr Cobol_common.Srcloc.TYPES.with_loc;
    }
  2. | Cond of Cobol_procedure__.Procedure_terms.qualident
val compare_search_condition : search_condition -> search_condition -> Ppx_deriving_runtime.int
type advancing_phrase =
  1. | AdvancingLines of {
    1. stage : Cobol_ptree.stage;
    2. lines : Cobol_data.Types.integer_value Cobol_procedure__.Procedure_terms.or_ident;
    3. ambiguous : bool;
    }
  2. | AdvancingPage of {
    1. stage : Cobol_ptree.stage;
    }
val compare_advancing_phrase : advancing_phrase -> advancing_phrase -> Ppx_deriving_runtime.int
type set_locale_source =
  1. | SetLocaleSource of Cobol_procedure__.Procedure_terms.ident
  2. | SetLocaleSourceUserDefault
  3. | SetLocaleSourceSystemDefault
val compare_set_locale_source : set_locale_source -> set_locale_source -> Ppx_deriving_runtime.int
type start_position =
  1. | StartPositionFirst
  2. | StartPositionLast
  3. | StartPositionKey of {
    1. operator : Cobol_ptree.relop;
    2. name : (Cobol_data.Types.data_definition, Cobol_ptree.qualname Cobol_common.Srcloc.TYPES.with_loc) Cobol_procedure__.Procedure_terms.resolved_reference;
    3. length : Cobol_procedure__.Procedure_terms.expr Cobol_common.Srcloc.TYPES.with_loc option;
    }
val compare_start_position : start_position -> start_position -> Ppx_deriving_runtime.int
type string_delimiter =
  1. | StringDelimiter of Cobol_data.Types.literal_value Cobol_procedure__.Procedure_terms.or_ident
  2. | StringDelimiterSize
val compare_string_delimiter : string_delimiter -> string_delimiter -> Ppx_deriving_runtime.int
type string_source = {
  1. string_source : Cobol_data.Types.literal_value Cobol_procedure__.Procedure_terms.or_ident;
  2. string_delimiter : string_delimiter option;
}
val compare_string_source : string_source -> string_source -> Ppx_deriving_runtime.int
type unstring_delimiter = {
  1. unstring_delimiter : Cobol_data.Types.literal_value Cobol_procedure__.Procedure_terms.or_ident;
  2. unstring_delimiter_by_all : bool;
}
val compare_unstring_delimiter : unstring_delimiter -> unstring_delimiter -> Ppx_deriving_runtime.int
type unstring_target = {
  1. unstring_target : Cobol_procedure__.Procedure_terms.ident;
  2. unstring_target_delimiter : Cobol_procedure__.Procedure_terms.ident option;
  3. unstring_target_count : Cobol_procedure__.Procedure_terms.ident option;
}
val compare_unstring_target : unstring_target -> unstring_target -> Ppx_deriving_runtime.int
type screen_attribute_clause =
  1. | Bell
  2. | Highlight
  3. | Lowlight
  4. | ReverseVideo
  5. | Underline
  6. | ForegroundColor of Cobol_data.Types.integer_value Cobol_procedure__.Procedure_terms.or_ident
  7. | BackgroundColor of Cobol_data.Types.integer_value Cobol_procedure__.Procedure_terms.or_ident
val compare_screen_attribute_clause : screen_attribute_clause -> screen_attribute_clause -> Ppx_deriving_runtime.int
type sort_spec = {
  1. sort_key_direction : Cobol_ptree.sort_direction;
  2. sort_key_names : (Cobol_data.Types.data_definition, Cobol_ptree.qualname Cobol_common.Srcloc.TYPES.with_loc) Cobol_procedure__.Procedure_terms.resolved_reference list;
}
val compare_sort_spec : sort_spec -> sort_spec -> Ppx_deriving_runtime.int
type allocate_kind =
  1. | AllocateCharacters of Cobol_procedure__.Procedure_terms.expr Cobol_common.Srcloc.TYPES.with_loc
  2. | AllocateDataItem of (Cobol_data.Types.data_definition, Cobol_ptree.qualname Cobol_common.Srcloc.TYPES.with_loc) Cobol_procedure__.Procedure_terms.resolved_reference
val compare_allocate_kind : allocate_kind -> allocate_kind -> Ppx_deriving_runtime.int
type allocate_stmt = {
  1. allocate_kind : allocate_kind;
  2. allocate_initialized : bool;
  3. allocate_returning : Cobol_procedure__.Procedure_terms.ident Cobol_common.Srcloc.TYPES.with_loc option;
}
val compare_allocate_stmt : allocate_stmt -> allocate_stmt -> Ppx_deriving_runtime.int
type entry_stmt =
  1. | EntrySimple of string Cobol_common.Srcloc.TYPES.with_loc
  2. | EntryUsing of {
    1. entry_name : string Cobol_common.Srcloc.TYPES.with_loc;
    2. entry_using : Cobol_procedure__.Procedure_operands.procedure_arg Cobol_common.Srcloc.TYPES.with_loc list;
    }
  3. | EntryForGoTo of string Cobol_common.Srcloc.TYPES.with_loc
val compare_entry_stmt : entry_stmt -> entry_stmt -> Ppx_deriving_runtime.int
type returning =
  1. | ReturningScalar of Cobol_procedure__.Procedure_terms.scalar
  2. | ReturningAddress of Cobol_procedure__.Procedure_terms.qualident
  3. | ReturningInt of {
    1. value : (Cobol_data.Types.literal_value, unit) Stdlib.result;
    2. size : (Cobol_data.Types.literal_value, unit) Stdlib.result option;
    }
val compare_returning : returning -> returning -> Ppx_deriving_runtime.int
type program_exit_status =
  1. | ExitDefault
  2. | ExitReturning of returning
  3. | ExitRaising of Cobol_procedure__.Procedure_operands.raising
val compare_program_exit_status : program_exit_status -> program_exit_status -> Ppx_deriving_runtime.int
type exit_stmt =
  1. | ExitSimple
  2. | ExitProgram of program_exit_status
  3. | ExitMethod of Cobol_procedure__.Procedure_operands.raising option
  4. | ExitFunction of Cobol_procedure__.Procedure_operands.raising option
  5. | ExitPerform of bool
  6. | ExitParagraph
  7. | ExitSection
val compare_exit_stmt : exit_stmt -> exit_stmt -> Ppx_deriving_runtime.int
type init_replacing = {
  1. init_replacing_category : Cobol_ptree.init_data_category;
  2. init_replacing_replacement_item : Cobol_data.Types.literal_value Cobol_procedure__.Procedure_terms.or_ident;
}
val compare_init_replacing : init_replacing -> init_replacing -> Ppx_deriving_runtime.int
type initialize_stmt = {
  1. init_items : Cobol_procedure__.Procedure_terms.ident list;
  2. init_filler : bool;
  3. init_category : Cobol_ptree.init_category option;
  4. init_replacings : init_replacing list;
  5. init_to_default : bool;
}
val compare_initialize_stmt : initialize_stmt -> initialize_stmt -> Ppx_deriving_runtime.int
type invoke_stmt = {
  1. invoke_target : Cobol_procedure__.Procedure_terms.ident;
  2. invoke_method : Cobol_data.Types.literal_value Cobol_procedure__.Procedure_terms.or_ident;
  3. invoke_using : Cobol_procedure__.Procedure_operands.call_using_clause list;
  4. invoke_returning : Cobol_procedure__.Procedure_terms.ident Cobol_common.Srcloc.TYPES.with_loc option;
}
val compare_invoke_stmt : invoke_stmt -> invoke_stmt -> Ppx_deriving_runtime.int
type inspect_reference = Cobol_data.Types.literal_value Cobol_procedure__.Procedure_terms.or_ident Cobol_ptree.nel
val compare_inspect_reference : inspect_reference -> inspect_reference -> Ppx_deriving_runtime.int
val compare_inspect_where : inspect_where -> inspect_where -> Ppx_deriving_runtime.int
type tallying_spec = {
  1. tallying_item : Cobol_data.Types.literal_value Cobol_procedure__.Procedure_terms.or_ident;
  2. tallying_where : inspect_where list;
}
val compare_tallying_spec : tallying_spec -> tallying_spec -> Ppx_deriving_runtime.int
type tallying_clause =
  1. | TallyingCharacters of inspect_where list
  2. | TallyingRange of Cobol_ptree.tallying_range * tallying_spec list
val compare_tallying_clause : tallying_clause -> tallying_clause -> Ppx_deriving_runtime.int
type tallying = {
  1. tallying_target : Cobol_procedure__.Procedure_terms.qualident;
  2. tallying_clauses : tallying_clause Cobol_common.Srcloc.TYPES.with_loc list;
}
val compare_tallying : tallying -> tallying -> Ppx_deriving_runtime.int
type replacing_range_spec = {
  1. replacing_item : Cobol_data.Types.literal_value Cobol_procedure__.Procedure_terms.or_ident;
  2. replacing_by : Cobol_data.Types.literal_value Cobol_procedure__.Procedure_terms.or_ident;
  3. replacing_where : inspect_where list;
}
val compare_replacing_range_spec : replacing_range_spec -> replacing_range_spec -> Ppx_deriving_runtime.int
type replacing_clause =
  1. | ReplacingCharacters of {
    1. replacement : Cobol_data.Types.literal_value Cobol_procedure__.Procedure_terms.or_ident;
    2. where : inspect_where list;
    }
  2. | ReplacingRange of Cobol_ptree.replacing_range * replacing_range_spec list
val compare_replacing_clause : replacing_clause -> replacing_clause -> Ppx_deriving_runtime.int
val compare_replacing : replacing -> replacing -> Ppx_deriving_runtime.int
type converting = {
  1. converting_from : Cobol_data.Types.literal_value Cobol_procedure__.Procedure_terms.or_ident;
  2. converting_to : Cobol_data.Types.literal_value Cobol_procedure__.Procedure_terms.or_ident;
  3. converting_where : inspect_where list;
}
val compare_converting : converting -> converting -> Ppx_deriving_runtime.int
type inspect_spec =
  1. | InspectTallying of tallying list
  2. | InspectReplacing of replacing list
  3. | InspectBoth of tallying list * replacing list
  4. | InspectConverting of converting
val compare_inspect_spec : inspect_spec -> inspect_spec -> Ppx_deriving_runtime.int
type inspect_stmt = {
  1. inspect_item : Cobol_procedure__.Procedure_terms.ident;
  2. inspect_spec : inspect_spec;
}
val compare_inspect_stmt : inspect_stmt -> inspect_stmt -> Ppx_deriving_runtime.int
type merge_stmt = {
  1. merge_file : Cobol_ptree.name Cobol_common.Srcloc.TYPES.with_loc;
  2. merge_keys : sort_spec list;
  3. merge_collating : Cobol_ptree.alphabet_specification option;
  4. merge_using : Cobol_ptree.name Cobol_common.Srcloc.TYPES.with_loc list;
  5. merge_target : Cobol_ptree.merge_or_sort_target;
}
val compare_merge_stmt : merge_stmt -> merge_stmt -> Ppx_deriving_runtime.int
type move_stmt =
  1. | MoveSimple of {
    1. from : Cobol_procedure__.Procedure_terms.scalar;
    2. to_ : Cobol_procedure__.Procedure_terms.ident list;
    }
  2. | MoveCorresponding of {
    1. from : Cobol_procedure__.Procedure_terms.ident;
    2. to_ : Cobol_procedure__.Procedure_terms.ident list;
    }
val compare_move_stmt : move_stmt -> move_stmt -> Ppx_deriving_runtime.int
type open_phrase = {
  1. open_mode : Cobol_ptree.open_mode;
  2. open_sharing : Cobol_ptree.sharing_mode option;
  3. open_retry : Cobol_procedure__.Procedure_operands.retry_clause option;
  4. open_files : Cobol_ptree.named_file_option list;
}
val compare_open_phrase : open_phrase -> open_phrase -> Ppx_deriving_runtime.int
type open_stmt = open_phrase list
val compare_open_stmt : open_stmt -> open_stmt -> Ppx_deriving_runtime.int
type release_stmt = {
  1. release_item : (Cobol_data.Types.data_definition, Cobol_ptree.qualname Cobol_common.Srcloc.TYPES.with_loc) Cobol_procedure__.Procedure_terms.resolved_reference;
  2. release_from : Cobol_data.Types.literal_value Cobol_procedure__.Procedure_terms.or_ident option;
}
val compare_release_stmt : release_stmt -> release_stmt -> Ppx_deriving_runtime.int
type message_ending_indicator =
  1. | EndingIndicator of Cobol_procedure__.Procedure_terms.ident
  2. | EndingIndicatorESI
  3. | EndingIndicatorEMI
  4. | EndingIndicatorEGI
val compare_message_ending_indicator : message_ending_indicator -> message_ending_indicator -> Ppx_deriving_runtime.int
type send_operands =
  1. | SendSimple of {
    1. from : Cobol_procedure__.Procedure_terms.ident;
    }
  2. | SendWith of {
    1. from : Cobol_procedure__.Procedure_terms.ident option;
    2. ending_indicator : message_ending_indicator;
    3. advancing : Cobol_procedure__.Procedure_operands.advancing_phrase option;
    4. replace : bool;
    }
val compare_send_operands : send_operands -> send_operands -> Ppx_deriving_runtime.int
type send_stmt = {
  1. send_name : Cobol_ptree.name Cobol_common.Srcloc.TYPES.with_loc;
  2. send_operands : send_operands;
}
val compare_send_stmt : send_stmt -> send_stmt -> Ppx_deriving_runtime.int
type set_switch_spec = {
  1. set_switch_targets : Cobol_procedure__.Procedure_terms.ident list;
  2. set_switch_value : Cobol_ptree.on_off;
}
val compare_set_switch_spec : set_switch_spec -> set_switch_spec -> Ppx_deriving_runtime.int
type set_condition_spec = {
  1. set_condition_targets : Cobol_procedure__.Procedure_terms.ident list;
  2. set_condition_value : bool;
}
val compare_set_condition_spec : set_condition_spec -> set_condition_spec -> Ppx_deriving_runtime.int
type set_stmt =
  1. | SetAmbiguous of {
    1. targets : Cobol_procedure__.Procedure_terms.ident list;
    2. set_method : Cobol_ptree.set_ambiguous_method;
    3. value : Cobol_procedure__.Procedure_terms.expr Cobol_common.Srcloc.TYPES.with_loc;
    }
  2. | SetSwitch of set_switch_spec list
  3. | SetCondition of set_condition_spec list
  4. | SetEntry of {
    1. targets : Cobol_procedure__.Procedure_terms.ident list;
    2. value : Cobol_data.Types.literal_value Cobol_procedure__.Procedure_terms.or_ident;
    }
  5. | SetAttribute of {
    1. name : Cobol_ptree.name Cobol_common.Srcloc.TYPES.with_loc;
    2. attribute_switches : Cobol_ptree.set_attribute_switch list;
    }
  6. | SetSaveLocale of {
    1. target : Cobol_procedure__.Procedure_terms.ident;
    2. locale : Cobol_ptree.set_save_locale;
    }
  7. | SetLocale of {
    1. target : Cobol_ptree.set_locale_target;
    2. source : Cobol_procedure__.Procedure_operands.set_locale_source;
    }
  8. | SetSavedException
  9. | SetFloatContent of {
    1. targets : Cobol_procedure__.Procedure_terms.ident list;
    2. content : Cobol_ptree.float_content;
    3. sign : Cobol_ptree.sign option;
    }
  10. | SetEnvironment of {
    1. variable : Cobol_data.Types.literal_value Cobol_procedure__.Procedure_terms.or_ident;
    2. value : Cobol_data.Types.literal_value Cobol_procedure__.Procedure_terms.or_ident;
    }
val compare_set_stmt : set_stmt -> set_stmt -> Ppx_deriving_runtime.int
type sort_stmt =
  1. | SortFile of {
    1. file : Cobol_ptree.qualident;
    2. keys : sort_spec list;
    3. duplicate_in_order : bool;
    4. collating : Cobol_ptree.alphabet_specification option;
    5. source : Cobol_ptree.sort_source;
    6. target : Cobol_ptree.merge_or_sort_target;
    }
  2. | SortTable of {
    1. table : Cobol_procedure__.Procedure_terms.qualident;
    2. keys : sort_spec list;
    3. duplicate_in_order : bool;
    4. collating : Cobol_ptree.alphabet_specification option;
    }
val compare_sort_stmt : sort_stmt -> sort_stmt -> Ppx_deriving_runtime.int
type stop_arg =
  1. | StopWithQualIdent of Cobol_procedure__.Procedure_terms.qualident Cobol_common.Srcloc.TYPES.with_loc
  2. | StopWithLiteral of (Cobol_data.Types.literal_value, unit) Stdlib.result Cobol_common.Srcloc.TYPES.with_loc
val compare_stop_arg : stop_arg -> stop_arg -> Ppx_deriving_runtime.int
type stop_run_status = {
  1. status_kind : Cobol_ptree.status_kind;
  2. status_value : Cobol_procedure__.Procedure_terms.scalar option;
}
val compare_stop_run_status : stop_run_status -> stop_run_status -> Ppx_deriving_runtime.int
type stop_run_return =
  1. | StopReturning of returning
  2. | StopWithStatus of stop_run_status
val compare_stop_run_return : stop_run_return -> stop_run_return -> Ppx_deriving_runtime.int
type stop_stmt =
  1. | StopArg of stop_arg option
  2. | StopRun of stop_run_return option
  3. | StopError
  4. | StopThread of Cobol_procedure__.Procedure_terms.qualident option
val compare_stop_stmt : stop_stmt -> stop_stmt -> Ppx_deriving_runtime.int
type transform_stmt = {
  1. transform_ident : Cobol_procedure__.Procedure_terms.ident Cobol_common.Srcloc.TYPES.with_loc;
  2. transform_from : Cobol_data.Types.literal_value Cobol_procedure__.Procedure_terms.or_ident Cobol_common.Srcloc.TYPES.with_loc;
  3. transform_to : Cobol_data.Types.literal_value Cobol_procedure__.Procedure_terms.or_ident Cobol_common.Srcloc.TYPES.with_loc;
}
val compare_transform_stmt : transform_stmt -> transform_stmt -> Ppx_deriving_runtime.int
type goto_stmt =
  1. | GoToSimple of {
    1. target : Cobol_ptree.procedure_name Cobol_common.Srcloc.TYPES.with_loc;
    }
  2. | GoToDepending of {
    1. targets : Cobol_ptree.procedure_name Cobol_common.Srcloc.TYPES.with_loc Cobol_ptree.nel;
    2. depending_on : Cobol_procedure__.Procedure_terms.ident;
    }
  3. | GoToEntry of {
    1. targets : string Cobol_common.Srcloc.TYPES.with_loc Cobol_ptree.nel;
    2. depending_on : Cobol_procedure__.Procedure_terms.ident option;
    }
val compare_goto_stmt : goto_stmt -> goto_stmt -> Ppx_deriving_runtime.int
type handler = statements
and dual_handler = {
  1. dual_handler_pos : handler;
    (*

    positive case

    *)
  2. dual_handler_neg : handler;
    (*

    negative case

    *)
}
and evaluate_stmt = {
  1. eval_subjects : (Cobol_procedure__.Procedure_operands.selection_subject, unit) Stdlib.result Cobol_common.Srcloc.TYPES.with_loc list;
  2. eval_branches : evaluate_branch list;
  3. eval_otherwise : statements;
}
and evaluate_branch = {
  1. eval_selection : (Cobol_procedure__.Procedure_operands.selection_object, unit) Stdlib.result Cobol_common.Srcloc.TYPES.with_loc list list;
  2. eval_actions : statements;
}
and perform_target_stmt = {
  1. perform_target : Cobol_ptree.procedure_range;
  2. perform_mode : perform_mode option;
}
and perform_inline_stmt = {
  1. perform_inline_mode : perform_mode option;
  2. perform_statements : statements;
}
and perform_mode =
  1. | PerformNTimes of Cobol_data.Types.integer_value Cobol_procedure__.Procedure_terms.or_ident
  2. | PerformUntil of {
    1. with_test : Cobol_ptree.stage option;
    2. until : (Cobol_procedure__.Procedure_terms.condition, unit) Stdlib.result Cobol_common.Srcloc.TYPES.with_loc option;
    }
  3. | PerformVarying of {
    1. with_test : Cobol_ptree.stage option;
    2. varying : varying_phrase Cobol_common.Srcloc.TYPES.with_loc;
    3. after : varying_phrase Cobol_common.Srcloc.TYPES.with_loc list;
    }
  4. | PerformForever
and varying_phrase = {
  1. varying_ident : Cobol_procedure__.Procedure_terms.ident;
  2. varying_from : Cobol_procedure__.Procedure_terms.scalar;
  3. varying_by : Cobol_procedure__.Procedure_terms.scalar option;
  4. varying_until : (Cobol_procedure__.Procedure_terms.condition, unit) Stdlib.result Cobol_common.Srcloc.TYPES.with_loc;
}
and search_stmt = {
  1. search_item : (Cobol_data.Types.data_definition, Cobol_ptree.qualname Cobol_common.Srcloc.TYPES.with_loc) Cobol_procedure__.Procedure_terms.resolved_reference;
  2. search_varying : Cobol_procedure__.Procedure_terms.ident option;
  3. search_at_end : handler;
  4. search_when_clauses : search_when_clause Cobol_common.Srcloc.TYPES.with_loc list;
}
and search_when_clause = {
  1. search_when_cond : (Cobol_procedure__.Procedure_terms.condition, unit) Stdlib.result Cobol_common.Srcloc.TYPES.with_loc;
  2. search_when_stmts : statements;
}
and search_all_stmt = {
  1. search_all_item : (Cobol_data.Types.data_definition, Cobol_ptree.qualname Cobol_common.Srcloc.TYPES.with_loc) Cobol_procedure__.Procedure_terms.resolved_reference;
  2. search_all_at_end : handler;
  3. search_all_conditions : Cobol_procedure__.Procedure_operands.search_condition list;
  4. search_all_action : statements;
}
and if_stmt = {
  1. condition : (Cobol_procedure__.Procedure_terms.condition, unit) Stdlib.result Cobol_common.Srcloc.TYPES.with_loc;
  2. then_branch : statements;
  3. else_branch : statements;
}
and accept_stmt =
  1. | AcceptGeneric of Cobol_procedure__.Procedure_terms.ident Cobol_common.Srcloc.TYPES.with_loc
  2. | AcceptFromDevice of {
    1. item : Cobol_procedure__.Procedure_terms.ident Cobol_common.Srcloc.TYPES.with_loc;
    2. device_item : Cobol_ptree.name Cobol_common.Srcloc.TYPES.with_loc;
    }
  3. | AcceptTemporal of {
    1. item : Cobol_procedure__.Procedure_terms.ident Cobol_common.Srcloc.TYPES.with_loc;
    2. date_time : Cobol_ptree.date_time;
    }
  4. | AcceptMisc of {
    1. item : Cobol_procedure__.Procedure_terms.ident Cobol_common.Srcloc.TYPES.with_loc;
    2. misc : Cobol_ptree.accept_misc;
    }
  5. | AcceptMsgCount of Cobol_ptree.name Cobol_common.Srcloc.TYPES.with_loc
  6. | AcceptScreen of {
    1. item : Cobol_procedure__.Procedure_terms.ident Cobol_common.Srcloc.TYPES.with_loc;
    2. clauses : accept_clause Cobol_common.Srcloc.TYPES.with_loc list;
    3. on_exception : dual_handler;
    }
  7. | AcceptFromEnv of {
    1. item : Cobol_procedure__.Procedure_terms.ident Cobol_common.Srcloc.TYPES.with_loc;
    2. env_item : Cobol_data.Types.literal_value Cobol_procedure__.Procedure_terms.or_ident Cobol_common.Srcloc.TYPES.with_loc option;
    3. on_exception : dual_handler;
    }
  8. | AcceptFromArg of {
    1. item : Cobol_procedure__.Procedure_terms.ident Cobol_common.Srcloc.TYPES.with_loc;
    2. on_exception : dual_handler;
    }
  9. | AcceptFromCmdLine of {
    1. item : Cobol_procedure__.Procedure_terms.ident Cobol_common.Srcloc.TYPES.with_loc;
    2. on_exception : dual_handler;
    }
and accept_clause =
  1. | AcceptAt of Cobol_procedure__.Procedure_operands.position
  2. | AcceptFromCRT
  3. | AcceptModeBlock
  4. | AcceptWith of accept_with_clause Cobol_common.Srcloc.TYPES.with_loc list
and accept_with_clause =
  1. | AcceptAttribute of screen_attribute_clause
  2. | AcceptAuto
  3. | AcceptFull
  4. | AcceptGrid
  5. | AcceptLeftLine
  6. | AcceptOverLine
  7. | AcceptPromptCharacter of Cobol_data.Types.literal_value Cobol_procedure__.Procedure_terms.or_ident option
  8. | AcceptRequired
  9. | AcceptSecure
  10. | AcceptSize of Cobol_data.Types.integer_value Cobol_procedure__.Procedure_terms.or_ident
  11. | AcceptControl of Cobol_procedure__.Procedure_terms.ident
  12. | AcceptTimeout
  13. | AcceptLeftJustify
  14. | AcceptRightJustify
  15. | AcceptSpaceFill
  16. | AcceptTrailingSign
  17. | AcceptUpdate
  18. | AcceptUpper
  19. | AcceptLower
  20. | AcceptZeroFill
and display_stmt = {
  1. display_items_clauses : display_items_clauses list;
  2. no_advancing : bool;
  3. on_exception : dual_handler;
}
and display_items_clauses = {
  1. display_items : Cobol_data.Types.literal_value Cobol_procedure__.Procedure_terms.or_ident Cobol_common.Srcloc.TYPES.with_loc list;
  2. display_clauses : display_clause Cobol_common.Srcloc.TYPES.with_loc list;
}
and display_clause =
  1. | DisplayAt of Cobol_procedure__.Procedure_operands.position
  2. | DisplayUpon of Cobol_ptree.display_target Cobol_common.Srcloc.TYPES.with_loc
  3. | DisplayModeIsBlock
  4. | DisplayWith of display_with_clause Cobol_common.Srcloc.TYPES.with_loc list
and display_with_clause =
  1. | DisplayAttribute of screen_attribute_clause
  2. | DisplayGrid
  3. | DisplayErase of Cobol_ptree.erase_clause
  4. | DisplayLeftLine
  5. | DisplayOverLine
  6. | DisplaySize of Cobol_data.Types.integer_value Cobol_procedure__.Procedure_terms.or_ident
  7. | DisplayControl of Cobol_procedure__.Procedure_terms.ident
  8. | DisplayBlank of Cobol_ptree.blank_clause
and basic_arithmetic_stmt = {
  1. basic_arith_operands : Cobol_procedure__.Procedure_operands.basic_arithmetic_operands;
  2. basic_arith_on_size_error : dual_handler;
}
and compute_stmt = {
  1. compute_targets : Cobol_procedure__.Procedure_terms.ident Cobol_ptree.rounded_list;
  2. compute_expr : Cobol_procedure__.Procedure_terms.expr Cobol_common.Srcloc.TYPES.with_loc;
  3. compute_on_size_error : dual_handler;
}
and delete_stmt = {
  1. delete_targets : Cobol_ptree.name Cobol_common.Srcloc.TYPES.with_loc;
  2. delete_retry : Cobol_procedure__.Procedure_operands.retry_clause option;
  3. delete_on_invalid_key : dual_handler;
}
and divide_stmt = {
  1. divide_operands : Cobol_procedure__.Procedure_operands.divide_operands;
  2. divide_on_size_error : dual_handler;
}
and multiply_stmt = {
  1. multiply_operands : Cobol_procedure__.Procedure_operands.multiply_operands;
  2. multiply_on_size_error : dual_handler;
}
and receive_stmt = {
  1. receive_name : Cobol_ptree.name Cobol_common.Srcloc.TYPES.with_loc;
  2. receive_kind : Cobol_ptree.mcs_awaiting_item;
  3. receive_into : Cobol_procedure__.Procedure_terms.ident;
  4. receive_on_no_data : dual_handler;
}
and return_stmt = {
  1. return_file : Cobol_ptree.name Cobol_common.Srcloc.TYPES.with_loc;
  2. return_into : Cobol_procedure__.Procedure_terms.ident Cobol_common.Srcloc.TYPES.with_loc option;
  3. return_at_end : dual_handler;
}
and rewrite_stmt = {
  1. rewrite_to : Cobol_procedure__.Procedure_operands.write_target;
  2. rewrite_from : Cobol_data.Types.literal_value Cobol_procedure__.Procedure_terms.or_ident option;
  3. rewrite_retry : Cobol_procedure__.Procedure_operands.retry_clause option;
  4. rewrite_lock : bool option;
  5. rewrite_invalid_key_handler : dual_handler;
}
and start_stmt = {
  1. start_file : Cobol_ptree.name Cobol_common.Srcloc.TYPES.with_loc;
  2. start_position : Cobol_procedure__.Procedure_operands.start_position option;
  3. start_on_invalid_key : dual_handler;
}
and string_stmt = {
  1. string_sources : Cobol_procedure__.Procedure_operands.string_source list;
  2. string_target : Cobol_procedure__.Procedure_terms.ident;
  3. string_pointer : Cobol_procedure__.Procedure_terms.ident option;
  4. string_on_overflow : dual_handler;
}
and unstring_stmt = {
  1. unstring_source : Cobol_procedure__.Procedure_terms.ident;
  2. unstring_delimiters : Cobol_procedure__.Procedure_operands.unstring_delimiter list;
  3. unstring_targets : Cobol_procedure__.Procedure_operands.unstring_target list;
  4. unstring_pointer : Cobol_procedure__.Procedure_terms.ident option;
  5. unstring_tallying : Cobol_procedure__.Procedure_terms.ident option;
  6. unstring_on_overflow : dual_handler;
}
and write_stmt = {
  1. write_to : Cobol_procedure__.Procedure_operands.write_target;
  2. write_from : Cobol_data.Types.literal_value Cobol_procedure__.Procedure_terms.or_ident option;
  3. write_advancing : Cobol_procedure__.Procedure_operands.advancing_phrase option;
  4. write_retry : Cobol_procedure__.Procedure_operands.retry_clause option;
  5. write_lock : bool option;
  6. write_error_handler : (Cobol_ptree.write_error * dual_handler) option;
}
and call_stmt = {
  1. call_static : bool;
  2. call_target : call_target;
  3. call_using : Cobol_procedure__.Procedure_operands.call_using_clause list;
  4. call_returning : Cobol_procedure__.Procedure_terms.ident Cobol_common.Srcloc.TYPES.with_loc option;
  5. call_error_handler : call_error_handler option;
}
and call_target =
  1. | CallGeneral of Cobol_data.Types.literal_value Cobol_procedure__.Procedure_terms.or_ident
  2. | CallProto of {
    1. called : Cobol_data.Types.literal_value Cobol_procedure__.Procedure_terms.or_ident option;
    2. prototype : call_proto;
    }
and call_proto =
  1. | CallProtoIdent of Cobol_procedure__.Procedure_terms.ident
  2. | CallProtoNested
and call_error_handler =
  1. | CallOnOverflow of handler
  2. | CallOnException of dual_handler
and read_stmt = {
  1. read_file : Cobol_ptree.name Cobol_common.Srcloc.TYPES.with_loc;
  2. read_direction : Cobol_ptree.read_direction option;
  3. read_into : Cobol_procedure__.Procedure_terms.ident option;
  4. read_lock_behavior : Cobol_procedure__.Procedure_operands.read_lock_behavior option;
  5. read_lock : bool option;
  6. read_key : (Cobol_data.Types.data_definition, Cobol_ptree.qualname Cobol_common.Srcloc.TYPES.with_loc) Cobol_procedure__.Procedure_terms.resolved_reference option;
  7. read_error_handler : (Cobol_ptree.read_error * dual_handler) option;
}
and goback_stmt = {
  1. goback_raising : Cobol_procedure__.Procedure_operands.raising option;
  2. goback_returning : Cobol_data.Types.integer_value Cobol_procedure__.Procedure_terms.or_ident Cobol_common.Srcloc.TYPES.with_loc option;
}
and statement =
  1. | Accept of accept_stmt
  2. | Add of basic_arithmetic_stmt
  3. | Allocate of allocate_stmt
  4. | Alter of Cobol_ptree.alter_stmt
  5. | Call of call_stmt
  6. | Cancel of Cobol_data.Types.literal_value Cobol_procedure__.Procedure_terms.or_ident list
  7. | Close of Cobol_ptree.close_stmt
  8. | Compute of compute_stmt
  9. | Continue
  10. | Delete of delete_stmt
  11. | Disable of Cobol_procedure__.Procedure_operands.mcs_command_operands
  12. | Display of display_stmt
  13. | Divide of divide_stmt
  14. | Enable of Cobol_procedure__.Procedure_operands.mcs_command_operands
  15. | Enter of Cobol_ptree.enter_stmt
  16. | Entry of entry_stmt
  17. | Evaluate of evaluate_stmt
  18. | ExecBlock of Cobol_ptree.exec_block
  19. | Exit of exit_stmt
  20. | Free of (Cobol_data.Types.data_definition, Cobol_ptree.qualname Cobol_common.Srcloc.TYPES.with_loc) Cobol_procedure__.Procedure_terms.resolved_reference list
  21. | Generate of Cobol_ptree.qualname Cobol_common.Srcloc.TYPES.with_loc
  22. | GoTo of goto_stmt
  23. | GoBack of goback_stmt
  24. | If of if_stmt
  25. | Initialize of initialize_stmt
  26. | Initiate of Cobol_ptree.name Cobol_common.Srcloc.TYPES.with_loc list
  27. | Inspect of inspect_stmt
  28. | Invoke of invoke_stmt
  29. | LoneGoTo
  30. | Merge of merge_stmt
  31. | Move of move_stmt
  32. | Multiply of multiply_stmt
  33. | NextSentence
  34. | Open of open_stmt
  35. | PerformTarget of perform_target_stmt
  36. | PerformInline of perform_inline_stmt
  37. | Purge of Cobol_ptree.name Cobol_common.Srcloc.TYPES.with_loc
  38. | Raise of Cobol_procedure__.Procedure_operands.raise_operand
  39. | Read of read_stmt
  40. | Receive of receive_stmt
  41. | Release of release_stmt
  42. | Resume of Cobol_ptree.resume_stmt
  43. | Return of return_stmt
  44. | Rewrite of rewrite_stmt
  45. | Search of search_stmt
  46. | SearchAll of search_all_stmt
  47. | Send of send_stmt
  48. | Set of set_stmt
  49. | Sort of sort_stmt
  50. | Start of start_stmt
  51. | Stop of stop_stmt
  52. | String of string_stmt
  53. | Subtract of basic_arithmetic_stmt
  54. | Suppress
  55. | Terminate of Cobol_ptree.terminate_stmt
  56. | Transform of transform_stmt
  57. | Unlock of Cobol_ptree.unlock_stmt
  58. | Unstring of unstring_stmt
  59. | Validate of Cobol_procedure__.Procedure_terms.ident list
  60. | Write of write_stmt
val compare_handler : handler -> handler -> Ppx_deriving_runtime.int
val compare_dual_handler : dual_handler -> dual_handler -> Ppx_deriving_runtime.int
val compare_evaluate_stmt : evaluate_stmt -> evaluate_stmt -> Ppx_deriving_runtime.int
val compare_evaluate_branch : evaluate_branch -> evaluate_branch -> Ppx_deriving_runtime.int
val compare_perform_target_stmt : perform_target_stmt -> perform_target_stmt -> Ppx_deriving_runtime.int
val compare_perform_inline_stmt : perform_inline_stmt -> perform_inline_stmt -> Ppx_deriving_runtime.int
val compare_perform_mode : perform_mode -> perform_mode -> Ppx_deriving_runtime.int
val compare_varying_phrase : varying_phrase -> varying_phrase -> Ppx_deriving_runtime.int
val compare_search_stmt : search_stmt -> search_stmt -> Ppx_deriving_runtime.int
val compare_search_when_clause : search_when_clause -> search_when_clause -> Ppx_deriving_runtime.int
val compare_search_all_stmt : search_all_stmt -> search_all_stmt -> Ppx_deriving_runtime.int
val compare_if_stmt : if_stmt -> if_stmt -> Ppx_deriving_runtime.int
val compare_accept_stmt : accept_stmt -> accept_stmt -> Ppx_deriving_runtime.int
val compare_accept_clause : accept_clause -> accept_clause -> Ppx_deriving_runtime.int
val compare_accept_with_clause : accept_with_clause -> accept_with_clause -> Ppx_deriving_runtime.int
val compare_display_stmt : display_stmt -> display_stmt -> Ppx_deriving_runtime.int
val compare_display_items_clauses : display_items_clauses -> display_items_clauses -> Ppx_deriving_runtime.int
val compare_display_clause : display_clause -> display_clause -> Ppx_deriving_runtime.int
val compare_display_with_clause : display_with_clause -> display_with_clause -> Ppx_deriving_runtime.int
val compare_basic_arithmetic_stmt : basic_arithmetic_stmt -> basic_arithmetic_stmt -> Ppx_deriving_runtime.int
val compare_compute_stmt : compute_stmt -> compute_stmt -> Ppx_deriving_runtime.int
val compare_delete_stmt : delete_stmt -> delete_stmt -> Ppx_deriving_runtime.int
val compare_divide_stmt : divide_stmt -> divide_stmt -> Ppx_deriving_runtime.int
val compare_multiply_stmt : multiply_stmt -> multiply_stmt -> Ppx_deriving_runtime.int
val compare_receive_stmt : receive_stmt -> receive_stmt -> Ppx_deriving_runtime.int
val compare_return_stmt : return_stmt -> return_stmt -> Ppx_deriving_runtime.int
val compare_rewrite_stmt : rewrite_stmt -> rewrite_stmt -> Ppx_deriving_runtime.int
val compare_start_stmt : start_stmt -> start_stmt -> Ppx_deriving_runtime.int
val compare_string_stmt : string_stmt -> string_stmt -> Ppx_deriving_runtime.int
val compare_unstring_stmt : unstring_stmt -> unstring_stmt -> Ppx_deriving_runtime.int
val compare_write_stmt : write_stmt -> write_stmt -> Ppx_deriving_runtime.int
val compare_call_stmt : call_stmt -> call_stmt -> Ppx_deriving_runtime.int
val compare_call_target : call_target -> call_target -> Ppx_deriving_runtime.int
val compare_call_proto : call_proto -> call_proto -> Ppx_deriving_runtime.int
val compare_call_error_handler : call_error_handler -> call_error_handler -> Ppx_deriving_runtime.int
val compare_read_stmt : read_stmt -> read_stmt -> Ppx_deriving_runtime.int
val compare_goback_stmt : goback_stmt -> goback_stmt -> Ppx_deriving_runtime.int
val compare_statement : statement -> statement -> Ppx_deriving_runtime.int
val compare_statements : statements -> handler -> Ppx_deriving_runtime.int