Definition at line 9589 of file z3py.py.
◆ __init__()
| __init__ |
( |
| self, |
|
|
| ctx = None ) |
Definition at line 9590 of file z3py.py.
9590 def __init__(self, ctx= None):
9591 self.ctx = _get_ctx(ctx)
9594
void Z3_API Z3_parser_context_inc_ref(Z3_context c, Z3_parser_context pc)
Increment the reference counter of the given Z3_parser_context object.
Z3_parser_context Z3_API Z3_mk_parser_context(Z3_context c)
Create a parser context.
◆ __del__()
Definition at line 9595 of file z3py.py.
9595 def __del__(self):
9596 if self.ctx.ref() is not None and self.pctx is not None and Z3_parser_context_dec_ref is not None:
9598 self.pctx = None
9599
void Z3_API Z3_parser_context_dec_ref(Z3_context c, Z3_parser_context pc)
Decrement the reference counter of the given Z3_parser_context object.
◆ add_decl()
Definition at line 9603 of file z3py.py.
9603 def add_decl(self, decl):
9605
void Z3_API Z3_parser_context_add_decl(Z3_context c, Z3_parser_context pc, Z3_func_decl f)
Add a function declaration.
◆ add_sort()
Definition at line 9600 of file z3py.py.
9600 def add_sort(self, sort):
9602
void Z3_API Z3_parser_context_add_sort(Z3_context c, Z3_parser_context pc, Z3_sort s)
Add a sort declaration.
◆ from_string()
Definition at line 9606 of file z3py.py.
9606 def from_string(self, s):
9608
Z3_ast_vector Z3_API Z3_parser_context_from_string(Z3_context c, Z3_parser_context pc, Z3_string s)
Parse a string of SMTLIB2 commands. Return assertions.
◆ ctx
◆ pctx