d843d432d3
The printer and formatter objects are not trusted code. We moved them to the kernel to be able to provide them as an argument to the trace objects. Another motivation is to eliminate the kernel_exception_formatter hack. With the formatter in the kernel, we can implement the pretty printer for kernel exceptions as a virtual method. Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
16 lines
419 B
C++
16 lines
419 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;
|
|
formatter mk_pp_formatter(frontend const & fe);
|
|
std::ostream & operator<<(std::ostream & out, frontend const & fe);
|
|
}
|