summaryrefslogtreecommitdiff
path: root/src/printer/ast/ast_printer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/printer/ast/ast_printer.h')
-rw-r--r--src/printer/ast/ast_printer.h27
1 files changed, 19 insertions, 8 deletions
diff --git a/src/printer/ast/ast_printer.h b/src/printer/ast/ast_printer.h
index 29c3981bf..1d790dd61 100644
--- a/src/printer/ast/ast_printer.h
+++ b/src/printer/ast/ast_printer.h
@@ -28,14 +28,26 @@ namespace printer {
namespace ast {
class AstPrinter : public CVC4::Printer {
- void toStream(std::ostream& out, TNode n, int toDepth, bool types) const throw();
- void toStream(std::ostream& out, const Model& m, const Command* c) const throw();
-public:
+ public:
using CVC4::Printer::toStream;
- void toStream(std::ostream& out, TNode n, int toDepth, bool types, size_t dag) const throw();
- void toStream(std::ostream& out, const Command* c, int toDepth, bool types, size_t dag) const throw();
- void toStream(std::ostream& out, const CommandStatus* s) const throw();
- void toStream(std::ostream& out, const Model& m) const throw();
+ void toStream(std::ostream& out,
+ TNode n,
+ int toDepth,
+ bool types,
+ size_t dag) const override;
+ void toStream(std::ostream& out,
+ const Command* c,
+ int toDepth,
+ bool types,
+ size_t dag) const override;
+ void toStream(std::ostream& out, const CommandStatus* s) const override;
+ void toStream(std::ostream& out, const Model& m) const override;
+
+ private:
+ void toStream(std::ostream& out, TNode n, int toDepth, bool types) const;
+ void toStream(std::ostream& out,
+ const Model& m,
+ const Command* c) const override;
};/* class AstPrinter */
}/* CVC4::printer::ast namespace */
@@ -43,4 +55,3 @@ public:
}/* CVC4 namespace */
#endif /* __CVC4__PRINTER__AST_PRINTER_H */
-
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback