lean2/src/frontends/lean/begin_end_ext.h

20 lines
615 B
C
Raw Normal View History

/*
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#pragma once
#include "kernel/environment.h"
#include "frontends/lean/cmd_table.h"
namespace lean {
environment add_begin_end_pre_tactic(environment const & env, expr const & pre_tac);
environment reset_begin_end_pre_tactic(environment const & env, expr const & pre_tac);
optional<expr> get_begin_end_pre_tactic(environment const & env);
void register_begin_end_cmds(cmd_table & r);
void initialize_begin_end_ext();
void finalize_begin_end_ext();
}