def TryConsume(self, token):
    if self.token == token:
      self.NextToken()
      return True
    return False
Tries to consume a given piece of text.
dataset/ETHPy150Open sklearn-theano/sklearn-theano/sklearn_theano/externals/google/protobuf/text_format.py/_Tokenizer.TryConsume