1 /********************* */
2 /*! \file apply_substs.h
4 ** Top contributors (to current version):
5 ** Aina Niemetz, Mathias Preiner, Gereon Kremer
6 ** This file is part of the CVC4 project.
7 ** Copyright (c) 2009-2021 by the authors listed in the file AUTHORS
8 ** in the top-level source directory and their institutional affiliations.
9 ** All rights reserved. See the file COPYING in the top-level source
10 ** directory for licensing information.\endverbatim
12 ** \brief Apply substitutions preprocessing pass.
14 ** Apply top level substitutions to assertions, rewrite, and store back into
18 #include "cvc4_private.h"
20 #ifndef CVC4__PREPROCESSING__PASSES__APPLY_SUBSTS_H
21 #define CVC4__PREPROCESSING__PASSES__APPLY_SUBSTS_H
23 #include "preprocessing/preprocessing_pass.h"
26 namespace preprocessing
{
28 class PreprocessingPassContext
;
32 class ApplySubsts
: public PreprocessingPass
35 ApplySubsts(PreprocessingPassContext
* preprocContext
);
39 * Apply assertionsToPreprocess->getTopLevelSubstitutions() to the
40 * assertions, in assertionsToPreprocess, rewrite, and store back into
41 * given assertion pipeline.
43 PreprocessingPassResult
applyInternal(
44 AssertionPipeline
* assertionsToPreprocess
) override
;
48 } // namespace preprocessing