diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2017-11-15 16:48:26 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-15 16:48:26 -0600 |
commit | 9bff14c12c34fea0e6ba0649a3e8f7e8f48b5646 (patch) | |
tree | ea7c7ccd91be5ea728e798d8ec8df4b2fec78820 /src/printer/smt2/smt2_printer.h | |
parent | 39ec2fb797623bd1556f81b963ace1997c74e920 (diff) |
Sygus print callbacks (#1348)
* Initial infrastructure for sygus printing.
* Minor
* Minor improvements
* Format
* Minor
* Empty constructor printer.
* Format
* Minor
* Format
* Address.
Diffstat (limited to 'src/printer/smt2/smt2_printer.h')
-rw-r--r-- | src/printer/smt2/smt2_printer.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/printer/smt2/smt2_printer.h b/src/printer/smt2/smt2_printer.h index b7e9e1f40..96f55d7a2 100644 --- a/src/printer/smt2/smt2_printer.h +++ b/src/printer/smt2/smt2_printer.h @@ -48,11 +48,17 @@ public: void toStream(std::ostream& out, const CommandStatus* s) const throw(); void toStream(std::ostream& out, const SExpr& sexpr) const throw(); void toStream(std::ostream& out, const Model& m) const throw(); - /** print the unsat core to the stream out. - * We use the expression names that are stored in the SMT engine associated - * with the core (UnsatCore::getSmtEngine) for printing named assertions. - */ + /** + * Writes the unsat core to the stream out. + * We use the expression names that are stored in the SMT engine associated + * with the core (UnsatCore::getSmtEngine) for printing named assertions. + */ void toStream(std::ostream& out, const UnsatCore& core) const throw(); + /** + * Write the term that sygus datatype term node n + * encodes to a stream with this Printer. + */ + virtual void toStreamSygus(std::ostream& out, TNode n) const throw() override; };/* class Smt2Printer */ }/* CVC4::printer::smt2 namespace */ |