2013-07-24 17:14:22 +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
|
2013-09-13 03:04:10 +00:00
|
|
|
#include "kernel/expr.h"
|
2013-07-24 17:14:22 +00:00
|
|
|
|
|
|
|
namespace lean {
|
2014-05-17 18:20:24 +00:00
|
|
|
/** \brief Return a shallow copy of \c e */
|
|
|
|
expr copy(expr const & e);
|
|
|
|
|
2013-07-26 18:43:53 +00:00
|
|
|
/**
|
|
|
|
\brief Return a new expression that is equal to the given
|
|
|
|
argument, but does not share any memory cell with it.
|
|
|
|
*/
|
2013-07-24 17:14:22 +00:00
|
|
|
expr deep_copy(expr const & e);
|
|
|
|
}
|