(self, mode, string, line, line_number)
return self._CreateToken(string, type, line, line_number)
Creates a normal token.

    Args:
      mode: The current mode.
      string: The string to tokenize.
      line: The line of text.
      line_number: The line number within the file.

    Returns:
      A Token object, of the default type for the current mode.
Creates a normal token.
Creates a normal token .
def __CreateNormalToken(self, mode, string, line, line_number):
    """Creates a normal token.

    Args:
      mode: The current mode.
      string: The string to tokenize.
      line: The line of text.
      line_number: The line number within the file.

    Returns:
      A Token object, of the default type for the current mode.
    """
    type = Type.NORMAL
    if mode in self.default_types:
      type = self.default_types[mode]
    return self._CreateToken(string, type, line, line_number)
def __CreateNormalToken ( self , mode , string , line , line_number ) : type = Type . NORMAL if mode in self . default_types : type = self . default_types [ mode ] return self . _CreateToken ( string , type , line , line_number )