There was an error while loading. Please reload this page.
1 parent 0ebea1c commit 78d1139Copy full SHA for 78d1139
src/api/python/z3/z3.py
@@ -1073,7 +1073,12 @@ def decl(self):
1073
_z3_assert(is_app(self), "Z3 application expected")
1074
return FuncDeclRef(Z3_get_app_decl(self.ctx_ref(), self.as_ast()), self.ctx)
1075
1076
-
+ def kind(self):
1077
+ """Return the Z3 internal kind of a function application."""
1078
+ if z3_debug():
1079
+ _z3_assert(is_app(self), "Z3 application expected")
1080
+ return Z3_get_decl_kind(self.ctx_ref(), Z3_get_app_decl(self.ctx_ref(), self.ast))
1081
+
1082
1083
def num_args(self):
1084
"""Return the number of arguments of a Z3 application.
0 commit comments