2013-08-17 00:11:24 +00:00
|
|
|
/*
|
|
|
|
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 <iostream>
|
2013-09-13 10:35:29 +00:00
|
|
|
#include <utility>
|
2013-09-13 03:04:10 +00:00
|
|
|
#include "kernel/expr.h"
|
|
|
|
#include "kernel/context.h"
|
2013-08-17 00:11:24 +00:00
|
|
|
|
|
|
|
namespace lean {
|
|
|
|
std::ostream & operator<<(std::ostream & out, context const & ctx);
|
|
|
|
std::ostream & operator<<(std::ostream & out, expr const & e);
|
2013-08-17 01:34:11 +00:00
|
|
|
std::ostream & operator<<(std::ostream & out, std::pair<expr const &, context const &> const & p);
|
2013-08-17 17:55:42 +00:00
|
|
|
class object;
|
|
|
|
std::ostream & operator<<(std::ostream & out, object const & obj);
|
2013-08-17 00:11:24 +00:00
|
|
|
class environment;
|
|
|
|
std::ostream & operator<<(std::ostream & out, environment const & env);
|
|
|
|
}
|
2013-08-19 01:25:34 +00:00
|
|
|
void print(lean::expr const & a);
|
|
|
|
void print(lean::expr const & a, lean::context const & c);
|
|
|
|
void print(lean::context const & c);
|
|
|
|
void print(lean::environment const & e);
|