3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 20:05:51 +00:00

add documentation methods to param_descrs, add C++ API and example for param_descrs. Issue #443

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2016-02-12 11:45:00 +00:00
parent 9ed7dadc02
commit 8d61d36c3f
7 changed files with 91 additions and 0 deletions

View file

@ -46,6 +46,15 @@ namespace Microsoft.Z3
return (Z3_param_kind)Native.Z3_param_descrs_get_kind(Context.nCtx, NativeObject, name.NativeObject);
}
/// <summary>
/// Retrieve documentation of parameter.
/// </summary>
public string GetDocumentation(Symbol name)
{
Contract.Requires(name != null);
return Native.Z3_param_descrs_get_documentation(Context.nCtx, NativeObject, name.NativeObject);
}
/// <summary>
/// Retrieve all names of parameters.
/// </summary>