code: def ConsumeFloat(self):
      
      try:
        result = ParseFloat(self.token)
      except ValueError as e:
        raise self._ParseError(str(e))
      self.NextToken()
      return result
docs: Consumes an floating point number.
  
      Returns:
        The number parsed.
  
      Raises:
        ParseError: If a floating point number couldn't be consumed.