diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-10-27 11:46:20 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-27 11:46:20 -0500 |
commit | 88025001599c7e5ced8d55c3769e728758434f69 (patch) | |
tree | fec86e087fb7e3a971397f09257342502876ae82 /src/api/cvc4cpp.h | |
parent | a8dd649cc52d0870d2c62070c17a88373f681e1e (diff) |
Add missing methods involving datatype sorts to the API (#5290)
This is required for migrating the parser's symbol table from Expr -> Term.
Diffstat (limited to 'src/api/cvc4cpp.h')
-rw-r--r-- | src/api/cvc4cpp.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/api/cvc4cpp.h b/src/api/cvc4cpp.h index 99e67dd2a..646695c64 100644 --- a/src/api/cvc4cpp.h +++ b/src/api/cvc4cpp.h @@ -506,6 +506,30 @@ class CVC4_PUBLIC Sort */ Sort getConstructorCodomainSort() const; + /* Selector sort ------------------------------------------------------- */ + + /** + * @return the domain sort of a selector sort + */ + Sort getSelectorDomainSort() const; + + /** + * @return the codomain sort of a selector sort + */ + Sort getSelectorCodomainSort() const; + + /* Tester sort ------------------------------------------------------- */ + + /** + * @return the domain sort of a tester sort + */ + Sort getTesterDomainSort() const; + + /** + * @return the codomain sort of a tester sort, which is the Boolean sort + */ + Sort getTesterCodomainSort() const; + /* Function sort ------------------------------------------------------- */ /** |