diff options
Diffstat (limited to 'src/theory/strings/sequences_rewriter.h')
-rw-r--r-- | src/theory/strings/sequences_rewriter.h | 11 |
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. |