Skip to content

Commit e27ae13

Browse files
author
Dwight Guth
authored
add axiom filtering property to python bindings (#1061)
This adds a boolean property to kore_axiom_declaration objects which will be `True` if the axiom is used by the LLVM backend and `False` if the LLVM backend filters it out.
1 parent 73e5208 commit e27ae13

File tree

3 files changed

+1426
-0
lines changed

3 files changed

+1426
-0
lines changed

bindings/python/ast.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,8 @@ void bind_ast(py::module_ &m) {
178178
py::init(&kore_axiom_declaration::create),
179179
py::arg("is_claim") = false)
180180
.def_property_readonly("is_claim", &kore_axiom_declaration::is_claim)
181+
.def_property_readonly(
182+
"is_required", &kore_axiom_declaration::is_required)
181183
.def("add_pattern", &kore_axiom_declaration::add_pattern)
182184
.def_property_readonly("pattern", &kore_axiom_declaration::get_pattern)
183185
.def_property_readonly("requires", &kore_axiom_declaration::get_requires);

0 commit comments

Comments
 (0)