lean4-htt/src/frontends/lean/pp.h
Leonardo de Moura da613f67a8 refactor(frontends/lean/pp): replace dangerous frontend reference with a weak_ref to the environment
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-08 16:42:12 -08:00

17 lines
442 B
C++

/*
Copyright (c) 2013 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#pragma once
#include "util/sexpr/options.h"
#include "kernel/context.h"
#include "kernel/formatter.h"
namespace lean {
class frontend;
class environment;
formatter mk_pp_formatter(environment const & env);
std::ostream & operator<<(std::ostream & out, frontend const & fe);
}