summaryrefslogtreecommitdiff
path: root/src/expr/node.h
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2013-11-14 11:56:34 -0500
committerTim King <taking@cs.nyu.edu>2013-11-21 10:43:44 -0500
commit91424455840a7365a328cbcc3d02ec453fe9d0ea (patch)
treee8072eb0c7dda81feafb1c5f9a4ca2f0fcbc0399 /src/expr/node.h
parentbd8e9319aab69db90692f72bc52288329879eefc (diff)
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.
Diffstat (limited to 'src/expr/node.h')
-rw-r--r--src/expr/node.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/expr/node.h b/src/expr/node.h
index 3a5b6f135..0a4b853aa 100644
--- a/src/expr/node.h
+++ b/src/expr/node.h
@@ -566,6 +566,14 @@ public:
inline const T& getConst() const;
/**
+ * Returns the reference count of this node.
+ * @return the refcount
+ */
+ unsigned getRefCount() const {
+ return d_nv->getRefCount();
+ }
+
+ /**
* Returns the value of the given attribute that this has been attached.
* @param attKind the kind of the attribute
* @return the value of the attribute
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback