[SMT2 Parser] Move code of `rewriterulesCommand` (#3334)
authorAndres Noetzli <andres.noetzli@gmail.com>
Tue, 8 Oct 2019 01:16:40 +0000 (18:16 -0700)
committerGitHub <noreply@github.com>
Tue, 8 Oct 2019 01:16:40 +0000 (18:16 -0700)
commit97c7e81a68b31328e5bf40dd6939826e3cc1cf93
tree9daa06998b858d27675bb3a716728e2ede3cb385
parent3fac8f369bd29f9856e2b61fbb5029d780fde64b
[SMT2 Parser] Move code of `rewriterulesCommand` (#3334)

This commit moves the code in `rewriterulesCommand` in the SMT2 parser
to the `Smt2` class. Additionally, it creates a `boundVarList` rule to
reduce code duplication.
src/parser/smt2/Smt2.g
src/parser/smt2/smt2.cpp
src/parser/smt2/smt2.h