File tree 1 file changed +15
-0
lines changed
1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -296,6 +296,14 @@ class Z3PPObject:
296
296
def use_pp (self ):
297
297
return True
298
298
299
+ def _repr_html_ (self ):
300
+ in_html = in_html_mode ()
301
+ set_html_mode (True )
302
+ res = repr (self )
303
+ set_html_mode (in_html )
304
+ return res
305
+
306
+
299
307
class AstRef (Z3PPObject ):
300
308
"""AST are Direct Acyclic Graphs (DAGs) used to represent sorts, declarations and expressions."""
301
309
def __init__ (self , ast , ctx = None ):
@@ -6418,6 +6426,13 @@ def __repr__(self):
6418
6426
else :
6419
6427
return "unknown"
6420
6428
6429
+ def _repr_html_ (self ):
6430
+ in_html = in_html_mode ()
6431
+ set_html_mode (True )
6432
+ res = repr (self )
6433
+ set_html_mode (in_html )
6434
+ return res
6435
+
6421
6436
sat = CheckSatResult (Z3_L_TRUE )
6422
6437
unsat = CheckSatResult (Z3_L_FALSE )
6423
6438
unknown = CheckSatResult (Z3_L_UNDEF )
You can’t perform that action at this time.
0 commit comments