summaryrefslogtreecommitdiff
path: root/src/theory/strings/theory_strings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/strings/theory_strings.h')
-rw-r--r--src/theory/strings/theory_strings.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/theory/strings/theory_strings.h b/src/theory/strings/theory_strings.h
index 0e95628bc..5ae0ac7a9 100644
--- a/src/theory/strings/theory_strings.h
+++ b/src/theory/strings/theory_strings.h
@@ -39,6 +39,7 @@
#include "theory/strings/skolem_cache.h"
#include "theory/strings/solver_state.h"
#include "theory/strings/strings_fmf.h"
+#include "theory/strings/strings_rewriter.h"
#include "theory/theory.h"
#include "theory/uf/equality_engine.h"
@@ -109,7 +110,7 @@ class TheoryStrings : public Theory {
const LogicInfo& logicInfo);
~TheoryStrings();
- std::unique_ptr<TheoryRewriter> mkTheoryRewriter() override;
+ TheoryRewriter* getTheoryRewriter() override { return &d_rewriter; }
void setMasterEqualityEngine(eq::EqualityEngine* eq) override;
@@ -352,6 +353,9 @@ private:
// Symbolic Regular Expression
private:
+ /** The theory rewriter for this theory. */
+ StringsRewriter d_rewriter;
+
/**
* The base solver, responsible for reasoning about congruent terms and
* inferring constants for equivalence classes.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback