def ConsumeEnum(self, field):
    try:
      result = ParseEnum(field, self.token)
    except __HOLE__ as e:
      raise self._ParseError(str(e))
    self.NextToken()
    return result
dataset/ETHPy150Open sklearn-theano/sklearn-theano/sklearn_theano/externals/google/protobuf/text_format.py/_Tokenizer.ConsumeEnum