def __str__(self):
        """
        String representation of the class instance.

        Examples:
            Token(LITERAL, name)
            Token(LPAREN, '(')
            Token(RPAREN, ')')
        """
        return 'Token({type}, {value})'.format(type=self.type, value=repr(self.value))
def __str__ ( self ) : return 'Token({type}, {value})' . format ( type = self . type , value = repr ( self . value ) )
String representation of the class instance.

        Examples:
            Token(LITERAL, name)
            Token(LPAREN, '(')
            Token(RPAREN, ')')