123456789101112131415161718192021222324252627282930313233343536373839404142434445464748(* This file is free software, part of Zipperposition. See file "license" for more details. *)(** {1 Input Format} *)typet=|I_tptp|I_zf|I_tip|I_dklettptp:t=I_tptplettip:t=I_tipletzf:t=I_zfletdk:t=I_dkletdefault:t=zfletppout(i:t)=matchiwith|I_tptp->CCFormat.stringout"tptp"|I_zf->CCFormat.stringout"zf"|I_tip->CCFormat.stringout"tip"|I_dk->CCFormat.stringout"dk"(** What to do when we have an undefined ID in the corresponding format? *)leton_undef_id(i:t)=matchiwith|I_tptp->`Guess|I_dk|I_tip|I_zf->`Fail(** What to do when we have a shadowing decl? *)leton_shadow(i:t)=matchiwith|I_dk->`Ignore|I_tptp|I_tip|I_zf->`Warn(** what to do when we have a variable without a type declaration? *)leton_var(i:t)=matchiwith|I_tptp->`Default|I_dk|I_tip|I_zf->`Infer(** Do we add implicit type parameters when '@' is not present? *)letimplicit_ty_args(i:t):bool=matchiwith|I_tptp|I_dk->false|I_tip|I_zf->true