diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-04-15 02:34:33 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-15 02:34:33 -0500 |
commit | 3f3a0445fe772360d8a2da3069a5f082c031d7f8 (patch) | |
tree | bf78f4bbe23ca8f88cf23aca0f31e0594765799f /src/theory/strings/word.h | |
parent | c808605ef15eb79f9ddc2d1a2b4f6dd052530877 (diff) |
Convert more cases of strings to words (#4206)
Diffstat (limited to 'src/theory/strings/word.h')
-rw-r--r-- | src/theory/strings/word.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/theory/strings/word.h b/src/theory/strings/word.h index 454710c98..b84ea6874 100644 --- a/src/theory/strings/word.h +++ b/src/theory/strings/word.h @@ -151,7 +151,12 @@ class Word * If a and b do not share a common prefix (resp. suffix), then this method * returns the null node. */ - static Node splitConstant(Node a, Node b, size_t& index, bool isRev); + static Node splitConstant(TNode x, TNode y, size_t& index, bool isRev); + /** reverse + * + * Return the result of reversing x. + */ + static Node reverse(TNode x); }; // ------------------------------ end for words (string or sequence constants) |