mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 10:55:50 +00:00
recfun
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
fac114872f
commit
aa6e1badf2
9 changed files with 95 additions and 33 deletions
|
@ -16,8 +16,8 @@ Author:
|
|||
Revision History:
|
||||
|
||||
--*/
|
||||
#include<sstream>
|
||||
#include<cstring>
|
||||
#include <sstream>
|
||||
#include <cstring>
|
||||
#include "ast/ast.h"
|
||||
#include "ast/ast_pp.h"
|
||||
#include "ast/ast_ll_pp.h"
|
||||
|
@ -1541,6 +1541,20 @@ void ast_manager::raise_exception(char const * msg) {
|
|||
throw ast_exception(msg);
|
||||
}
|
||||
|
||||
void ast_manager::raise_exception(std::string const& msg) {
|
||||
throw ast_exception(msg.c_str());
|
||||
}
|
||||
|
||||
std::ostream& ast_manager::display(std::ostream& out, parameter const& p) {
|
||||
switch (p.get_kind()) {
|
||||
case parameter::PARAM_AST:
|
||||
return out << ast_ref(p.get_ast(), *this);
|
||||
default:
|
||||
return p.display(out);
|
||||
}
|
||||
return out;
|
||||
}
|
||||
|
||||
|
||||
void ast_manager::copy_families_plugins(ast_manager const & from) {
|
||||
TRACE("copy_families_plugins",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue