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:
parent
9ed7dadc02
commit
8d61d36c3f
7 changed files with 91 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue