rtags.py
branchtls-sprint
changeset 1548 bd225e776739
parent 1533 bcd4bfff658b
child 1721 694f6a50e138
--- a/rtags.py	Thu Apr 30 00:36:02 2009 +0200
+++ b/rtags.py	Thu Apr 30 00:36:32 2009 +0200
@@ -42,6 +42,9 @@
                 keys.remove((rtype, tagged, stype, '*'))
         return keys
 
+    def tag_attribute(self, tag, stype, attr):
+        self._tagdefs[(str(attr), 'subject', str(stype), '*')] = tag
+
     def tag_relation(self, tag, relation, tagged):
         assert tagged in ('subject', 'object'), tagged
         stype, rtype, otype = relation