def ConsumeEnum(self, field):
    try:
      result = ParseEnum(field, self.token)
    except __HOLE__, e:
      raise self._ParseError(str(e))
    self.NextToken()
    return result
dataset/ETHPy150Open AppScale/appscale/AppServer/google/net/proto2/python/public/text_format.py/_Tokenizer.ConsumeEnum