1234567891011121314151617181920212223242526272829303132333435363738394041424344(******************************************************************************)(* *)(* Alt-Ergo: The SMT Solver For Software Verification *)(* Copyright (C) 2018-2018 --- OCamlPro SAS *)(* *)(* This file is distributed under the terms of the license indicated *)(* in the file 'License.OCamlPro'. If 'License.OCamlPro' is not *)(* present, please contact us to clarify licensing. *)(* *)(******************************************************************************)exceptionMethod_not_registeredofstringmoduletypeS=sig(* Parsing *)typeparsedvalparse_file:content:string->format:stringoption->parsedSeq.tvalparse_files:filename:string->preludes:stringlist->parsedSeq.t(* Typechecking *)typeenvvalempty_env:envvaltype_parsed:env->envStack.t->parsed->intTyped.atdecllist*envendletinput_methods=ref[]letregistername((moduleM:S)asm)=input_methods:=(name,m)::!input_methodsletfindname=tryList.assocname!input_methodswithNot_found->raise(Method_not_registeredname)