code: def TYPEDEF(self, _cursor_type):
          
          _decl = _cursor_type.get_declaration()
          name = self.get_unique_name(_decl)
          if self.is_registered(name):
              obj = self.get_registered(name)
          else:
              log.debug('Was in TYPEDEF but had to parse record declaration for %s', name)
              obj = self.parse_cursor(_decl)
          return obj
docs: Handles TYPEDEF statement.