(************************************************************************) (* v * The Coq Proof Assistant / The Coq Development Team *) (* env -> var_map -> expected_type:(constr option) -> rawconstr -> constr val understand_gen_ltac : evar_map -> env -> var_map * (identifier * identifier option) list -> expected_type:(constr option) -> rawconstr -> constr (* Generic call to the interpreter from rawconstr to constr, turning unresolved holes into metas. Returns also the typing context of these metas. Work as [understand_gen] for the rest. *) val understand_gen_tcc : evar_map -> env -> var_map -> constr option -> rawconstr -> open_constr (* Standard call to get a constr from a rawconstr, resolving implicit args *) val understand : evar_map -> env -> rawconstr -> constr (* Idem but the rawconstr is intended to be a type *) val understand_type : evar_map -> env -> rawconstr -> constr (* Idem but returns the judgment of the understood term *) val understand_judgment : evar_map -> env -> rawconstr -> unsafe_judgment (* Idem but returns the judgment of the understood type *) val understand_type_judgment : evar_map -> env -> rawconstr -> unsafe_type_judgment (* To embed constr in rawconstr *) val constr_in : constr -> Dyn.t val constr_out : Dyn.t -> constr (*i*) (* Internal of Pretyping... * Unused outside, but useful for debugging *) val pretype : type_constraint -> env -> evar_defs -> var_map * (identifier * identifier option) list -> rawconstr -> unsafe_judgment val pretype_type : val_constraint -> env -> evar_defs -> var_map * (identifier * identifier option) list -> rawconstr -> unsafe_type_judgment (*i*) val interp_sort : rawsort -> sorts val interp_elimination_sort : rawsort -> sorts_family