feat(library/type_context): make expand_macro public
This commit is contained in:
parent
f84f024b92
commit
a104b478f3
1 changed files with 3 additions and 1 deletions
|
@ -147,7 +147,6 @@ class type_context {
|
||||||
bool m_check_types;
|
bool m_check_types;
|
||||||
|
|
||||||
bool is_opaque(declaration const & d) const;
|
bool is_opaque(declaration const & d) const;
|
||||||
optional<expr> expand_macro(expr const & m);
|
|
||||||
optional<expr> reduce_projection(expr const & e);
|
optional<expr> reduce_projection(expr const & e);
|
||||||
optional<expr> norm_ext(expr const & e);
|
optional<expr> norm_ext(expr const & e);
|
||||||
expr whnf_core(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(levels const & ls) const;
|
||||||
bool has_assigned_uvar_mvar(expr const & e) 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 */
|
/** \brief Instantiate assigned universe unification variables occurring in \c l */
|
||||||
level instantiate_uvars(level const & l);
|
level instantiate_uvars(level const & l);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue