@staticmethod
def range(left, middle, right):
    """Generates the expression to compare a value in a range.
        
        Defaults to ``left <= middle < right``.
        """
    return '%s <= %s < %s' % (left, middle, right)
