1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495(************************************************************************)(* v * The Coq Proof Assistant / The Coq Development Team *)(* <O___,, * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2016 *)(* \VV/ **************************************************************)(* // * This file is distributed under the terms of the *)(* * GNU Lesser General Public License Version 2.1 *)(************************************************************************)(************************************************************************)(* Coq serialization API/Plugin *)(* Copyright 2016 MINES ParisTech *)(************************************************************************)(* Status: Very Experimental *)(************************************************************************)openSexplib.StdmoduleLoc=Ser_locmoduleNames=Ser_namesmoduleUtil=Ser_utilmoduleLocus=Ser_locusmoduleLibnames=Ser_libnamesmoduleConstrexpr=Ser_constrexprtype'ared_atom=[%import:'aGenredexpr.red_atom][@@derivingsexp]type'aglob_red_flag=[%import:'aGenredexpr.glob_red_flag][@@derivingsexp,yojson]type('a,'b,'c)red_expr_gen=[%import:('a,'b,'c)Genredexpr.red_expr_gen][@@derivingsexp,yojson]type('a,'b,'c)may_eval=[%import:('a,'b,'c)Genredexpr.may_eval][@@derivingsexp](* Helpers for raw_red_expr *)typer_trm=[%import:Genredexpr.r_trm][@@derivingsexp,yojson]typer_cst=[%import:Genredexpr.r_cst][@@derivingsexp,yojson]typer_pat=[%import:Genredexpr.r_pat][@@derivingsexp,yojson]typeraw_red_expr=[%import:Genredexpr.raw_red_expr][@@derivingsexp,yojson]type'aand_short_name=[%import:'aGenredexpr.and_short_name][@@derivingsexp]typewrd_h1=(Ser_constrexpr.constr_expr,Ser_libnames.qualidSer_constrexpr.or_by_notation,Ser_constrexpr.constr_expr)red_expr_gen[@@derivingsexp]typewrd_h2=(Ser_genintern.glob_constr_and_expr,Ser_names.evaluable_global_referenceand_short_nameSer_locus.or_var,Ser_genintern.glob_constr_pattern_and_expr)red_expr_gen[@@derivingsexp]typewrd_h3=(Ser_eConstr.constr,Ser_names.evaluable_global_reference,Ser_pattern.constr_pattern)red_expr_gen[@@derivingsexp]letser_wit_red_expr=Ser_genarg.{raw_ser=sexp_of_wrd_h1;glb_ser=sexp_of_wrd_h2;top_ser=sexp_of_wrd_h3;raw_des=wrd_h1_of_sexp;glb_des=wrd_h2_of_sexp;top_des=wrd_h3_of_sexp;}letregister()=Ser_genarg.register_genserGenredexpr.wit_red_exprser_wit_red_expr;()let_=register()