package archetype
Class ParseTree.reduceSource
inherit VisitorsRuntime.reduceinherit Archetype.Ident.ident_reducemethod visit_Pref : 'c -> pname Archetype.Location.loced -> lident list -> 'smethod visit_pattern_unloc : 'c -> pattern_unloc -> 'smethod visit_PIdent : 'c -> Archetype.Ident.ident -> 'smethod visit_pname : 'c -> pname -> 'smethod visit_pattern : 'c -> pattern -> 'smethod visit_VLIdent : 'c -> lident -> 'smethod visit_var_label : 'c -> var_label -> 'smethod visit_var_vset : 'c -> var_vset -> 'smethod visit_FIsimple : 'c -> lident -> 'smethod visit_for_ident_unloc : 'c -> for_ident_unloc -> 'smethod visit_for_ident : 'c -> for_ident -> 'smethod visit_TToperation : 'c -> expr -> 'smethod visit_transfer_t : 'c -> transfer_t -> 'smethod visit_Eterm : 'c ->
scope_import ->
(var_vset option * var_label option) ->
lident ->
'smethod visit_Eliteral : 'c -> literal -> 'smethod visit_Earray : 'c -> scope_import -> expr list -> 'smethod visit_Erecord : 'c -> scope_import -> record_item list -> 'smethod visit_Etuple : 'c -> expr list -> 'smethod visit_Emulticomp : 'c ->
expr ->
(comparison_operator Archetype.Location.loced * expr) list ->
'smethod visit_Etransfer : 'c -> transfer_t -> 'smethod visit_Efail : 'c -> expr -> 'smethod visit_Efailsome : 'c -> expr -> 'smethod visit_Eassign : 'c -> assignment_operator -> expr -> expr -> 'smethod visit_Equantifier : 'c ->
quantifier ->
lident ->
quantifier_kind ->
expr ->
'smethod visit_Eassert : 'c -> lident -> 'smethod visit_Elabel : 'c -> lident -> 'smethod visit_Ereturn : 'c -> expr -> 'smethod visit_Eoption : 'c -> option_ -> 'smethod visit_Eor : 'c -> or_ -> 'smethod visit_Eself : 'c -> lident -> 'smethod visit_expr_unloc : 'c -> expr_unloc -> 'smethod visit_branch : 'c -> branch -> 'smethod visit_scope : 'd -> scope -> 'smethod visit_Qcollection : 'c -> expr -> 'smethod visit_Qtype : 'c -> type_t -> 'smethod visit_quantifier_kind : 'c -> quantifier_kind -> 'smethod visit_OSome : 'c -> expr -> 'smethod visit_ONone : 'c -> type_t option -> 'smethod visit_option_ : 'c -> option_ -> 'smethod visit_or_ : 'c -> or_ -> 'smethod visit_Fident : 'c -> lident -> 'smethod visit_Foperator : 'c -> operator Archetype.Location.loced -> 'smethod visit_function_ : 'c -> function_ -> 'smethod visit_Lint : 'c -> Archetype.Core.big_int -> 'smethod visit_Lnat : 'c -> Archetype.Core.big_int -> 'smethod visit_literal : 'c -> literal -> 'smethod visit_record_item : 'c -> record_item -> 'smethod visit_expr : 'c -> expr -> 'smethod visit_lident_typ : 'c -> lident_typ -> 'smethod visit_label_expr : 'c -> label_expr -> 'smethod visit_label_exprs : 'c -> label_exprs -> 'smethod visit_extension_unloc : 'c -> extension_unloc -> 'smethod visit_extension : 'c -> extension -> 'smethod visit_exts : 'c -> exts -> 'smethod visit_field_unloc : 'c -> field_unloc -> 'smethod visit_field : 'c -> field -> 'smethod visit_args : 'c -> args -> 'smethod visit_invariants : 'c -> invariants -> 'smethod visit_Veffect : 'c -> expr -> 'smethod visit_Vassert : 'c -> (lident * expr * invariants * lident list) -> 'smethod visit_Vpostcondition : 'c ->
(lident * expr * invariants * lident list * postkind option) ->
'smethod visit_specification_item_unloc : 'c -> specification_item_unloc -> 'smethod visit_postkind : 'c -> postkind -> 'smethod visit_specification_item : 'c -> specification_item -> 'smethod visit_specification_unloc : 'c -> specification_unloc -> 'smethod visit_specification : 'c -> specification -> 'smethod visit_Sident : 'c -> lident -> 'smethod visit_Slist : 'c -> security_arg list -> 'smethod visit_Sapp : 'c -> lident -> security_arg list -> 'smethod visit_Sbut : 'c -> lident -> security_arg -> 'smethod visit_Sto : 'c -> lident -> security_arg -> 'smethod visit_security_arg_unloc : 'c -> security_arg_unloc -> 'smethod visit_security_arg : 'c -> security_arg -> 'smethod visit_security_item_unloc : 'c -> security_item_unloc -> 'smethod visit_security_item : 'c -> security_item -> 'smethod visit_security_unloc : 'c -> security_unloc -> 'smethod visit_security : 'c -> security -> 'smethod visit_view_visibility : 'c -> view_visibility -> 'smethod visit_s_function : 'c -> s_function -> 'smethod visit_entry_properties : 'c -> entry_properties -> 'smethod visit_transition : 'c -> transition -> 'smethod visit_parameter : 'c -> parameter -> 'smethod visit_parameters : 'c -> parameters -> 'smethod visit_Muri : 'c -> string Archetype.Location.loced -> 'smethod visit_Mjson : 'c -> string Archetype.Location.loced -> 'smethod visit_metadata : 'c -> metadata -> 'smethod visit_variable_kind : 'c -> variable_kind -> 'smethod visit_EKenum : 'c -> lident -> 'smethod visit_enum_kind : 'c -> enum_kind -> 'smethod visit_Darchetype : 'c ->
lident ->
parameters ->
metadata option ->
exts ->
'smethod visit_Dvariable : 'c -> variable_decl -> 'smethod visit_Dasset : 'c -> asset_decl -> 'smethod visit_Drecord : 'c -> record_decl -> 'smethod visit_Dentry : 'c -> entry_decl -> 'smethod visit_Dtransition : 'c -> transition_decl -> 'smethod visit_Dextension : 'c -> extension_decl -> 'smethod visit_Dnamespace : 'c -> namespace_decl -> 'smethod visit_Dfunction : 'c -> s_function -> 'smethod visit_Dspecification : 'c -> specification -> 'smethod visit_Dspecasset : 'c -> (lident * label_exprs) -> 'smethod visit_Dspecfun : 'c -> specfun -> 'smethod visit_Dspecvariable : 'c -> (lident * label_exprs) -> 'smethod visit_Dsecurity : 'c -> security -> 'smethod visit_Devent : 'c -> record_decl -> 'smethod visit_declaration_unloc : 'c -> declaration_unloc -> 'smethod visit_specfun_kind : 'c -> specfun_kind -> 'smethod visit_specfun : 'c -> specfun -> 'smethod visit_variable_decl : 'c -> variable_decl -> 'smethod visit_enum_decl : 'c -> enum_decl -> 'smethod visit_asset_decl : 'c -> asset_decl -> 'smethod visit_record_decl : 'c -> record_decl -> 'smethod visit_entry_decl : 'c -> entry_decl -> 'smethod visit_transition_decl : 'c -> transition_decl -> 'smethod visit_extension_decl : 'c -> extension_decl -> 'smethod visit_namespace_decl : 'c -> namespace_decl -> 'smethod visit_map_kind : 'c -> map_kind -> 'smethod visit_AOidentifiedby : 'c -> lident list -> 'smethod visit_AOsortedby : 'c -> lident -> 'smethod visit_AOtoMapKind : 'c -> map_kind -> 'smethod visit_asset_option : 'c -> asset_option -> 'smethod visit_APOstates : 'c -> lident -> 'smethod visit_APOconstraints : 'c -> label_exprs -> 'smethod visit_APOinit : 'c -> expr list -> 'smethod visit_asset_post_option : 'c -> asset_post_option -> 'smethod visit_EOspecification : 'c -> label_exprs -> 'smethod visit_enum_option : 'c -> enum_option -> 'smethod visit_declaration : 'c -> declaration -> 'smethod visit_asset_operation_enum : 'c -> asset_operation_enum -> 'smethod visit_AssetOperation : 'c ->
asset_operation_enum list ->
expr option ->
'smethod visit_asset_operation : 'c -> asset_operation -> 'smethod visit_Marchetype : 'c -> declaration list -> 'smethod visit_Mextension : 'c ->
lident ->
declaration list ->
declaration list ->
'smethod visit_archetype_unloc : 'c -> archetype_unloc -> 'smethod visit_archetype : 'c -> archetype -> 's