From 91424455840a7365a328cbcc3d02ec453fe9d0ea Mon Sep 17 00:00:00 2001 From: Tim King Date: Thu, 14 Nov 2013 11:56:34 -0500 Subject: Adding the changes needed to delete rewriter attributes. This includes being able to list attributes. Additionally, added debugging hooks to node manager and attribute manager. --- src/expr/node_manager.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/expr/node_manager.h') diff --git a/src/expr/node_manager.h b/src/expr/node_manager.h index 51ed1f94d..32c492003 100644 --- a/src/expr/node_manager.h +++ b/src/expr/node_manager.h @@ -46,6 +46,7 @@ class StatisticsRegistry; namespace expr { namespace attr { + class AttributeUniqueId; class AttributeManager; }/* CVC4::expr::attr namespace */ @@ -859,6 +860,18 @@ public: */ static inline TypeNode fromType(Type t); + /** Deletes a list of attributes from the NM's AttributeManager.*/ + void deleteAttributes(const std::vector< const expr::attr::AttributeUniqueId* >& ids); + + /** + * This function gives developers a hook into the NodeManager. + * This can be changed in node_manager.cpp without recompiling most of cvc4. + * + * debugHook is a debugging only function, and should not be present in + * any published code! + */ + void debugHook(int debugFlag); + };/* class NodeManager */ /** -- cgit v1.2.3