diff options
Diffstat (limited to 'src/api/cvc4cpp.cpp')
-rw-r--r-- | src/api/cvc4cpp.cpp | 33 |
1 files changed, 2 insertions, 31 deletions
diff --git a/src/api/cvc4cpp.cpp b/src/api/cvc4cpp.cpp index 6f226b295..521ab98ea 100644 --- a/src/api/cvc4cpp.cpp +++ b/src/api/cvc4cpp.cpp @@ -2343,14 +2343,6 @@ std::string DatatypeConstructorDecl::toString() const return ss.str(); } -// !!! This is only temporarily available until the parser is fully migrated -// to the new API. !!! -const CVC4::DTypeConstructor& DatatypeConstructorDecl::getDatatypeConstructor( - void) const -{ - return *d_ctor; -} - std::ostream& operator<<(std::ostream& out, const DatatypeConstructorDecl& ctordecl) { @@ -2444,16 +2436,14 @@ std::string DatatypeDecl::getName() const bool DatatypeDecl::isNull() const { return isNullHelper(); } -// !!! This is only temporarily available until the parser is fully migrated -// to the new API. !!! -CVC4::DType& DatatypeDecl::getDatatype(void) const { return *d_dtype; } - std::ostream& operator<<(std::ostream& out, const DatatypeDecl& dtdecl) { out << dtdecl.toString(); return out; } +CVC4::DType& DatatypeDecl::getDatatype(void) const { return *d_dtype; } + /* DatatypeSelector --------------------------------------------------------- */ DatatypeSelector::DatatypeSelector() : d_solver(nullptr), d_stor(nullptr) {} @@ -2495,13 +2485,6 @@ std::string DatatypeSelector::toString() const return ss.str(); } -// !!! This is only temporarily available until the parser is fully migrated -// to the new API. !!! -CVC4::DTypeSelector DatatypeSelector::getDatatypeConstructorArg(void) const -{ - return *d_stor; -} - std::ostream& operator<<(std::ostream& out, const DatatypeSelector& stor) { out << stor.toString(); @@ -2682,14 +2665,6 @@ std::string DatatypeConstructor::toString() const return ss.str(); } -// !!! This is only temporarily available until the parser is fully migrated -// to the new API. !!! -const CVC4::DTypeConstructor& DatatypeConstructor::getDatatypeConstructor( - void) const -{ - return *d_ctor; -} - DatatypeSelector DatatypeConstructor::getSelectorForName( const std::string& name) const { @@ -2800,10 +2775,6 @@ Datatype::const_iterator Datatype::end() const return Datatype::const_iterator(d_solver, *d_dtype, false); } -// !!! This is only temporarily available until the parser is fully migrated -// to the new API. !!! -const CVC4::DType& Datatype::getDatatype(void) const { return *d_dtype; } - DatatypeConstructor Datatype::getConstructorForName( const std::string& name) const { |