/// <summary> /// Disposes of the context. /// </summary> public void Dispose() { // Console.WriteLine("Context Dispose from " + System.Threading.Thread.CurrentThread.ManagedThreadId); AST_DRQ.Clear(this); ASTMap_DRQ.Clear(this); ASTVector_DRQ.Clear(this); ApplyResult_DRQ.Clear(this); FuncEntry_DRQ.Clear(this); FuncInterp_DRQ.Clear(this); Goal_DRQ.Clear(this); Model_DRQ.Clear(this); Params_DRQ.Clear(this); ParamDescrs_DRQ.Clear(this); Probe_DRQ.Clear(this); Solver_DRQ.Clear(this); Statistics_DRQ.Clear(this); Tactic_DRQ.Clear(this); Fixedpoint_DRQ.Clear(this); Optimize_DRQ.Clear(this); m_boolSort = null; m_intSort = null; m_realSort = null; m_stringSort = null; }
/// <summary> /// Create a new regular expression sort. /// </summary> public ReSort MkReSort(SeqSort s) { Contract.Requires(s != null); Contract.Ensures(Contract.Result<ReSort>() != null); return new ReSort(this, Native.Z3_mk_re_sort(nCtx, s.NativeObject)); }