parameters: (self, is_long=False)
return_statement: return result
docstring: Consumes an integer number.
  
      Args:
        is_long: True if the value should be returned as a long integer.
      Returns:
        The integer parsed.
  
      Raises:
        ParseError: If an integer couldn't be consumed.
docstring_summary: Consumes an integer number.
docstring_tokens: Consumes an integer number .
function: def ConsumeInteger(self, is_long=False):
      """Consumes an integer number.
  
      Args:
        is_long: True if the value should be returned as a long integer.
      Returns:
        The integer parsed.
  
      Raises:
        ParseError: If an integer couldn't be consumed.
      """
      try:
        result = _ParseAbstractInteger(self.token, is_long=is_long)
      except ValueError as e:
        raise self.ParseError(str(e))
      self.NextToken()
      return result
function_tokens: def ConsumeInteger ( self , is_long = False ) : try : result = _ParseAbstractInteger ( self . token , is_long = is_long ) except ValueError as e : raise self . ParseError ( str ( e ) ) self . NextToken ( ) return result