feat(library/type_context): make expand_macro public

This commit is contained in:
Daniel Selsam 2015-11-04 17:45:54 -08:00 committed by Leonardo de Moura
parent f84f024b92
commit a104b478f3

View file

@ -147,7 +147,6 @@ class type_context {
bool m_check_types;
bool is_opaque(declaration const & d) const;
optional<expr> expand_macro(expr const & m);
optional<expr> reduce_projection(expr const & e);
optional<expr> norm_ext(expr const & e);
expr whnf_core(expr const & e);
@ -378,6 +377,9 @@ public:
bool has_assigned_uvar(levels const & ls) const;
bool has_assigned_uvar_mvar(expr const & e) const;
/** \brief Expand macro using extension context */
optional<expr> expand_macro(expr const & m);
/** \brief Instantiate assigned universe unification variables occurring in \c l */
level instantiate_uvars(level const & l);