parameters: (self, token)
docstring: Consumes a piece of text.
  
      Args:
        token: Text to consume.
  
      Raises:
        ParseError: If the text couldn't be consumed.
docstring_summary: Consumes a piece of text.
docstring_tokens: Consumes a piece of text .
function: def Consume(self, token):
      """Consumes a piece of text.
  
      Args:
        token: Text to consume.
  
      Raises:
        ParseError: If the text couldn't be consumed.
      """
      if not self.TryConsume(token):
        raise self._ParseError('Expected "%s".' % token)
function_tokens: def Consume ( self , token ) : if not self . TryConsume ( token ) : raise self . _ParseError ( 'Expected "%s".' % token )