def Consume(self, token):
    if not self.TryConsume(token):
      raise self._ParseError('Expected "%s".' % token)
Consumes a piece of text.
dataset/ETHPy150Open sklearn-theano/sklearn-theano/sklearn_theano/externals/google/protobuf/text_format.py/_Tokenizer.Consume