def Consume(self, token):
if not self.TryConsume(token):<EOL><INDENT>raise self._ParseError('<STR_LIT>' % token)<EOL><DEDENT>
Consumes a piece of text.

        Args:
          token: Text to consume.

        Raises:
          ParseError: If the text couldn't be consumed.