summaryrefslogtreecommitdiff
path: root/src/theory/strings/sequences_rewriter.h
diff options
context:
space:
mode:
authorAndres Noetzli <andres.noetzli@gmail.com>2020-11-29 15:44:51 -0800
committerAndres Noetzli <andres.noetzli@gmail.com>2020-11-29 15:44:51 -0800
commit8f0b61ca58b4402f00d056ee50338808fdcf8385 (patch)
tree6f0ba5c55609fdd2c8895d22b99d4009ac8f339e /src/theory/strings/sequences_rewriter.h
parent8a279c8f16170d22e8e64e9eadbec184a1ce2f11 (diff)
parent36af095242f2445fa5d3c2c1f3882159119d152a (diff)
Merge branch 'master' into fixClangWarnings
Diffstat (limited to 'src/theory/strings/sequences_rewriter.h')
-rw-r--r--src/theory/strings/sequences_rewriter.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/theory/strings/sequences_rewriter.h b/src/theory/strings/sequences_rewriter.h
index 47a20a7ca..105bfc105 100644
--- a/src/theory/strings/sequences_rewriter.h
+++ b/src/theory/strings/sequences_rewriter.h
@@ -2,10 +2,10 @@
/*! \file sequences_rewriter.h
** \verbatim
** Top contributors (to current version):
- ** Andrew Reynolds, Andres Noetzli
+ ** Andrew Reynolds, Andres Noetzli, Yoni Zohar
** This file is part of the CVC4 project.
** Copyright (c) 2009-2020 by the authors listed in the file AUTHORS
- ** in the top-level source directory) and their institutional affiliations.
+ ** in the top-level source directory and their institutional affiliations.
** All rights reserved. See the file COPYING in the top-level source
** directory for licensing information.\endverbatim
**
@@ -264,6 +264,13 @@ class SequencesRewriter : public TheoryRewriter
*/
Node rewriteSeqUnit(Node node);
+ /** rewrite seq.nth
+ * This is the entry point for post-rewriting terms n of the form
+ * seq.nth(s, i)
+ * Returns the rewritten form of node.
+ */
+ Node rewriteSeqNth(Node node);
+
/** length preserving rewrite
*
* Given input n, this returns a string n' whose length is equivalent to n.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback