3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-27 10:55:50 +00:00

more descriptive naming convention

This commit is contained in:
Nikolaj Bjorner 2021-03-15 15:48:33 -07:00
parent 4b3fecc35e
commit d03fdf5fed
7 changed files with 16 additions and 16 deletions

View file

@ -73,7 +73,7 @@ namespace api {
class context : public tactic_manager {
struct add_plugins { add_plugins(ast_manager & m); };
ast_context m_params;
ast_context_params m_params;
bool m_user_ref_count; //!< if true, the user is responsible for managing reference counters.
scoped_ptr<ast_manager> m_manager;
scoped_ptr<cmd_context> m_cmd;
@ -135,11 +135,11 @@ namespace api {
//
// ------------------------
context(ast_context * p, bool user_ref_count = false);
context(ast_context_params * p, bool user_ref_count = false);
~context();
ast_manager & m() const { return *(m_manager.get()); }
ast_context & params() { m_params.updt_params(); return m_params; }
ast_context_params & params() { m_params.updt_params(); return m_params; }
scoped_ptr<cmd_context>& cmd() { return m_cmd; }
bool produce_proofs() const { return m().proofs_enabled(); }
bool produce_models() const { return m_params.m_model; }