mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 03:15:50 +00:00
exposed solver object param descrs
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
f7bcd40137
commit
44db8c083d
4 changed files with 19 additions and 10 deletions
|
@ -55,9 +55,16 @@ public:
|
|||
}
|
||||
|
||||
virtual void collect_param_descrs(param_descrs & r) {
|
||||
if (m_context == 0)
|
||||
return;
|
||||
m_context->collect_param_descrs(r);
|
||||
if (m_context == 0) {
|
||||
ast_manager m;
|
||||
m.register_decl_plugins();
|
||||
front_end_params p;
|
||||
smt::solver s(m, p);
|
||||
s.collect_param_descrs(r);
|
||||
}
|
||||
else {
|
||||
m_context->collect_param_descrs(r);
|
||||
}
|
||||
}
|
||||
|
||||
virtual void init(ast_manager & m, symbol const & logic) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue