mirror of
https://github.com/Z3Prover/z3
synced 2025-08-10 13:10:50 +00:00
expose assertions that are pushed to the context
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
93dfafb6d4
commit
a935c64e15
5 changed files with 50 additions and 1 deletions
|
@ -261,6 +261,8 @@ namespace datalog {
|
|||
|
||||
void assert_expr(expr* e);
|
||||
expr_ref get_background_assertion();
|
||||
unsigned get_num_assertions() { return m_background.size(); }
|
||||
expr* get_assertion(unsigned i) const { return m_background[i]; }
|
||||
|
||||
/**
|
||||
Method exposed from API for adding rules.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue