summaryrefslogtreecommitdiff
path: root/src/printer/printer.h
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2021-01-24 12:12:10 -0600
committerGitHub <noreply@github.com>2021-01-24 12:12:10 -0600
commitd6fac5f28f99464dc04d8fb604ce16e56342300e (patch)
treeb2187a98fcd4c2fd780109376779f59085819ae6 /src/printer/printer.h
parent1d49bcb407777cf177620dac4d8e4df82f5e1122 (diff)
(proof-new) Instantiation list utility (#5768)
This is in preparation for refactoring the printing of instantiations. We will migrate the printing of instantiations (currently done in the Instantiate module within quantifiers engine) to somewhere more high level e.g. the SmtEngine or in the command layer. This will make the infrastructure for dumping instantiations much more flexible, as implemented on proof-new.
Diffstat (limited to 'src/printer/printer.h')
-rw-r--r--src/printer/printer.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/printer/printer.h b/src/printer/printer.h
index 3c53e34e6..835dbe798 100644
--- a/src/printer/printer.h
+++ b/src/printer/printer.h
@@ -32,8 +32,9 @@ namespace CVC4 {
class Command;
class CommandStatus;
-class NodeCommand;
class UnsatCore;
+class InstantiationList;
+class SkolemList;
class Printer
{
@@ -62,6 +63,12 @@ class Printer
/** Write an UnsatCore out to a stream with this Printer. */
virtual void toStream(std::ostream& out, const UnsatCore& core) const;
+ /** Write an instantiation list out to a stream with this Printer. */
+ virtual void toStream(std::ostream& out, const InstantiationList& is) const;
+
+ /** Write a skolem list out to a stream with this Printer. */
+ virtual void toStream(std::ostream& out, const SkolemList& sks) const;
+
/** Print empty command */
virtual void toStreamCmdEmpty(std::ostream& out,
const std::string& name) const;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback