diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-03-31 10:07:29 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-31 10:07:29 -0500 |
commit | 5726447e3864c7d2289b458b2d2c5f31b5933a81 (patch) | |
tree | 07de6d8d83e3317320a6ff89e5b7578632a66a83 /src/theory/strings/word.h | |
parent | 501894d709c19aebcaed1bd43e506501a8bbd69b (diff) |
Convert more uses of string-specific functions (#4158)
Towards theory of sequences.
Diffstat (limited to 'src/theory/strings/word.h')
-rw-r--r-- | src/theory/strings/word.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/theory/strings/word.h b/src/theory/strings/word.h index 7b813a0b2..8e6e7876e 100644 --- a/src/theory/strings/word.h +++ b/src/theory/strings/word.h @@ -42,6 +42,13 @@ class Word /** Return the length of word x */ static size_t getLength(TNode x); + /** Get characters + * + * Given word x, this returns the vector of words of length one whose + * concatenation is equivalent to x. + */ + static std::vector<Node> getChars(TNode x); + /** Return true if x is empty */ static bool isEmpty(TNode x); |