123456789101112131415161718192021222324252627282930313233343536373839404142(******************************************************************************)(* *)(* 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_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)