diff options
author | makaimann <makaim@stanford.edu> | 2019-12-04 18:59:44 -0800 |
---|---|---|
committer | Aina Niemetz <aina.niemetz@gmail.com> | 2019-12-04 18:59:44 -0800 |
commit | 2c68fa6fea5f98d6e5078961156d8c746bbd13c3 (patch) | |
tree | 7ba9d6bc5d024363321a30db3292e9d93ef3a8f9 /src/api/cvc4cpp.h | |
parent | ae789c1d976b21bac4217a83f5ad9615b8f5e0f5 (diff) |
Add mkOp for a single Kind (#3522)
Diffstat (limited to 'src/api/cvc4cpp.h')
-rw-r--r-- | src/api/cvc4cpp.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/api/cvc4cpp.h b/src/api/cvc4cpp.h index 326a8fb70..8c9bdc10c 100644 --- a/src/api/cvc4cpp.h +++ b/src/api/cvc4cpp.h @@ -1890,10 +1890,21 @@ class CVC4_PUBLIC Solver const std::vector<Term>& terms) const; /* .................................................................... */ - /* Create Operator Terms */ + /* Create Operators */ /* .................................................................... */ /** + * Create an operator for a builtin Kind + * The Kind may not be the Kind for an indexed operator + * (e.g. BITVECTOR_EXTRACT) + * Note: in this case, the Op simply wraps the Kind. + * The Kind can be used in mkTerm directly without + * creating an op first. + * @param kind the kind to wrap + */ + Op mkOp(Kind kind) const; + + /** * Create operator of kind: * - CHAIN * See enum Kind for a description of the parameters. |