code: def linkage(self):
          
          if not hasattr(self, '_linkage'):
              self._linkage = conf.lib.clang_getCursorLinkage(self)
  
          return LinkageKind.from_id(self._linkage)
docs: Return the linkage of this cursor.