code: def types(self):
          
          return [x for x in self[self.current_scope].values() if isinstance(x, symbols.TYPE)]
docs: Returns symbol instances corresponding to type declarations
          within the current scope.