mirror of
https://github.com/Z3Prover/z3
synced 2025-04-25 10:05:32 +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
|
@ -44,6 +44,15 @@ public class ParamDescrs extends Z3Object
|
|||
getContext().nCtx(), getNativeObject(), name.getNativeObject()));
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieve documentation of parameter.
|
||||
**/
|
||||
|
||||
public String getDocumentation(Symbol name)
|
||||
{
|
||||
return Native.paramDescrsGetDocumentation(getContext().nCtx(), getNativeObject(), name.getNativeObject());
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieve all names of parameters.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue