3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 19:35:50 +00:00

Added ParamDescr.ToString()

Formatting

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
Christoph M. Wintersteiger 2012-10-12 16:44:46 +01:00
parent 4d70722769
commit 42c27b7a46
5 changed files with 90 additions and 78 deletions

View file

@ -39,21 +39,19 @@ namespace Microsoft.Z3
get
{
Contract.Ensures(Contract.Result<string>() != null);
return Native.Z3_tactic_get_help(Context.nCtx, NativeObject); }
return Native.Z3_tactic_get_help(Context.nCtx, NativeObject);
}
}
/// <summary>
/// Retrieves parameter descriptions for Tactics.
/// </summary>
public ParamDescrs ParameterDescriptions
{
get
{
return new ParamDescrs(Context, Native.Z3_tactic_get_param_descrs(Context.nCtx, NativeObject));
}
}
public ParamDescrs ParameterDescriptions
{
get { return new ParamDescrs(Context, Native.Z3_tactic_get_param_descrs(Context.nCtx, NativeObject)); }
}
/// <summary>
@ -83,7 +81,7 @@ namespace Microsoft.Z3
{
Contract.Requires(g != null);
Contract.Ensures(Contract.Result<ApplyResult>() != null);
return Apply(g);
}
}
@ -103,11 +101,13 @@ namespace Microsoft.Z3
}
#region Internal
internal Tactic(Context ctx, IntPtr obj) : base(ctx, obj)
internal Tactic(Context ctx, IntPtr obj)
: base(ctx, obj)
{
Contract.Requires(ctx != null);
}
internal Tactic(Context ctx, string name) : base(ctx, Native.Z3_mk_tactic(ctx.nCtx, name))
internal Tactic(Context ctx, string name)
: base(ctx, Native.Z3_mk_tactic(ctx.nCtx, name))
{
Contract.Requires(ctx != null);
}
@ -123,7 +123,7 @@ namespace Microsoft.Z3
{
Native.Z3_tactic_dec_ref(ctx.nCtx, obj);
}
};
};
internal override void IncRef(IntPtr o)
{