'Retrieve the Type (if any) of the entity pointed at by the cursor.'

@property
def type(self):

    if (not hasattr(self, '_type')):
        self._type = conf.lib.clang_getCursorType(self)
    return self._type
