parameters: (proto_printer, enum_types)
docstring: Print all enums to the given proto_printer.
docstring_summary: Print all enums to the given proto_printer.
docstring_tokens: Print all enums to the given proto_printer .
function: def _PrintEnums(proto_printer, enum_types):
      """Print all enums to the given proto_printer."""
      enum_types = sorted(enum_types, key=operator.attrgetter('name'))
      for enum_type in enum_types:
          proto_printer.PrintEnum(enum_type)
function_tokens: def _PrintEnums ( proto_printer , enum_types ) : enum_types = sorted ( enum_types , key = operator . attrgetter ( 'name' ) ) for enum_type in enum_types : proto_printer . PrintEnum ( enum_type )