parameters: (self, enum_protos, package)
docstring: Pulls out all the symbols from enum protos.
  
      Args:
        enum_protos: The protos to extract symbols from.
        package: The package containing the enum type.
  
      Yields:
        A two element tuple of the type name and enum descriptor object.
docstring_summary: Pulls out all the symbols from enum protos.
docstring_tokens: Pulls out all the symbols from enum protos .
function: def _ExtractEnums(self, enum_protos, package):
      """Pulls out all the symbols from enum protos.
  
      Args:
        enum_protos: The protos to extract symbols from.
        package: The package containing the enum type.
  
      Yields:
        A two element tuple of the type name and enum descriptor object.
      """
  
      for enum_proto in enum_protos:
        if package:
          enum_name = '.'.join((package, enum_proto.name))
        else:
          enum_name = enum_proto.name
        enum_desc = self.FindEnumTypeByName(enum_name)
        yield (enum_name, enum_desc)
function_tokens: def _ExtractEnums ( self , enum_protos , package ) : for enum_proto in enum_protos : if package : enum_name = '.' . join ( ( package , enum_proto . name ) ) else : enum_name = enum_proto . name enum_desc = self . FindEnumTypeByName ( enum_name ) yield ( enum_name , enum_desc )