mirror of
https://github.com/Z3Prover/z3
synced 2025-06-13 09:26:15 +00:00
make parameters accessible from expressions. Issue #896
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
b3dabc7ccf
commit
6fcba26ea6
1 changed files with 3 additions and 0 deletions
|
@ -868,6 +868,9 @@ class ExprRef(AstRef):
|
||||||
_args, sz = _to_ast_array((a, b))
|
_args, sz = _to_ast_array((a, b))
|
||||||
return BoolRef(Z3_mk_distinct(self.ctx_ref(), 2, _args), self.ctx)
|
return BoolRef(Z3_mk_distinct(self.ctx_ref(), 2, _args), self.ctx)
|
||||||
|
|
||||||
|
def params(self):
|
||||||
|
return self.decl().params()
|
||||||
|
|
||||||
def decl(self):
|
def decl(self):
|
||||||
"""Return the Z3 function declaration associated with a Z3 application.
|
"""Return the Z3 function declaration associated with a Z3 application.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue