parameters: (self)
return_statement: return desc
docstring: Returns the root if this is a nested type, or itself if its the root.
docstring_summary: Returns the root if this is a nested type, or itself if its the root.
docstring_tokens: Returns the root if this is a nested type or itself if its the root .
function: def GetTopLevelContainingType(self):
      """Returns the root if this is a nested type, or itself if its the root."""
      desc = self
      while desc.containing_type is not None:
        desc = desc.containing_type
      return desc
function_tokens: def GetTopLevelContainingType ( self ) : desc = self while desc . containing_type is not None : desc = desc . containing_type return desc